Skip to content

rustc 1.68.0 panic'ed with internal compiler error cannot relate bound region #109571

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
bgrundmann opened this issue Mar 24, 2023 · 1 comment
Closed
Labels
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

@bgrundmann
Copy link

bgrundmann commented Mar 24, 2023

This happens reliably right now in a project of mine. It's not open source and I sadly don't have time right now to look more deeply into it. I've saved the current project state in git (locally) and I figured at least I could copy paste the compiler output. Maybe somebody here can quickly confirm that this is already a known bug / looks like one. If it isn't I might be able to spend a bit of time next week to see if I can figure out a smaller example (but no promises).

(it happened while I was running cargo watch, but also happens if I ran cargo build, the whole project is a workspace of a small number of crates).

   Compiling web v0.1.0 (/Users/benediktgrundmann/Programming/rentals2/web)
   Compiling rentals v0.1.0 (/Users/benediktgrundmann/Programming/rentals2/rentals)
warning: unused import: `Item`
 --> rentals/src/server/pages/articles/get.rs:4:25
  |
4 | use rentals_state::{Id, Item, ItemCategory, Kind, ProcessorHandle};
  |                         ^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

error: internal compiler error: compiler/rustc_infer/src/infer/region_constraints/mod.rs:568:17: cannot relate bound region: ReLateBound(DebruijnIndex(0), BoundRegion { var: 1, kind: BrNamed(DefId(0:1198 ~ rentals[0e8b]::server::pages::articles::get::get::'_#1), '_) }) <= '_#64r

thread 'rustc' panicked at 'Box<dyn Any>', /rustc/2c8cc343237b8f7d5a3c3703e3a87f2eb2c54a74/compiler/rustc_errors/src/lib.rs:987:33
stack backtrace:
   0:        0x101762978 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1027694b54c428d0
   1:        0x1017b2cf0 - core::fmt::write::hb60cc483d75d6594
   2:        0x101756374 - std::io::Write::write_fmt::h6c907fc10bdb865b
   3:        0x10176278c - std::sys_common::backtrace::print::h1a62458f14dd2797
   4:        0x1017652e0 - std::panicking::default_hook::{{closure}}::h03c6918072c36210
   5:        0x101765038 - std::panicking::default_hook::hd0f3cf66b6a0fb5e
   6:        0x109a404fc - rustc_driver[7e9c70f5b960cc99]::DEFAULT_HOOK::{closure#0}::{closure#0}
   7:        0x1017659d8 - std::panicking::rust_panic_with_hook::h9ed2a7a45efbd034
   8:        0x10d6c1394 - std[bed70ebd0cf395b0]::panicking::begin_panic::<rustc_errors[3041147eb80b6979]::ExplicitBug>::{closure#0}
   9:        0x10d6bb440 - std[bed70ebd0cf395b0]::sys_common::backtrace::__rust_end_short_backtrace::<std[bed70ebd0cf395b0]::panicking::begin_panic<rustc_errors[3041147eb80b6979]::ExplicitBug>::{closure#0}, !>
  10:        0x10dd69eac - std[bed70ebd0cf395b0]::panicking::begin_panic::<rustc_errors[3041147eb80b6979]::ExplicitBug>
  11:        0x10d768b30 - std[bed70ebd0cf395b0]::panic::panic_any::<rustc_errors[3041147eb80b6979]::ExplicitBug>
  12:        0x10d7650a4 - <rustc_errors[3041147eb80b6979]::HandlerInner>::span_bug::<rustc_span[c5f28c4f2d409cdb]::span_encoding::Span, &alloc[bc0f0745c2f902f]::string::String>
  13:        0x10d764eec - <rustc_errors[3041147eb80b6979]::Handler>::span_bug::<rustc_span[c5f28c4f2d409cdb]::span_encoding::Span, &alloc[bc0f0745c2f902f]::string::String>
  14:        0x10d7013a0 - rustc_middle[3903fd3487382ed0]::util::bug::opt_span_bug_fmt::<rustc_span[c5f28c4f2d409cdb]::span_encoding::Span>::{closure#0}
  15:        0x10d701698 - rustc_middle[3903fd3487382ed0]::ty::context::tls::with_opt::<rustc_middle[3903fd3487382ed0]::util::bug::opt_span_bug_fmt<rustc_span[c5f28c4f2d409cdb]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  16:        0x10d700c00 - rustc_middle[3903fd3487382ed0]::ty::context::tls::with_context_opt::<rustc_middle[3903fd3487382ed0]::ty::context::tls::with_opt<rustc_middle[3903fd3487382ed0]::util::bug::opt_span_bug_fmt<rustc_span[c5f28c4f2d409cdb]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  17:        0x10d700bbc - rustc_middle[3903fd3487382ed0]::util::bug::opt_span_bug_fmt::<rustc_span[c5f28c4f2d409cdb]::span_encoding::Span>
  18:        0x10dd65c34 - rustc_middle[3903fd3487382ed0]::util::bug::span_bug_fmt::<rustc_span[c5f28c4f2d409cdb]::span_encoding::Span>
  19:        0x10d6fbf0c - <rustc_infer[fd8b2ba72d33c6f8]::infer::region_constraints::RegionConstraintCollector>::make_subregion
  20:        0x10d6f63f0 - <rustc_infer[fd8b2ba72d33c6f8]::infer::region_constraints::RegionConstraintCollector>::make_eqregion
  21:        0x10d706348 - <rustc_infer[fd8b2ba72d33c6f8]::infer::equate::Equate as rustc_middle[3903fd3487382ed0]::ty::relate::TypeRelation>::regions
  22:        0x10d71b6b4 - <rustc_middle[3903fd3487382ed0]::ty::subst::GenericArg as rustc_middle[3903fd3487382ed0]::ty::relate::Relate>::relate::<rustc_infer[fd8b2ba72d33c6f8]::infer::equate::Equate>
  23:        0x10d6eaac8 - <core[bacde730fb80eda9]::result::Result<rustc_middle[3903fd3487382ed0]::ty::subst::GenericArg, rustc_middle[3903fd3487382ed0]::ty::error::TypeError> as rustc_type_ir[d1c599ce7b1b016e]::InternIteratorElement<rustc_middle[3903fd3487382ed0]::ty::subst::GenericArg, &rustc_middle[3903fd3487382ed0]::ty::list::List<rustc_middle[3903fd3487382ed0]::ty::subst::GenericArg>>>::intern_with::<core[bacde730fb80eda9]::iter::adapters::map::Map<core[bacde730fb80eda9]::iter::adapters::zip::Zip<core[bacde730fb80eda9]::iter::adapters::copied::Copied<core[bacde730fb80eda9]::slice::iter::Iter<rustc_middle[3903fd3487382ed0]::ty::subst::GenericArg>>, core[bacde730fb80eda9]::iter::adapters::copied::Copied<core[bacde730fb80eda9]::slice::iter::Iter<rustc_middle[3903fd3487382ed0]::ty::subst::GenericArg>>>, rustc_middle[3903fd3487382ed0]::ty::relate::relate_substs<rustc_infer[fd8b2ba72d33c6f8]::infer::equate::Equate>::{closure#0}>, <rustc_middle[3903fd3487382ed0]::ty::context::TyCtxt>::mk_substs<core[bacde730fb80eda9]::iter::adapters::map::Map<core[bacde730fb80eda9]::iter::adapters::zip::Zip<core[bacde730fb80eda9]::iter::adapters::copied::Copied<core[bacde730fb80eda9]::slice::iter::Iter<rustc_middle[3903fd3487382ed0]::ty::subst::GenericArg>>, core[bacde730fb80eda9]::iter::adapters::copied::Copied<core[bacde730fb80eda9]::slice::iter::Iter<rustc_middle[3903fd3487382ed0]::ty::subst::GenericArg>>>, rustc_middle[3903fd3487382ed0]::ty::relate::relate_substs<rustc_infer[fd8b2ba72d33c6f8]::infer::equate::Equate>::{closure#0}>>::{closure#0}>
  24:        0x10d70620c - <rustc_infer[fd8b2ba72d33c6f8]::infer::equate::Equate as rustc_middle[3903fd3487382ed0]::ty::relate::TypeRelation>::relate_item_substs
  25:        0x10d70cc84 - rustc_middle[3903fd3487382ed0]::ty::relate::super_relate_tys::<rustc_infer[fd8b2ba72d33c6f8]::infer::equate::Equate>
  26:        0x10d709570 - <rustc_infer[fd8b2ba72d33c6f8]::infer::equate::Equate as rustc_middle[3903fd3487382ed0]::ty::relate::TypeRelation>::tys
  27:        0x10d53dd30 - <rustc_infer[fd8b2ba72d33c6f8]::infer::InferCtxt>::commit_if_ok::<rustc_infer[fd8b2ba72d33c6f8]::infer::InferOk<()>, rustc_middle[3903fd3487382ed0]::ty::error::TypeError, <rustc_infer[fd8b2ba72d33c6f8]::infer::at::Trace>::eq<rustc_middle[3903fd3487382ed0]::ty::Ty>::{closure#0}>
  28:        0x10d546324 - <rustc_infer[fd8b2ba72d33c6f8]::infer::InferCtxt>::can_eq::<rustc_middle[3903fd3487382ed0]::ty::Ty>
  29:        0x10d5222f4 - rustc_trait_selection[86bcde4a4696cf51]::traits::error_reporting::suggestions::hint_missing_borrow
  30:        0x10d5ec120 - <rustc_infer[fd8b2ba72d33c6f8]::infer::error_reporting::TypeErrCtxt as rustc_trait_selection[86bcde4a4696cf51]::traits::error_reporting::suggestions::TypeErrCtxtExt>::report_closure_arg_mismatch
  31:        0x10d5fa520 - <rustc_infer[fd8b2ba72d33c6f8]::infer::error_reporting::TypeErrCtxt as rustc_trait_selection[86bcde4a4696cf51]::traits::error_reporting::TypeErrCtxtExt>::report_selection_error
  32:        0x10d603af4 - <rustc_infer[fd8b2ba72d33c6f8]::infer::error_reporting::TypeErrCtxt as rustc_trait_selection[86bcde4a4696cf51]::traits::error_reporting::InferCtxtPrivExt>::report_fulfillment_error
  33:        0x10d5f5028 - <rustc_infer[fd8b2ba72d33c6f8]::infer::error_reporting::TypeErrCtxt as rustc_trait_selection[86bcde4a4696cf51]::traits::error_reporting::TypeErrCtxtExt>::report_fulfillment_errors
  34:        0x10bcffeb0 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::resolve_vars_with_obligations
  35:        0x10bd03fbc - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::structurally_resolved_type
  36:        0x10bd3ed94 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_kind
  37:        0x10bcf891c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  38:        0x10bd0b2e0 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_decl
  39:        0x10bd0b714 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_stmt
  40:        0x10bd0be34 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_block_with_expected
  41:        0x10bd3f3a8 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_kind
  42:        0x10bcf891c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  43:        0x10bd3ed50 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_kind
  44:        0x10bcf891c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  45:        0x10bd0be6c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_block_with_expected
  46:        0x10bd3f3a8 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_kind
  47:        0x10bcf891c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  48:        0x10bcf9bfc - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_return_expr
  49:        0x10bd9b920 - rustc_hir_typeck[c57fafc8510b2a7e]::check::check_fn
  50:        0x10bd3c3f0 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_closure
  51:        0x10bd3ed14 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_kind
  52:        0x10bcf891c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  53:        0x10bd05524 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_argument_types
  54:        0x10bce7f44 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::confirm_builtin_call
  55:        0x10bce6b14 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_call
  56:        0x10bd3f18c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_kind
  57:        0x10bcf891c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
  58:        0x10bcf9bfc - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_return_expr
  59:        0x10bd9b920 - rustc_hir_typeck[c57fafc8510b2a7e]::check::check_fn
  60:        0x10bdc9068 - rustc_hir_typeck[c57fafc8510b2a7e]::typeck
  61:        0x10ccb9ed8 - <rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[3903fd3487382ed0]::ty::context::TyCtxt, rustc_span[c5f28c4f2d409cdb]::def_id::LocalDefId, &rustc_middle[3903fd3487382ed0]::ty::typeck_results::TypeckResults>
  62:        0x10cb045f0 - rustc_query_system[6dfbca34f7eeeccd]::query::plumbing::try_execute_query::<rustc_query_impl[f8b25e787c1f6d4]::queries::typeck, rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt>
  63:        0x10cbfc208 - <rustc_query_impl[f8b25e787c1f6d4]::Queries as rustc_middle[3903fd3487382ed0]::ty::query::QueryEngine>::typeck
  64:        0x10d8684c8 - <rustc_middle[3903fd3487382ed0]::ty::context::TyCtxt>::typeck_opt_const_arg
  65:        0x10c55627c - rustc_mir_build[91d2fd9e820b0d99]::thir::cx::thir_body
  66:        0x10cb6e85c - <rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind as rustc_query_system[6dfbca34f7eeeccd]::dep_graph::DepKind>::with_deps::<<rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::with_task_impl<rustc_middle[3903fd3487382ed0]::ty::context::TyCtxt, rustc_middle[3903fd3487382ed0]::ty::WithOptConstParam<rustc_span[c5f28c4f2d409cdb]::def_id::LocalDefId>, core[bacde730fb80eda9]::result::Result<(&rustc_data_structures[bb1b474d032cb23d]::steal::Steal<rustc_middle[3903fd3487382ed0]::thir::Thir>, rustc_middle[3903fd3487382ed0]::thir::ExprId), rustc_errors[3041147eb80b6979]::ErrorGuaranteed>>::{closure#0}, core[bacde730fb80eda9]::result::Result<(&rustc_data_structures[bb1b474d032cb23d]::steal::Steal<rustc_middle[3903fd3487382ed0]::thir::Thir>, rustc_middle[3903fd3487382ed0]::thir::ExprId), rustc_errors[3041147eb80b6979]::ErrorGuaranteed>>
  67:        0x10ccac20c - <rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[3903fd3487382ed0]::ty::context::TyCtxt, rustc_middle[3903fd3487382ed0]::ty::WithOptConstParam<rustc_span[c5f28c4f2d409cdb]::def_id::LocalDefId>, core[bacde730fb80eda9]::result::Result<(&rustc_data_structures[bb1b474d032cb23d]::steal::Steal<rustc_middle[3903fd3487382ed0]::thir::Thir>, rustc_middle[3903fd3487382ed0]::thir::ExprId), rustc_errors[3041147eb80b6979]::ErrorGuaranteed>>
  68:        0x10cb1396c - rustc_query_system[6dfbca34f7eeeccd]::query::plumbing::try_execute_query::<rustc_query_impl[f8b25e787c1f6d4]::queries::thir_body, rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt>
  69:        0x10cb4cf28 - rustc_query_system[6dfbca34f7eeeccd]::query::plumbing::get_query::<rustc_query_impl[f8b25e787c1f6d4]::queries::thir_body, rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt, rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>
  70:        0x10cbf9bb4 - <rustc_query_impl[f8b25e787c1f6d4]::Queries as rustc_middle[3903fd3487382ed0]::ty::query::QueryEngine>::thir_body
  71:        0x10c4e1bdc - rustc_mir_build[91d2fd9e820b0d99]::build::mir_build
  72:        0x10c4e0c88 - rustc_mir_build[91d2fd9e820b0d99]::build::mir_built
  73:        0x10cb6e9fc - <rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind as rustc_query_system[6dfbca34f7eeeccd]::dep_graph::DepKind>::with_deps::<<rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::with_task_impl<rustc_middle[3903fd3487382ed0]::ty::context::TyCtxt, rustc_middle[3903fd3487382ed0]::ty::WithOptConstParam<rustc_span[c5f28c4f2d409cdb]::def_id::LocalDefId>, &rustc_data_structures[bb1b474d032cb23d]::steal::Steal<rustc_middle[3903fd3487382ed0]::mir::Body>>::{closure#0}, &rustc_data_structures[bb1b474d032cb23d]::steal::Steal<rustc_middle[3903fd3487382ed0]::mir::Body>>
  74:        0x10ccaca80 - <rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[3903fd3487382ed0]::ty::context::TyCtxt, rustc_middle[3903fd3487382ed0]::ty::WithOptConstParam<rustc_span[c5f28c4f2d409cdb]::def_id::LocalDefId>, &rustc_data_structures[bb1b474d032cb23d]::steal::Steal<rustc_middle[3903fd3487382ed0]::mir::Body>>
  75:        0x10cb10840 - rustc_query_system[6dfbca34f7eeeccd]::query::plumbing::try_execute_query::<rustc_query_impl[f8b25e787c1f6d4]::queries::mir_built, rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt>
  76:        0x10cbf9f0c - <rustc_query_impl[f8b25e787c1f6d4]::Queries as rustc_middle[3903fd3487382ed0]::ty::query::QueryEngine>::mir_built
  77:        0x10c180714 - rustc_mir_transform[583c0ce7bee59d39]::check_unsafety::unsafety_check_result
  78:        0x10c17d78c - <rustc_mir_transform[583c0ce7bee59d39]::check_unsafety::provide::{closure#0} as core[bacde730fb80eda9]::ops::function::FnOnce<(rustc_middle[3903fd3487382ed0]::ty::context::TyCtxt, rustc_span[c5f28c4f2d409cdb]::def_id::LocalDefId)>>::call_once
  79:        0x10ccba750 - <rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[3903fd3487382ed0]::ty::context::TyCtxt, rustc_span[c5f28c4f2d409cdb]::def_id::LocalDefId, &rustc_middle[3903fd3487382ed0]::mir::query::UnsafetyCheckResult>
  80:        0x10cab5c30 - rustc_query_system[6dfbca34f7eeeccd]::query::plumbing::try_execute_query::<rustc_query_impl[f8b25e787c1f6d4]::queries::unsafety_check_result, rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt>
  81:        0x10ca06e54 - rustc_query_system[6dfbca34f7eeeccd]::query::plumbing::force_query::<rustc_query_impl[f8b25e787c1f6d4]::queries::unsafety_check_result, rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt, rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>
  82:        0x10cd4ad10 - rustc_query_impl[f8b25e787c1f6d4]::plumbing::force_from_dep_node::<rustc_query_impl[f8b25e787c1f6d4]::queries::unsafety_check_result>
  83:        0x10cca8a78 - <rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt>
  84:        0x10cca8ac0 - <rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt>
  85:        0x10cca8ac0 - <rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt>
  86:        0x10cca7a58 - <rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::try_mark_green::<rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt>
  87:        0x10cb20528 - rustc_query_system[6dfbca34f7eeeccd]::query::plumbing::try_load_from_disk_and_cache_in_memory::<rustc_query_impl[f8b25e787c1f6d4]::queries::mir_borrowck, rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt>
  88:        0x10ca425f4 - rustc_query_system[6dfbca34f7eeeccd]::query::plumbing::try_execute_query::<rustc_query_impl[f8b25e787c1f6d4]::queries::mir_borrowck, rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt>
  89:        0x10cbfc674 - <rustc_query_impl[f8b25e787c1f6d4]::Queries as rustc_middle[3903fd3487382ed0]::ty::query::QueryEngine>::mir_borrowck
  90:        0x10bea2064 - rustc_hir_analysis[ec5810db45fb7689]::collect::type_of::find_opaque_ty_constraints_for_rpit
  91:        0x10bea194c - rustc_hir_analysis[ec5810db45fb7689]::collect::type_of::type_of
  92:        0x10ccc2fac - <rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[3903fd3487382ed0]::ty::context::TyCtxt, rustc_span[c5f28c4f2d409cdb]::def_id::DefId, rustc_middle[3903fd3487382ed0]::ty::Ty>
  93:        0x10cb060b8 - rustc_query_system[6dfbca34f7eeeccd]::query::plumbing::try_execute_query::<rustc_query_impl[f8b25e787c1f6d4]::queries::type_of, rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt>
  94:        0x10cb4c5c8 - rustc_query_system[6dfbca34f7eeeccd]::query::plumbing::get_query::<rustc_query_impl[f8b25e787c1f6d4]::queries::type_of, rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt, rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>
  95:        0x10d8663a4 - <rustc_middle[3903fd3487382ed0]::ty::context::TyCtxt>::bound_type_of
  96:        0x10d612d34 - <rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::confirm_candidate
  97:        0x10d5432c8 - <rustc_infer[fd8b2ba72d33c6f8]::infer::InferCtxt>::probe::<core[bacde730fb80eda9]::result::Result<rustc_middle[3903fd3487382ed0]::traits::select::EvaluationResult, rustc_middle[3903fd3487382ed0]::traits::select::OverflowError>, <rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::evaluation_probe<<rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::evaluate_candidate::{closure#0}::{closure#0}>::{closure#0}>
  98:        0x10d60b000 - <rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::evaluate_stack
  99:        0x10d509a34 - <rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind as rustc_query_system[6dfbca34f7eeeccd]::dep_graph::DepKind>::with_deps::<<rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::in_task<<rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#2}, core[bacde730fb80eda9]::result::Result<rustc_middle[3903fd3487382ed0]::traits::select::EvaluationResult, rustc_middle[3903fd3487382ed0]::traits::select::OverflowError>>::{closure#0}, core[bacde730fb80eda9]::result::Result<rustc_middle[3903fd3487382ed0]::traits::select::EvaluationResult, rustc_middle[3903fd3487382ed0]::traits::select::OverflowError>>
 100:        0x10d628594 - <rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::with_anon_task::<rustc_middle[3903fd3487382ed0]::ty::context::TyCtxt, <rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::in_task<<rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#2}, core[bacde730fb80eda9]::result::Result<rustc_middle[3903fd3487382ed0]::traits::select::EvaluationResult, rustc_middle[3903fd3487382ed0]::traits::select::OverflowError>>::{closure#0}, core[bacde730fb80eda9]::result::Result<rustc_middle[3903fd3487382ed0]::traits::select::EvaluationResult, rustc_middle[3903fd3487382ed0]::traits::select::OverflowError>>
 101:        0x10d616edc - <rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::evaluate_trait_predicate_recursively
 102:        0x10d61597c - <rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::evaluate_predicate_recursively
 103:        0x10d6156a4 - <rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::evaluate_predicates_recursively::<alloc[bc0f0745c2f902f]::vec::into_iter::IntoIter<rustc_infer[fd8b2ba72d33c6f8]::traits::Obligation<rustc_middle[3903fd3487382ed0]::ty::Predicate>>>
 104:        0x10d543338 - <rustc_infer[fd8b2ba72d33c6f8]::infer::InferCtxt>::probe::<core[bacde730fb80eda9]::result::Result<rustc_middle[3903fd3487382ed0]::traits::select::EvaluationResult, rustc_middle[3903fd3487382ed0]::traits::select::OverflowError>, <rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::evaluation_probe<<rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::evaluate_candidate::{closure#0}::{closure#0}>::{closure#0}>
 105:        0x10d557ae4 - <core[bacde730fb80eda9]::iter::adapters::map::Map<core[bacde730fb80eda9]::iter::adapters::map::Map<alloc[bc0f0745c2f902f]::vec::into_iter::IntoIter<rustc_middle[3903fd3487382ed0]::traits::select::SelectionCandidate>, <rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::candidate_from_obligation_no_cache::{closure#0}>, <core[bacde730fb80eda9]::result::Result<core[bacde730fb80eda9]::option::Option<rustc_trait_selection[86bcde4a4696cf51]::traits::select::EvaluatedCandidate>, rustc_middle[3903fd3487382ed0]::traits::SelectionError>>::transpose> as core[bacde730fb80eda9]::iter::traits::iterator::Iterator>::try_fold::<(), <core[bacde730fb80eda9]::iter::adapters::flatten::FlattenCompat<_, _>>::iter_try_fold::flatten<core[bacde730fb80eda9]::option::Option<core[bacde730fb80eda9]::result::Result<rustc_trait_selection[86bcde4a4696cf51]::traits::select::EvaluatedCandidate, rustc_middle[3903fd3487382ed0]::traits::SelectionError>>, (), core[bacde730fb80eda9]::ops::control_flow::ControlFlow<core[bacde730fb80eda9]::ops::control_flow::ControlFlow<rustc_trait_selection[86bcde4a4696cf51]::traits::select::EvaluatedCandidate>>, <core[bacde730fb80eda9]::iter::adapters::flatten::FlattenCompat<_, _> as core[bacde730fb80eda9]::iter::traits::iterator::Iterator>::try_fold::flatten<core[bacde730fb80eda9]::option::IntoIter<core[bacde730fb80eda9]::result::Result<rustc_trait_selection[86bcde4a4696cf51]::traits::select::EvaluatedCandidate, rustc_middle[3903fd3487382ed0]::traits::SelectionError>>, (), core[bacde730fb80eda9]::ops::control_flow::ControlFlow<core[bacde730fb80eda9]::ops::control_flow::ControlFlow<rustc_trait_selection[86bcde4a4696cf51]::traits::select::EvaluatedCandidate>>, <core[bacde730fb80eda9]::iter::adapters::GenericShunt<core[bacde730fb80eda9]::iter::adapters::flatten::FlatMap<core[bacde730fb80eda9]::iter::adapters::map::Map<alloc[bc0f0745c2f902f]::vec::into_iter::IntoIter<rustc_middle[3903fd3487382ed0]::traits::select::SelectionCandidate>, <rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::candidate_from_obligation_no_cache::{closure#0}>, core[bacde730fb80eda9]::option::Option<core[bacde730fb80eda9]::result::Result<rustc_trait_selection[86bcde4a4696cf51]::traits::select::EvaluatedCandidate, rustc_middle[3903fd3487382ed0]::traits::SelectionError>>, <core[bacde730fb80eda9]::result::Result<core[bacde730fb80eda9]::option::Option<rustc_trait_selection[86bcde4a4696cf51]::traits::select::EvaluatedCandidate>, rustc_middle[3903fd3487382ed0]::traits::SelectionError>>::transpose>, core[bacde730fb80eda9]::result::Result<core[bacde730fb80eda9]::convert::Infallible, rustc_middle[3903fd3487382ed0]::traits::SelectionError>> as core[bacde730fb80eda9]::iter::traits::iterator::Iterator>::try_fold<(), core[bacde730fb80eda9]::iter::traits::iterator::Iterator::try_for_each::call<rustc_trait_selection[86bcde4a4696cf51]::traits::select::EvaluatedCandidate, core[bacde730fb80eda9]::ops::control_flow::ControlFlow<rustc_trait_selection[86bcde4a4696cf51]::traits::select::EvaluatedCandidate>, core[bacde730fb80eda9]::ops::control_flow::ControlFlow<rustc_trait_selection[86bcde4a4696cf51]::traits::select::EvaluatedCandidate>::Break>::{closure#0}, core[bacde730fb80eda9]::ops::control_flow::ControlFlow<rustc_trait_selection[86bcde4a4696cf51]::traits::select::EvaluatedCandidate>>::{closure#0}>::{closure#0}>::{closure#0}, core[bacde730fb80eda9]::ops::control_flow::ControlFlow<core[bacde730fb80eda9]::ops::control_flow::ControlFlow<rustc_trait_selection[86bcde4a4696cf51]::traits::select::EvaluatedCandidate>>>
 106:        0x10d5cba48 - <core[bacde730fb80eda9]::iter::adapters::GenericShunt<core[bacde730fb80eda9]::iter::adapters::flatten::FlatMap<core[bacde730fb80eda9]::iter::adapters::map::Map<alloc[bc0f0745c2f902f]::vec::into_iter::IntoIter<rustc_middle[3903fd3487382ed0]::traits::select::SelectionCandidate>, <rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::candidate_from_obligation_no_cache::{closure#0}>, core[bacde730fb80eda9]::option::Option<core[bacde730fb80eda9]::result::Result<rustc_trait_selection[86bcde4a4696cf51]::traits::select::EvaluatedCandidate, rustc_middle[3903fd3487382ed0]::traits::SelectionError>>, <core[bacde730fb80eda9]::result::Result<core[bacde730fb80eda9]::option::Option<rustc_trait_selection[86bcde4a4696cf51]::traits::select::EvaluatedCandidate>, rustc_middle[3903fd3487382ed0]::traits::SelectionError>>::transpose>, core[bacde730fb80eda9]::result::Result<core[bacde730fb80eda9]::convert::Infallible, rustc_middle[3903fd3487382ed0]::traits::SelectionError>> as core[bacde730fb80eda9]::iter::traits::iterator::Iterator>::next
 107:        0x10d652cf4 - <alloc[bc0f0745c2f902f]::vec::Vec<rustc_trait_selection[86bcde4a4696cf51]::traits::select::EvaluatedCandidate> as alloc[bc0f0745c2f902f]::vec::spec_from_iter::SpecFromIter<rustc_trait_selection[86bcde4a4696cf51]::traits::select::EvaluatedCandidate, core[bacde730fb80eda9]::iter::adapters::GenericShunt<core[bacde730fb80eda9]::iter::adapters::flatten::FlatMap<core[bacde730fb80eda9]::iter::adapters::map::Map<alloc[bc0f0745c2f902f]::vec::into_iter::IntoIter<rustc_middle[3903fd3487382ed0]::traits::select::SelectionCandidate>, <rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::candidate_from_obligation_no_cache::{closure#0}>, core[bacde730fb80eda9]::option::Option<core[bacde730fb80eda9]::result::Result<rustc_trait_selection[86bcde4a4696cf51]::traits::select::EvaluatedCandidate, rustc_middle[3903fd3487382ed0]::traits::SelectionError>>, <core[bacde730fb80eda9]::result::Result<core[bacde730fb80eda9]::option::Option<rustc_trait_selection[86bcde4a4696cf51]::traits::select::EvaluatedCandidate>, rustc_middle[3903fd3487382ed0]::traits::SelectionError>>::transpose>, core[bacde730fb80eda9]::result::Result<core[bacde730fb80eda9]::convert::Infallible, rustc_middle[3903fd3487382ed0]::traits::SelectionError>>>>::from_iter
 108:        0x10d609eb8 - <rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::candidate_from_obligation_no_cache
 109:        0x10d509980 - <rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind as rustc_query_system[6dfbca34f7eeeccd]::dep_graph::DepKind>::with_deps::<<rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::in_task<<rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::candidate_from_obligation::{closure#0}::{closure#0}, core[bacde730fb80eda9]::result::Result<core[bacde730fb80eda9]::option::Option<rustc_middle[3903fd3487382ed0]::traits::select::SelectionCandidate>, rustc_middle[3903fd3487382ed0]::traits::SelectionError>>::{closure#0}, core[bacde730fb80eda9]::result::Result<core[bacde730fb80eda9]::option::Option<rustc_middle[3903fd3487382ed0]::traits::select::SelectionCandidate>, rustc_middle[3903fd3487382ed0]::traits::SelectionError>>
 110:        0x10d628284 - <rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::with_anon_task::<rustc_middle[3903fd3487382ed0]::ty::context::TyCtxt, <rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::in_task<<rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::candidate_from_obligation::{closure#0}::{closure#0}, core[bacde730fb80eda9]::result::Result<core[bacde730fb80eda9]::option::Option<rustc_middle[3903fd3487382ed0]::traits::select::SelectionCandidate>, rustc_middle[3903fd3487382ed0]::traits::SelectionError>>::{closure#0}, core[bacde730fb80eda9]::result::Result<core[bacde730fb80eda9]::option::Option<rustc_middle[3903fd3487382ed0]::traits::select::SelectionCandidate>, rustc_middle[3903fd3487382ed0]::traits::SelectionError>>
 111:        0x10d614d7c - <rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::candidate_from_obligation
 112:        0x10d6095a4 - <rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::select_from_obligation
 113:        0x10d614a14 - <rustc_trait_selection[86bcde4a4696cf51]::traits::select::SelectionContext>::select
 114:        0x10d56a4c0 - <rustc_trait_selection[86bcde4a4696cf51]::traits::fulfill::FulfillProcessor>::process_trait_obligation
 115:        0x10d569920 - <rustc_trait_selection[86bcde4a4696cf51]::traits::fulfill::FulfillProcessor as rustc_data_structures[bb1b474d032cb23d]::obligation_forest::ObligationProcessor>::process_obligation
 116:        0x10d586588 - <rustc_data_structures[bb1b474d032cb23d]::obligation_forest::ObligationForest<rustc_trait_selection[86bcde4a4696cf51]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[86bcde4a4696cf51]::traits::fulfill::FulfillProcessor>
 117:        0x10d5665a8 - <rustc_trait_selection[86bcde4a4696cf51]::traits::fulfill::FulfillmentContext as rustc_infer[fd8b2ba72d33c6f8]::traits::engine::TraitEngine>::select_where_possible
 118:        0x10bd05384 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_argument_types
 119:        0x10bce7f44 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::confirm_builtin_call
 120:        0x10bce6b14 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_call
 121:        0x10bd3f18c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_kind
 122:        0x10bcf891c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
 123:        0x10bd05524 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_argument_types
 124:        0x10bd049d4 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_method_argument_types
 125:        0x10bd44054 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_kind
 126:        0x10bcf891c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
 127:        0x10bd3ed84 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_kind
 128:        0x10bcf891c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
 129:        0x10bd3ed84 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_kind
 130:        0x10bcf891c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
 131:        0x10bd3ed84 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_kind
 132:        0x10bcf891c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
 133:        0x10bd3ed84 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_kind
 134:        0x10bcf891c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
 135:        0x10bd3ed84 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_kind
 136:        0x10bcf891c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
 137:        0x10bd3ed84 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_kind
 138:        0x10bcf891c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
 139:        0x10bd3ed84 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_kind
 140:        0x10bcf891c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
 141:        0x10bd3ed84 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_kind
 142:        0x10bcf891c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
 143:        0x10bd3ed84 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_kind
 144:        0x10bcf891c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
 145:        0x10bd3ed84 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_kind
 146:        0x10bcf891c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
 147:        0x10bd0b2e0 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_decl
 148:        0x10bd0b714 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_stmt
 149:        0x10bd0be34 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_block_with_expected
 150:        0x10bd3f3a8 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_kind
 151:        0x10bcf891c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
 152:        0x10bd3ed50 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_kind
 153:        0x10bcf891c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
 154:        0x10bd0be6c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_block_with_expected
 155:        0x10bd3f3a8 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_kind
 156:        0x10bcf891c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
 157:        0x10bcf9bfc - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_return_expr
 158:        0x10bd9b920 - rustc_hir_typeck[c57fafc8510b2a7e]::check::check_fn
 159:        0x10bd3c3f0 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_closure
 160:        0x10bd3ed14 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_kind
 161:        0x10bcf891c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
 162:        0x10bd05524 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_argument_types
 163:        0x10bce7f44 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::confirm_builtin_call
 164:        0x10bce6b14 - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_call
 165:        0x10bd3f18c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_kind
 166:        0x10bcf891c - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
 167:        0x10bcf9bfc - <rustc_hir_typeck[c57fafc8510b2a7e]::fn_ctxt::FnCtxt>::check_return_expr
 168:        0x10bd9b920 - rustc_hir_typeck[c57fafc8510b2a7e]::check::check_fn
 169:        0x10bdc9068 - rustc_hir_typeck[c57fafc8510b2a7e]::typeck
 170:        0x10ccb9ed8 - <rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[3903fd3487382ed0]::ty::context::TyCtxt, rustc_span[c5f28c4f2d409cdb]::def_id::LocalDefId, &rustc_middle[3903fd3487382ed0]::ty::typeck_results::TypeckResults>
 171:        0x10cb045f0 - rustc_query_system[6dfbca34f7eeeccd]::query::plumbing::try_execute_query::<rustc_query_impl[f8b25e787c1f6d4]::queries::typeck, rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt>
 172:        0x10ca0ec2c - rustc_query_system[6dfbca34f7eeeccd]::query::plumbing::force_query::<rustc_query_impl[f8b25e787c1f6d4]::queries::typeck, rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt, rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>
 173:        0x10cd4deac - rustc_query_impl[f8b25e787c1f6d4]::plumbing::force_from_dep_node::<rustc_query_impl[f8b25e787c1f6d4]::queries::typeck>
 174:        0x10cca8a78 - <rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt>
 175:        0x10cca8ac0 - <rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt>
 176:        0x10cca8ac0 - <rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt>
 177:        0x10cca8ac0 - <rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt>
 178:        0x10cca8ac0 - <rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt>
 179:        0x10cca8ac0 - <rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt>
 180:        0x10cca8ac0 - <rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt>
 181:        0x10cca8ac0 - <rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt>
 182:        0x10cca7a58 - <rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::try_mark_green::<rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt>
 183:        0x10ca2054c - rustc_query_system[6dfbca34f7eeeccd]::query::plumbing::ensure_must_run::<rustc_query_impl[f8b25e787c1f6d4]::queries::check_mod_item_types, rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt>
 184:        0x10cbfb92c - <rustc_query_impl[f8b25e787c1f6d4]::Queries as rustc_middle[3903fd3487382ed0]::ty::query::QueryEngine>::check_mod_item_types
 185:        0x10bf1347c - <rustc_session[4c53cce1cbffcbb4]::session::Session>::time::<(), rustc_hir_analysis[ec5810db45fb7689]::check_crate::{closure#6}>
 186:        0x10becb6d0 - rustc_hir_analysis[ec5810db45fb7689]::check_crate
 187:        0x109ade6a8 - rustc_interface[5368bf6011624330]::passes::analysis
 188:        0x10ccdd6bc - <rustc_query_system[6dfbca34f7eeeccd]::dep_graph::graph::DepGraph<rustc_middle[3903fd3487382ed0]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[3903fd3487382ed0]::ty::context::TyCtxt, (), core[bacde730fb80eda9]::result::Result<(), rustc_errors[3041147eb80b6979]::ErrorGuaranteed>>
 189:        0x10cb06b18 - rustc_query_system[6dfbca34f7eeeccd]::query::plumbing::try_execute_query::<rustc_query_impl[f8b25e787c1f6d4]::queries::analysis, rustc_query_impl[f8b25e787c1f6d4]::plumbing::QueryCtxt>
 190:        0x10cbf93a0 - <rustc_query_impl[f8b25e787c1f6d4]::Queries as rustc_middle[3903fd3487382ed0]::ty::query::QueryEngine>::analysis
 191:        0x1099e072c - <rustc_interface[5368bf6011624330]::passes::QueryContext>::enter::<rustc_driver[7e9c70f5b960cc99]::run_compiler::{closure#1}::{closure#2}::{closure#2}, core[bacde730fb80eda9]::result::Result<(), rustc_errors[3041147eb80b6979]::ErrorGuaranteed>>
 192:        0x109a31670 - <rustc_interface[5368bf6011624330]::queries::QueryResult<rustc_interface[5368bf6011624330]::passes::QueryContext>>::enter::<core[bacde730fb80eda9]::result::Result<(), rustc_errors[3041147eb80b6979]::ErrorGuaranteed>, rustc_driver[7e9c70f5b960cc99]::run_compiler::{closure#1}::{closure#2}::{closure#2}>
 193:        0x109a181b4 - <rustc_interface[5368bf6011624330]::interface::Compiler>::enter::<rustc_driver[7e9c70f5b960cc99]::run_compiler::{closure#1}::{closure#2}, core[bacde730fb80eda9]::result::Result<core[bacde730fb80eda9]::option::Option<rustc_interface[5368bf6011624330]::queries::Linker>, rustc_errors[3041147eb80b6979]::ErrorGuaranteed>>
 194:        0x109a30e28 - rustc_span[c5f28c4f2d409cdb]::with_source_map::<core[bacde730fb80eda9]::result::Result<(), rustc_errors[3041147eb80b6979]::ErrorGuaranteed>, rustc_interface[5368bf6011624330]::interface::run_compiler<core[bacde730fb80eda9]::result::Result<(), rustc_errors[3041147eb80b6979]::ErrorGuaranteed>, rustc_driver[7e9c70f5b960cc99]::run_compiler::{closure#1}>::{closure#0}::{closure#0}>
 195:        0x1099e6450 - std[bed70ebd0cf395b0]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[5368bf6011624330]::util::run_in_thread_pool_with_globals<rustc_interface[5368bf6011624330]::interface::run_compiler<core[bacde730fb80eda9]::result::Result<(), rustc_errors[3041147eb80b6979]::ErrorGuaranteed>, rustc_driver[7e9c70f5b960cc99]::run_compiler::{closure#1}>::{closure#0}, core[bacde730fb80eda9]::result::Result<(), rustc_errors[3041147eb80b6979]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[bacde730fb80eda9]::result::Result<(), rustc_errors[3041147eb80b6979]::ErrorGuaranteed>>
 196:        0x1099c8fe0 - <<std[bed70ebd0cf395b0]::thread::Builder>::spawn_unchecked_<rustc_interface[5368bf6011624330]::util::run_in_thread_pool_with_globals<rustc_interface[5368bf6011624330]::interface::run_compiler<core[bacde730fb80eda9]::result::Result<(), rustc_errors[3041147eb80b6979]::ErrorGuaranteed>, rustc_driver[7e9c70f5b960cc99]::run_compiler::{closure#1}>::{closure#0}, core[bacde730fb80eda9]::result::Result<(), rustc_errors[3041147eb80b6979]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[bacde730fb80eda9]::result::Result<(), rustc_errors[3041147eb80b6979]::ErrorGuaranteed>>::{closure#1} as core[bacde730fb80eda9]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
 197:        0x10176de18 - std::sys::unix::thread::Thread::new::thread_start::hd47d33498d4475f3
 198:        0x19a48606c - __pthread_deallocate

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.68.0 (2c8cc3432 2023-03-06) running on aarch64-apple-darwin

note: compiler flags: --crate-type bin -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 -C incremental=[REDACTED]

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

query stack during panic:
#0 [typeck] type-checking `server::pages::articles::get::get`
#1 [thir_body] building THIR for `server::pages::articles::get::get`
#2 [mir_built] building MIR for `server::pages::articles::get::get`
#3 [unsafety_check_result] unsafety-checking `server::pages::articles::get::get`
#4 [mir_borrowck] borrow-checking `server::pages::articles::get::get`
#5 [type_of] computing type of `server::pages::articles::get::get::{opaque#0}`
#6 [typeck] type-checking `server::start`
#7 [analysis] running analysis passes on this crate
end of query stack
warning: `rentals` (bin "rentals") generated 1 warning
error: could not compile `rentals`; 1 warning emitted
@bgrundmann bgrundmann 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 Mar 24, 2023
@bgrundmann
Copy link
Author

Looks like this is a duplicate of #109361

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

1 participant