Open matthiaskrgr opened 1 year ago
at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:481:18
124: 0x7fbf04a56960 - rustc_query_system[6af0a3b9967eef64]::query::plumbing::execute_job::<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt, false>
at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:414:9
125: 0x7fbf04a56960 - rustc_query_system[6af0a3b9967eef64]::query::plumbing::try_execute_query::<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt, false>
at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:359:13
126: 0x7fbf04c6c9b2 - rustc_query_system[6af0a3b9967eef64]::query::plumbing::get_query_non_incr::<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt>::{closure#0}
at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:811:32
127: 0x7fbf04c6c9b2 - stacker[13632619fe1702]::maybe_grow::<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[6af0a3b9967eef64]::query::plumbing::get_query_non_incr<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt>::{closure#0}>
at /home/matthias/.cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.15/src/lib.rs:55:9
128: 0x7fbf04c6c9b2 - rustc_data_structures[ce0cbe122e78aa38]::stack::ensure_sufficient_stack::<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[6af0a3b9967eef64]::query::plumbing::get_query_non_incr<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt>::{closure#0}>
at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:17:5
129: 0x7fbf04c6c9b2 - rustc_query_system[6af0a3b9967eef64]::query::plumbing::get_query_non_incr::<rustc_query_impl[4dcbb0eb2fff6f8b]::DynamicConfig<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[4dcbb0eb2fff6f8b]::plumbing::QueryCtxt>
at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:811:5
130: 0x7fbf04c6c9b2 - rustc_query_impl[4dcbb0eb2fff6f8b]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:556:26
131: 0x7fbf0308eaf0 - rustc_middle[6d3884defc02ee9d]::query::plumbing::query_get_at::<rustc_query_system[6af0a3b9967eef64]::query::caches::SingleCache<rustc_middle[6d3884defc02ee9d]::query::erase::Erased<[u8; 1usize]>>>
at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:155:17
132: 0x7fbf0308eaf0 - <rustc_middle[6d3884defc02ee9d]::query::plumbing::TyCtxtAt>::analysis
at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/mod.rs:2206:1
133: 0x7fbf0308eaf0 - <rustc_middle[6d3884defc02ee9d]::ty::context::TyCtxt>::analysis
at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:376:35
134: 0x7fbf0308eaf0 - rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}::{closure#2}::{closure#4}
at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:444:52
135: 0x7fbf0308eaf0 - <rustc_middle[6d3884defc02ee9d]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}::{closure#2}::{closure#4}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}
at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:589:37
136: 0x7fbf0308eaf0 - rustc_middle[6d3884defc02ee9d]::ty::context::tls::enter_context::<<rustc_middle[6d3884defc02ee9d]::ty::context::GlobalCtxt>::enter<rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}::{closure#2}::{closure#4}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}
at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:82:9
137: 0x7fbf0308eaf0 - <std[aeffd6322052592a]::thread::local::LocalKey<core[1cc32ee8b476061a]::cell::Cell<*const ()>>>::try_with::<rustc_middle[6d3884defc02ee9d]::ty::context::tls::enter_context<<rustc_middle[6d3884defc02ee9d]::ty::context::GlobalCtxt>::enter<rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}::{closure#2}::{closure#4}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>
at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:270:16
138: 0x7fbf0308eaf0 - <std[aeffd6322052592a]::thread::local::LocalKey<core[1cc32ee8b476061a]::cell::Cell<*const ()>>>::with::<rustc_middle[6d3884defc02ee9d]::ty::context::tls::enter_context<<rustc_middle[6d3884defc02ee9d]::ty::context::GlobalCtxt>::enter<rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}::{closure#2}::{closure#4}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>
at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:246:9
139: 0x7fbf0308eaf0 - rustc_middle[6d3884defc02ee9d]::ty::context::tls::enter_context::<<rustc_middle[6d3884defc02ee9d]::ty::context::GlobalCtxt>::enter<rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}::{closure#2}::{closure#4}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>
at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:79:9
140: 0x7fbf0308eaf0 - <rustc_middle[6d3884defc02ee9d]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}::{closure#2}::{closure#4}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>
at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:589:9
141: 0x7fbf030c0037 - rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}::{closure#2}
at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:444:13
142: 0x7fbf030c0037 - <rustc_interface[332394046bc0f1a0]::interface::Compiler>::enter::<rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}::{closure#2}, core[1cc32ee8b476061a]::result::Result<core[1cc32ee8b476061a]::option::Option<rustc_interface[332394046bc0f1a0]::queries::Linker>, rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>
at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/queries.rs:389:19
143: 0x7fbf030c0037 - rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}
at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:385:22
144: 0x7fbf030c0037 - rustc_interface[332394046bc0f1a0]::interface::run_compiler::<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}>::{closure#0}::{closure#0}
at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/interface.rs:339:21
145: 0x7fbf030c0037 - rustc_span[8fc2bc2477ece13]::set_source_map::<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_interface[332394046bc0f1a0]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}>::{closure#0}::{closure#0}>
at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_span/src/lib.rs:1041:5
146: 0x7fbf030af2e0 - rustc_interface[332394046bc0f1a0]::interface::run_compiler::<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}>::{closure#0}
at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/interface.rs:333:13
147: 0x7fbf030af2e0 - <scoped_tls[63aa9906a2b9d3f0]::ScopedKey<rustc_span[8fc2bc2477ece13]::SessionGlobals>>::set::<rustc_interface[332394046bc0f1a0]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>
at /home/matthias/.cargo/registry/src/index.crates.io-6f17d22bba15001f/scoped-tls-1.0.1/src/lib.rs:137:9
148: 0x7fbf030e7af3 - rustc_span[8fc2bc2477ece13]::create_session_globals_then::<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_interface[332394046bc0f1a0]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}>::{closure#0}>
at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_span/src/lib.rs:120:5
149: 0x7fbf030e7af3 - rustc_interface[332394046bc0f1a0]::util::run_in_thread_pool_with_globals::<rustc_interface[332394046bc0f1a0]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}::{closure#0}
at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/util.rs:163:38
150: 0x7fbf030e7af3 - std[aeffd6322052592a]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[332394046bc0f1a0]::util::run_in_thread_pool_with_globals<rustc_interface[332394046bc0f1a0]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>
at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:135:18
151: 0x7fbf030b7e43 - <std[aeffd6322052592a]::thread::Builder>::spawn_unchecked_::<rustc_interface[332394046bc0f1a0]::util::run_in_thread_pool_with_globals<rustc_interface[332394046bc0f1a0]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#1}::{closure#0}
at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/mod.rs:529:17
152: 0x7fbf030b7e43 - <core[1cc32ee8b476061a]::panic::unwind_safe::AssertUnwindSafe<<std[aeffd6322052592a]::thread::Builder>::spawn_unchecked_<rustc_interface[332394046bc0f1a0]::util::run_in_thread_pool_with_globals<rustc_interface[332394046bc0f1a0]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#1}::{closure#0}> as core[1cc32ee8b476061a]::ops::function::FnOnce<()>>::call_once
at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panic/unwind_safe.rs:271:9
153: 0x7fbf030b7e43 - std[aeffd6322052592a]::panicking::try::do_call::<core[1cc32ee8b476061a]::panic::unwind_safe::AssertUnwindSafe<<std[aeffd6322052592a]::thread::Builder>::spawn_unchecked_<rustc_interface[332394046bc0f1a0]::util::run_in_thread_pool_with_globals<rustc_interface[332394046bc0f1a0]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>
at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:524:40
154: 0x7fbf030b7e43 - std[aeffd6322052592a]::panicking::try::<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, core[1cc32ee8b476061a]::panic::unwind_safe::AssertUnwindSafe<<std[aeffd6322052592a]::thread::Builder>::spawn_unchecked_<rustc_interface[332394046bc0f1a0]::util::run_in_thread_pool_with_globals<rustc_interface[332394046bc0f1a0]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#1}::{closure#0}>>
at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:488:19
155: 0x7fbf030b7e43 - std[aeffd6322052592a]::panic::catch_unwind::<core[1cc32ee8b476061a]::panic::unwind_safe::AssertUnwindSafe<<std[aeffd6322052592a]::thread::Builder>::spawn_unchecked_<rustc_interface[332394046bc0f1a0]::util::run_in_thread_pool_with_globals<rustc_interface[332394046bc0f1a0]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>
at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panic.rs:142:14
156: 0x7fbf030b7e43 - <std[aeffd6322052592a]::thread::Builder>::spawn_unchecked_::<rustc_interface[332394046bc0f1a0]::util::run_in_thread_pool_with_globals<rustc_interface[332394046bc0f1a0]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#1}
at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/mod.rs:528:30
157: 0x7fbf030b7e43 - <<std[aeffd6322052592a]::thread::Builder>::spawn_unchecked_<rustc_interface[332394046bc0f1a0]::util::run_in_thread_pool_with_globals<rustc_interface[332394046bc0f1a0]::interface::run_compiler<core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>, rustc_driver_impl[f2dd14e7c75d6f72]::run_compiler::{closure#1}>::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1cc32ee8b476061a]::result::Result<(), rustc_span[8fc2bc2477ece13]::ErrorGuaranteed>>::{closure#1} as core[1cc32ee8b476061a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5
158: 0x7fbf014c0bee - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h878296a20baf385f
at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2007:9
159: 0x7fbf014c0bee - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h765f691d0781ffe6
at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2007:9
160: 0x7fbf014c0bee - std::sys::unix::thread::Thread::new::thread_start::h4b8556bc7501ac26
at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys/unix/thread.rs:108:17
161: 0x7fbf0129f44b - <unknown>
162: 0x7fbf01322e40 - <unknown>
163: 0x0 - <unknown>
error: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new
note: please attach the file at `/home/matthias/vcs/github/rust/rustc-ice-2023-07-25T20:35:04.236496269Z-1843471.txt` to your bug report
note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C codegen-units=16 -C debuginfo=2 -C overflow-checks=on -Z unstable-options -C target-cpu=native -C symbol-mangling-version=v0 -Z unstable-options -Z force-unstable-if-unmarked -Z macro-backtrace -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -C split-debuginfo=off -Z unstable-options -C prefer-dynamic -Z binary-dep-depinfo
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [analysis] running analysis passes on this crate
end of query stack
note: Clippy version: clippy 0.1.73 (4d8779b1678 2023-07-25)
Minimized:
fn main() {
const A: &[for<'a> fn(&'a ())] = &[];
for v in A.iter() {}
}
Some more context (I wrote this yesterday but forgot to actually submit the comment).
This ICE happened in the explicit_iter_loop
lint, here:
https://github.com/rust-lang/rust-clippy/blob/d446378143d23425f5763207359099975ece0da4/clippy_lints/src/loops/explicit_iter_loop.rs#L140
self_ty
in this snippet is the type &[for<'a> fn(&'a ())]
, which hits an assert in make_normalized_projection
because it shouldn't be called with types that have late bound regions, it seems.
The actual "problematic" bit in the rustc_query_impl
crate is this .iter()
call here (it seems like it was just about to suggest changing this to &super::TRY_COLLECT_ACTIVE_JOBS
):
https://github.com/rust-lang/rust/blob/bd9785cce8dffad58a793f85454a5064100e9c84/compiler/rustc_query_impl/src/plumbing.rs#L84
I looked around for clippy lints that "misuse" make_normalized_projection
in similar ways.
This example triggers another ICE. Same issue, but in another lint (needless_collect
this time):
trait Helper<'a>: Iterator<Item = fn()> {}
fn x(w: &mut dyn for<'a> Helper<'a>) {
w.collect::<Vec<_>>().is_empty();
}
thread 'rustc' panicked at 'substs contain late-bound region at index `0` which can't be normalized.
use `TyCtxt::erase_late_bound_regions`
note: subst is `&mut dyn for<'a> Helper<'a, Item = fn()>`', clippy_utils/src/ty.rs:1121:13
It seems to be trying to do the projection <&mut dyn for<'a> Helper<'a> as Iterator>::Item
, which is running into the same assert as above because of the late bound regions.
I'm not sure if this is a bug in rustc or not. TypeckResults
is supposed to store types with erased regions, yet in this case it's giving a type with late-bound regions without an associated Binder
.
Is this fixed by #11760?
Summary
while checking rustc_query_impl