Repository: rust
Issue: machine readable ice + backtrace
Labels: A-diagnostics,T-compiler,C-bug

https://github.com/rust-lang/rust/pull/112849 makes it even more difficult to automatically process rustc panics because the panic message is now on a separate line and you can no longer just search for "panicked at".

Assertion failed ...
left:
right:

messages also have this problem.

It looks like `--error-format=json` sorta works with delay-span-bugs but not for actual backtraces  [1] :/    

It would be nice to have some reliable way to read and parse rustcs ICE output. :slightly_smiling_face: 

[1]
````
{"message":"the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler{"message":"the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes","code":{"code":"incomplete_features","explanation":null},"level":"warning","spans":[{"file_name":"106473.rs","byte_start":11,"byte_end":30,"line_start":1,"line_end":1,"column_start":12,"column_end":31,"is_primary":true,"text":[{"text":"#![feature(generic_const_exprs)]","highlight_start":12,"highlight_end":31}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"`#[warn(incomplete_features)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes\n --> 106473.rs:1:12\n  |\n1 | #![feature(generic_const_exprs)]\n  |            ^^^^^^^^^^^^^^^^^^^\n  |\n  = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information\n  = note: `#[warn(incomplete_features)]` on by default\n\n"}
{"message":"`main` function not found in crate `106473`","code":{"code":"E0601","explanation":"No `main` function was found in a binary crate.\n\nTo fix this error, add a `main` function:\n\n```\nfn main() {\n    // Your program will start here.\n    println!(\"Hello world!\");\n}\n```\n\nIf you don't know the basics of Rust, you can look at the\n[Rust Book][rust-book] to get started.\n\n[rust-book]: https://doc.rust-lang.org/book/\n"},"level":"error","spans":[{"file_name":"106473.rs","byte_start":144,"byte_end":144,"line_start":11,"line_end":11,"column_start":17,"column_end":17,"is_primary":true,"text":[{"text":"impl Tr for V {}","highlight_start":17,"highlight_end":17}],"label":"consider adding a `main` function to `106473.rs`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0601]: `main` function not found in crate `106473`\n  --> 106473.rs:11:17\n   |\n11 | impl Tr for V {}\n   |                 ^ consider adding a `main` function to `106473.rs`\n\n"}
{"message":"compiler/rustc_middle/src/ty/generic_args.rs:942:9: const parameter `U/#0` (Const { ty: usize, kind: U/#0 }/0) out of range when substituting args=[]","code":null,"level":"error: internal compiler error","spans":[],"children":[],"rendered":"error: internal compiler error: compiler/rustc_middle/src/ty/generic_args.rs:942:9: const parameter `U/#0` (Const { ty: usize, kind: U/#0 }/0) out of range when substituting args=[]\n\n"}
thread 'rustc' panicked at 'Box<dyn Any>', /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/compiler/rustc_errors/src/lib.rs:1645:9
stack backtrace:
   0:     0x7f8e6a562fc1 - std::backtrace_rs::backtrace::libunwind::trace::he692921cd71061da
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7f8e6a562fc1 - std::backtrace_rs::backtrace::trace_unsynchronized::h268323222e8c1ab8
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7f8e6a562fc1 - std::sys_common::backtrace::_print_fmt::haee60c61afbc4ed3
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x7f8e6a562fc1 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hd36c36e4b57d240a
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7f8e6a5c949c - core::fmt::rt::Argument::fmt::h0bae45bdae59332b
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/core/src/fmt/rt.rs:138:9
   5:     0x7f8e6a5c949c - core::fmt::write::h1eff66863ae03e81
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/core/src/fmt/mod.rs:1094:21
   6:     0x7f8e6a5555ce - std::io::Write::write_fmt::h0b1eac3a638eca57
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/io/mod.rs:1714:15
   7:     0x7f8e6a562dd5 - std::sys_common::backtrace::_print::h55c2e79c6c43fc91
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7f8e6a562dd5 - std::sys_common::backtrace::print::ha1cd10f2ad29b00d
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7f8e6a565e2a - std::panicking::panic_hook_with_disk_dump::{{closure}}::h1c11dff971492549
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/panicking.rs:278:22
  10:     0x7f8e6a565ac3 - std::panicking::panic_hook_with_disk_dump::hffdc434b289dce74
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/panicking.rs:312:9
  11:     0x7f8e6d817f39 - rustc_driver_impl[2f0949cc27d93100]::install_ice_hook::{closure#0}
  12:     0x7f8e6a5666d0 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h85e1510843a93c91
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/alloc/src/boxed.rs:2021:9
  13:     0x7f8e6a5666d0 - std::panicking::rust_panic_with_hook::hf537c3fb4549c7ab
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/panicking.rs:733:13
  14:     0x7f8e6dde3271 - std[ec332d703e613242]::panicking::begin_panic::<rustc_errors[e840185ed010efcf]::ExplicitBug>::{closure#0}
  15:     0x7f8e6dde1cd6 - std[ec332d703e613242]::sys_common::backtrace::__rust_end_short_backtrace::<std[ec332d703e613242]::panicking::begin_panic<rustc_errors[e840185ed010efcf]::ExplicitBug>::{closure#0}, !>
  16:     0x7f8e6dda3ab6 - std[ec332d703e613242]::panicking::begin_panic::<rustc_errors[e840185ed010efcf]::ExplicitBug>
  17:     0x7f8e6ddda934 - <rustc_errors[e840185ed010efcf]::HandlerInner>::bug::<alloc[3f9bbb105762381e]::string::String>
  18:     0x7f8e6ddda7c6 - <rustc_errors[e840185ed010efcf]::Handler>::bug::<alloc[3f9bbb105762381e]::string::String>
  19:     0x7f8e6ddc084c - rustc_middle[e8d608d57e197328]::util::bug::opt_span_bug_fmt::<rustc_span[3261ff60f64e7044]::span_encoding::Span>::{closure#0}
  20:     0x7f8e6ddbf64a - rustc_middle[e8d608d57e197328]::ty::context::tls::with_opt::<rustc_middle[e8d608d57e197328]::util::bug::opt_span_bug_fmt<rustc_span[3261ff60f64e7044]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  21:     0x7f8e6ddbf618 - rustc_middle[e8d608d57e197328]::ty::context::tls::with_context_opt::<rustc_middle[e8d608d57e197328]::ty::context::tls::with_opt<rustc_middle[e8d608d57e197328]::util::bug::opt_span_bug_fmt<rustc_span[3261ff60f64e7044]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  22:     0x7f8e6c1a4c60 - rustc_middle[e8d608d57e197328]::util::bug::bug_fmt
  23:     0x7f8e6ddd4045 - <rustc_middle[e8d608d57e197328]::ty::generic_args::ArgFolder>::const_param_out_of_range
  24:     0x7f8e6b893e4d - <rustc_middle[e8d608d57e197328]::ty::Ty as rustc_type_ir[982dbabe9c9a37e2]::fold::TypeSuperFoldable<rustc_middle[e8d608d57e197328]::ty::context::TyCtxt>>::try_super_fold_with::<rustc_middle[e8d608d57e197328]::ty::generic_args::ArgFolder>
  25:     0x7f8e6b8944fa - <rustc_middle[e8d608d57e197328]::ty::generic_args::GenericArg as rustc_type_ir[982dbabe9c9a37e2]::fold::TypeFoldable<rustc_middle[e8d608d57e197328]::ty::context::TyCtxt>>::try_fold_with::<rustc_middle[e8d608d57e197328]::ty::generic_args::ArgFolder>
  26:     0x7f8e6b87545e - <alloc[3f9bbb105762381e]::vec::Vec<rustc_middle[e8d608d57e197328]::ty::Clause> as alloc[3f9bbb105762381e]::vec::spec_extend::SpecExtend<rustc_middle[e8d608d57e197328]::ty::Clause, core[7c3dc332a8e1c229]::iter::adapters::map::Map<core[7c3dc332a8e1c229]::slice::iter::Iter<(rustc_middle[e8d608d57e197328]::ty::Clause, rustc_span[3261ff60f64e7044]::span_encoding::Span)>, <rustc_middle[e8d608d57e197328]::ty::generics::GenericPredicates>::instantiate_into::{closure#0}>>>::spec_extend
  27:     0x7f8e6b87241c - <rustc_middle[e8d608d57e197328]::ty::generics::GenericPredicates>::instantiate_into
  28:     0x7f8e6be49baa - <rustc_trait_selection[28d54827f45a888e]::traits::wf::WfPredicates>::nominal_obligations_inner
  29:     0x7f8e6be43670 - <rustc_trait_selection[28d54827f45a888e]::traits::wf::WfPredicates>::compute
  30:     0x7f8e6bb807e0 - <rustc_trait_selection[28d54827f45a888e]::traits::fulfill::FulfillProcessor as rustc_data_structures[a63ed3c4de9defe3]::obligation_forest::ObligationProcessor>::process_obligation
  31:     0x7f8e6bb7c49f - <rustc_data_structures[a63ed3c4de9defe3]::obligation_forest::ObligationForest<rustc_trait_selection[28d54827f45a888e]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[28d54827f45a888e]::traits::fulfill::FulfillProcessor>
  32:     0x7f8e6bf76967 - <rustc_trait_selection[28d54827f45a888e]::traits::engine::ObligationCtxt>::select_all_or_error
  33:     0x7f8e6c39f9b8 - rustc_hir_analysis[ac900bc9cb535ca9]::check::wfcheck::check_type_defn
  34:     0x7f8e6c37d4f2 - rustc_hir_analysis[ac900bc9cb535ca9]::check::wfcheck::check_well_formed
  35:     0x7f8e6b80bbbc - rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::check_well_formed::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 0usize]>>
  36:     0x7f8e6c13dee6 - rustc_query_system[86f95befa84333f8]::query::plumbing::try_execute_query::<rustc_query_impl[7a7d4cbbbc398ddf]::DynamicConfig<rustc_query_system[86f95befa84333f8]::query::caches::VecCache<rustc_hir[25972d35fbfffbb1]::hir_id::OwnerId, rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::QueryCtxt, false>
  37:     0x7f8e6c13dc02 - rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::check_well_formed::get_query_non_incr::__rust_end_short_backtrace
  38:     0x7f8e6cc4757d - rustc_data_structures[a63ed3c4de9defe3]::sync::par_for_each_in::<&[rustc_hir[25972d35fbfffbb1]::hir::ImplItemId], <rustc_middle[e8d608d57e197328]::hir::ModuleItems>::par_impl_items<rustc_hir_analysis[ac900bc9cb535ca9]::check::wfcheck::check_mod_type_wf::{closure#1}>::{closure#0}>
  39:     0x7f8e6cc4741a - rustc_hir_analysis[ac900bc9cb535ca9]::check::wfcheck::check_mod_type_wf
  40:     0x7f8e6c45db5c - rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::check_mod_type_wf::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 0usize]>>
  41:     0x7f8e6c45db3e - <rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::check_mod_type_wf::dynamic_query::{closure#2} as core[7c3dc332a8e1c229]::ops::function::FnOnce<(rustc_middle[e8d608d57e197328]::ty::context::TyCtxt, rustc_span[3261ff60f64e7044]::def_id::LocalDefId)>>::call_once
  42:     0x7f8e6c023ebf - rustc_query_system[86f95befa84333f8]::query::plumbing::try_execute_query::<rustc_query_impl[7a7d4cbbbc398ddf]::DynamicConfig<rustc_query_system[86f95befa84333f8]::query::caches::VecCache<rustc_span[3261ff60f64e7044]::def_id::LocalDefId, rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::QueryCtxt, false>
  43:     0x7f8e6d17d512 - rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::check_mod_type_wf::get_query_non_incr::__rust_end_short_backtrace
  44:     0x7f8e6cbf724b - rustc_data_structures[a63ed3c4de9defe3]::sync::par_for_each_in::<&[rustc_hir[25972d35fbfffbb1]::hir_id::OwnerId], <rustc_middle[e8d608d57e197328]::hir::map::Map>::par_for_each_module<rustc_hir_analysis[ac900bc9cb535ca9]::check_crate::{closure#5}::{closure#0}::{closure#0}>::{closure#0}>
  45:     0x7f8e6cbf65ce - rustc_hir_analysis[ac900bc9cb535ca9]::check_crate
  46:     0x7f8e6cbf1c6a - rustc_interface[3259f0f1c0f54e17]::passes::analysis
  47:     0x7f8e6cd16a4a - rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 1usize]>>
  48:     0x7f8e6cd16a39 - <rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::analysis::dynamic_query::{closure#2} as core[7c3dc332a8e1c229]::ops::function::FnOnce<(rustc_middle[e8d608d57e197328]::ty::context::TyCtxt, ())>>::call_once
  49:     0x7f8e6cebe548 - rustc_query_system[86f95befa84333f8]::query::plumbing::try_execute_query::<rustc_query_impl[7a7d4cbbbc398ddf]::DynamicConfig<rustc_query_system[86f95befa84333f8]::query::caches::SingleCache<rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::QueryCtxt, false>
  50:     0x7f8e6cebe2d7 - rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
  51:     0x7f8e6ca8e4d5 - <rustc_middle[e8d608d57e197328]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[2f0949cc27d93100]::run_compiler::{closure#1}::{closure#2}::{closure#4}, core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>
  52:     0x7f8e6ca8db02 - <rustc_interface[3259f0f1c0f54e17]::interface::Compiler>::enter::<rustc_driver_impl[2f0949cc27d93100]::run_compiler::{closure#1}::{closure#2}, core[7c3dc332a8e1c229]::result::Result<core[7c3dc332a8e1c229]::option::Option<rustc_interface[3259f0f1c0f54e17]::queries::Linker>, rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>
  53:     0x7f8e6ca86bb8 - std[ec332d703e613242]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[3259f0f1c0f54e17]::util::run_in_thread_pool_with_globals<rustc_interface[3259f0f1c0f54e17]::interface::run_compiler<core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>, rustc_driver_impl[2f0949cc27d93100]::run_compiler::{closure#1}>::{closure#0}, core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>
  54:     0x7f8e6ca8633e - <<std[ec332d703e613242]::thread::Builder>::spawn_unchecked_<rustc_interface[3259f0f1c0f54e17]::util::run_in_thread_pool_with_globals<rustc_interface[3259f0f1c0f54e17]::interface::run_compiler<core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>, rustc_driver_impl[2f0949cc27d93100]::run_compiler::{closure#1}>::{closure#0}, core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>::{closure#1} as core[7c3dc332a8e1c229]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  55:     0x7f8e6a570dc5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc5b9f463e020ec3e
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/alloc/src/boxed.rs:2007:9
  56:     0x7f8e6a570dc5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h140e20c91de13bb4
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/alloc/src/boxed.rs:2007:9
  57:     0x7f8e6a570dc5 - std::sys::unix::thread::Thread::new::thread_start::hfad7ee6626cdd5ae
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/sys/unix/thread.rs:108:17
  58:     0x7f8e6a30244b - <unknown>
  59:     0x7f8e6a385e40 - <unknown>
  60:                0x0 - <unknown>

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: please attach the file at `/home/matthias/vcs/github/glacier2/ices/rustc-ice-2023-07-31T19:29:41.022489023Z-554913.txt` to your bug report

query stack during panic:
#0 [check_well_formed] checking that `V` is well-formed
#1 [check_mod_type_wf] checking that types are well-formed in top-level module
#2 [analysis] running analysis passes on this crate
end of query stack
thread 'rustc' panicked at 'Box<dyn Any>', /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/compiler/rustc_errors/src/lib.rs:1645:9
stack backtrace:
   0:     0x7f8e6a562fc1 - std::backtrace_rs::backtrace::libunwind::trace::he692921cd71061da
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7f8e6a562fc1 - std::backtrace_rs::backtrace::trace_unsynchronized::h268323222e8c1ab8
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7f8e6a562fc1 - std::sys_common::backtrace::_print_fmt::haee60c61afbc4ed3
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x7f8e6a562fc1 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hd36c36e4b57d240a
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7f8e6a5c949c - core::fmt::rt::Argument::fmt::h0bae45bdae59332b
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/core/src/fmt/rt.rs:138:9
   5:     0x7f8e6a5c949c - core::fmt::write::h1eff66863ae03e81
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/core/src/fmt/mod.rs:1094:21
   6:     0x7f8e6a5555ce - std::io::Write::write_fmt::h0b1eac3a638eca57
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/io/mod.rs:1714:15
   7:     0x7f8e6a562dd5 - std::sys_common::backtrace::_print::h55c2e79c6c43fc91
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7f8e6a562dd5 - std::sys_common::backtrace::print::ha1cd10f2ad29b00d
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7f8e6a565e2a - std::panicking::panic_hook_with_disk_dump::{{closure}}::h1c11dff971492549
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/panicking.rs:278:22
  10:     0x7f8e6a565ac3 - std::panicking::panic_hook_with_disk_dump::hffdc434b289dce74
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/panicking.rs:312:9
  11:     0x7f8e6d817f39 - rustc_driver_impl[2f0949cc27d93100]::install_ice_hook::{closure#0}
  12:     0x7f8e6a5666d0 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h85e1510843a93c91
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/alloc/src/boxed.rs:2021:9
  13:     0x7f8e6a5666d0 - std::panicking::rust_panic_with_hook::hf537c3fb4549c7ab
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/panicking.rs:733:13
  14:     0x7f8e6dde3271 - std[ec332d703e613242]::panicking::begin_panic::<rustc_errors[e840185ed010efcf]::ExplicitBug>::{closure#0}
  15:     0x7f8e6dde1cd6 - std[ec332d703e613242]::sys_common::backtrace::__rust_end_short_backtrace::<std[ec332d703e613242]::panicking::begin_panic<rustc_errors[e840185ed010efcf]::ExplicitBug>::{closure#0}, !>
  16:     0x7f8e6dda3ab6 - std[ec332d703e613242]::panicking::begin_panic::<rustc_errors[e840185ed010efcf]::ExplicitBug>
  17:     0x7f8e6ddda934 - <rustc_errors[e840185ed010efcf]::HandlerInner>::bug::<alloc[3f9bbb105762381e]::string::String>
  18:     0x7f8e6ddda7c6 - <rustc_errors[e840185ed010efcf]::Handler>::bug::<alloc[3f9bbb105762381e]::string::String>
  19:     0x7f8e6ddc084c - rustc_middle[e8d608d57e197328]::util::bug::opt_span_bug_fmt::<rustc_span[3261ff60f64e7044]::span_encoding::Span>::{closure#0}
  20:     0x7f8e6ddbf64a - rustc_middle[e8d608d57e197328]::ty::context::tls::with_opt::<rustc_middle[e8d608d57e197328]::util::bug::opt_span_bug_fmt<rustc_span[3261ff60f64e7044]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  21:     0x7f8e6ddbf618 - rustc_middle[e8d608d57e197328]::ty::context::tls::with_context_opt::<rustc_middle[e8d608d57e197328]::ty::context::tls::with_opt<rustc_middle[e8d608d57e197328]::util::bug::opt_span_bug_fmt<rustc_span[3261ff60f64e7044]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  22:     0x7f8e6c1a4c60 - rustc_middle[e8d608d57e197328]::util::bug::bug_fmt
  23:     0x7f8e6ddd4045 - <rustc_middle[e8d608d57e197328]::ty::generic_args::ArgFolder>::const_param_out_of_range
  24:     0x7f8e6b893e4d - <rustc_middle[e8d608d57e197328]::ty::Ty as rustc_type_ir[982dbabe9c9a37e2]::fold::TypeSuperFoldable<rustc_middle[e8d608d57e197328]::ty::context::TyCtxt>>::try_super_fold_with::<rustc_middle[e8d608d57e197328]::ty::generic_args::ArgFolder>
  25:     0x7f8e6b8944fa - <rustc_middle[e8d608d57e197328]::ty::generic_args::GenericArg as rustc_type_ir[982dbabe9c9a37e2]::fold::TypeFoldable<rustc_middle[e8d608d57e197328]::ty::context::TyCtxt>>::try_fold_with::<rustc_middle[e8d608d57e197328]::ty::generic_args::ArgFolder>
  26:     0x7f8e6b87545e - <alloc[3f9bbb105762381e]::vec::Vec<rustc_middle[e8d608d57e197328]::ty::Clause> as alloc[3f9bbb105762381e]::vec::spec_extend::SpecExtend<rustc_middle[e8d608d57e197328]::ty::Clause, core[7c3dc332a8e1c229]::iter::adapters::map::Map<core[7c3dc332a8e1c229]::slice::iter::Iter<(rustc_middle[e8d608d57e197328]::ty::Clause, rustc_span[3261ff60f64e7044]::span_encoding::Span)>, <rustc_middle[e8d608d57e197328]::ty::generics::GenericPredicates>::instantiate_into::{closure#0}>>>::spec_extend
  27:     0x7f8e6b87241c - <rustc_middle[e8d608d57e197328]::ty::generics::GenericPredicates>::instantiate_into
  28:     0x7f8e6be49baa - <rustc_trait_selection[28d54827f45a888e]::traits::wf::WfPredicates>::nominal_obligations_inner
  29:     0x7f8e6be43670 - <rustc_trait_selection[28d54827f45a888e]::traits::wf::WfPredicates>::compute
  30:     0x7f8e6bb807e0 - <rustc_trait_selection[28d54827f45a888e]::traits::fulfill::FulfillProcessor as rustc_data_structures[a63ed3c4de9defe3]::obligation_forest::ObligationProcessor>::process_obligation
  31:     0x7f8e6bb7c49f - <rustc_data_structures[a63ed3c4de9defe3]::obligation_forest::ObligationForest<rustc_trait_selection[28d54827f45a888e]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[28d54827f45a888e]::traits::fulfill::FulfillProcessor>
  32:     0x7f8e6c38db19 - <rustc_trait_selection[28d54827f45a888e]::traits::engine::ObligationCtxt>::assumed_wf_types_and_report_errors
  33:     0x7f8e6c37d20e - rustc_hir_analysis[ac900bc9cb535ca9]::check::wfcheck::check_well_formed
  34:     0x7f8e6b80bbbc - rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::check_well_formed::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 0usize]>>
  35:     0x7f8e6c13dee6 - rustc_query_system[86f95befa84333f8]::query::plumbing::try_execute_query::<rustc_query_impl[7a7d4cbbbc398ddf]::DynamicConfig<rustc_query_system[86f95befa84333f8]::query::caches::VecCache<rustc_hir[25972d35fbfffbb1]::hir_id::OwnerId, rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::QueryCtxt, false>
  36:     0x7f8e6c13dc02 - rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::check_well_formed::get_query_non_incr::__rust_end_short_backtrace
  37:     0x7f8e6cc4757d - rustc_data_structures[a63ed3c4de9defe3]::sync::par_for_each_in::<&[rustc_hir[25972d35fbfffbb1]::hir::ImplItemId], <rustc_middle[e8d608d57e197328]::hir::ModuleItems>::par_impl_items<rustc_hir_analysis[ac900bc9cb535ca9]::check::wfcheck::check_mod_type_wf::{closure#1}>::{closure#0}>
  38:     0x7f8e6cc4741a - rustc_hir_analysis[ac900bc9cb535ca9]::check::wfcheck::check_mod_type_wf
  39:     0x7f8e6c45db5c - rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::check_mod_type_wf::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 0usize]>>
  40:     0x7f8e6c45db3e - <rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::check_mod_type_wf::dynamic_query::{closure#2} as core[7c3dc332a8e1c229]::ops::function::FnOnce<(rustc_middle[e8d608d57e197328]::ty::context::TyCtxt, rustc_span[3261ff60f64e7044]::def_id::LocalDefId)>>::call_once
  41:     0x7f8e6c023ebf - rustc_query_system[86f95befa84333f8]::query::plumbing::try_execute_query::<rustc_query_impl[7a7d4cbbbc398ddf]::DynamicConfig<rustc_query_system[86f95befa84333f8]::query::caches::VecCache<rustc_span[3261ff60f64e7044]::def_id::LocalDefId, rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::QueryCtxt, false>
  42:     0x7f8e6d17d512 - rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::check_mod_type_wf::get_query_non_incr::__rust_end_short_backtrace
  43:     0x7f8e6cbf724b - rustc_data_structures[a63ed3c4de9defe3]::sync::par_for_each_in::<&[rustc_hir[25972d35fbfffbb1]::hir_id::OwnerId], <rustc_middle[e8d608d57e197328]::hir::map::Map>::par_for_each_module<rustc_hir_analysis[ac900bc9cb535ca9]::check_crate::{closure#5}::{closure#0}::{closure#0}>::{closure#0}>
  44:     0x7f8e6cbf65ce - rustc_hir_analysis[ac900bc9cb535ca9]::check_crate
  45:     0x7f8e6cbf1c6a - rustc_interface[3259f0f1c0f54e17]::passes::analysis
  46:     0x7f8e6cd16a4a - rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 1usize]>>
  47:     0x7f8e6cd16a39 - <rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::analysis::dynamic_query::{closure#2} as core[7c3dc332a8e1c229]::ops::function::FnOnce<(rustc_middle[e8d608d57e197328]::ty::context::TyCtxt, ())>>::call_once
  48:     0x7f8e6cebe548 - rustc_query_system[86f95befa84333f8]::query::plumbing::try_execute_query::<rustc_query_impl[7a7d4cbbbc398ddf]::DynamicConfig<rustc_query_system[86f95befa84333f8]::query::caches::SingleCache<rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::QueryCtxt, false>
  49:     0x7f8e6cebe2d7 - rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
  50:     0x7f8e6ca8e4d5 - <rustc_middle[e8d608d57e197328]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[2f0949cc27d93100]::run_compiler::{closure#1}::{closure#2}::{closure#4}, core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>
  51:     0x7f8e6ca8db02 - <rustc_interface[3259f0f1c0f54e17]::interface::Compiler>::enter::<rustc_driver_impl[2f0949cc27d93100]::run_compiler::{closure#1}::{closure#2}, core[7c3dc332a8e1c229]::result::Result<core[7c3dc332a8e1c229]::option::Option<rustc_interface[3259f0f1c0f54e17]::queries::Linker>, rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>
  52:     0x7f8e6ca86bb8 - std[ec332d703e613242]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[3259f0f1c0f54e17]::util::run_in_thread_pool_with_globals<rustc_interface[3259f0f1c0f54e17]::interface::run_compiler<core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>, rustc_driver_impl[2f0949cc27d93100]::run_compiler::{closure#1}>::{closure#0}, core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>
  53:     0x7f8e6ca8633e - <<std[ec332d703e613242]::thread::Builder>::spawn_unchecked_<rustc_interface[3259f0f1c0f54e17]::util::run_in_thread_pool_with_globals<rustc_interface[3259f0f1c0f54e17]::interface::run_compiler<core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>, rustc_driver_impl[2f0949cc27d93100]::run_compiler::{closure#1}>::{closure#0}, core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>::{closure#1} as core[7c3dc332a8e1c229]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  54:     0x7f8e6a570dc5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc5b9f463e020ec3e
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/alloc/src/boxed.rs:2007:9
  55:     0x7f8e6a570dc5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h140e20c91de13bb4
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/alloc/src/boxed.rs:2007:9
  56:     0x7f8e6a570dc5 - std::sys::unix::thread::Thread::new::thread_start::hfad7ee6626cdd5ae
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/sys/unix/thread.rs:108:17
  57:     0x7f8e6a30244b - <unknown>
  58:     0x7f8e6a385e40 - <unknown>
  59:                0x0 - <unknown>

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: please attach the file at `/home/matthias/vcs/github/glacier2/ices/rustc-ice-2023-07-31T19:29:41.022489023Z-554913.txt` to your bug report

query stack during panic:
#0 [check_well_formed] checking that `<impl at 106473.rs:11:1: 11:14>` is well-formed
#1 [check_mod_type_wf] checking that types are well-formed in top-level module
#2 [analysis] running analysis passes on this crate
end of query stack
{"message":"aborting due to 2 previous errors; 1 warning emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors; 1 warning emitted\n\n"}
{"message":"For more information about this error, try `rustc --explain E0601`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0601`.\n"} crashes","code":{"code":"incomplete_features","explanation":null},"level":"warning","spans":[{"file_name":"106473.rs","byte_start":11,"byte_end":30,"line_start":1,"line_end":1,"column_start":12,"column_end":31,"is_primary":true,"text":[{"text":"#![feature(generic_const_exprs)]","highlight_start":12,"highlight_end":31}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"`#[warn(incomplete_features)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes\n --> 106473.rs:1:12\n  |\n1 | #![feature(generic_const_exprs)]\n  |            ^^^^^^^^^^^^^^^^^^^\n  |\n  = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information\n  = note: `#[warn(incomplete_features)]` on by default\n\n"}
{"message":"`main` function not found in crate `106473`","code":{"code":"E0601","explanation":"No `main` function was found in a binary crate.\n\nTo fix this error, add a `main` function:\n\n```\nfn main() {\n    // Your program will start here.\n    println!(\"Hello world!\");\n}\n```\n\nIf you don't know the basics of Rust, you can look at the\n[Rust Book][rust-book] to get started.\n\n[rust-book]: https://doc.rust-lang.org/book/\n"},"level":"error","spans":[{"file_name":"106473.rs","byte_start":144,"byte_end":144,"line_start":11,"line_end":11,"column_start":17,"column_end":17,"is_primary":true,"text":[{"text":"impl Tr for V {}","highlight_start":17,"highlight_end":17}],"label":"consider adding a `main` function to `106473.rs`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"error[E0601]: `main` function not found in crate `106473`\n  --> 106473.rs:11:17\n   |\n11 | impl Tr for V {}\n   |                 ^ consider adding a `main` function to `106473.rs`\n\n"}
{"message":"compiler/rustc_middle/src/ty/generic_args.rs:942:9: const parameter `U/#0` (Const { ty: usize, kind: U/#0 }/0) out of range when substituting args=[]","code":null,"level":"error: internal compiler error","spans":[],"children":[],"rendered":"error: internal compiler error: compiler/rustc_middle/src/ty/generic_args.rs:942:9: const parameter `U/#0` (Const { ty: usize, kind: U/#0 }/0) out of range when substituting args=[]\n\n"}
thread 'rustc' panicked at 'Box<dyn Any>', /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/compiler/rustc_errors/src/lib.rs:1645:9
stack backtrace:
   0:     0x7f8e6a562fc1 - std::backtrace_rs::backtrace::libunwind::trace::he692921cd71061da
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7f8e6a562fc1 - std::backtrace_rs::backtrace::trace_unsynchronized::h268323222e8c1ab8
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7f8e6a562fc1 - std::sys_common::backtrace::_print_fmt::haee60c61afbc4ed3
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x7f8e6a562fc1 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hd36c36e4b57d240a
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7f8e6a5c949c - core::fmt::rt::Argument::fmt::h0bae45bdae59332b
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/core/src/fmt/rt.rs:138:9
   5:     0x7f8e6a5c949c - core::fmt::write::h1eff66863ae03e81
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/core/src/fmt/mod.rs:1094:21
   6:     0x7f8e6a5555ce - std::io::Write::write_fmt::h0b1eac3a638eca57
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/io/mod.rs:1714:15
   7:     0x7f8e6a562dd5 - std::sys_common::backtrace::_print::h55c2e79c6c43fc91
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7f8e6a562dd5 - std::sys_common::backtrace::print::ha1cd10f2ad29b00d
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7f8e6a565e2a - std::panicking::panic_hook_with_disk_dump::{{closure}}::h1c11dff971492549
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/panicking.rs:278:22
  10:     0x7f8e6a565ac3 - std::panicking::panic_hook_with_disk_dump::hffdc434b289dce74
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/panicking.rs:312:9
  11:     0x7f8e6d817f39 - rustc_driver_impl[2f0949cc27d93100]::install_ice_hook::{closure#0}
  12:     0x7f8e6a5666d0 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h85e1510843a93c91
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/alloc/src/boxed.rs:2021:9
  13:     0x7f8e6a5666d0 - std::panicking::rust_panic_with_hook::hf537c3fb4549c7ab
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/panicking.rs:733:13
  14:     0x7f8e6dde3271 - std[ec332d703e613242]::panicking::begin_panic::<rustc_errors[e840185ed010efcf]::ExplicitBug>::{closure#0}
  15:     0x7f8e6dde1cd6 - std[ec332d703e613242]::sys_common::backtrace::__rust_end_short_backtrace::<std[ec332d703e613242]::panicking::begin_panic<rustc_errors[e840185ed010efcf]::ExplicitBug>::{closure#0}, !>
  16:     0x7f8e6dda3ab6 - std[ec332d703e613242]::panicking::begin_panic::<rustc_errors[e840185ed010efcf]::ExplicitBug>
  17:     0x7f8e6ddda934 - <rustc_errors[e840185ed010efcf]::HandlerInner>::bug::<alloc[3f9bbb105762381e]::string::String>
  18:     0x7f8e6ddda7c6 - <rustc_errors[e840185ed010efcf]::Handler>::bug::<alloc[3f9bbb105762381e]::string::String>
  19:     0x7f8e6ddc084c - rustc_middle[e8d608d57e197328]::util::bug::opt_span_bug_fmt::<rustc_span[3261ff60f64e7044]::span_encoding::Span>::{closure#0}
  20:     0x7f8e6ddbf64a - rustc_middle[e8d608d57e197328]::ty::context::tls::with_opt::<rustc_middle[e8d608d57e197328]::util::bug::opt_span_bug_fmt<rustc_span[3261ff60f64e7044]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  21:     0x7f8e6ddbf618 - rustc_middle[e8d608d57e197328]::ty::context::tls::with_context_opt::<rustc_middle[e8d608d57e197328]::ty::context::tls::with_opt<rustc_middle[e8d608d57e197328]::util::bug::opt_span_bug_fmt<rustc_span[3261ff60f64e7044]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  22:     0x7f8e6c1a4c60 - rustc_middle[e8d608d57e197328]::util::bug::bug_fmt
  23:     0x7f8e6ddd4045 - <rustc_middle[e8d608d57e197328]::ty::generic_args::ArgFolder>::const_param_out_of_range
  24:     0x7f8e6b893e4d - <rustc_middle[e8d608d57e197328]::ty::Ty as rustc_type_ir[982dbabe9c9a37e2]::fold::TypeSuperFoldable<rustc_middle[e8d608d57e197328]::ty::context::TyCtxt>>::try_super_fold_with::<rustc_middle[e8d608d57e197328]::ty::generic_args::ArgFolder>
  25:     0x7f8e6b8944fa - <rustc_middle[e8d608d57e197328]::ty::generic_args::GenericArg as rustc_type_ir[982dbabe9c9a37e2]::fold::TypeFoldable<rustc_middle[e8d608d57e197328]::ty::context::TyCtxt>>::try_fold_with::<rustc_middle[e8d608d57e197328]::ty::generic_args::ArgFolder>
  26:     0x7f8e6b87545e - <alloc[3f9bbb105762381e]::vec::Vec<rustc_middle[e8d608d57e197328]::ty::Clause> as alloc[3f9bbb105762381e]::vec::spec_extend::SpecExtend<rustc_middle[e8d608d57e197328]::ty::Clause, core[7c3dc332a8e1c229]::iter::adapters::map::Map<core[7c3dc332a8e1c229]::slice::iter::Iter<(rustc_middle[e8d608d57e197328]::ty::Clause, rustc_span[3261ff60f64e7044]::span_encoding::Span)>, <rustc_middle[e8d608d57e197328]::ty::generics::GenericPredicates>::instantiate_into::{closure#0}>>>::spec_extend
  27:     0x7f8e6b87241c - <rustc_middle[e8d608d57e197328]::ty::generics::GenericPredicates>::instantiate_into
  28:     0x7f8e6be49baa - <rustc_trait_selection[28d54827f45a888e]::traits::wf::WfPredicates>::nominal_obligations_inner
  29:     0x7f8e6be43670 - <rustc_trait_selection[28d54827f45a888e]::traits::wf::WfPredicates>::compute
  30:     0x7f8e6bb807e0 - <rustc_trait_selection[28d54827f45a888e]::traits::fulfill::FulfillProcessor as rustc_data_structures[a63ed3c4de9defe3]::obligation_forest::ObligationProcessor>::process_obligation
  31:     0x7f8e6bb7c49f - <rustc_data_structures[a63ed3c4de9defe3]::obligation_forest::ObligationForest<rustc_trait_selection[28d54827f45a888e]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[28d54827f45a888e]::traits::fulfill::FulfillProcessor>
  32:     0x7f8e6bf76967 - <rustc_trait_selection[28d54827f45a888e]::traits::engine::ObligationCtxt>::select_all_or_error
  33:     0x7f8e6c39f9b8 - rustc_hir_analysis[ac900bc9cb535ca9]::check::wfcheck::check_type_defn
  34:     0x7f8e6c37d4f2 - rustc_hir_analysis[ac900bc9cb535ca9]::check::wfcheck::check_well_formed
  35:     0x7f8e6b80bbbc - rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::check_well_formed::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 0usize]>>
  36:     0x7f8e6c13dee6 - rustc_query_system[86f95befa84333f8]::query::plumbing::try_execute_query::<rustc_query_impl[7a7d4cbbbc398ddf]::DynamicConfig<rustc_query_system[86f95befa84333f8]::query::caches::VecCache<rustc_hir[25972d35fbfffbb1]::hir_id::OwnerId, rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::QueryCtxt, false>
  37:     0x7f8e6c13dc02 - rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::check_well_formed::get_query_non_incr::__rust_end_short_backtrace
  38:     0x7f8e6cc4757d - rustc_data_structures[a63ed3c4de9defe3]::sync::par_for_each_in::<&[rustc_hir[25972d35fbfffbb1]::hir::ImplItemId], <rustc_middle[e8d608d57e197328]::hir::ModuleItems>::par_impl_items<rustc_hir_analysis[ac900bc9cb535ca9]::check::wfcheck::check_mod_type_wf::{closure#1}>::{closure#0}>
  39:     0x7f8e6cc4741a - rustc_hir_analysis[ac900bc9cb535ca9]::check::wfcheck::check_mod_type_wf
  40:     0x7f8e6c45db5c - rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::check_mod_type_wf::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 0usize]>>
  41:     0x7f8e6c45db3e - <rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::check_mod_type_wf::dynamic_query::{closure#2} as core[7c3dc332a8e1c229]::ops::function::FnOnce<(rustc_middle[e8d608d57e197328]::ty::context::TyCtxt, rustc_span[3261ff60f64e7044]::def_id::LocalDefId)>>::call_once
  42:     0x7f8e6c023ebf - rustc_query_system[86f95befa84333f8]::query::plumbing::try_execute_query::<rustc_query_impl[7a7d4cbbbc398ddf]::DynamicConfig<rustc_query_system[86f95befa84333f8]::query::caches::VecCache<rustc_span[3261ff60f64e7044]::def_id::LocalDefId, rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::QueryCtxt, false>
  43:     0x7f8e6d17d512 - rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::check_mod_type_wf::get_query_non_incr::__rust_end_short_backtrace
  44:     0x7f8e6cbf724b - rustc_data_structures[a63ed3c4de9defe3]::sync::par_for_each_in::<&[rustc_hir[25972d35fbfffbb1]::hir_id::OwnerId], <rustc_middle[e8d608d57e197328]::hir::map::Map>::par_for_each_module<rustc_hir_analysis[ac900bc9cb535ca9]::check_crate::{closure#5}::{closure#0}::{closure#0}>::{closure#0}>
  45:     0x7f8e6cbf65ce - rustc_hir_analysis[ac900bc9cb535ca9]::check_crate
  46:     0x7f8e6cbf1c6a - rustc_interface[3259f0f1c0f54e17]::passes::analysis
  47:     0x7f8e6cd16a4a - rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 1usize]>>
  48:     0x7f8e6cd16a39 - <rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::analysis::dynamic_query::{closure#2} as core[7c3dc332a8e1c229]::ops::function::FnOnce<(rustc_middle[e8d608d57e197328]::ty::context::TyCtxt, ())>>::call_once
  49:     0x7f8e6cebe548 - rustc_query_system[86f95befa84333f8]::query::plumbing::try_execute_query::<rustc_query_impl[7a7d4cbbbc398ddf]::DynamicConfig<rustc_query_system[86f95befa84333f8]::query::caches::SingleCache<rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::QueryCtxt, false>
  50:     0x7f8e6cebe2d7 - rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
  51:     0x7f8e6ca8e4d5 - <rustc_middle[e8d608d57e197328]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[2f0949cc27d93100]::run_compiler::{closure#1}::{closure#2}::{closure#4}, core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>
  52:     0x7f8e6ca8db02 - <rustc_interface[3259f0f1c0f54e17]::interface::Compiler>::enter::<rustc_driver_impl[2f0949cc27d93100]::run_compiler::{closure#1}::{closure#2}, core[7c3dc332a8e1c229]::result::Result<core[7c3dc332a8e1c229]::option::Option<rustc_interface[3259f0f1c0f54e17]::queries::Linker>, rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>
  53:     0x7f8e6ca86bb8 - std[ec332d703e613242]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[3259f0f1c0f54e17]::util::run_in_thread_pool_with_globals<rustc_interface[3259f0f1c0f54e17]::interface::run_compiler<core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>, rustc_driver_impl[2f0949cc27d93100]::run_compiler::{closure#1}>::{closure#0}, core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>
  54:     0x7f8e6ca8633e - <<std[ec332d703e613242]::thread::Builder>::spawn_unchecked_<rustc_interface[3259f0f1c0f54e17]::util::run_in_thread_pool_with_globals<rustc_interface[3259f0f1c0f54e17]::interface::run_compiler<core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>, rustc_driver_impl[2f0949cc27d93100]::run_compiler::{closure#1}>::{closure#0}, core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>::{closure#1} as core[7c3dc332a8e1c229]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  55:     0x7f8e6a570dc5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc5b9f463e020ec3e
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/alloc/src/boxed.rs:2007:9
  56:     0x7f8e6a570dc5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h140e20c91de13bb4
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/alloc/src/boxed.rs:2007:9
  57:     0x7f8e6a570dc5 - std::sys::unix::thread::Thread::new::thread_start::hfad7ee6626cdd5ae
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/sys/unix/thread.rs:108:17
  58:     0x7f8e6a30244b - <unknown>
  59:     0x7f8e6a385e40 - <unknown>
  60:                0x0 - <unknown>

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: please attach the file at `/home/matthias/vcs/github/glacier2/ices/rustc-ice-2023-07-31T19:29:41.022489023Z-554913.txt` to your bug report

query stack during panic:
#0 [check_well_formed] checking that `V` is well-formed
#1 [check_mod_type_wf] checking that types are well-formed in top-level module
#2 [analysis] running analysis passes on this crate
end of query stack
thread 'rustc' panicked at 'Box<dyn Any>', /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/compiler/rustc_errors/src/lib.rs:1645:9
stack backtrace:
   0:     0x7f8e6a562fc1 - std::backtrace_rs::backtrace::libunwind::trace::he692921cd71061da
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7f8e6a562fc1 - std::backtrace_rs::backtrace::trace_unsynchronized::h268323222e8c1ab8
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7f8e6a562fc1 - std::sys_common::backtrace::_print_fmt::haee60c61afbc4ed3
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x7f8e6a562fc1 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hd36c36e4b57d240a
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7f8e6a5c949c - core::fmt::rt::Argument::fmt::h0bae45bdae59332b
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/core/src/fmt/rt.rs:138:9
   5:     0x7f8e6a5c949c - core::fmt::write::h1eff66863ae03e81
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/core/src/fmt/mod.rs:1094:21
   6:     0x7f8e6a5555ce - std::io::Write::write_fmt::h0b1eac3a638eca57
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/io/mod.rs:1714:15
   7:     0x7f8e6a562dd5 - std::sys_common::backtrace::_print::h55c2e79c6c43fc91
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7f8e6a562dd5 - std::sys_common::backtrace::print::ha1cd10f2ad29b00d
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7f8e6a565e2a - std::panicking::panic_hook_with_disk_dump::{{closure}}::h1c11dff971492549
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/panicking.rs:278:22
  10:     0x7f8e6a565ac3 - std::panicking::panic_hook_with_disk_dump::hffdc434b289dce74
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/panicking.rs:312:9
  11:     0x7f8e6d817f39 - rustc_driver_impl[2f0949cc27d93100]::install_ice_hook::{closure#0}
  12:     0x7f8e6a5666d0 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h85e1510843a93c91
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/alloc/src/boxed.rs:2021:9
  13:     0x7f8e6a5666d0 - std::panicking::rust_panic_with_hook::hf537c3fb4549c7ab
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/panicking.rs:733:13
  14:     0x7f8e6dde3271 - std[ec332d703e613242]::panicking::begin_panic::<rustc_errors[e840185ed010efcf]::ExplicitBug>::{closure#0}
  15:     0x7f8e6dde1cd6 - std[ec332d703e613242]::sys_common::backtrace::__rust_end_short_backtrace::<std[ec332d703e613242]::panicking::begin_panic<rustc_errors[e840185ed010efcf]::ExplicitBug>::{closure#0}, !>
  16:     0x7f8e6dda3ab6 - std[ec332d703e613242]::panicking::begin_panic::<rustc_errors[e840185ed010efcf]::ExplicitBug>
  17:     0x7f8e6ddda934 - <rustc_errors[e840185ed010efcf]::HandlerInner>::bug::<alloc[3f9bbb105762381e]::string::String>
  18:     0x7f8e6ddda7c6 - <rustc_errors[e840185ed010efcf]::Handler>::bug::<alloc[3f9bbb105762381e]::string::String>
  19:     0x7f8e6ddc084c - rustc_middle[e8d608d57e197328]::util::bug::opt_span_bug_fmt::<rustc_span[3261ff60f64e7044]::span_encoding::Span>::{closure#0}
  20:     0x7f8e6ddbf64a - rustc_middle[e8d608d57e197328]::ty::context::tls::with_opt::<rustc_middle[e8d608d57e197328]::util::bug::opt_span_bug_fmt<rustc_span[3261ff60f64e7044]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  21:     0x7f8e6ddbf618 - rustc_middle[e8d608d57e197328]::ty::context::tls::with_context_opt::<rustc_middle[e8d608d57e197328]::ty::context::tls::with_opt<rustc_middle[e8d608d57e197328]::util::bug::opt_span_bug_fmt<rustc_span[3261ff60f64e7044]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  22:     0x7f8e6c1a4c60 - rustc_middle[e8d608d57e197328]::util::bug::bug_fmt
  23:     0x7f8e6ddd4045 - <rustc_middle[e8d608d57e197328]::ty::generic_args::ArgFolder>::const_param_out_of_range
  24:     0x7f8e6b893e4d - <rustc_middle[e8d608d57e197328]::ty::Ty as rustc_type_ir[982dbabe9c9a37e2]::fold::TypeSuperFoldable<rustc_middle[e8d608d57e197328]::ty::context::TyCtxt>>::try_super_fold_with::<rustc_middle[e8d608d57e197328]::ty::generic_args::ArgFolder>
  25:     0x7f8e6b8944fa - <rustc_middle[e8d608d57e197328]::ty::generic_args::GenericArg as rustc_type_ir[982dbabe9c9a37e2]::fold::TypeFoldable<rustc_middle[e8d608d57e197328]::ty::context::TyCtxt>>::try_fold_with::<rustc_middle[e8d608d57e197328]::ty::generic_args::ArgFolder>
  26:     0x7f8e6b87545e - <alloc[3f9bbb105762381e]::vec::Vec<rustc_middle[e8d608d57e197328]::ty::Clause> as alloc[3f9bbb105762381e]::vec::spec_extend::SpecExtend<rustc_middle[e8d608d57e197328]::ty::Clause, core[7c3dc332a8e1c229]::iter::adapters::map::Map<core[7c3dc332a8e1c229]::slice::iter::Iter<(rustc_middle[e8d608d57e197328]::ty::Clause, rustc_span[3261ff60f64e7044]::span_encoding::Span)>, <rustc_middle[e8d608d57e197328]::ty::generics::GenericPredicates>::instantiate_into::{closure#0}>>>::spec_extend
  27:     0x7f8e6b87241c - <rustc_middle[e8d608d57e197328]::ty::generics::GenericPredicates>::instantiate_into
  28:     0x7f8e6be49baa - <rustc_trait_selection[28d54827f45a888e]::traits::wf::WfPredicates>::nominal_obligations_inner
  29:     0x7f8e6be43670 - <rustc_trait_selection[28d54827f45a888e]::traits::wf::WfPredicates>::compute
  30:     0x7f8e6bb807e0 - <rustc_trait_selection[28d54827f45a888e]::traits::fulfill::FulfillProcessor as rustc_data_structures[a63ed3c4de9defe3]::obligation_forest::ObligationProcessor>::process_obligation
  31:     0x7f8e6bb7c49f - <rustc_data_structures[a63ed3c4de9defe3]::obligation_forest::ObligationForest<rustc_trait_selection[28d54827f45a888e]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[28d54827f45a888e]::traits::fulfill::FulfillProcessor>
  32:     0x7f8e6c38db19 - <rustc_trait_selection[28d54827f45a888e]::traits::engine::ObligationCtxt>::assumed_wf_types_and_report_errors
  33:     0x7f8e6c37d20e - rustc_hir_analysis[ac900bc9cb535ca9]::check::wfcheck::check_well_formed
  34:     0x7f8e6b80bbbc - rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::check_well_formed::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 0usize]>>
  35:     0x7f8e6c13dee6 - rustc_query_system[86f95befa84333f8]::query::plumbing::try_execute_query::<rustc_query_impl[7a7d4cbbbc398ddf]::DynamicConfig<rustc_query_system[86f95befa84333f8]::query::caches::VecCache<rustc_hir[25972d35fbfffbb1]::hir_id::OwnerId, rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::QueryCtxt, false>
  36:     0x7f8e6c13dc02 - rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::check_well_formed::get_query_non_incr::__rust_end_short_backtrace
  37:     0x7f8e6cc4757d - rustc_data_structures[a63ed3c4de9defe3]::sync::par_for_each_in::<&[rustc_hir[25972d35fbfffbb1]::hir::ImplItemId], <rustc_middle[e8d608d57e197328]::hir::ModuleItems>::par_impl_items<rustc_hir_analysis[ac900bc9cb535ca9]::check::wfcheck::check_mod_type_wf::{closure#1}>::{closure#0}>
  38:     0x7f8e6cc4741a - rustc_hir_analysis[ac900bc9cb535ca9]::check::wfcheck::check_mod_type_wf
  39:     0x7f8e6c45db5c - rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::check_mod_type_wf::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 0usize]>>
  40:     0x7f8e6c45db3e - <rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::check_mod_type_wf::dynamic_query::{closure#2} as core[7c3dc332a8e1c229]::ops::function::FnOnce<(rustc_middle[e8d608d57e197328]::ty::context::TyCtxt, rustc_span[3261ff60f64e7044]::def_id::LocalDefId)>>::call_once
  41:     0x7f8e6c023ebf - rustc_query_system[86f95befa84333f8]::query::plumbing::try_execute_query::<rustc_query_impl[7a7d4cbbbc398ddf]::DynamicConfig<rustc_query_system[86f95befa84333f8]::query::caches::VecCache<rustc_span[3261ff60f64e7044]::def_id::LocalDefId, rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::QueryCtxt, false>
  42:     0x7f8e6d17d512 - rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::check_mod_type_wf::get_query_non_incr::__rust_end_short_backtrace
  43:     0x7f8e6cbf724b - rustc_data_structures[a63ed3c4de9defe3]::sync::par_for_each_in::<&[rustc_hir[25972d35fbfffbb1]::hir_id::OwnerId], <rustc_middle[e8d608d57e197328]::hir::map::Map>::par_for_each_module<rustc_hir_analysis[ac900bc9cb535ca9]::check_crate::{closure#5}::{closure#0}::{closure#0}>::{closure#0}>
  44:     0x7f8e6cbf65ce - rustc_hir_analysis[ac900bc9cb535ca9]::check_crate
  45:     0x7f8e6cbf1c6a - rustc_interface[3259f0f1c0f54e17]::passes::analysis
  46:     0x7f8e6cd16a4a - rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 1usize]>>
  47:     0x7f8e6cd16a39 - <rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::analysis::dynamic_query::{closure#2} as core[7c3dc332a8e1c229]::ops::function::FnOnce<(rustc_middle[e8d608d57e197328]::ty::context::TyCtxt, ())>>::call_once
  48:     0x7f8e6cebe548 - rustc_query_system[86f95befa84333f8]::query::plumbing::try_execute_query::<rustc_query_impl[7a7d4cbbbc398ddf]::DynamicConfig<rustc_query_system[86f95befa84333f8]::query::caches::SingleCache<rustc_middle[e8d608d57e197328]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[7a7d4cbbbc398ddf]::plumbing::QueryCtxt, false>
  49:     0x7f8e6cebe2d7 - rustc_query_impl[7a7d4cbbbc398ddf]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
  50:     0x7f8e6ca8e4d5 - <rustc_middle[e8d608d57e197328]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[2f0949cc27d93100]::run_compiler::{closure#1}::{closure#2}::{closure#4}, core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>
  51:     0x7f8e6ca8db02 - <rustc_interface[3259f0f1c0f54e17]::interface::Compiler>::enter::<rustc_driver_impl[2f0949cc27d93100]::run_compiler::{closure#1}::{closure#2}, core[7c3dc332a8e1c229]::result::Result<core[7c3dc332a8e1c229]::option::Option<rustc_interface[3259f0f1c0f54e17]::queries::Linker>, rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>
  52:     0x7f8e6ca86bb8 - std[ec332d703e613242]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[3259f0f1c0f54e17]::util::run_in_thread_pool_with_globals<rustc_interface[3259f0f1c0f54e17]::interface::run_compiler<core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>, rustc_driver_impl[2f0949cc27d93100]::run_compiler::{closure#1}>::{closure#0}, core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>
  53:     0x7f8e6ca8633e - <<std[ec332d703e613242]::thread::Builder>::spawn_unchecked_<rustc_interface[3259f0f1c0f54e17]::util::run_in_thread_pool_with_globals<rustc_interface[3259f0f1c0f54e17]::interface::run_compiler<core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>, rustc_driver_impl[2f0949cc27d93100]::run_compiler::{closure#1}>::{closure#0}, core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[7c3dc332a8e1c229]::result::Result<(), rustc_span[3261ff60f64e7044]::ErrorGuaranteed>>::{closure#1} as core[7c3dc332a8e1c229]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  54:     0x7f8e6a570dc5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc5b9f463e020ec3e
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/alloc/src/boxed.rs:2007:9
  55:     0x7f8e6a570dc5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h140e20c91de13bb4
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/alloc/src/boxed.rs:2007:9
  56:     0x7f8e6a570dc5 - std::sys::unix::thread::Thread::new::thread_start::hfad7ee6626cdd5ae
                               at /rustc/32303b219d4dffa447aa606bc11c7a648f44a862/library/std/src/sys/unix/thread.rs:108:17
  57:     0x7f8e6a30244b - <unknown>
  58:     0x7f8e6a385e40 - <unknown>
  59:                0x0 - <unknown>

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: please attach the file at `/home/matthias/vcs/github/glacier2/ices/rustc-ice-2023-07-31T19:29:41.022489023Z-554913.txt` to your bug report

query stack during panic:
#0 [check_well_formed] checking that `<impl at 106473.rs:11:1: 11:14>` is well-formed
#1 [check_mod_type_wf] checking that types are well-formed in top-level module
#2 [analysis] running analysis passes on this crate
end of query stack
{"message":"aborting due to 2 previous errors; 1 warning emitted","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 2 previous errors; 1 warning emitted\n\n"}
{"message":"For more information about this error, try `rustc --explain E0601`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"For more information about this error, try `rustc --explain E0601`.\n"}
````