-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
This is a really weird one... and it might be a bit of a mess to debug. I honestly wish I could tell you more, but this is beyond my knowledge of the compiler.
Code
This requires multiple crates, due to it being a proc macro issue. Here is the smallest reproducible case I was able to create.
Meta
rustc --version --verbose:
rustc 1.65.0-nightly (d394408fb 2022-08-07)
binary: rustc
commit-hash: d394408fb38c4de61f765a3ed5189d2731a1da91
commit-date: 2022-08-07
host: x86_64-unknown-linux-gnu
release: 1.65.0-nightly
LLVM version: 14.0.6
Error output
Compiling big_mac v0.1.0 (/tmp/repo/macro)
Compiling lib v0.1.0 (/tmp/repo/lib)
fatal runtime error: failed to initiate panic, error 5
error: could not compile `lib`
Caused by:
process didn't exit successfully: `rustc --crate-name lib --edition=2021 lib/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=a2786eed45a16c47 -C extra-filename=-a2786eed45a16c47 --out-dir /tmp/repo/target/debug/deps -C incremental=/tmp/repo/target/debug/incremental -L dependency=/tmp/repo/target/debug/deps --extern big_mac=/tmp/repo/target/debug/deps/libbig_mac-47b147c1d91db7e1.so` (signal: 6, SIGABRT: process abort signal)
There is no backtrace, since it failed to initiate a panic, and therefore failed to initiate a stack unwind.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.