ICE - 'index out of bounds: the len is 5 but the index is 5', compiler\rustc_middle\src\ty\query\on_disk_cache.rs:458:9 #79835
Labels
A-incr-comp
Area: Incremental compilation
C-bug
Category: This is a bug.
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
I don't have a minimal example, because whenever I try to minimize this the ICE goes away. So far, removing any top-level items including, types, modules, or functions will cause the ICE to go away (even if the function is put back). So I believe that this is a caching issue. (further evidenced by
compiler\rustc_middle\src\ty\query\on_disk_cache.rs
)This branch contains all the build artifacts, and I can consistently reproduce the ICE if I revert back to this branch.
https://github.com/RustyYato/svec/tree/ICE
edit: currently, you need to build with
--features nightly
enabled to see the ICEMeta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: