Skip to content

Crash when running license check with Rust 1.47.0 #286

Closed
EmbarkStudios/krates
#19
@cberner

Description

Describe the bug
cargo deny check licenses fails with Rust 1.47.0

To Reproduce
Steps to reproduce the behavior:

  1. git clone https://github.com/fleetfs/fleetfs
  2. cd fleetfs && git checkout 80cc4212e79a5e38dff8c8e2b118bcc8eee3fa09
  3. rustup override set 1.47.0
  4. cargo deny check licenses
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: 21', /home/cberner/.cargo/registry/src/github.com-1ecc6299db9ec823/krates-0.2.0/src/builder.rs:543:87
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Expected behavior
No error, as observed when using rustup override set 1.46.0

Device:

  • OS: Ubuntu 20.04

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions