Closed zancas closed 3 months ago
As far as I can tell, the ICE reported in this issue is caused by another process damaging rustc's build artifacts or by a buggy filesystem. That other process could be anything from an IDE running the compiler at the same time as a manual build to a find-and-replace that accidentally edits files in the target directory.
https://github.com/rust-lang/rust/pull/124686 contains a mitigation for this situation; the compiler now has a crude way to detect and ignore damaged incremental compilation files. You will still get a warning about the damaged file, but the build should proceed normally. That change shipped in Rust 1.80 which released today, so I am closing this issue and a few others which as far as I can tell all have the same root cause. You shouldn't see this ICE anymore, but please file a new issue if you see something like it on 1.80 or later.
I run
cargo build
, andcargo test --workspace
without surprising behavior against this commit:https://github.com/zingolabs/zingolib/pull/43/commits/16f751b25f9740ab73a9e9c176074643bc31ac4a
When I run
cargo doc
I get the following error:Code
Meta
rustc --version --verbose
: