-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-incr-compArea: Incremental compilationArea: Incremental compilationC-bugCategory: This is a bug.Category: This is a bug.E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleE-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.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
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
Dessix and ramosbugs
Metadata
Metadata
Assignees
Labels
A-incr-compArea: Incremental compilationArea: Incremental compilationC-bugCategory: This is a bug.Category: This is a bug.E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleE-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.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.