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

internal error: entered unreachable code: unable to locate <feature> for crate #79

Closed
chris13524 opened this issue Apr 8, 2024 · 0 comments · Fixed by #80
Closed

internal error: entered unreachable code: unable to locate <feature> for crate #79

chris13524 opened this issue Apr 8, 2024 · 0 comments · Fixed by #80
Labels
bug Something isn't working

Comments

@chris13524
Copy link

Describe the bug
When running cargo deny check in my setup I get this error:

internal error: entered unreachable code: unable to locate analytics for crate

Seems like it has something to do with enabling a feature (in this case analytics) on a dependency which takes advantage of dependency renaming

To Reproduce
Steps to reproduce the behavior:

  1. Clone this repo: https://github.com/chris13524/cargo-deny-unreachable-code
  2. Run cargo deny check

Expected behavior
Checks pass and code does not crash

Screenshots
N/A

Device:

  • OS: macOS 14.4.1
  • Browser n/a
  • Version 0.16.7
  • cargo-deny version: 0.14.20
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.

2 participants