Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unreachable code entered #74

Closed
bferris413 opened this issue Jan 23, 2024 · 0 comments · Fixed by #75
Closed

Unreachable code entered #74

bferris413 opened this issue Jan 23, 2024 · 0 comments · Fixed by #75
Labels
bug Something isn't working

Comments

@bferris413
Copy link

Describe the bug
krates@16.4 panics while running cargo deny check license:

thread '<unnamed>' panicked at /<...>/.cargo/registry/src/index.crates.io-6f17d22bba15001f/krates-0.16.4/src/builder.rs:716:25:
internal error: entered unreachable code: unable to locate std for crate time 0.3.31 (registry+https://github.com/rust-lang/crates.io-index) features(["parsing"])

To Reproduce
Steps to reproduce the behavior:

  1. cargo new panic-test && cd panic-test
  2. cargo install cargo-deny (should install v14.8)
  3. cargo add mysql_common@0.29.1
  4. cargo deny check license
  5. See panic

Expected behavior
No panic

Screenshots
If applicable, add screenshots to help explain your problem.

Device:

  • OS: macOS Sonoma 14.2.1 and Linux Ubuntu 22.04
  • rustc version is rustc 1.73.0 (macOS)
  • rustc version is rustc 1.74.0 (Ubuntu)

Additional context
Add any other context about the problem here.

@bferris413 bferris413 added the bug Something isn't working label Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant