Skip to content

uninterned StableCrateId: StableCrateId(0) #140408

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

Open
fcoury opened this issue Apr 28, 2025 · 0 comments
Open

uninterned StableCrateId: StableCrateId(0) #140408

fcoury opened this issue Apr 28, 2025 · 0 comments
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@fcoury
Copy link

fcoury commented Apr 28, 2025

Happened only once inside bacon, and I can't seem to trigger it again, no matter what I do.

 1  error: internal compiler error: compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs:698:32: uninterned StableCrateId: StableCrateId(0)


 thread 'rustc' panicked at compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs:698:32:
 Box<dyn Any>

 note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

 note: rustc 1.86.0 (05f9846f8 2025-03-31) running on aarch64-apple-darwin

 note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked -C incremental=[REDACTED]

 note: some of the compiler flags provided by cargo are hidden

 query stack during panic:
 #0 [analysis] running analysis passes on this crate
 end of query stack
 there was a panic while trying to force a dep node
 try_mark_green dep node stack:
 #0 proc_macro_decls_static(0-0)
 end of try_mark_green dep node stack
 error: could not compile `paypol-lib` (lib)

 Caused by:
   process didn't exit successfully: `/Users/fcoury/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name paypol_lib --edition=2024 lib/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=de
 p-info,metadata -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=82d5e5ae2c7a7a43 -C extra-filename=-3b07c7099187d24b --out-dir /Users/fcoury/code/paypol/target/debug/deps
 -C incremental=/Users/fcoury/code/paypol/target/debug/incremental -L dependency=/Users/fcoury/code/paypol/target/debug/deps --extern anyhow=/Users/fcoury/code/paypol/target/debug/deps/libanyhow-a18b9eac4dd50839.rmeta --extern async_trait=/Users/fcoury/code/paypol/ta
 rget/debug/deps/libasync_trait-8e9e9154523d342d.dylib --extern bb8=/Users/fcoury/code/paypol/target/debug/deps/libbb8-dddd110b7358f173.rmeta --extern bigdecimal=/Users/fcoury/code/paypol/target/debug/deps/libbigdecimal-7a1580a01a6538d1.rmeta --extern bon=/Users/fcou
 ry/code/paypol/target/debug/deps/libbon-28671fa99ad0ca7d.rmeta --extern chrono=/Users/fcoury/code/paypol/target/debug/deps/libchrono-759714ef41fc94b0.rmeta --extern clap=/Users/fcoury/code/paypol/target/debug/deps/libclap-16639cb06dd42002.rmeta --extern diesel=/User
 s/fcoury/code/paypol/target/debug/deps/libdiesel-f9a32d392303c5c6.rmeta --extern diesel_async=/Users/fcoury/code/paypol/target/debug/deps/libdiesel_async-bf911f3df343d9d6.rmeta --extern diesel_migrations=/Users/fcoury/code/paypol/target/debug/deps/libdiesel_migratio
 ns-602059dc2fdad65e.rmeta --extern dotenv=/Users/fcoury/code/paypol/target/debug/deps/libdotenv-124b738bd572a327.rmeta --extern futures=/Users/fcoury/code/paypol/target/debug/deps/libfutures-66620134e6f79fe6.rmeta --extern indexmap=/Users/fcoury/code/paypol/target/d
 ebug/deps/libindexmap-33c01aec9b1ed867.rmeta --extern indicatif=/Users/fcoury/code/paypol/target/debug/deps/libindicatif-b54d37fb0cd42d20.rmeta --extern json_patch=/Users/fcoury/code/paypol/target/debug/deps/libjson_patch-724384adf19932dc.rmeta --extern lettre=/User
 s/fcoury/code/paypol/target/debug/deps/liblettre-fb37151a48ac9679.rmeta --extern lopdf=/Users/fcoury/code/paypol/target/debug/deps/liblopdf-51ceb1511faf929d.rmeta --extern markdown=/Users/fcoury/code/paypol/target/debug/deps/libmarkdown-66ead74885592ed2.rmeta --exte
 rn once_cell=/Users/fcoury/code/paypol/target/debug/deps/libonce_cell-eeaac3e69757b363.rmeta --extern pdf_extract=/Users/fcoury/code/paypol/target/debug/deps/libpdf_extract-236a75514da50894.rmeta --extern pdfutils=/Users/fcoury/code/paypol/target/debug/deps/libpdfut
 ils-b5e327ecaa3b758c.rmeta --extern rayon=/Users/fcoury/code/paypol/target/debug/deps/librayon-6435de18194cee6c.rmeta --extern regex=/Users/fcoury/code/paypol/target/debug/deps/libregex-08ae7c86edeebc16.rmeta --extern reqwest=/Users/fcoury/code/paypol/target/debug/d
 eps/libreqwest-5d8fccdef2be64cf.rmeta --extern scraper=/Users/fcoury/code/paypol/target/debug/deps/libscraper-9bd8e2a983673af2.rmeta --extern serde=/Users/fcoury/code/paypol/target/debug/deps/libserde-6f71bd39b3493aa2.rmeta --extern serde_json=/Users/fcoury/code/pay
 pol/target/debug/deps/libserde_json-3c75f79b19c9dbf9.rmeta --extern similar=/Users/fcoury/code/paypol/target/debug/deps/libsimilar-c05340e7feb2e275.rmeta --extern thiserror=/Users/fcoury/code/paypol/target/debug/deps/libthiserror-3ad9f77329bd9ae1.rmeta --extern toki
 o=/Users/fcoury/code/paypol/target/debug/deps/libtokio-bc23edfc711fa58d.rmeta --extern tracing=/Users/fcoury/code/paypol/target/debug/deps/libtracing-f010bd73e752af62.rmeta --extern tracing_appender=/Users/fcoury/code/paypol/target/debug/deps/libtracing_appender-45e
 707cfcd142201.rmeta --extern tracing_subscriber=/Users/fcoury/code/paypol/target/debug/deps/libtracing_subscriber-2b743c71788b4740.rmeta --extern types=/Users/fcoury/code/paypol/target/debug/deps/libtypes-2ced4a78a39df83f.rmeta --extern url=/Users/fcoury/code/paypol
 /target/debug/deps/liburl-e2bf6fa8bea54cc6.rmeta --extern uuid=/Users/fcoury/code/paypol/target/debug/deps/libuuid-10a81b3e2a4f1ef6.rmeta -L native=/Applications/Postgres.app/Contents/Versions/16/lib -L native=/Users/fcoury/code/paypol/target/debug/build/psm-c72fe82
 54d524f57/out -L framework=/Library/Frameworks -L 'framework=/opt/homebrew/opt/[email protected]/Frameworks' -L framework=/System/Library/Frameworks -L native=/Users/fcoury/code/paypol/pdfutils/.venv/lib -L native=/Users/fcoury/code/paypol/pdfutils/.venv/lib64 -L 'native=
 /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/lib'` (exit status: 101)
@fcoury fcoury added C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Apr 28, 2025
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Apr 28, 2025
@jieyouxu jieyouxu added S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress. and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants