Closed MaSsTerKidd0 closed 2 months ago
This ICE happens when a damaged incremental compilation file is found. For now, if you run cargo clean
, subsequent attempts to compile should work. When https://github.com/rust-lang/rust/pull/124686 gets to stable, this will become a warning, with a request to report it with additional details about your system if you see it often.
https://github.com/rust-lang/rust/pull/124686 is on stable, so I'm closing this.
Code
Meta
rustc --version --verbose
:Error output
Backtrace
``` UST_BACKTRACE=1 cargo build Compiling must_in_rust v0.1.0 (/home/pi/Desktop/must_in_rust/g_must) thread 'rustc' panicked at compiler/rustc_middle/src/query/on_disk_cache.rs:519:5: assertion `left == right` failed left: 82 right: 1002111927320821928687967599834759150 stack backtrace: 0: rust_begin_unwind at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/std/src/panicking.rs:645:5 1: core::panicking::panic_fmt at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/panicking.rs:72:14 2: core::panicking::assert_failed_inner at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/panicking.rs:343:17 3: core::panicking::assert_failed::
4: ::new
5: rustc_incremental::persist::load::load_query_result_cache
6: rustc_interface::passes::create_global_ctxt
7: ::global_ctxt
8: ::enter::, rustc_span::ErrorGuaranteed>>
9: rustc_span::create_session_globals_then::, rustc_interface::interface::run_compiler, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}>
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
error: the compiler unexpectedly panicked. this is a bug.
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.78.0 (9b00956e5 2024-04-29) running on armv7-unknown-linux-gnueabihf
note: compiler flags: --crate-type bin -C embed-bitcode=no -C debuginfo=2 -C incremental=[REDACTED]
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
end of query stack
error: could not compile `must_in_rust` (bin "must_in_rust")
```