Open
Description
Anyone encountering this issue (or an issue linked here) can run either cargo clean
or cargo clean -p <your_package_name>
as a temporary workaround.
Since #83007 was merged, we now ICE during incremental compilation when the hash of a re-computed query result does not match the hash from a previous session.
There have been a very large number of bug reports, all involving predicates_of
:
- Internal Compiler Error with RefCell #84336
- Fingerprints don't match #84237
- found unstable fingerprints for predicates_of(core[3998]::fmt::Debug)/predicates_of(core[3998]::clone::Clone) #84116
There are several common characteristics across these issues
- All of them involve calling
predicate_of
on a trait from the standard library, not user code. - All of them involve remapped paths pointing into the local standard library source code.
I've been able to reproduce similar crashes to these by adding or removing the rust-src
component between compilation sessions
Metadata
Metadata
Assignees
Labels
Area: Incremental compilationCategory: This is a bug.Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Relevant to the compiler team, which will review and decide on the PR/issue.