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: "unexpected cargo crate type: test" #43

Open
djc opened this issue Oct 3, 2024 · 1 comment
Open

Unreachable: "unexpected cargo crate type: test" #43

djc opened this issue Oct 3, 2024 · 1 comment
Labels
rustc-plugin This is an issue with rustc_plugin

Comments

@djc
Copy link

djc commented Oct 3, 2024

Problem

While working in https://github.com/open-telemetry/opentelemetry-rust (specifically in /opentelemetry-proto/tests/grpc_build.rs), this broke Argus.

Logs

OS: darwin (24.0.0)
VSCode: 1.93.1
Error message

thread 'main' panicked at /Users/djc/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustc_plugin-0.10.0-nightly-2024-05-20/src/cli.rs:184:10:
internal error: entered unreachable code: unexpected cargo crate type: test
stack backtrace:
   0: _rust_begin_unwind
   1: core::panicking::panic_fmt
   2: rustc_plugin::cli::only_run_on_file
   3: rustc_plugin::cli::cli_main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Full log: https://paste.rs/OT4li

@djc
Copy link
Author

djc commented Oct 3, 2024

Similarly,

thread 'main' panicked at /Users/djc/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustc_plugin-0.10.0-nightly-2024-05-20/src/cli.rs:184:10:
internal error: entered unreachable code: unexpected cargo crate type: bench
stack backtrace:
   0: _rust_begin_unwind
   1: core::panicking::panic_fmt
   2: rustc_plugin::cli::only_run_on_file
   3: rustc_plugin::cli::cli_main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

@gavinleroy gavinleroy added the rustc-plugin This is an issue with rustc_plugin label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rustc-plugin This is an issue with rustc_plugin
Projects
None yet
Development

No branches or pull requests

2 participants