Skip to content

Instantly share code, notes, and snippets.

@EverlastingBugstopper
Created June 12, 2023 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EverlastingBugstopper/c63b62a25472e6f22ff739b9387942af to your computer and use it in GitHub Desktop.
Save EverlastingBugstopper/c63b62a25472e6f22ff739b9387942af to your computer and use it in GitHub Desktop.
compiler error in 1.70.0
error: internal compiler error: encountered incremental compilation error with mir_built(f7969781c554dfb1-7eef3987a206662)
|
= help: This is a known issue with the compiler. Run `cargo clean -p apollo_router` or `cargo clean` to allow your project to compile
= note: Please follow the instructions below to create a bug report with the provided information
= note: See <https://github.com/rust-lang/rust/issues/84970> for more information
thread 'rustc' panicked at 'Found unstable fingerprints for mir_built(f7969781c554dfb1-7eef3987a206662): Steal { value: RwLock(RefCell { value: Some(Body { basic_blocks: BasicBlocks { basic_blocks: [BasicBlockData { statements: [StorageLive(_3), StorageLive(_4), StorageLive(_5), _5 = &((*_1).0: std::sync::Mutex<plugin::test::service::__mock_MockRouterService::__call::Matcher>)], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), scope: scope[0] }, kind: _4 = std::sync::Mutex::<__mock_MockRouterService::__call::Matcher>::lock(move _5) -> [return: bb1, unwind: bb21] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_5)], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), scope: scope[0] }, kind: _3 = std::result::Result::<std::sync::MutexGuard<'_, __mock_MockRouterService::__call::Matcher>, PoisonError<std::sync::MutexGuard<'_, __mock_MockRouterService::__call::Matcher>>>::unwrap(move _4) -> [return: bb2, unwind: bb20] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_4), FakeRead(ForLet(None), _3), StorageLive(_6), StorageLive(_7), StorageLive(_8), StorageLive(_9), StorageLive(_10), StorageLive(_11), _11 = move _2], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), scope: scope[1] }, kind: _10 = Box::<MockallMatcher0>::new(move _11) -> [return: bb3, unwind: bb18] }), is_cleanup: false }, BasicBlockData { statements: [_9 = move _10 as std::boxed::Box<dyn mockall::Predicate<services::router::Request> + std::marker::Send> (Pointer(Unsize))], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:40:13: 40:14 (#1059), scope: scope[1] }, kind: drop(_10) -> [return: bb4, unwind: bb16] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_11), StorageDead(_10), _8 = (move _9,)], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:40:13: 40:14 (#1059), scope: scope[1] }, kind: drop(_9) -> [return: bb5, unwind: bb15] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_9)], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), scope: scope[1] }, kind: _7 = Box::<(Box<dyn mockall::Predicate<services::router::Request> + std::marker::Send>,)>::new(move _8) -> [return: bb6, unwind: bb15] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_8), _6 = __mock_MockRouterService::__call::Matcher::Pred(move _7)], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:40:13: 40:14 (#1059), scope: scope[1] }, kind: drop(_7) -> [return: bb7, unwind: bb14] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_7), StorageLive(_12), StorageLive(_13), _13 = &mut _3], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), scope: scope[1] }, kind: _12 = <std::sync::MutexGuard<'_, __mock_MockRouterService::__call::Matcher> as DerefMut>::deref_mut(move _13) -> [return: bb8, unwind: bb14] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_13)], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#36334), scope: scope[1] }, kind: drop((*_12)) -> [return: bb9, unwind: bb10] }), is_cleanup: false }, BasicBlockData { statements: [(*_12) = move _6], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:40:13: 40:14 (#1059), scope: scope[1] }, kind: drop(_6) -> [return: bb11, unwind: bb19] }), is_cleanup: false }, BasicBlockData { statements: [(*_12) = move _6], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#36334), scope: scope[1] }, kind: goto -> bb14 }), is_cleanup: true }, BasicBlockData { statements: [StorageDead(_6), StorageDead(_12), _0 = const ()], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:40:13: 40:14 (#1059), scope: scope[0] }, kind: drop(_3) -> [return: bb12, unwind: bb21] }), is_cleanup: false }, BasicBlockData { statements: [StorageDead(_3)], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:40:13: 40:14 (#1059), scope: scope[0] }, kind: drop(_2) -> [return: bb13, unwind: bb22] }), is_cleanup: false }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:40:14: 40:14 (#1059), scope: scope[0] }, kind: return }), is_cleanup: false }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:40:13: 40:14 (#1059), scope: scope[1] }, kind: drop(_6) -> [return: bb19, unwind terminate] }), is_cleanup: true }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:40:13: 40:14 (#1059), scope: scope[1] }, kind: drop(_8) -> [return: bb19, unwind terminate] }), is_cleanup: true }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:40:13: 40:14 (#1059), scope: scope[1] }, kind: drop(_11) -> [return: bb17, unwind terminate] }), is_cleanup: true }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:40:13: 40:14 (#1059), scope: scope[1] }, kind: drop(_9) -> [return: bb19, unwind terminate] }), is_cleanup: true }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:40:13: 40:14 (#1059), scope: scope[1] }, kind: drop(_11) -> [return: bb19, unwind terminate] }), is_cleanup: true }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:40:13: 40:14 (#1059), scope: scope[0] }, kind: drop(_3) -> [return: bb21, unwind terminate] }), is_cleanup: true }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:40:13: 40:14 (#1059), scope: scope[0] }, kind: drop(_4) -> [return: bb21, unwind terminate] }), is_cleanup: true }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:40:13: 40:14 (#1059), scope: scope[0] }, kind: drop(_2) -> [return: bb22, unwind terminate] }), is_cleanup: true }, BasicBlockData { statements: [], terminator: Some(Terminator { source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), scope: scope[0] }, kind: resume }), is_cleanup: true }], cache: Cache { predecessors: OnceCell(Uninit), switch_sources: OnceCell(Uninit), is_cyclic: OnceCell(Uninit), postorder: OnceCell(Uninit) } }, phase: Built, pass_count: 0, source: MirSource { instance: Item(WithOptConstParam { did: DefId(0:6771 ~ apollo_router[6d5b]::plugin::test::service::__mock_MockRouterService::__call::{impl#6}::with), const_param_did: None }), promoted: None }, source_scopes: [SourceScopeData { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), parent_scope: None, inlined: None, inlined_parent_scope: None, local_data: Set(SourceScopeLocalData { lint_root: HirId(DefId(0:6771 ~ apollo_router[6d5b]::plugin::test::service::__mock_MockRouterService::__call::{impl#6}::with).0), safety: Safe }) }, SourceScopeData { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), parent_scope: Some(scope[0]), inlined: None, inlined_parent_scope: None, local_data: Set(SourceScopeLocalData { lint_root: HirId(DefId(0:6771 ~ apollo_router[6d5b]::plugin::test::service::__mock_MockRouterService::__call::{impl#6}::with).0), safety: Safe }) }], generator: None, local_decls: [LocalDecl { mutability: Mut, local_info: Set(Boring), internal: false, ty: (), user_ty: None, source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:29:13: 29:13 (#1059), scope: scope[0] } }, LocalDecl { mutability: Not, local_info: Set(User(ImplicitSelf(MutRef))), internal: false, ty: &mut plugin::test::service::__mock_MockRouterService::__call::Common, user_ty: None, source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), scope: scope[0] } }, LocalDecl { mutability: Not, local_info: Set(User(Var(VarBindingForm { binding_mode: BindByValue(Not), opt_ty_info: Some(apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059)), opt_match_place: Some((None, apollo-router/src/plugin/test/service.rs:33:44: 33:47 (#1053))), pat_span: apollo-router/src/plugin/test/service.rs:33:44: 33:47 (#1053) }))), internal: false, ty: MockallMatcher0, user_ty: None, source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:33:44: 33:47 (#1053), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: Set(User(Var(VarBindingForm { binding_mode: BindByValue(Mut), opt_ty_info: None, opt_match_place: Some((None, apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059))), pat_span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059) }))), internal: false, ty: std::sync::MutexGuard<'_, plugin::test::service::__mock_MockRouterService::__call::Matcher>, user_ty: None, source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: Set(Boring), internal: false, ty: std::result::Result<std::sync::MutexGuard<'_, plugin::test::service::__mock_MockRouterService::__call::Matcher>, std::sync::PoisonError<std::sync::MutexGuard<'_, plugin::test::service::__mock_MockRouterService::__call::Matcher>>>, user_ty: None, source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: Set(Boring), internal: false, ty: &std::sync::Mutex<plugin::test::service::__mock_MockRouterService::__call::Matcher>, user_ty: None, source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: Set(Boring), internal: false, ty: plugin::test::service::__mock_MockRouterService::__call::Matcher, user_ty: None, source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: Set(AggregateTemp), internal: false, ty: std::boxed::Box<(std::boxed::Box<dyn mockall::Predicate<services::router::Request> + std::marker::Send>,)>, user_ty: None, source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: Set(Boring), internal: false, ty: (std::boxed::Box<dyn mockall::Predicate<services::router::Request> + std::marker::Send>,), user_ty: None, source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: Set(Boring), internal: false, ty: std::boxed::Box<dyn mockall::Predicate<services::router::Request> + std::marker::Send>, user_ty: None, source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: Set(Boring), internal: false, ty: std::boxed::Box<MockallMatcher0>, user_ty: None, source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: Set(Boring), internal: false, ty: MockallMatcher0, user_ty: None, source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:33:44: 33:47 (#1053), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: Set(Boring), internal: false, ty: &mut plugin::test::service::__mock_MockRouterService::__call::Matcher, user_ty: None, source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), scope: scope[0] } }, LocalDecl { mutability: Mut, local_info: Set(Boring), internal: false, ty: &mut std::sync::MutexGuard<'_, plugin::test::service::__mock_MockRouterService::__call::Matcher>, user_ty: None, source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), scope: scope[0] } }], user_type_annotations: [CanonicalUserTypeAnnotation { user_ty: Canonical { value: TypeOf(DefId(5:285 ~ alloc[c023]::boxed::{impl#0}::new), UserSubsts { substs: [^0], user_self_ty: Some(UserSelfTy { impl_def_id: DefId(5:283 ~ alloc[c023]::boxed::{impl#0}), self_ty: std::boxed::Box<^1, ^2> }) }), max_universe: U0, variables: [CanonicalVarInfo { kind: Ty(General(U0)) }, CanonicalVarInfo { kind: Ty(General(U0)) }, CanonicalVarInfo { kind: Ty(General(U0)) }] }, span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), inferred_ty: fn((std::boxed::Box<dyn mockall::Predicate<services::router::Request> + std::marker::Send>,)) -> std::boxed::Box<(std::boxed::Box<dyn mockall::Predicate<services::router::Request> + std::marker::Send>,)> {std::boxed::Box::<(std::boxed::Box<dyn mockall::Predicate<services::router::Request> + std::marker::Send>,)>::new} }, CanonicalUserTypeAnnotation { user_ty: Canonical { value: TypeOf(DefId(5:285 ~ alloc[c023]::boxed::{impl#0}::new), UserSubsts { substs: [^0], user_self_ty: Some(UserSelfTy { impl_def_id: DefId(5:283 ~ alloc[c023]::boxed::{impl#0}), self_ty: std::boxed::Box<^1, ^2> }) }), max_universe: U0, variables: [CanonicalVarInfo { kind: Ty(General(U0)) }, CanonicalVarInfo { kind: Ty(General(U0)) }, CanonicalVarInfo { kind: Ty(General(U0)) }] }, span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), inferred_ty: fn(MockallMatcher0) -> std::boxed::Box<MockallMatcher0> {std::boxed::Box::<MockallMatcher0>::new} }], arg_count: 2, spread_arg: None, var_debug_info: [VarDebugInfo { name: "self", source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), scope: scope[0] }, value: _1, argument_index: Some(1) }, VarDebugInfo { name: "req", source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:33:44: 33:47 (#1053), scope: scope[0] }, value: _2, argument_index: Some(2) }, VarDebugInfo { name: "__mockall_guard", source_info: SourceInfo { span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), scope: scope[1] }, value: _3, argument_index: None }], span: apollo-router/src/plugin/test/service.rs:29:13: 40:14 (#1059), required_consts: [], is_polymorphic: true, injection_phase: None, tainted_by_errors: None }) }) }', /rustc/90c541806f23a127002de5b4038be731ba1458ca/compiler/rustc_query_system/src/query/plumbing.rs:715:9
stack backtrace:
0: 0x103241864 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h819e9cbdf1a9e730
1: 0x103294958 - core::fmt::write::ha5e9bf3131ecb7c0
2: 0x103237214 - std::io::Write::write_fmt::h414ce9994bf17404
3: 0x103241678 - std::sys_common::backtrace::print::h8072db0bbd5bcc3d
4: 0x10324408c - std::panicking::default_hook::{{closure}}::h2c85c5b0c2ede151
5: 0x103243e4c - std::panicking::default_hook::hcf2f70992d02f6fe
6: 0x10b73c058 - rustc_driver_impl[783dc85a9905d0e5]::DEFAULT_HOOK::{closure#0}::{closure#0}
7: 0x10324474c - std::panicking::rust_panic_with_hook::h023af7f90b47eb8b
8: 0x103244544 - std::panicking::begin_panic_handler::{{closure}}::h14283519edc1d634
9: 0x103241c84 - std::sys_common::backtrace::__rust_end_short_backtrace::hc366c0b0cef5b747
10: 0x1032442d8 - _rust_begin_unwind
11: 0x1032c0400 - core::panicking::panic_fmt::h324f50b29db90195
12: 0x10faa6d68 - rustc_query_system[a624e6a9fe4584df]::query::plumbing::incremental_verify_ich_failed::<rustc_middle[51dfd5d9279e1028]::ty::context::TyCtxt>
13: 0x10ea13a48 - <std[bf9110f564f42f12]::thread::local::LocalKey<core[b2c7346eda96f041]::cell::Cell<*const ()>>>::with::<rustc_middle[51dfd5d9279e1028]::ty::context::tls::enter_context<rustc_query_system[a624e6a9fe4584df]::query::plumbing::execute_job_incr<rustc_query_impl[7b60fd99fe06ff81]::queries::mir_built, rustc_query_impl[7b60fd99fe06ff81]::plumbing::QueryCtxt>::{closure#1}, core[b2c7346eda96f041]::option::Option<(rustc_middle[51dfd5d9279e1028]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a624e6a9fe4584df]::dep_graph::graph::DepNodeIndex)>>::{closure#0}, core[b2c7346eda96f041]::option::Option<(rustc_middle[51dfd5d9279e1028]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a624e6a9fe4584df]::dep_graph::graph::DepNodeIndex)>>
14: 0x10e91870c - rustc_query_system[a624e6a9fe4584df]::query::plumbing::try_execute_query::<rustc_query_impl[7b60fd99fe06ff81]::queries::mir_built, rustc_query_impl[7b60fd99fe06ff81]::plumbing::QueryCtxt>
15: 0x10eb0acec - <rustc_query_impl[7b60fd99fe06ff81]::Queries as rustc_middle[51dfd5d9279e1028]::ty::query::QueryEngine>::mir_built
16: 0x10df20b9c - rustc_mir_transform[9e4a16c1f6c5c5f7]::mir_const
17: 0x10ea140e8 - <std[bf9110f564f42f12]::thread::local::LocalKey<core[b2c7346eda96f041]::cell::Cell<*const ()>>>::with::<rustc_middle[51dfd5d9279e1028]::ty::context::tls::enter_context<rustc_query_system[a624e6a9fe4584df]::query::plumbing::execute_job_incr<rustc_query_impl[7b60fd99fe06ff81]::queries::mir_const, rustc_query_impl[7b60fd99fe06ff81]::plumbing::QueryCtxt>::{closure#1}, core[b2c7346eda96f041]::option::Option<(rustc_middle[51dfd5d9279e1028]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a624e6a9fe4584df]::dep_graph::graph::DepNodeIndex)>>::{closure#0}, core[b2c7346eda96f041]::option::Option<(rustc_middle[51dfd5d9279e1028]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a624e6a9fe4584df]::dep_graph::graph::DepNodeIndex)>>
18: 0x10e918de8 - rustc_query_system[a624e6a9fe4584df]::query::plumbing::try_execute_query::<rustc_query_impl[7b60fd99fe06ff81]::queries::mir_const, rustc_query_impl[7b60fd99fe06ff81]::plumbing::QueryCtxt>
19: 0x10eb0aeac - <rustc_query_impl[7b60fd99fe06ff81]::Queries as rustc_middle[51dfd5d9279e1028]::ty::query::QueryEngine>::mir_const
20: 0x10df21250 - rustc_mir_transform[9e4a16c1f6c5c5f7]::mir_promoted
21: 0x10e980ab8 - <std[bf9110f564f42f12]::thread::local::LocalKey<core[b2c7346eda96f041]::cell::Cell<*const ()>>>::with::<rustc_middle[51dfd5d9279e1028]::ty::context::tls::enter_context<rustc_query_system[a624e6a9fe4584df]::query::plumbing::execute_job_incr<rustc_query_impl[7b60fd99fe06ff81]::queries::mir_promoted, rustc_query_impl[7b60fd99fe06ff81]::plumbing::QueryCtxt>::{closure#1}, core[b2c7346eda96f041]::option::Option<(rustc_middle[51dfd5d9279e1028]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[a624e6a9fe4584df]::dep_graph::graph::DepNodeIndex)>>::{closure#0}, core[b2c7346eda96f041]::option::Option<(rustc_middle[51dfd5d9279e1028]::query::erase::Erased<[u8; 16usize]>, rustc_query_system[a624e6a9fe4584df]::dep_graph::graph::DepNodeIndex)>>
22: 0x10e8a1320 - rustc_query_system[a624e6a9fe4584df]::query::plumbing::try_execute_query::<rustc_query_impl[7b60fd99fe06ff81]::queries::mir_promoted, rustc_query_impl[7b60fd99fe06ff81]::plumbing::QueryCtxt>
23: 0x10eb0b940 - <rustc_query_impl[7b60fd99fe06ff81]::Queries as rustc_middle[51dfd5d9279e1028]::ty::query::QueryEngine>::mir_promoted
24: 0x10e444e78 - rustc_borrowck[3cbad71922bf7c4a]::mir_borrowck
25: 0x10e429388 - <rustc_borrowck[3cbad71922bf7c4a]::provide::{closure#0} as core[b2c7346eda96f041]::ops::function::FnOnce<(rustc_middle[51dfd5d9279e1028]::ty::context::TyCtxt, rustc_span[350718d478b9eefa]::def_id::LocalDefId)>>::call_once
26: 0x10e97ee68 - <std[bf9110f564f42f12]::thread::local::LocalKey<core[b2c7346eda96f041]::cell::Cell<*const ()>>>::with::<rustc_middle[51dfd5d9279e1028]::ty::context::tls::enter_context<rustc_query_system[a624e6a9fe4584df]::query::plumbing::execute_job_incr<rustc_query_impl[7b60fd99fe06ff81]::queries::mir_borrowck, rustc_query_impl[7b60fd99fe06ff81]::plumbing::QueryCtxt>::{closure#2}, (rustc_middle[51dfd5d9279e1028]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a624e6a9fe4584df]::dep_graph::graph::DepNodeIndex)>::{closure#0}, (rustc_middle[51dfd5d9279e1028]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[a624e6a9fe4584df]::dep_graph::graph::DepNodeIndex)>
27: 0x10e8a0698 - rustc_query_system[a624e6a9fe4584df]::query::plumbing::try_execute_query::<rustc_query_impl[7b60fd99fe06ff81]::queries::mir_borrowck, rustc_query_impl[7b60fd99fe06ff81]::plumbing::QueryCtxt>
28: 0x10eb13018 - <rustc_query_impl[7b60fd99fe06ff81]::Queries as rustc_middle[51dfd5d9279e1028]::ty::query::QueryEngine>::mir_borrowck
29: 0x10b7fbaa4 - <core[b2c7346eda96f041]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[b0ef732b28d74439]::sync::par_for_each_in<&[rustc_span[350718d478b9eefa]::def_id::LocalDefId], <rustc_middle[51dfd5d9279e1028]::hir::map::Map>::par_body_owners<rustc_interface[86097f894d44157]::passes::analysis::{closure#2}::{closure#0}>::{closure#0}>::{closure#0}::{closure#0}> as core[b2c7346eda96f041]::ops::function::FnOnce<()>>::call_once
30: 0x10b7db160 - rustc_data_structures[b0ef732b28d74439]::sync::par_for_each_in::<&[rustc_span[350718d478b9eefa]::def_id::LocalDefId], <rustc_middle[51dfd5d9279e1028]::hir::map::Map>::par_body_owners<rustc_interface[86097f894d44157]::passes::analysis::{closure#2}::{closure#0}>::{closure#0}>
31: 0x10b7e2e04 - <rustc_session[fcd7c20a0454c43b]::session::Session>::time::<(), rustc_interface[86097f894d44157]::passes::analysis::{closure#2}>
32: 0x10b85650c - rustc_interface[86097f894d44157]::passes::analysis
33: 0x10ea0d1c8 - <std[bf9110f564f42f12]::thread::local::LocalKey<core[b2c7346eda96f041]::cell::Cell<*const ()>>>::with::<rustc_middle[51dfd5d9279e1028]::ty::context::tls::enter_context<rustc_query_system[a624e6a9fe4584df]::query::plumbing::execute_job_incr<rustc_query_impl[7b60fd99fe06ff81]::queries::analysis, rustc_query_impl[7b60fd99fe06ff81]::plumbing::QueryCtxt>::{closure#2}, (rustc_middle[51dfd5d9279e1028]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[a624e6a9fe4584df]::dep_graph::graph::DepNodeIndex)>::{closure#0}, (rustc_middle[51dfd5d9279e1028]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[a624e6a9fe4584df]::dep_graph::graph::DepNodeIndex)>
34: 0x10e913298 - rustc_query_system[a624e6a9fe4584df]::query::plumbing::try_execute_query::<rustc_query_impl[7b60fd99fe06ff81]::queries::analysis, rustc_query_impl[7b60fd99fe06ff81]::plumbing::QueryCtxt>
35: 0x10eb08998 - <rustc_query_impl[7b60fd99fe06ff81]::Queries as rustc_middle[51dfd5d9279e1028]::ty::query::QueryEngine>::analysis
36: 0x10b784c28 - <std[bf9110f564f42f12]::thread::local::LocalKey<core[b2c7346eda96f041]::cell::Cell<*const ()>>>::with::<rustc_middle[51dfd5d9279e1028]::ty::context::tls::enter_context<<rustc_middle[51dfd5d9279e1028]::ty::context::GlobalCtxt>::enter<rustc_driver_impl[783dc85a9905d0e5]::run_compiler::{closure#1}::{closure#2}::{closure#4}, core[b2c7346eda96f041]::result::Result<(), rustc_span[350718d478b9eefa]::ErrorGuaranteed>>::{closure#0}, core[b2c7346eda96f041]::result::Result<(), rustc_span[350718d478b9eefa]::ErrorGuaranteed>>::{closure#0}, core[b2c7346eda96f041]::result::Result<(), rustc_span[350718d478b9eefa]::ErrorGuaranteed>>
37: 0x10b7505d4 - <rustc_interface[86097f894d44157]::queries::QueryResult<&rustc_middle[51dfd5d9279e1028]::ty::context::GlobalCtxt>>::enter::<core[b2c7346eda96f041]::result::Result<(), rustc_span[350718d478b9eefa]::ErrorGuaranteed>, rustc_driver_impl[783dc85a9905d0e5]::run_compiler::{closure#1}::{closure#2}::{closure#4}>
38: 0x10b78ca24 - <rustc_interface[86097f894d44157]::interface::Compiler>::enter::<rustc_driver_impl[783dc85a9905d0e5]::run_compiler::{closure#1}::{closure#2}, core[b2c7346eda96f041]::result::Result<core[b2c7346eda96f041]::option::Option<rustc_interface[86097f894d44157]::queries::Linker>, rustc_span[350718d478b9eefa]::ErrorGuaranteed>>
39: 0x10b7432cc - rustc_span[350718d478b9eefa]::set_source_map::<core[b2c7346eda96f041]::result::Result<(), rustc_span[350718d478b9eefa]::ErrorGuaranteed>, rustc_interface[86097f894d44157]::interface::run_compiler<core[b2c7346eda96f041]::result::Result<(), rustc_span[350718d478b9eefa]::ErrorGuaranteed>, rustc_driver_impl[783dc85a9905d0e5]::run_compiler::{closure#1}>::{closure#0}::{closure#0}>
40: 0x10b7568a8 - std[bf9110f564f42f12]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[86097f894d44157]::util::run_in_thread_pool_with_globals<rustc_interface[86097f894d44157]::interface::run_compiler<core[b2c7346eda96f041]::result::Result<(), rustc_span[350718d478b9eefa]::ErrorGuaranteed>, rustc_driver_impl[783dc85a9905d0e5]::run_compiler::{closure#1}>::{closure#0}, core[b2c7346eda96f041]::result::Result<(), rustc_span[350718d478b9eefa]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[b2c7346eda96f041]::result::Result<(), rustc_span[350718d478b9eefa]::ErrorGuaranteed>>
41: 0x10b747a78 - <<std[bf9110f564f42f12]::thread::Builder>::spawn_unchecked_<rustc_interface[86097f894d44157]::util::run_in_thread_pool_with_globals<rustc_interface[86097f894d44157]::interface::run_compiler<core[b2c7346eda96f041]::result::Result<(), rustc_span[350718d478b9eefa]::ErrorGuaranteed>, rustc_driver_impl[783dc85a9905d0e5]::run_compiler::{closure#1}>::{closure#0}, core[b2c7346eda96f041]::result::Result<(), rustc_span[350718d478b9eefa]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[b2c7346eda96f041]::result::Result<(), rustc_span[350718d478b9eefa]::ErrorGuaranteed>>::{closure#1} as core[b2c7346eda96f041]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
42: 0x10324cdf4 - std::sys::unix::thread::Thread::new::thread_start::h7f56b35fafcfec87
43: 0x190ddffa8 - __pthread_joiner_wake
error: 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.70.0 (90c541806 2023-05-31) running on aarch64-apple-darwin
note: compiler flags: --crate-type lib -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 [mir_built] building MIR for `plugin::test::service::__mock_MockRouterService::__call::<impl at apollo-router/src/plugin/test/service.rs:29:13: 40:14>::with`
#1 [mir_const] preparing `plugin::test::service::__mock_MockRouterService::__call::<impl at apollo-router/src/plugin/test/service.rs:29:13: 40:14>::with` for borrow checking
#2 [mir_promoted] processing MIR for `plugin::test::service::__mock_MockRouterService::__call::<impl at apollo-router/src/plugin/test/service.rs:29:13: 40:14>::with`
#3 [mir_borrowck] borrow-checking `plugin::test::service::__mock_MockRouterService::__call::<impl at apollo-router/src/plugin/test/service.rs:29:13: 40:14>::with`
#4 [analysis] running analysis passes on this crate
end of query stack
error: internal compiler error: re-entrant incremental verify failure, suppressing message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment