Skip to content

Cargo nightly has changed package id format #64

@nabilwadih

Description

@nabilwadih

Describe the bug

After updating rust to use the latest nightly version via rustup update, then trying to run cargo deny check cargo +nightly deny check fails with the following error:

thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', .cargo/registry/src/github.zerozr99.workers.dev-1ecc6299db9ec823/krates-0.12.4/src/builder.rs:748:47

To reproduce

  1. Update to latest toolchain rustup update
  2. Run deny check on a codebase cargo +nightly deny check

cargo-deny version

cargo-deny 0.13.4

What OS were you running cargo-deny on?

Linux

Additional context

right version: rustc 1.77.0-nightly (6ae4cfbbb 2024-01-17)

Metadata

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