Skip to content

thread 'rustc' panicked at 'failed to lookup SourceFile in new context', compiler/rustc_query_impl/src/on_disk_cache.rs:500:22 #92355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Ppjet6 opened this issue Dec 28, 2021 · 5 comments
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) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@Ppjet6
Copy link
Contributor

Ppjet6 commented Dec 28, 2021

Code

It appears on this branch (79d17553) and not on main (dc6dd19a).

https://gitlab.com/ppjet6/xmpp-rs/-/commits/rustc-ice/

Meta

rustc --version --verbose:

rustc 1.59.0-nightly (f8abed9ed 2021-12-26)

Error output

   Compiling tokio-xmpp v3.1.0 (/home/ppjet/Src/xmpp-rs/tokio-xmpp)
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.59.0-nightly (f8abed9ed 2021-12-26) running on x86_64-unknown-linux-gnu

note: compiler flags: -C embed-bitcode=no -C debuginfo=2 -C incremental --crate-type lib

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [typeck] type-checking `xmpp_codec::<impl at tokio-xmpp/src/xmpp_codec.rs:47:1: 147:2>::handle_start_tag`
#1 [analysis] running analysis passes on this crate
end of query stack
error: could not compile `tokio-xmpp`
Backtrace

thread 'rustc' panicked at 'failed to lookup `SourceFile` in new context', compiler/rustc_query_impl/src/on_disk_cache.rs:500:22                                                                                                                                                  stack backtrace:                                                  
   0:     0x7fdacd2681ac - std::backtrace_rs::backtrace::libunwind::trace::hd18aa6707c1a77d3                                                                                                                                                                                                                     at /rustc/f8abed9ed48bace6be0087bcd44ed534e239b8d8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7fdacd2681ac - std::backtrace_rs::backtrace::trace_unsynchronized::h10d5e83299d011c8                                                                                                                                                                                  
                               at /rustc/f8abed9ed48bace6be0087bcd44ed534e239b8d8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5                                                                                                                                          2:     0x7fdacd2681ac - std::sys_common::backtrace::_print_fmt::h0fb8aa72a0d31082                                                                                                                                                                                                                             at /rustc/f8abed9ed48bace6be0087bcd44ed534e239b8d8/library/std/src/sys_common/backtrace.rs:67:5
   3:     0x7fdacd2681ac - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h48e5b883ca94001e                                                                                                                                                                                  at /rustc/f8abed9ed48bace6be0087bcd44ed534e239b8d8/library/std/src/sys_common/backtrace.rs:46:22                                                                                                                                                      4:     0x7fdacd2c7dec - core::fmt::write::h840dc26ca11c860d  
                               at /rustc/f8abed9ed48bace6be0087bcd44ed534e239b8d8/library/core/src/fmt/mod.rs:1149:17                                                                                                                                                                5:     0x7fdacd257c85 - std::io::Write::write_fmt::h035b29a45209f828                                                                                                                                                                                                                                          at /rustc/f8abed9ed48bace6be0087bcd44ed534e239b8d8/library/std/src/io/mod.rs:1660:15                                                                                                                                                               
   6:     0x7fdacd26c470 - std::sys_common::backtrace::_print::h36d4956b50673fce                                      
                               at /rustc/f8abed9ed48bace6be0087bcd44ed534e239b8d8/library/std/src/sys_common/backtrace.rs:49:5
   7:     0x7fdacd26c470 - std::sys_common::backtrace::print::h70372c52fffea595                                       
                               at /rustc/f8abed9ed48bace6be0087bcd44ed534e239b8d8/library/std/src/sys_common/backtrace.rs:36:9
   8:     0x7fdacd26c470 - std::panicking::default_hook::{{closure}}::h8ebbe8f9867408d9        
                               at /rustc/f8abed9ed48bace6be0087bcd44ed534e239b8d8/library/std/src/panicking.rs:211:50      
   9:     0x7fdacd26c029 - std::panicking::default_hook::h0ce07742498a0047
                               at /rustc/f8abed9ed48bace6be0087bcd44ed534e239b8d8/library/std/src/panicking.rs:228:9
  10:     0x7fdacda07cc1 - rustc_driver[8c9f23f4e979e8f]::DEFAULT_HOOK::{closure#0}::{closure#0}
  11:     0x7fdacd26cc0b - std::panicking::rust_panic_with_hook::ha2331cf3fac0d4d3
                               at /rustc/f8abed9ed48bace6be0087bcd44ed534e239b8d8/library/std/src/panicking.rs:610:17
  12:     0x7fdacd26c940 - std::panicking::begin_panic_handler::{{closure}}::h6efa2ac845cb710c
                               at /rustc/f8abed9ed48bace6be0087bcd44ed534e239b8d8/library/std/src/panicking.rs:502:13
  13:     0x7fdacd268644 - std::sys_common::backtrace::__rust_end_short_backtrace::hbd930cc0a2090088
                               at /rustc/f8abed9ed48bace6be0087bcd44ed534e239b8d8/library/std/src/sys_common/backtrace.rs:139:18        
  14:     0x7fdacd26c6a9 - rust_begin_unwind
                               at /rustc/f8abed9ed48bace6be0087bcd44ed534e239b8d8/library/std/src/panicking.rs:498:5
  15:     0x7fdacd233db1 - core::panicking::panic_fmt::h40efac836c8ede96
                               at /rustc/f8abed9ed48bace6be0087bcd44ed534e239b8d8/library/core/src/panicking.rs:107:14
  16:     0x7fdacd2c4c71 - core::panicking::panic_display::h0b12fb635ef6515f
                               at /rustc/f8abed9ed48bace6be0087bcd44ed534e239b8d8/library/core/src/panicking.rs:63:5
  17:     0x7fdacd2c4c1b - core::panicking::panic_str::hde62b5b8a6a733ac
                               at /rustc/f8abed9ed48bace6be0087bcd44ed534e239b8d8/library/core/src/panicking.rs:55:5
  18:     0x7fdacd233ca6 - core::option::expect_failed::h92ed43bc5e397c2e                                   
                               at /rustc/f8abed9ed48bace6be0087bcd44ed534e239b8d8/library/core/src/option.rs:1821:5
  19:     0x7fdacf38a023 - <rustc_span[607f9cf87f924056]::span_encoding::Span as rustc_serialize[51237e0b41fcf1f2]::serialize::Decodable<rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder>>::decode
  20:     0x7fdacf386e60 - <rustc_middle[c579614bfb1210b6]::ty::VariantDef as rustc_serialize[51237e0b41fcf1f2]::serialize::Decodable<rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder>>::decode
  21:     0x7fdacf34a4d7 - <rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder as rustc_serialize[51237e0b41fcf1f2]::serialize::Decoder>::read_seq::<alloc[8ecd766e14532564]::vec::Vec<rustc_middle[c579614bfb1210b6]::ty::VariantDef>, <alloc[8ecd766e14532564]::vec
::Vec<rustc_middle[c579614bfb1210b6]::ty::VariantDef> as rustc_serialize[51237e0b41fcf1f2]::serialize::Decodable<rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder>>::decode::{closure#0}>
  22:     0x7fdacfdd1907 - <rustc_middle[c579614bfb1210b6]::ty::adt::AdtDef as rustc_serialize[51237e0b41fcf1f2]::serialize::Decodable<rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder>>::decode
  23:     0x7fdacf32f5ee - <rustc_middle[c579614bfb1210b6]::ty::sty::TyKind as rustc_serialize[51237e0b41fcf1f2]::serialize::Decodable<rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder>>::decode
  24:     0x7fdacf37f2d0 - <&rustc_middle[c579614bfb1210b6]::ty::TyS as rustc_serialize[51237e0b41fcf1f2]::serialize::Decodable<rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder>>::decode
  25:     0x7fdacf32f734 - <rustc_middle[c579614bfb1210b6]::ty::sty::TyKind as rustc_serialize[51237e0b41fcf1f2]::serialize::Decodable<rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder>>::decode
  26:     0x7fdacf37f2d0 - <&rustc_middle[c579614bfb1210b6]::ty::TyS as rustc_serialize[51237e0b41fcf1f2]::serialize::Decodable<rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder>>::decode
  27:     0x7fdacf37f19a - <&rustc_middle[c579614bfb1210b6]::ty::TyS as rustc_serialize[51237e0b41fcf1f2]::serialize::Decodable<rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder>>::decode
  28:     0x7fdacf34f186 - <rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder as rustc_serialize[51237e0b41fcf1f2]::serialize::Decoder>::read_map::<std[c9dd2fc8e45fffc5]::collections::hash::map::HashMap<rustc_hir[add2b00c28112c82]::hir_id::ItemLocalId, &rustc_
middle[c579614bfb1210b6]::ty::TyS, core[570de0aec9df84a9]::hash::BuildHasherDefault<rustc_hash[a3c3ba9fc61adc85]::FxHasher>>, <std[c9dd2fc8e45fffc5]::collections::hash::map::HashMap<rustc_hir[add2b00c28112c82]::hir_id::ItemLocalId, &rustc_middle[c579614bfb1210b6]::ty::TyS, 
core[570de0aec9df84a9]::hash::BuildHasherDefault<rustc_hash[a3c3ba9fc61adc85]::FxHasher>> as rustc_serialize[51237e0b41fcf1f2]::serialize::Decodable<rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder>>::decode::{closure#0}>
  29:     0x7fdacfdde801 - <rustc_middle[c579614bfb1210b6]::ty::context::TypeckResults as rustc_serialize[51237e0b41fcf1f2]::serialize::Decodable<rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder>>::decode::{closure#0}
  30:     0x7fdacfdfbfb8 - <rustc_query_impl[731ad525f14f9d89]::on_disk_cache::OnDiskCache>::try_load_query_result::<&rustc_middle[c579614bfb1210b6]::ty::context::TypeckResults>
  31:     0x7fdacfd37ef6 - rustc_query_system[47f2870a8b951c1b]::query::plumbing::try_load_from_disk_and_cache_in_memory::<rustc_query_impl[731ad525f14f9d89]::plumbing::QueryCtxt, rustc_span[607f9cf87f924056]::def_id::LocalDefId, &rustc_middle[c579614bfb1210b6]::ty::context
::TypeckResults>
  32:     0x7fdacf2b1acb - rustc_query_system[47f2870a8b951c1b]::query::plumbing::try_execute_query::<rustc_query_impl[731ad525f14f9d89]::plumbing::QueryCtxt, rustc_query_system[47f2870a8b951c1b]::query::caches::DefaultCache<rustc_span[607f9cf87f924056]::def_id::LocalDefId,
 &rustc_middle[c579614bfb1210b6]::ty::context::TypeckResults>>
  33:     0x7fdacf32503c - <rustc_query_impl[731ad525f14f9d89]::Queries as rustc_middle[c579614bfb1210b6]::ty::query::QueryEngine>::typeck
  34:     0x7fdacf737c8a - <rustc_middle[c579614bfb1210b6]::ty::context::TyCtxt>::typeck_body
  35:     0x7fdacefd9567 - rustc_hir[add2b00c28112c82]::intravisit::walk_impl_item::<rustc_passes[cdfe13fca15ce16e]::dead::MarkSymbolVisitor>
  36:     0x7fdaceffd9e5 - rustc_passes[cdfe13fca15ce16e]::dead::check_crate
  37:     0x7fdacf8a4f0c - <core[570de0aec9df84a9]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[75a89ee586a9404]::passes::analysis::{closure#5}::{closure#0}::{closure#1}> as core[570de0aec9df84a9]::ops::function::FnOnce<()>>::call_once
  38:     0x7fdacf8a654f - <core[570de0aec9df84a9]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[75a89ee586a9404]::passes::analysis::{closure#5}::{closure#0}> as core[570de0aec9df84a9]::ops::function::FnOnce<()>>::call_once
  39:     0x7fdacf8a2cb8 - <rustc_session[5f189eb5bb8e5f1e]::session::Session>::time::<(), rustc_interface[75a89ee586a9404]::passes::analysis::{closure#5}>
  40:     0x7fdacf87e24c - rustc_interface[75a89ee586a9404]::passes::analysis
  41:     0x7fdacfe42f40 - <rustc_query_system[47f2870a8b951c1b]::dep_graph::graph::DepGraph<rustc_middle[c579614bfb1210b6]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[c579614bfb1210b6]::ty::context::TyCtxt, (), core[570de0aec9df84a9]::result::Result<(), rustc
_errors[9a8dd54dac107980]::ErrorReported>>
  42:     0x7fdacfda1263 - rustc_data_structures[b42cb1ccea6c1dd3]::stack::ensure_sufficient_stack::<(core[570de0aec9df84a9]::result::Result<(), rustc_errors[9a8dd54dac107980]::ErrorReported>, rustc_query_system[47f2870a8b951c1b]::dep_graph::graph::DepNodeIndex), rustc_quer
y_system[47f2870a8b951c1b]::query::plumbing::execute_job<rustc_query_impl[731ad525f14f9d89]::plumbing::QueryCtxt, (), core[570de0aec9df84a9]::result::Result<(), rustc_errors[9a8dd54dac107980]::ErrorReported>>::{closure#3}>
  43:     0x7fdacfd24dd6 - rustc_query_system[47f2870a8b951c1b]::query::plumbing::try_execute_query::<rustc_query_impl[731ad525f14f9d89]::plumbing::QueryCtxt, rustc_query_system[47f2870a8b951c1b]::query::caches::DefaultCache<(), core[570de0aec9df84a9]::result::Result<(), ru
stc_errors[9a8dd54dac107980]::ErrorReported>>>
  44:     0x7fdacfd7b915 - rustc_query_system[47f2870a8b951c1b]::query::plumbing::get_query::<rustc_query_impl[731ad525f14f9d89]::queries::analysis, rustc_query_impl[731ad525f14f9d89]::plumbing::QueryCtxt>
  45:     0x7fdacf873fb9 - <rustc_interface[75a89ee586a9404]::passes::QueryContext>::enter::<rustc_driver[8c9f23f4e979e8f]::run_compiler::{closure#1}::{closure#2}::{closure#3}, core[570de0aec9df84a9]::result::Result<(), rustc_errors[9a8dd54dac107980]::ErrorReported>>
  46:     0x7fdacf8722ca - <rustc_interface[75a89ee586a9404]::interface::Compiler>::enter::<rustc_driver[8c9f23f4e979e8f]::run_compiler::{closure#1}::{closure#2}, core[570de0aec9df84a9]::result::Result<core[570de0aec9df84a9]::option::Option<rustc_interface[75a89ee586a9404]:
:queries::Linker>, rustc_errors[9a8dd54dac107980]::ErrorReported>>
  47:     0x7fdacf851f0d - rustc_span[607f9cf87f924056]::with_source_map::<core[570de0aec9df84a9]::result::Result<(), rustc_errors[9a8dd54dac107980]::ErrorReported>, rustc_interface[75a89ee586a9404]::interface::create_compiler_and_run<core[570de0aec9df84a9]::result::Result<
(), rustc_errors[9a8dd54dac107980]::ErrorReported>, rustc_driver[8c9f23f4e979e8f]::run_compiler::{closure#1}>::{closure#1}>
  48:     0x7fdacf871c7a - rustc_interface[75a89ee586a9404]::interface::create_compiler_and_run::<core[570de0aec9df84a9]::result::Result<(), rustc_errors[9a8dd54dac107980]::ErrorReported>, rustc_driver[8c9f23f4e979e8f]::run_compiler::{closure#1}>
  49:     0x7fdacf852d1b - <scoped_tls[1adb7e545912f193]::ScopedKey<rustc_span[607f9cf87f924056]::SessionGlobals>>::set::<rustc_interface[75a89ee586a9404]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[75a89ee586a9404]::interface::run_compiler<co
re[570de0aec9df84a9]::result::Result<(), rustc_errors[9a8dd54dac107980]::ErrorReported>, rustc_driver[8c9f23f4e979e8f]::run_compiler::{closure#1}>::{closure#0}, core[570de0aec9df84a9]::result::Result<(), rustc_errors[9a8dd54dac107980]::ErrorReported>>::{closure#0}::{closure
#0}, core[570de0aec9df84a9]::result::Result<(), rustc_errors[9a8dd54dac107980]::ErrorReported>>
  50:     0x7fdacf852b95 - std[c9dd2fc8e45fffc5]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[75a89ee586a9404]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[75a89ee586a9404]::interface::run_compiler<core[570de0aec9df84a
9]::result::Result<(), rustc_errors[9a8dd54dac107980]::ErrorReported>, rustc_driver[8c9f23f4e979e8f]::run_compiler::{closure#1}>::{closure#0}, core[570de0aec9df84a9]::result::Result<(), rustc_errors[9a8dd54dac107980]::ErrorReported>>::{closure#0}, core[570de0aec9df84a9]::re
sult::Result<(), rustc_errors[9a8dd54dac107980]::ErrorReported>>
  51:     0x7fdacf876812 - <<std[c9dd2fc8e45fffc5]::thread::Builder>::spawn_unchecked<rustc_interface[75a89ee586a9404]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[75a89ee586a9404]::interface::run_compiler<core[570de0aec9df84a9]::result::Result
<(), rustc_errors[9a8dd54dac107980]::ErrorReported>, rustc_driver[8c9f23f4e979e8f]::run_compiler::{closure#1}>::{closure#0}, core[570de0aec9df84a9]::result::Result<(), rustc_errors[9a8dd54dac107980]::ErrorReported>>::{closure#0}, core[570de0aec9df84a9]::result::Result<(), r
ustc_errors[9a8dd54dac107980]::ErrorReported>>::{closure#1} as core[570de0aec9df84a9]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  52:     0x7fdacd277dd3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h808b12e52cc0f446
                               at /rustc/f8abed9ed48bace6be0087bcd44ed534e239b8d8/library/alloc/src/boxed.rs:1811:9
  53:     0x7fdacd277dd3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h109fc14198617808
                               at /rustc/f8abed9ed48bace6be0087bcd44ed534e239b8d8/library/alloc/src/boxed.rs:1811:9
  54:     0x7fdacd277dd3 - std::sys::unix::thread::Thread::new::thread_start::hd6e54e1864887efd
                               at /rustc/f8abed9ed48bace6be0087bcd44ed534e239b8d8/library/std/src/sys/unix/thread.rs:108:17
  55:     0x7fdacd183259 - start_thread
  56:     0x7fdacd09f5e3 - __GI___clone
  57:                0x0 - <unknown>

@Ppjet6 Ppjet6 added C-bug Category: This is a bug. 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. labels Dec 28, 2021
@hkratz
Copy link
Contributor

hkratz commented Dec 28, 2021

Is it reproducible with cargo clean; cargo build? If not it is likely a duplicate of #92163.

@Ppjet6
Copy link
Contributor Author

Ppjet6 commented Dec 28, 2021

It works with a cargo clean indeed.

@BGR360
Copy link
Contributor

BGR360 commented Dec 29, 2021

@rustbot label +A-incr-comp

@rustbot rustbot added the A-incr-comp Area: Incremental compilation label Dec 29, 2021
@zzlk
Copy link

zzlk commented Jan 1, 2022

I am able to repro this consinstently but my repo is not yet open.

cargo clean && cargo build -> change one line in a specific file -> cargo build -> ICE.

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.59.0-nightly (f8abed9ed 2021-12-26) running on x86_64-unknown-linux-gnu

note: compiler flags: -C embed-bitcode=no -C codegen-units=256 -C debuginfo=2 -C incremental --crate-type bin

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [typeck] type-checking `hacks::<impl at bwmapserver/src/hacks.rs:563:1: 563:28>::register::extract_chk_from_mpqs_where_chk_is_null`
#1 [analysis] running analysis passes on this crate
end of query stack

... snip ....
  19:     0x7f0822607c1b - core::panicking::panic_str::hde62b5b8a6a733ac
                               at /rustc/f8abed9ed48bace6be0087bcd44ed534e239b8d8/library/core/src/panicking.rs:55:5
  20:     0x7f0822576ca6 - core::option::expect_failed::h92ed43bc5e397c2e
                               at /rustc/f8abed9ed48bace6be0087bcd44ed534e239b8d8/library/core/src/option.rs:1821:5
  21:     0x7f08246cd023 - <rustc_span[607f9cf87f924056]::span_encoding::Span as rustc_serialize[51237e0b41fcf1f2]::serialize::Decodable<rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder>>::decode
  22:     0x7f08246c9e60 - <rustc_middle[c579614bfb1210b6]::ty::VariantDef as rustc_serialize[51237e0b41fcf1f2]::serialize::Decodable<rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder>>::decode
  23:     0x7f082468d4d7 - <rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder as rustc_serialize[51237e0b41fcf1f2]::serialize::Decoder>::read_seq::<alloc[8ecd766e14532564]::vec::Vec<rustc_middle[c579614bfb1210b6]::ty::VariantDef>, <alloc[8ecd766e14532564]::vec::Vec<rustc_middle[c579614bfb1210b6]::ty::VariantDef> as rustc_serialize[51237e0b41fcf1f2]::serialize::Decodable<rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder>>::decode::{closure#0}>
  24:     0x7f0825114907 - <rustc_middle[c579614bfb1210b6]::ty::adt::AdtDef as rustc_serialize[51237e0b41fcf1f2]::serialize::Decodable<rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder>>::decode
  25:     0x7f08246725ee - <rustc_middle[c579614bfb1210b6]::ty::sty::TyKind as rustc_serialize[51237e0b41fcf1f2]::serialize::Decodable<rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder>>::decode
  26:     0x7f08246c22d0 - <&rustc_middle[c579614bfb1210b6]::ty::TyS as rustc_serialize[51237e0b41fcf1f2]::serialize::Decodable<rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder>>::decode
  27:     0x7f0824672734 - <rustc_middle[c579614bfb1210b6]::ty::sty::TyKind as rustc_serialize[51237e0b41fcf1f2]::serialize::Decodable<rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder>>::decode
  28:     0x7f08246c22d0 - <&rustc_middle[c579614bfb1210b6]::ty::TyS as rustc_serialize[51237e0b41fcf1f2]::serialize::Decodable<rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder>>::decode
  29:     0x7f08246c219a - <&rustc_middle[c579614bfb1210b6]::ty::TyS as rustc_serialize[51237e0b41fcf1f2]::serialize::Decodable<rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder>>::decode
  30:     0x7f0824692186 - <rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder as rustc_serialize[51237e0b41fcf1f2]::serialize::Decoder>::read_map::<std[c9dd2fc8e45fffc5]::collections::hash::map::HashMap<rustc_hir[add2b00c28112c82]::hir_id::ItemLocalId, &rustc_middle[c579614bfb1210b6]::ty::TyS, core[570de0aec9df84a9]::hash::BuildHasherDefault<rustc_hash[a3c3ba9fc61adc85]::FxHasher>>, <std[c9dd2fc8e45fffc5]::collections::hash::map::HashMap<rustc_hir[add2b00c28112c82]::hir_id::ItemLocalId, &rustc_middle[c579614bfb1210b6]::ty::TyS, core[570de0aec9df84a9]::hash::BuildHasherDefault<rustc_hash[a3c3ba9fc61adc85]::FxHasher>> as rustc_serialize[51237e0b41fcf1f2]::serialize::Decodable<rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder>>::decode::{closure#0}>
  31:     0x7f0825121801 - <rustc_middle[c579614bfb1210b6]::ty::context::TypeckResults as rustc_serialize[51237e0b41fcf1f2]::serialize::Decodable<rustc_query_impl[731ad525f14f9d89]::on_disk_cache::CacheDecoder>>::decode::{closure#0}
  32:     0x7f082513efb8 - <rustc_query_impl[731ad525f14f9d89]::on_disk_cache::OnDiskCache>::try_load_query_result::<&rustc_middle[c579614bfb1210b6]::ty::context::TypeckResults>
  33:     0x7f082507aef6 - rustc_query_system[47f2870a8b951c1b]::query::plumbing::try_load_from_disk_and_cache_in_memory::<rustc_query_impl[731ad525f14f9d89]::plumbing::QueryCtxt, rustc_span[607f9cf87f924056]::def_id::LocalDefId, &rustc_middle[c579614bfb1210b6]::ty::context::TypeckResults>
.... snip ....

@Aaron1011
Copy link
Member

Fixed by #92175

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

6 participants