Closed as not planned
Description
Sorry, I'm not sure what code is causing this. Is it the code in the error before the ICE?
I had a private import of a pub type Arc<Box> and was trying to import it.
mod {
use thing::TraitThing;
}
When I changed the use to a pub use my ICE stopped.
mod {
pub use thing::TraitThing;
}
🤷
Code
<code>
Meta
rustc --version --verbose
:
rustc 1.64.0 (a55dd71d5 2022-09-19)
binary: rustc
commit-hash: a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52
commit-date: 2022-09-19
host: x86_64-apple-darwin
release: 1.64.0
LLVM version: 14.0.6
Error output
error: internal compiler error: compiler/rustc_trait_selection/src/traits/query/normalize.rs:257:21: unexpected ambiguity: Canonical { max_universe: U0, variables: [], value: ParamEnvAnd { param_env: ParamEnv { caller_bounds: [Binder(TraitPredicate(<B as std::marker::Sized>, polarity:Positive), [])], reveal: UserFacing, constness: NotConst }, value: ProjectionTy { substs: [server_http::extractors::auth::Auth, server_state::ServerState], item_def_id: DefId(21:1472 ~ axum_core[c207]::extract::FromRequestParts::Rejection) } } } Canonical { max_universe: U0, variables: [CanonicalVarInfo { kind: Region(U0) }, CanonicalVarInfo { kind: Region(U0) }, CanonicalVarInfo { kind: Region(U0) }], value: QueryResponse { var_values: CanonicalVarValues { var_values: [] }, region_constraints: QueryRegionConstraints { outlives: [Binder(OutlivesPredicate(ReLateBound(DebruijnIndex(1), BoundRegion { var: 0, kind: BrAnon(0) }), ReStatic), []), Binder(OutlivesPredicate(ReLateBound(DebruijnIndex(1), BoundRegion { var: 1, kind: BrAnon(1) }), ReStatic), []), Binder(OutlivesPredicate(ReLateBound(DebruijnIndex(1), BoundRegion { var: 2, kind: BrAnon(2) }), ReStatic), [])], member_constraints: [] }, certainty: Ambiguous, opaque_types: [], value: NormalizationResult { normalized_ty: (reqwest::StatusCode, std::string::String) } } }
thread 'rustc' panicked at 'Box<dyn Any>', /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/compiler/rustc_errors/src/lib.rs:1392:9
Backtrace
stack backtrace:
0: 0x1100595c4 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h7d80e14dd19335c9
1: 0x1100b168b - core::fmt::write::h1709d0255080e28a
2: 0x11004bfe8 - std::io::Write::write_fmt::hecc56b5639d319e7
3: 0x11005c89d - std::panicking::default_hook::{{closure}}::had4d1cd22a173020
4: 0x11005c5ee - std::panicking::default_hook::h42aa124509888735
5: 0x1140e473a - rustc_driver[b232a614d5c482d6]::DEFAULT_HOOK::{closure#0}::{closure#0}
6: 0x11005cf0b - std::panicking::rust_panic_with_hook::h2b231e816574a23a
7: 0x1185c8fc7 - std[2c17b0a3fe477be8]::panicking::begin_panic::<rustc_errors[7d8f39c483a9ccdf]::ExplicitBug>::{closure#0}
8: 0x1185c8d19 - std[2c17b0a3fe477be8]::sys_common::backtrace::__rust_end_short_backtrace::<std[2c17b0a3fe477be8]::panicking::begin_panic<rustc_errors[7d8f39c483a9ccdf]::ExplicitBug>::{closure#0}, !>
9: 0x118c41409 - std[2c17b0a3fe477be8]::panicking::begin_panic::<rustc_errors[7d8f39c483a9ccdf]::ExplicitBug>
10: 0x11858f239 - std[2c17b0a3fe477be8]::panic::panic_any::<rustc_errors[7d8f39c483a9ccdf]::ExplicitBug>
11: 0x11858ed96 - <rustc_errors[7d8f39c483a9ccdf]::HandlerInner>::bug::<&alloc[a79849253dbb7549]::string::String>
12: 0x11858e9b7 - <rustc_errors[7d8f39c483a9ccdf]::Handler>::bug::<&alloc[a79849253dbb7549]::string::String>
13: 0x118772a45 - rustc_middle[77b05d97adc105c3]::ty::context::tls::with_opt::<rustc_middle[77b05d97adc105c3]::util::bug::opt_span_bug_fmt<rustc_span[dadb10719d06531]::span_encoding::Span>::{closure#0}, ()>
14: 0x118773561 - rustc_middle[77b05d97adc105c3]::util::bug::opt_span_bug_fmt::<rustc_span[dadb10719d06531]::span_encoding::Span>
15: 0x118c427ee - rustc_middle[77b05d97adc105c3]::util::bug::bug_fmt
16: 0x1184591f5 - <rustc_trait_selection[5b0b3e5dfe8e4329]::traits::query::normalize::QueryNormalizer as rustc_middle[77b05d97adc105c3]::ty::fold::FallibleTypeFolder>::try_fold_ty
17: 0x118431a5f - <&rustc_middle[77b05d97adc105c3]::ty::list::List<rustc_middle[77b05d97adc105c3]::ty::subst::GenericArg> as rustc_middle[77b05d97adc105c3]::ty::fold::TypeFoldable>::try_fold_with::<rustc_trait_selection[5b0b3e5dfe8e4329]::traits::query::normalize::QueryNormalizer>
18: 0x1183265bd - <rustc_middle[77b05d97adc105c3]::ty::Ty as rustc_middle[77b05d97adc105c3]::ty::fold::TypeSuperFoldable>::try_super_fold_with::<rustc_trait_selection[5b0b3e5dfe8e4329]::traits::query::normalize::QueryNormalizer>
19: 0x118457f32 - <rustc_trait_selection[5b0b3e5dfe8e4329]::traits::query::normalize::QueryNormalizer as rustc_middle[77b05d97adc105c3]::ty::fold::FallibleTypeFolder>::try_fold_ty
20: 0x1183f0a67 - <rustc_middle[77b05d97adc105c3]::ty::sty::Binder<rustc_middle[77b05d97adc105c3]::ty::sty::ExistentialPredicate> as rustc_middle[77b05d97adc105c3]::ty::fold::TypeSuperFoldable>::try_super_fold_with::<rustc_trait_selection[5b0b3e5dfe8e4329]::traits::query::normalize::QueryNormalizer>
21: 0x1183e35a6 - rustc_middle[77b05d97adc105c3]::ty::util::fold_list::<rustc_trait_selection[5b0b3e5dfe8e4329]::traits::query::normalize::QueryNormalizer, rustc_middle[77b05d97adc105c3]::ty::sty::Binder<rustc_middle[77b05d97adc105c3]::ty::sty::ExistentialPredicate>, <&rustc_middle[77b05d97adc105c3]::ty::list::List<rustc_middle[77b05d97adc105c3]::ty::sty::Binder<rustc_middle[77b05d97adc105c3]::ty::sty::ExistentialPredicate>> as rustc_middle[77b05d97adc105c3]::ty::fold::TypeFoldable>::try_fold_with<rustc_trait_selection[5b0b3e5dfe8e4329]::traits::query::normalize::QueryNormalizer>::{closure#0}>
22: 0x1183267a4 - <rustc_middle[77b05d97adc105c3]::ty::Ty as rustc_middle[77b05d97adc105c3]::ty::fold::TypeSuperFoldable>::try_super_fold_with::<rustc_trait_selection[5b0b3e5dfe8e4329]::traits::query::normalize::QueryNormalizer>
23: 0x118457f32 - <rustc_trait_selection[5b0b3e5dfe8e4329]::traits::query::normalize::QueryNormalizer as rustc_middle[77b05d97adc105c3]::ty::fold::FallibleTypeFolder>::try_fold_ty
24: 0x1184319b0 - <&rustc_middle[77b05d97adc105c3]::ty::list::List<rustc_middle[77b05d97adc105c3]::ty::subst::GenericArg> as rustc_middle[77b05d97adc105c3]::ty::fold::TypeFoldable>::try_fold_with::<rustc_trait_selection[5b0b3e5dfe8e4329]::traits::query::normalize::QueryNormalizer>
25: 0x1183265bd - <rustc_middle[77b05d97adc105c3]::ty::Ty as rustc_middle[77b05d97adc105c3]::ty::fold::TypeSuperFoldable>::try_super_fold_with::<rustc_trait_selection[5b0b3e5dfe8e4329]::traits::query::normalize::QueryNormalizer>
26: 0x118457f32 - <rustc_trait_selection[5b0b3e5dfe8e4329]::traits::query::normalize::QueryNormalizer as rustc_middle[77b05d97adc105c3]::ty::fold::FallibleTypeFolder>::try_fold_ty
27: 0x118431a0d - <&rustc_middle[77b05d97adc105c3]::ty::list::List<rustc_middle[77b05d97adc105c3]::ty::subst::GenericArg> as rustc_middle[77b05d97adc105c3]::ty::fold::TypeFoldable>::try_fold_with::<rustc_trait_selection[5b0b3e5dfe8e4329]::traits::query::normalize::QueryNormalizer>
28: 0x1183265bd - <rustc_middle[77b05d97adc105c3]::ty::Ty as rustc_middle[77b05d97adc105c3]::ty::fold::TypeSuperFoldable>::try_super_fold_with::<rustc_trait_selection[5b0b3e5dfe8e4329]::traits::query::normalize::QueryNormalizer>
29: 0x118457f32 - <rustc_trait_selection[5b0b3e5dfe8e4329]::traits::query::normalize::QueryNormalizer as rustc_middle[77b05d97adc105c3]::ty::fold::FallibleTypeFolder>::try_fold_ty
30: 0x117479aa5 - rustc_middle[77b05d97adc105c3]::ty::util::fold_list::<rustc_trait_selection[5b0b3e5dfe8e4329]::traits::query::normalize::QueryNormalizer, rustc_middle[77b05d97adc105c3]::ty::Ty, <&rustc_middle[77b05d97adc105c3]::ty::list::List<rustc_middle[77b05d97adc105c3]::ty::Ty> as rustc_middle[77b05d97adc105c3]::ty::fold::TypeFoldable>::try_fold_with<rustc_trait_selection[5b0b3e5dfe8e4329]::traits::query::normalize::QueryNormalizer>::{closure#0}>
31: 0x1173b07c9 - <rustc_infer[daf5aaa74dbe2ea7]::infer::at::At as rustc_trait_selection[5b0b3e5dfe8e4329]::traits::query::normalize::AtExt>::normalize::<rustc_middle[77b05d97adc105c3]::ty::sty::FnSig>
32: 0x117463102 - rustc_traits[75b82cc8e20b0b9e]::type_op::type_op_normalize::<rustc_middle[77b05d97adc105c3]::ty::sty::FnSig>
33: 0x1173c05e5 - <rustc_infer[daf5aaa74dbe2ea7]::infer::InferCtxtBuilder as rustc_trait_selection[5b0b3e5dfe8e4329]::infer::InferCtxtBuilderExt>::enter_canonical_trait_query::<rustc_middle[77b05d97adc105c3]::ty::ParamEnvAnd<rustc_middle[77b05d97adc105c3]::traits::query::type_op::Normalize<rustc_middle[77b05d97adc105c3]::ty::sty::FnSig>>, rustc_middle[77b05d97adc105c3]::ty::sty::FnSig, rustc_traits[75b82cc8e20b0b9e]::type_op::type_op_normalize<rustc_middle[77b05d97adc105c3]::ty::sty::FnSig>>
34: 0x1174633fe - rustc_traits[75b82cc8e20b0b9e]::type_op::type_op_normalize_fn_sig
35: 0x11786c887 - <rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepKind as rustc_query_system[923812efe1d06df6]::dep_graph::DepKind>::with_deps::<<rustc_query_system[923812efe1d06df6]::dep_graph::graph::DepGraph<rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepKind>>::with_task_impl<rustc_middle[77b05d97adc105c3]::ty::context::TyCtxt, rustc_middle[77b05d97adc105c3]::infer::canonical::Canonical<rustc_middle[77b05d97adc105c3]::ty::ParamEnvAnd<rustc_middle[77b05d97adc105c3]::traits::query::type_op::Normalize<rustc_middle[77b05d97adc105c3]::ty::sty::FnSig>>>, core[ccfd6f2964525339]::result::Result<&rustc_middle[77b05d97adc105c3]::infer::canonical::Canonical<rustc_middle[77b05d97adc105c3]::infer::canonical::QueryResponse<rustc_middle[77b05d97adc105c3]::ty::sty::FnSig>>, rustc_middle[77b05d97adc105c3]::traits::query::NoSolution>>::{closure#0}, core[ccfd6f2964525339]::result::Result<&rustc_middle[77b05d97adc105c3]::infer::canonical::Canonical<rustc_middle[77b05d97adc105c3]::infer::canonical::QueryResponse<rustc_middle[77b05d97adc105c3]::ty::sty::FnSig>>, rustc_middle[77b05d97adc105c3]::traits::query::NoSolution>>
36: 0x1179aac13 - <rustc_query_system[923812efe1d06df6]::dep_graph::graph::DepGraph<rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[77b05d97adc105c3]::ty::context::TyCtxt, rustc_middle[77b05d97adc105c3]::infer::canonical::Canonical<rustc_middle[77b05d97adc105c3]::ty::ParamEnvAnd<rustc_middle[77b05d97adc105c3]::traits::query::type_op::Normalize<rustc_middle[77b05d97adc105c3]::ty::sty::FnSig>>>, core[ccfd6f2964525339]::result::Result<&rustc_middle[77b05d97adc105c3]::infer::canonical::Canonical<rustc_middle[77b05d97adc105c3]::infer::canonical::QueryResponse<rustc_middle[77b05d97adc105c3]::ty::sty::FnSig>>, rustc_middle[77b05d97adc105c3]::traits::query::NoSolution>>
37: 0x117713e58 - rustc_query_system[923812efe1d06df6]::query::plumbing::try_execute_query::<rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt, rustc_query_system[923812efe1d06df6]::query::caches::DefaultCache<rustc_middle[77b05d97adc105c3]::infer::canonical::Canonical<rustc_middle[77b05d97adc105c3]::ty::ParamEnvAnd<rustc_middle[77b05d97adc105c3]::traits::query::type_op::Normalize<rustc_middle[77b05d97adc105c3]::ty::sty::FnSig>>>, core[ccfd6f2964525339]::result::Result<&rustc_middle[77b05d97adc105c3]::infer::canonical::Canonical<rustc_middle[77b05d97adc105c3]::infer::canonical::QueryResponse<rustc_middle[77b05d97adc105c3]::ty::sty::FnSig>>, rustc_middle[77b05d97adc105c3]::traits::query::NoSolution>>>
38: 0x117816537 - rustc_query_system[923812efe1d06df6]::query::plumbing::get_query::<rustc_query_impl[1fb0f992e528a50]::queries::type_op_normalize_fn_sig, rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt>
39: 0x117acf6b0 - <rustc_query_impl[1fb0f992e528a50]::Queries as rustc_middle[77b05d97adc105c3]::ty::query::QueryEngine>::type_op_normalize_fn_sig
40: 0x1183f6498 - <rustc_middle[77b05d97adc105c3]::ty::sty::FnSig as rustc_trait_selection[5b0b3e5dfe8e4329]::traits::query::type_op::normalize::Normalizable>::type_op_method
41: 0x11729d74f - <rustc_middle[77b05d97adc105c3]::traits::query::type_op::Normalize<rustc_middle[77b05d97adc105c3]::ty::sty::FnSig> as rustc_trait_selection[5b0b3e5dfe8e4329]::traits::query::type_op::QueryTypeOp>::fully_perform_into
42: 0x1171cc252 - <rustc_middle[77b05d97adc105c3]::ty::ParamEnvAnd<rustc_middle[77b05d97adc105c3]::traits::query::type_op::Normalize<rustc_middle[77b05d97adc105c3]::ty::sty::FnSig>> as rustc_trait_selection[5b0b3e5dfe8e4329]::traits::query::type_op::TypeOp>::fully_perform
43: 0x117269d2b - <rustc_borrowck[2325aa70b5af3c05]::type_check::TypeChecker>::typeck_mir
44: 0x117256f02 - rustc_borrowck[2325aa70b5af3c05]::type_check::type_check
45: 0x117248f7e - rustc_borrowck[2325aa70b5af3c05]::nll::compute_regions
46: 0x1172f2e30 - rustc_borrowck[2325aa70b5af3c05]::do_mir_borrowck
47: 0x117201b61 - <rustc_infer[daf5aaa74dbe2ea7]::infer::InferCtxtBuilder>::enter::<rustc_middle[77b05d97adc105c3]::mir::query::BorrowCheckResult, rustc_borrowck[2325aa70b5af3c05]::mir_borrowck::{closure#0}>
48: 0x1172ed405 - rustc_borrowck[2325aa70b5af3c05]::mir_borrowck
49: 0x1172c2893 - <rustc_borrowck[2325aa70b5af3c05]::provide::{closure#0} as core[ccfd6f2964525339]::ops::function::FnOnce<(rustc_middle[77b05d97adc105c3]::ty::context::TyCtxt, rustc_span[dadb10719d06531]::def_id::LocalDefId)>>::call_once
50: 0x1179bab75 - <rustc_query_system[923812efe1d06df6]::dep_graph::graph::DepGraph<rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[77b05d97adc105c3]::ty::context::TyCtxt, rustc_span[dadb10719d06531]::def_id::LocalDefId, &rustc_middle[77b05d97adc105c3]::mir::query::BorrowCheckResult>
51: 0x11772f763 - rustc_query_system[923812efe1d06df6]::query::plumbing::try_execute_query::<rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt, rustc_query_system[923812efe1d06df6]::query::caches::DefaultCache<rustc_span[dadb10719d06531]::def_id::LocalDefId, &rustc_middle[77b05d97adc105c3]::mir::query::BorrowCheckResult>>
52: 0x1177ee0b3 - rustc_query_system[923812efe1d06df6]::query::plumbing::get_query::<rustc_query_impl[1fb0f992e528a50]::queries::mir_borrowck, rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt>
53: 0x11725e954 - <rustc_borrowck[2325aa70b5af3c05]::type_check::TypeChecker>::prove_closure_bounds
54: 0x1172634d2 - <rustc_borrowck[2325aa70b5af3c05]::type_check::TypeChecker>::check_rvalue
55: 0x1172684da - <rustc_borrowck[2325aa70b5af3c05]::type_check::TypeChecker>::typeck_mir
56: 0x117256f02 - rustc_borrowck[2325aa70b5af3c05]::type_check::type_check
57: 0x117248f7e - rustc_borrowck[2325aa70b5af3c05]::nll::compute_regions
58: 0x1172f2e30 - rustc_borrowck[2325aa70b5af3c05]::do_mir_borrowck
59: 0x117201b61 - <rustc_infer[daf5aaa74dbe2ea7]::infer::InferCtxtBuilder>::enter::<rustc_middle[77b05d97adc105c3]::mir::query::BorrowCheckResult, rustc_borrowck[2325aa70b5af3c05]::mir_borrowck::{closure#0}>
60: 0x1172ed405 - rustc_borrowck[2325aa70b5af3c05]::mir_borrowck
61: 0x1172c2893 - <rustc_borrowck[2325aa70b5af3c05]::provide::{closure#0} as core[ccfd6f2964525339]::ops::function::FnOnce<(rustc_middle[77b05d97adc105c3]::ty::context::TyCtxt, rustc_span[dadb10719d06531]::def_id::LocalDefId)>>::call_once
62: 0x1179bab75 - <rustc_query_system[923812efe1d06df6]::dep_graph::graph::DepGraph<rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[77b05d97adc105c3]::ty::context::TyCtxt, rustc_span[dadb10719d06531]::def_id::LocalDefId, &rustc_middle[77b05d97adc105c3]::mir::query::BorrowCheckResult>
63: 0x11772f763 - rustc_query_system[923812efe1d06df6]::query::plumbing::try_execute_query::<rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt, rustc_query_system[923812efe1d06df6]::query::caches::DefaultCache<rustc_span[dadb10719d06531]::def_id::LocalDefId, &rustc_middle[77b05d97adc105c3]::mir::query::BorrowCheckResult>>
64: 0x1177ee0b3 - rustc_query_system[923812efe1d06df6]::query::plumbing::get_query::<rustc_query_impl[1fb0f992e528a50]::queries::mir_borrowck, rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt>
65: 0x116d94a02 - rustc_typeck[bd9bb7cc16f9c2e5]::collect::type_of::find_opaque_ty_constraints_for_rpit
66: 0x116d93c3c - rustc_typeck[bd9bb7cc16f9c2e5]::collect::type_of::type_of
67: 0x1179c5675 - <rustc_query_system[923812efe1d06df6]::dep_graph::graph::DepGraph<rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[77b05d97adc105c3]::ty::context::TyCtxt, rustc_span[dadb10719d06531]::def_id::DefId, rustc_middle[77b05d97adc105c3]::ty::Ty>
68: 0x117748164 - rustc_query_system[923812efe1d06df6]::query::plumbing::try_execute_query::<rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt, rustc_query_system[923812efe1d06df6]::query::caches::DefaultCache<rustc_span[dadb10719d06531]::def_id::DefId, rustc_middle[77b05d97adc105c3]::ty::Ty>>
69: 0x117826500 - rustc_query_system[923812efe1d06df6]::query::plumbing::get_query::<rustc_query_impl[1fb0f992e528a50]::queries::type_of, rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt>
70: 0x116bf6a7f - rustc_typeck[bd9bb7cc16f9c2e5]::check::check::check_opaque
71: 0x116bf88cf - rustc_typeck[bd9bb7cc16f9c2e5]::check::check::check_item_type
72: 0x116c00d7e - rustc_typeck[bd9bb7cc16f9c2e5]::check::check::check_mod_item_types
73: 0x1179bbdd0 - <rustc_query_system[923812efe1d06df6]::dep_graph::graph::DepGraph<rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[77b05d97adc105c3]::ty::context::TyCtxt, rustc_span[dadb10719d06531]::def_id::LocalDefId, ()>
74: 0x117732346 - rustc_query_system[923812efe1d06df6]::query::plumbing::try_execute_query::<rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt, rustc_query_system[923812efe1d06df6]::query::caches::DefaultCache<rustc_span[dadb10719d06531]::def_id::LocalDefId, ()>>
75: 0x11780574b - rustc_query_system[923812efe1d06df6]::query::plumbing::get_query::<rustc_query_impl[1fb0f992e528a50]::queries::check_mod_item_types, rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt>
76: 0x116da36a9 - <rustc_session[3f62dfdbb5354e46]::session::Session>::time::<(), rustc_typeck[bd9bb7cc16f9c2e5]::check_crate::{closure#6}>
77: 0x116d3930d - rustc_typeck[bd9bb7cc16f9c2e5]::check_crate
78: 0x11418c8ea - rustc_interface[f8b8cf4f770498c1]::passes::analysis
79: 0x1179ea0f7 - <rustc_query_system[923812efe1d06df6]::dep_graph::graph::DepGraph<rustc_middle[77b05d97adc105c3]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[77b05d97adc105c3]::ty::context::TyCtxt, (), core[ccfd6f2964525339]::result::Result<(), rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>>
80: 0x11777fccf - rustc_query_system[923812efe1d06df6]::query::plumbing::try_execute_query::<rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt, rustc_query_system[923812efe1d06df6]::query::caches::DefaultCache<(), core[ccfd6f2964525339]::result::Result<(), rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>>>
81: 0x11782661f - rustc_query_system[923812efe1d06df6]::query::plumbing::get_query::<rustc_query_impl[1fb0f992e528a50]::queries::analysis, rustc_query_impl[1fb0f992e528a50]::plumbing::QueryCtxt>
82: 0x114095a22 - <rustc_interface[f8b8cf4f770498c1]::passes::QueryContext>::enter::<rustc_driver[b232a614d5c482d6]::run_compiler::{closure#1}::{closure#2}::{closure#3}, core[ccfd6f2964525339]::result::Result<(), rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>>
83: 0x1140753e3 - <rustc_interface[f8b8cf4f770498c1]::interface::Compiler>::enter::<rustc_driver[b232a614d5c482d6]::run_compiler::{closure#1}::{closure#2}, core[ccfd6f2964525339]::result::Result<core[ccfd6f2964525339]::option::Option<rustc_interface[f8b8cf4f770498c1]::queries::Linker>, rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>>
84: 0x1140ca398 - rustc_span[dadb10719d06531]::with_source_map::<core[ccfd6f2964525339]::result::Result<(), rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>, rustc_interface[f8b8cf4f770498c1]::interface::create_compiler_and_run<core[ccfd6f2964525339]::result::Result<(), rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>, rustc_driver[b232a614d5c482d6]::run_compiler::{closure#1}>::{closure#1}>
85: 0x114076039 - <scoped_tls[48db78d854efead3]::ScopedKey<rustc_span[dadb10719d06531]::SessionGlobals>>::set::<rustc_interface[f8b8cf4f770498c1]::interface::run_compiler<core[ccfd6f2964525339]::result::Result<(), rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>, rustc_driver[b232a614d5c482d6]::run_compiler::{closure#1}>::{closure#0}, core[ccfd6f2964525339]::result::Result<(), rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>>
86: 0x114098b99 - std[2c17b0a3fe477be8]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[f8b8cf4f770498c1]::util::run_in_thread_pool_with_globals<rustc_interface[f8b8cf4f770498c1]::interface::run_compiler<core[ccfd6f2964525339]::result::Result<(), rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>, rustc_driver[b232a614d5c482d6]::run_compiler::{closure#1}>::{closure#0}, core[ccfd6f2964525339]::result::Result<(), rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>>::{closure#0}, core[ccfd6f2964525339]::result::Result<(), rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>>
87: 0x1140993c1 - <<std[2c17b0a3fe477be8]::thread::Builder>::spawn_unchecked_<rustc_interface[f8b8cf4f770498c1]::util::run_in_thread_pool_with_globals<rustc_interface[f8b8cf4f770498c1]::interface::run_compiler<core[ccfd6f2964525339]::result::Result<(), rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>, rustc_driver[b232a614d5c482d6]::run_compiler::{closure#1}>::{closure#0}, core[ccfd6f2964525339]::result::Result<(), rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>>::{closure#0}, core[ccfd6f2964525339]::result::Result<(), rustc_errors[7d8f39c483a9ccdf]::ErrorGuaranteed>>::{closure#1} as core[ccfd6f2964525339]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
88: 0x110066457 - std::sys::unix::thread::Thread::new::thread_start::h76e6c1c658a39a87
89: 0x7fff204cf8fc - __pthread_start
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.64.0 (a55dd71d5 2022-09-19) running on x86_64-apple-darwin
note: compiler flags: -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 -C incremental
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [type_op_normalize_fn_sig] normalizing `Canonical { max_universe: U0, variables: [CanonicalVarInfo { kind: Region(U0) }, CanonicalVarInfo { kind: Region(U0) }, CanonicalVarInfo { kind: Region(U0) }], value: ParamEnvAnd { param_env: ParamEnv { caller_bounds: [Binder(TraitPredicate(<B as core::marker::Sized>, polarity:Positive), [])], reveal: UserFacing, constness: NotConst }, value: Normalize { value: ([&mut http::request::Parts, &server_state::ServerState]; c_variadic: false)->core::pin::Pin<alloc::boxed::Box<dyn core::future::future::Future<Output = core::result::Result<server_http::extractors::auth::Auth, <server_http::extractors::auth::Auth as axum_core::extract::FromRequestParts<server_state::ServerState>>::Rejection>> + core::marker::Send>> } } }`
#1 [mir_borrowck] borrow-checking `server_http::app::auth::{closure#0}`
#2 [mir_borrowck] borrow-checking `server_http::app::auth`
#3 [type_of] computing type of `server_http::app::auth::{opaque#0}`
#4 [check_mod_item_types] checking item types in module `server_http::app`
#5 [analysis] running analysis passes on this crate
end of query stack