Open WaffleLapkin opened 2 years ago
@WaffleLapkin Were you modifying the compiler locally before performing this build? I'm not sure where rustc_query_system::query::plumbing::QueryCacheStore<bool>
is coming from, since bool
is not a QueryCache
.
@Aaron1011 no, I only updated the core
(it's this PR: https://github.com/rust-lang/rust/pull/91216)
@rustbot label +A-incr-comp
I've got an "encountered incremental compilation error" (#84970) while running
x test library/core --doc --stage 1
Meta
1.57.0-beta.2 (7e4c9eebd 2021-10-22)
Error output
Full output
Running a second time with `RUST_BACKTRACE=1` succeded, so I don't have a backtrace. ```text Updating only changed submodules Submodules updated in 0.15 seconds Finished dev [unoptimized] target(s) in 0.56s Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) Finished release [optimized + debuginfo] target(s) in 0.30s Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu) Building stage0 compiler artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) Compiling rustc_middle v0.0.0 (/home/waffle/projects/repos/rust/compiler/rustc_middle) Compiling rustc_infer v0.0.0 (/home/waffle/projects/repos/rust/compiler/rustc_infer) Compiling rustc_metadata v0.0.0 (/home/waffle/projects/repos/rust/compiler/rustc_metadata) Compiling rustc_mir_dataflow v0.0.0 (/home/waffle/projects/repos/rust/compiler/rustc_mir_dataflow) Compiling rustc_symbol_mangling v0.0.0 (/home/waffle/projects/repos/rust/compiler/rustc_symbol_mangling) Compiling rustc_incremental v0.0.0 (/home/waffle/projects/repos/rust/compiler/rustc_incremental) Compiling rustc_monomorphize v0.0.0 (/home/waffle/projects/repos/rust/compiler/rustc_monomorphize) Compiling rustc_query_impl v0.0.0 (/home/waffle/projects/repos/rust/compiler/rustc_query_impl) Compiling rustc_passes v0.0.0 (/home/waffle/projects/repos/rust/compiler/rustc_passes) Compiling rustc_save_analysis v0.0.0 (/home/waffle/projects/repos/rust/compiler/rustc_save_analysis) Compiling rustc_codegen_ssa v0.0.0 (/home/waffle/projects/repos/rust/compiler/rustc_codegen_ssa) Compiling rustc_resolve v0.0.0 (/home/waffle/projects/repos/rust/compiler/rustc_resolve) Compiling rustc_trait_selection v0.0.0 (/home/waffle/projects/repos/rust/compiler/rustc_trait_selection) Compiling rustc_codegen_llvm v0.0.0 (/home/waffle/projects/repos/rust/compiler/rustc_codegen_llvm) Compiling rustc_lint v0.0.0 (/home/waffle/projects/repos/rust/compiler/rustc_lint) Compiling rustc_const_eval v0.0.0 (/home/waffle/projects/repos/rust/compiler/rustc_const_eval) Compiling rustc_ty_utils v0.0.0 (/home/waffle/projects/repos/rust/compiler/rustc_ty_utils) Compiling rustc_traits v0.0.0 (/home/waffle/projects/repos/rust/compiler/rustc_traits) Compiling rustc_mir_build v0.0.0 (/home/waffle/projects/repos/rust/compiler/rustc_mir_build) Compiling rustc_typeck v0.0.0 (/home/waffle/projects/repos/rust/compiler/rustc_typeck) error: internal compiler error: encountered incremental compilation error with normalize_generic_arg_after_erasing_regions(7755a2f7701a978-b4a7594ac116bae6) | = help: This is a known issue with the compiler. Run `cargo clean -p rustc_ty_utils` or `cargo clean` to allow your project to compile = note: Please follow the instructions below to create a bug report with the provided information = note: See for more information
thread 'rustc' panicked at 'Found unstable fingerprints for normalize_generic_arg_after_erasing_regions(7755a2f7701a978-b4a7594ac116bae6): rustc_query_system::query::plumbing::QueryCacheStore', /rustc/7e4c9eebd82e9fa71f74626e5ba4e3494b8aba25/compiler/rustc_query_system/src/query/plumbing.rs:615:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
note: rustc 1.57.0-beta.2 (7e4c9eebd 2021-10-22) running on x86_64-unknown-linux-gnu
note: compiler flags: -Z symbol-mangling-version=v0 -Z macro-backtrace -Z tls-model=initial-exec -Z unstable-options -Z binary-dep-depinfo -Z force-unstable-if-unmarked -C opt-level=3 -C embed-bitcode=no -C debuginfo=1 -C debug-assertions=on -C incremental -C link-args=-Wl,-rpath,$ORIGIN/../lib -C link-args=-fuse-ld=lld -C prefer-dynamic -C llvm-args=-import-instr-limit=10 --crate-type lib
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [normalize_generic_arg_after_erasing_regions] normalizing `rustc_query_system::query::plumbing::QueryCacheStore<>>::Cache>`
#1 [layout_of] computing layout of `rustc_query_system::query::plumbing::QueryCacheStore<>>::Cache>`
end of query stack
error: could not compile `rustc_ty_utils` due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed
Build completed unsuccessfully in 0:05:27
```