rustc panic while reading incremental index #48847
Labels
A-incr-comp
Area: Incremental compilation
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
WG-incr-comp
Working group: Incremental compilation
rustc crashed during compilation with:
(This is a locally built rustc 1.24.0, compiled in the dev channel. It is being invoked from Buck in a custom build system, which is why the paths are atypical.)
It appears that the file is truncated, or corrupt in some way that makes it try to parse off the end of the file. This was on a machine that had been running into out-of-memory conditions, so its possible its a left-over from a previous failed compilation attempt.
I think rustc should handle corrupted incremental data by handling the error, deleting the file and compiling non-incrementally.
The text was updated successfully, but these errors were encountered: