Skip to content

Instantly share code, notes, and snippets.

@tbillington
Created February 15, 2024 03:52
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 tbillington/3d8eb0e01a535525789e3c0256686c02 to your computer and use it in GitHub Desktop.
Save tbillington/3d8eb0e01a535525789e3c0256686c02 to your computer and use it in GitHub Desktop.
rustc panic on 1.76.0 stable
thread 'rustc' panicked at compiler/rustc_middle/src/dep_graph/dep_node.rs:198:17:
Failed to extract DefId: def_kind 782b879c3be8bf9f-b973b824051e0071
stack backtrace:
0: 0x1031e8594 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hb478ebbfb46e27ce
1: 0x10322a9ac - core::fmt::write::he4d5fa2daff1f531
2: 0x1031ded9c - std::io::Write::write_fmt::hc5a47a68eba63d9f
3: 0x1031e83c8 - std::sys_common::backtrace::print::h79bd952cc5812e7a
4: 0x1031eae90 - std::panicking::default_hook::{{closure}}::h82301f6222887737
5: 0x1031eabd8 - std::panicking::default_hook::h1e49abbb3f1d7dbf
6: 0x10b906070 - <alloc[37ddc2533ea56b7b]::boxed::Box<rustc_driver_impl[d723ad74a265baf3]::install_ice_hook::{closure#0}> as core[18650a1770591c75]::ops::function::Fn<(&dyn for<'a, 'b> core[18650a1770591c75]::ops::function::Fn<(&'a core[18650a1770591c75]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[18650a1770591c75]::marker::Sync + core[18650a1770591c75]::marker::Send, &core[18650a1770591c75]::panic::panic_info::PanicInfo)>>::call
7: 0x1031eb528 - std::panicking::rust_panic_with_hook::h1e70c5d905e30e9d
8: 0x1031eb2e4 - std::panicking::begin_panic_handler::{{closure}}::h399e32952efd26a4
9: 0x1031e8a18 - std::sys_common::backtrace::__rust_end_short_backtrace::h2ab87f841a2323e7
10: 0x1031eb06c - _rust_begin_unwind
11: 0x103244bd0 - core::panicking::panic_fmt::h33e40d2a93cab78f
12: 0x10fa467a8 - <rustc_query_system[201a503e095b67cb]::dep_graph::dep_node::DepNode as rustc_middle[35a781f9bda42497]::dep_graph::dep_node::DepNodeExt>::extract_def_id::{closure#0}
13: 0x10f9a8670 - <rustc_middle[35a781f9bda42497]::ty::context::TyCtxt>::def_path_hash_to_def_id
14: 0x10fa46738 - <rustc_query_system[201a503e095b67cb]::dep_graph::dep_node::DepNode as rustc_middle[35a781f9bda42497]::dep_graph::dep_node::DepNodeExt>::extract_def_id
15: 0x10ed66354 - <rustc_query_impl[ab66d2f3916826ca]::plumbing::query_callback<rustc_query_impl[ab66d2f3916826ca]::query_impl::def_kind::QueryType>::{closure#0} as core[18650a1770591c75]::ops::function::FnOnce<(rustc_middle[35a781f9bda42497]::ty::context::TyCtxt, rustc_query_system[201a503e095b67cb]::dep_graph::dep_node::DepNode)>>::call_once
16: 0x10ededf1c - <rustc_query_system[201a503e095b67cb]::dep_graph::graph::DepGraphData<rustc_middle[35a781f9bda42497]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt>
17: 0x10ededf64 - <rustc_query_system[201a503e095b67cb]::dep_graph::graph::DepGraphData<rustc_middle[35a781f9bda42497]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt>
18: 0x10ededf64 - <rustc_query_system[201a503e095b67cb]::dep_graph::graph::DepGraphData<rustc_middle[35a781f9bda42497]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt>
19: 0x10ededf64 - <rustc_query_system[201a503e095b67cb]::dep_graph::graph::DepGraphData<rustc_middle[35a781f9bda42497]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt>
20: 0x10ededf64 - <rustc_query_system[201a503e095b67cb]::dep_graph::graph::DepGraphData<rustc_middle[35a781f9bda42497]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt>
21: 0x10ededf64 - <rustc_query_system[201a503e095b67cb]::dep_graph::graph::DepGraphData<rustc_middle[35a781f9bda42497]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt>
22: 0x10ededf64 - <rustc_query_system[201a503e095b67cb]::dep_graph::graph::DepGraphData<rustc_middle[35a781f9bda42497]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt>
23: 0x10ededf64 - <rustc_query_system[201a503e095b67cb]::dep_graph::graph::DepGraphData<rustc_middle[35a781f9bda42497]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt>
24: 0x10ededcf4 - <rustc_query_system[201a503e095b67cb]::dep_graph::graph::DepGraphData<rustc_middle[35a781f9bda42497]::dep_graph::DepsType>>::try_mark_green::<rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt>
25: 0x10ed0596c - rustc_query_system[201a503e095b67cb]::query::plumbing::try_execute_query::<rustc_query_impl[ab66d2f3916826ca]::DynamicConfig<rustc_query_system[201a503e095b67cb]::query::caches::DefaultCache<rustc_type_ir[4c053739833dc843]::canonical::Canonical<rustc_middle[35a781f9bda42497]::ty::context::TyCtxt, rustc_middle[35a781f9bda42497]::ty::ParamEnvAnd<rustc_middle[35a781f9bda42497]::ty::Predicate>>, rustc_middle[35a781f9bda42497]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt, true>
26: 0x10ef1d60c - rustc_query_impl[ab66d2f3916826ca]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace
27: 0x10f0bcb34 - <rustc_infer[2d6df025bdd09780]::infer::InferCtxt as rustc_trait_selection[286fba3891d5769f]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
28: 0x10f0bcd54 - <rustc_infer[2d6df025bdd09780]::infer::InferCtxt as rustc_trait_selection[286fba3891d5769f]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
29: 0x10f169aa4 - <rustc_trait_selection[286fba3891d5769f]::traits::fulfill::FulfillProcessor>::process_trait_obligation
30: 0x10f168a00 - <rustc_trait_selection[286fba3891d5769f]::traits::fulfill::FulfillProcessor as rustc_data_structures[6154127fb9474933]::obligation_forest::ObligationProcessor>::process_obligation
31: 0x10f15be10 - <rustc_data_structures[6154127fb9474933]::obligation_forest::ObligationForest<rustc_trait_selection[286fba3891d5769f]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[286fba3891d5769f]::traits::fulfill::FulfillProcessor>
32: 0x10f16759c - <rustc_trait_selection[286fba3891d5769f]::traits::fulfill::FulfillmentContext as rustc_infer[2d6df025bdd09780]::traits::engine::TraitEngine>::select_where_possible
33: 0x10ec46d54 - <rustc_infer[2d6df025bdd09780]::infer::InferCtxt>::make_canonicalized_query_response::<()>
34: 0x10ec4ab00 - <rustc_infer[2d6df025bdd09780]::infer::InferCtxtBuilder as rustc_trait_selection[286fba3891d5769f]::infer::InferCtxtBuilderExt>::enter_canonical_trait_query::<rustc_middle[35a781f9bda42497]::ty::ParamEnvAnd<rustc_middle[35a781f9bda42497]::traits::query::type_op::ProvePredicate>, (), rustc_traits[9637c2d4d702dc1f]::type_op::type_op_prove_predicate::{closure#0}>
35: 0x10ec6dbb4 - rustc_traits[9637c2d4d702dc1f]::type_op::type_op_prove_predicate
36: 0x10ed7fba4 - rustc_query_impl[ab66d2f3916826ca]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[ab66d2f3916826ca]::query_impl::type_op_prove_predicate::dynamic_query::{closure#2}::{closure#0}, rustc_middle[35a781f9bda42497]::query::erase::Erased<[u8; 8usize]>>
37: 0x10edcbde4 - <rustc_query_impl[ab66d2f3916826ca]::query_impl::type_op_prove_predicate::dynamic_query::{closure#2} as core[18650a1770591c75]::ops::function::FnOnce<(rustc_middle[35a781f9bda42497]::ty::context::TyCtxt, rustc_type_ir[4c053739833dc843]::canonical::Canonical<rustc_middle[35a781f9bda42497]::ty::context::TyCtxt, rustc_middle[35a781f9bda42497]::ty::ParamEnvAnd<rustc_middle[35a781f9bda42497]::traits::query::type_op::ProvePredicate>>)>>::call_once
38: 0x10ed084b8 - rustc_query_system[201a503e095b67cb]::query::plumbing::try_execute_query::<rustc_query_impl[ab66d2f3916826ca]::DynamicConfig<rustc_query_system[201a503e095b67cb]::query::caches::DefaultCache<rustc_type_ir[4c053739833dc843]::canonical::Canonical<rustc_middle[35a781f9bda42497]::ty::context::TyCtxt, rustc_middle[35a781f9bda42497]::ty::ParamEnvAnd<rustc_middle[35a781f9bda42497]::traits::query::type_op::ProvePredicate>>, rustc_middle[35a781f9bda42497]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt, true>
39: 0x10ef1e140 - rustc_query_impl[ab66d2f3916826ca]::query_impl::type_op_prove_predicate::get_query_incr::__rust_end_short_backtrace
40: 0x10f11f78c - <rustc_middle[35a781f9bda42497]::traits::query::type_op::ProvePredicate as rustc_trait_selection[286fba3891d5769f]::traits::query::type_op::QueryTypeOp>::perform_query
41: 0x10ebca8cc - <rustc_middle[35a781f9bda42497]::traits::query::type_op::ProvePredicate as rustc_trait_selection[286fba3891d5769f]::traits::query::type_op::QueryTypeOp>::fully_perform_into
42: 0x10ebc58d4 - <rustc_middle[35a781f9bda42497]::ty::ParamEnvAnd<rustc_middle[35a781f9bda42497]::traits::query::type_op::ProvePredicate> as rustc_trait_selection[286fba3891d5769f]::traits::query::type_op::TypeOp>::fully_perform
43: 0x10eabb074 - <rustc_borrowck[f6efaee5548b82eb]::type_check::TypeChecker>::fully_perform_op::<(), rustc_middle[35a781f9bda42497]::ty::ParamEnvAnd<rustc_middle[35a781f9bda42497]::traits::query::type_op::ProvePredicate>>
44: 0x10eabbae0 - <rustc_borrowck[f6efaee5548b82eb]::type_check::TypeChecker>::normalize_and_prove_instantiated_predicates
45: 0x10eab68ec - <rustc_borrowck[f6efaee5548b82eb]::type_check::TypeVerifier as rustc_middle[35a781f9bda42497]::mir::visit::Visitor>::visit_constant
46: 0x10eab7c0c - <rustc_borrowck[f6efaee5548b82eb]::type_check::TypeVerifier as rustc_middle[35a781f9bda42497]::mir::visit::Visitor>::visit_body
47: 0x10eab4120 - rustc_borrowck[f6efaee5548b82eb]::type_check::type_check
48: 0x10eb00000 - rustc_borrowck[f6efaee5548b82eb]::nll::compute_regions
49: 0x10ea99150 - rustc_borrowck[f6efaee5548b82eb]::do_mir_borrowck
50: 0x10ea90374 - rustc_borrowck[f6efaee5548b82eb]::mir_borrowck
51: 0x10ed7bf0c - rustc_query_impl[ab66d2f3916826ca]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[ab66d2f3916826ca]::query_impl::mir_borrowck::dynamic_query::{closure#2}::{closure#0}, rustc_middle[35a781f9bda42497]::query::erase::Erased<[u8; 8usize]>>
52: 0x10ee48b54 - <rustc_query_impl[ab66d2f3916826ca]::query_impl::mir_borrowck::dynamic_query::{closure#2} as core[18650a1770591c75]::ops::function::FnOnce<(rustc_middle[35a781f9bda42497]::ty::context::TyCtxt, rustc_span[d844dabcc0d15e78]::def_id::LocalDefId)>>::call_once
53: 0x10ed4dbc8 - rustc_query_system[201a503e095b67cb]::query::plumbing::try_execute_query::<rustc_query_impl[ab66d2f3916826ca]::DynamicConfig<rustc_query_system[201a503e095b67cb]::query::caches::VecCache<rustc_span[d844dabcc0d15e78]::def_id::LocalDefId, rustc_middle[35a781f9bda42497]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt, true>
54: 0x10ef05054 - rustc_query_impl[ab66d2f3916826ca]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace
55: 0x10bac345c - std[fcd23fca98dce159]::panicking::try::<(), core[18650a1770591c75]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[6154127fb9474933]::sync::parallel::disabled::par_for_each_in<&[rustc_span[d844dabcc0d15e78]::def_id::LocalDefId], <rustc_middle[35a781f9bda42497]::hir::map::Map>::par_body_owners<rustc_interface[9ecbacebda51131]::passes::analysis::{closure#1}::{closure#0}>::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>>
56: 0x10bac8108 - <rustc_data_structures[6154127fb9474933]::sync::parallel::ParallelGuard>::run::<(), rustc_data_structures[6154127fb9474933]::sync::parallel::disabled::par_for_each_in<&[rustc_span[d844dabcc0d15e78]::def_id::LocalDefId], <rustc_middle[35a781f9bda42497]::hir::map::Map>::par_body_owners<rustc_interface[9ecbacebda51131]::passes::analysis::{closure#1}::{closure#0}>::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>
57: 0x10bac5ca8 - rustc_data_structures[6154127fb9474933]::sync::parallel::disabled::par_for_each_in::<&[rustc_span[d844dabcc0d15e78]::def_id::LocalDefId], <rustc_middle[35a781f9bda42497]::hir::map::Map>::par_body_owners<rustc_interface[9ecbacebda51131]::passes::analysis::{closure#1}::{closure#0}>::{closure#0}>
58: 0x10ba99ac4 - <rustc_session[29d615da54b3962b]::session::Session>::time::<(), rustc_interface[9ecbacebda51131]::passes::analysis::{closure#1}>
59: 0x10ba6eb98 - rustc_interface[9ecbacebda51131]::passes::analysis
60: 0x10ed80c98 - rustc_query_impl[ab66d2f3916826ca]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[ab66d2f3916826ca]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[35a781f9bda42497]::query::erase::Erased<[u8; 1usize]>>
61: 0x10eef198c - <rustc_query_impl[ab66d2f3916826ca]::query_impl::analysis::dynamic_query::{closure#2} as core[18650a1770591c75]::ops::function::FnOnce<(rustc_middle[35a781f9bda42497]::ty::context::TyCtxt, ())>>::call_once
62: 0x10ecefc00 - rustc_query_system[201a503e095b67cb]::query::plumbing::try_execute_query::<rustc_query_impl[ab66d2f3916826ca]::DynamicConfig<rustc_query_system[201a503e095b67cb]::query::caches::SingleCache<rustc_middle[35a781f9bda42497]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt, true>
63: 0x10eef5268 - rustc_query_impl[ab66d2f3916826ca]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace
64: 0x10b8eb978 - <rustc_middle[35a781f9bda42497]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[d723ad74a265baf3]::run_compiler::{closure#0}::{closure#0}::{closure#3}, core[18650a1770591c75]::result::Result<(), rustc_span[d844dabcc0d15e78]::ErrorGuaranteed>>
65: 0x10b92c6f8 - <rustc_interface[9ecbacebda51131]::interface::Compiler>::enter::<rustc_driver_impl[d723ad74a265baf3]::run_compiler::{closure#0}::{closure#0}, core[18650a1770591c75]::result::Result<core[18650a1770591c75]::option::Option<rustc_interface[9ecbacebda51131]::queries::Linker>, rustc_span[d844dabcc0d15e78]::ErrorGuaranteed>>
66: 0x10b8f306c - rustc_span[d844dabcc0d15e78]::create_session_globals_then::<core[18650a1770591c75]::result::Result<(), rustc_span[d844dabcc0d15e78]::ErrorGuaranteed>, rustc_interface[9ecbacebda51131]::interface::run_compiler<core[18650a1770591c75]::result::Result<(), rustc_span[d844dabcc0d15e78]::ErrorGuaranteed>, rustc_driver_impl[d723ad74a265baf3]::run_compiler::{closure#0}>::{closure#0}>
67: 0x10b929628 - std[fcd23fca98dce159]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[9ecbacebda51131]::util::run_in_thread_with_globals<rustc_interface[9ecbacebda51131]::interface::run_compiler<core[18650a1770591c75]::result::Result<(), rustc_span[d844dabcc0d15e78]::ErrorGuaranteed>, rustc_driver_impl[d723ad74a265baf3]::run_compiler::{closure#0}>::{closure#0}, core[18650a1770591c75]::result::Result<(), rustc_span[d844dabcc0d15e78]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[18650a1770591c75]::result::Result<(), rustc_span[d844dabcc0d15e78]::ErrorGuaranteed>>
68: 0x10b8fbd7c - <<std[fcd23fca98dce159]::thread::Builder>::spawn_unchecked_<rustc_interface[9ecbacebda51131]::util::run_in_thread_with_globals<rustc_interface[9ecbacebda51131]::interface::run_compiler<core[18650a1770591c75]::result::Result<(), rustc_span[d844dabcc0d15e78]::ErrorGuaranteed>, rustc_driver_impl[d723ad74a265baf3]::run_compiler::{closure#0}>::{closure#0}, core[18650a1770591c75]::result::Result<(), rustc_span[d844dabcc0d15e78]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[18650a1770591c75]::result::Result<(), rustc_span[d844dabcc0d15e78]::ErrorGuaranteed>>::{closure#1} as core[18650a1770591c75]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
69: 0x1031f37d0 - std::sys::unix::thread::Thread::new::thread_start::h8dda2af345bab446
70: 0x182b0a034 - __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.76.0 (07dca489a 2024-02-04) running on aarch64-apple-darwin
note: compiler flags: --crate-type bin -C embed-bitcode=no -C incremental=[REDACTED] -C strip=debuginfo
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [evaluate_obligation] evaluating trait selection obligation `{coroutine witness@<server_meta_handler::ServerMetaHandler as actor::Actor>::spawn_unbounded::{closure#0}}: core::marker::Send`
#1 [type_op_prove_predicate] evaluating `type_op_prove_predicate` `ProvePredicate { predicate: Binder { value: TraitPredicate(<{async block@client/src/net2.rs:64:19: 79:6} as core::marker::Send>, polarity:Positive), bound_vars: [] } }`
#2 [mir_borrowck] borrow-checking `net2::start_net_runtime`
#3 [analysis] running analysis passes on this crate
end of query stack
there was a panic while trying to force a dep node
try_mark_green dep node stack:
#0 type_of(thread 'rustc' panicked at compiler/rustc_middle/src/dep_graph/dep_node.rs:198:17:
Failed to extract DefId: type_of 782b879c3be8bf9f-b973b824051e0071
stack backtrace:
0: 0x1031e8594 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hb478ebbfb46e27ce
1: 0x10322a9ac - core::fmt::write::he4d5fa2daff1f531
2: 0x1031ded9c - std::io::Write::write_fmt::hc5a47a68eba63d9f
3: 0x1031e83c8 - std::sys_common::backtrace::print::h79bd952cc5812e7a
4: 0x1031eae90 - std::panicking::default_hook::{{closure}}::h82301f6222887737
5: 0x1031eabd8 - std::panicking::default_hook::h1e49abbb3f1d7dbf
6: 0x10b906070 - <alloc[37ddc2533ea56b7b]::boxed::Box<rustc_driver_impl[d723ad74a265baf3]::install_ice_hook::{closure#0}> as core[18650a1770591c75]::ops::function::Fn<(&dyn for<'a, 'b> core[18650a1770591c75]::ops::function::Fn<(&'a core[18650a1770591c75]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[18650a1770591c75]::marker::Sync + core[18650a1770591c75]::marker::Send, &core[18650a1770591c75]::panic::panic_info::PanicInfo)>>::call
7: 0x1031eb528 - std::panicking::rust_panic_with_hook::h1e70c5d905e30e9d
8: 0x1031eb2e4 - std::panicking::begin_panic_handler::{{closure}}::h399e32952efd26a4
9: 0x1031e8a18 - std::sys_common::backtrace::__rust_end_short_backtrace::h2ab87f841a2323e7
10: 0x1031eb06c - _rust_begin_unwind
11: 0x103244bd0 - core::panicking::panic_fmt::h33e40d2a93cab78f
12: 0x10fa467a8 - <rustc_query_system[201a503e095b67cb]::dep_graph::dep_node::DepNode as rustc_middle[35a781f9bda42497]::dep_graph::dep_node::DepNodeExt>::extract_def_id::{closure#0}
13: 0x10f9a8670 - <rustc_middle[35a781f9bda42497]::ty::context::TyCtxt>::def_path_hash_to_def_id
14: 0x10fa46738 - <rustc_query_system[201a503e095b67cb]::dep_graph::dep_node::DepNode as rustc_middle[35a781f9bda42497]::dep_graph::dep_node::DepNodeExt>::extract_def_id
15: 0x10bac7524 - rustc_interface[9ecbacebda51131]::callbacks::dep_node_debug
16: 0x10fb3aef4 - <rustc_query_system[201a503e095b67cb]::dep_graph::dep_node::DepNode as core[18650a1770591c75]::fmt::Debug>::fmt
17: 0x10322a9ac - core::fmt::write::he4d5fa2daff1f531
18: 0x1031dcf60 - <&std::io::stdio::Stderr as std::io::Write>::write_fmt::he1949e2e69580cce
19: 0x1031dd868 - std::io::stdio::_eprint::h1c951d35316f84c2
20: 0x10ff7f454 - rustc_query_system[201a503e095b67cb]::dep_graph::graph::print_markframe_trace::<rustc_middle[35a781f9bda42497]::dep_graph::DepsType>
21: 0x10edee5c8 - <rustc_query_system[201a503e095b67cb]::dep_graph::graph::DepGraphData<rustc_middle[35a781f9bda42497]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt>
22: 0x10ededf64 - <rustc_query_system[201a503e095b67cb]::dep_graph::graph::DepGraphData<rustc_middle[35a781f9bda42497]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt>
23: 0x10ededf64 - <rustc_query_system[201a503e095b67cb]::dep_graph::graph::DepGraphData<rustc_middle[35a781f9bda42497]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt>
24: 0x10ededf64 - <rustc_query_system[201a503e095b67cb]::dep_graph::graph::DepGraphData<rustc_middle[35a781f9bda42497]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt>
25: 0x10ededf64 - <rustc_query_system[201a503e095b67cb]::dep_graph::graph::DepGraphData<rustc_middle[35a781f9bda42497]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt>
26: 0x10ededf64 - <rustc_query_system[201a503e095b67cb]::dep_graph::graph::DepGraphData<rustc_middle[35a781f9bda42497]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt>
27: 0x10ededf64 - <rustc_query_system[201a503e095b67cb]::dep_graph::graph::DepGraphData<rustc_middle[35a781f9bda42497]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt>
28: 0x10ededf64 - <rustc_query_system[201a503e095b67cb]::dep_graph::graph::DepGraphData<rustc_middle[35a781f9bda42497]::dep_graph::DepsType>>::try_mark_previous_green::<rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt>
29: 0x10ededcf4 - <rustc_query_system[201a503e095b67cb]::dep_graph::graph::DepGraphData<rustc_middle[35a781f9bda42497]::dep_graph::DepsType>>::try_mark_green::<rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt>
30: 0x10ed0596c - rustc_query_system[201a503e095b67cb]::query::plumbing::try_execute_query::<rustc_query_impl[ab66d2f3916826ca]::DynamicConfig<rustc_query_system[201a503e095b67cb]::query::caches::DefaultCache<rustc_type_ir[4c053739833dc843]::canonical::Canonical<rustc_middle[35a781f9bda42497]::ty::context::TyCtxt, rustc_middle[35a781f9bda42497]::ty::ParamEnvAnd<rustc_middle[35a781f9bda42497]::ty::Predicate>>, rustc_middle[35a781f9bda42497]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt, true>
31: 0x10ef1d60c - rustc_query_impl[ab66d2f3916826ca]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace
32: 0x10f0bcb34 - <rustc_infer[2d6df025bdd09780]::infer::InferCtxt as rustc_trait_selection[286fba3891d5769f]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
33: 0x10f0bcd54 - <rustc_infer[2d6df025bdd09780]::infer::InferCtxt as rustc_trait_selection[286fba3891d5769f]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
34: 0x10f169aa4 - <rustc_trait_selection[286fba3891d5769f]::traits::fulfill::FulfillProcessor>::process_trait_obligation
35: 0x10f168a00 - <rustc_trait_selection[286fba3891d5769f]::traits::fulfill::FulfillProcessor as rustc_data_structures[6154127fb9474933]::obligation_forest::ObligationProcessor>::process_obligation
36: 0x10f15be10 - <rustc_data_structures[6154127fb9474933]::obligation_forest::ObligationForest<rustc_trait_selection[286fba3891d5769f]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[286fba3891d5769f]::traits::fulfill::FulfillProcessor>
37: 0x10f16759c - <rustc_trait_selection[286fba3891d5769f]::traits::fulfill::FulfillmentContext as rustc_infer[2d6df025bdd09780]::traits::engine::TraitEngine>::select_where_possible
38: 0x10ec46d54 - <rustc_infer[2d6df025bdd09780]::infer::InferCtxt>::make_canonicalized_query_response::<()>
39: 0x10ec4ab00 - <rustc_infer[2d6df025bdd09780]::infer::InferCtxtBuilder as rustc_trait_selection[286fba3891d5769f]::infer::InferCtxtBuilderExt>::enter_canonical_trait_query::<rustc_middle[35a781f9bda42497]::ty::ParamEnvAnd<rustc_middle[35a781f9bda42497]::traits::query::type_op::ProvePredicate>, (), rustc_traits[9637c2d4d702dc1f]::type_op::type_op_prove_predicate::{closure#0}>
40: 0x10ec6dbb4 - rustc_traits[9637c2d4d702dc1f]::type_op::type_op_prove_predicate
41: 0x10ed7fba4 - rustc_query_impl[ab66d2f3916826ca]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[ab66d2f3916826ca]::query_impl::type_op_prove_predicate::dynamic_query::{closure#2}::{closure#0}, rustc_middle[35a781f9bda42497]::query::erase::Erased<[u8; 8usize]>>
42: 0x10edcbde4 - <rustc_query_impl[ab66d2f3916826ca]::query_impl::type_op_prove_predicate::dynamic_query::{closure#2} as core[18650a1770591c75]::ops::function::FnOnce<(rustc_middle[35a781f9bda42497]::ty::context::TyCtxt, rustc_type_ir[4c053739833dc843]::canonical::Canonical<rustc_middle[35a781f9bda42497]::ty::context::TyCtxt, rustc_middle[35a781f9bda42497]::ty::ParamEnvAnd<rustc_middle[35a781f9bda42497]::traits::query::type_op::ProvePredicate>>)>>::call_once
43: 0x10ed084b8 - rustc_query_system[201a503e095b67cb]::query::plumbing::try_execute_query::<rustc_query_impl[ab66d2f3916826ca]::DynamicConfig<rustc_query_system[201a503e095b67cb]::query::caches::DefaultCache<rustc_type_ir[4c053739833dc843]::canonical::Canonical<rustc_middle[35a781f9bda42497]::ty::context::TyCtxt, rustc_middle[35a781f9bda42497]::ty::ParamEnvAnd<rustc_middle[35a781f9bda42497]::traits::query::type_op::ProvePredicate>>, rustc_middle[35a781f9bda42497]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt, true>
44: 0x10ef1e140 - rustc_query_impl[ab66d2f3916826ca]::query_impl::type_op_prove_predicate::get_query_incr::__rust_end_short_backtrace
45: 0x10f11f78c - <rustc_middle[35a781f9bda42497]::traits::query::type_op::ProvePredicate as rustc_trait_selection[286fba3891d5769f]::traits::query::type_op::QueryTypeOp>::perform_query
46: 0x10ebca8cc - <rustc_middle[35a781f9bda42497]::traits::query::type_op::ProvePredicate as rustc_trait_selection[286fba3891d5769f]::traits::query::type_op::QueryTypeOp>::fully_perform_into
47: 0x10ebc58d4 - <rustc_middle[35a781f9bda42497]::ty::ParamEnvAnd<rustc_middle[35a781f9bda42497]::traits::query::type_op::ProvePredicate> as rustc_trait_selection[286fba3891d5769f]::traits::query::type_op::TypeOp>::fully_perform
48: 0x10eabb074 - <rustc_borrowck[f6efaee5548b82eb]::type_check::TypeChecker>::fully_perform_op::<(), rustc_middle[35a781f9bda42497]::ty::ParamEnvAnd<rustc_middle[35a781f9bda42497]::traits::query::type_op::ProvePredicate>>
49: 0x10eabbae0 - <rustc_borrowck[f6efaee5548b82eb]::type_check::TypeChecker>::normalize_and_prove_instantiated_predicates
50: 0x10eab68ec - <rustc_borrowck[f6efaee5548b82eb]::type_check::TypeVerifier as rustc_middle[35a781f9bda42497]::mir::visit::Visitor>::visit_constant
51: 0x10eab7c0c - <rustc_borrowck[f6efaee5548b82eb]::type_check::TypeVerifier as rustc_middle[35a781f9bda42497]::mir::visit::Visitor>::visit_body
52: 0x10eab4120 - rustc_borrowck[f6efaee5548b82eb]::type_check::type_check
53: 0x10eb00000 - rustc_borrowck[f6efaee5548b82eb]::nll::compute_regions
54: 0x10ea99150 - rustc_borrowck[f6efaee5548b82eb]::do_mir_borrowck
55: 0x10ea90374 - rustc_borrowck[f6efaee5548b82eb]::mir_borrowck
56: 0x10ed7bf0c - rustc_query_impl[ab66d2f3916826ca]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[ab66d2f3916826ca]::query_impl::mir_borrowck::dynamic_query::{closure#2}::{closure#0}, rustc_middle[35a781f9bda42497]::query::erase::Erased<[u8; 8usize]>>
57: 0x10ee48b54 - <rustc_query_impl[ab66d2f3916826ca]::query_impl::mir_borrowck::dynamic_query::{closure#2} as core[18650a1770591c75]::ops::function::FnOnce<(rustc_middle[35a781f9bda42497]::ty::context::TyCtxt, rustc_span[d844dabcc0d15e78]::def_id::LocalDefId)>>::call_once
58: 0x10ed4dbc8 - rustc_query_system[201a503e095b67cb]::query::plumbing::try_execute_query::<rustc_query_impl[ab66d2f3916826ca]::DynamicConfig<rustc_query_system[201a503e095b67cb]::query::caches::VecCache<rustc_span[d844dabcc0d15e78]::def_id::LocalDefId, rustc_middle[35a781f9bda42497]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt, true>
59: 0x10ef05054 - rustc_query_impl[ab66d2f3916826ca]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace
60: 0x10bac345c - std[fcd23fca98dce159]::panicking::try::<(), core[18650a1770591c75]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[6154127fb9474933]::sync::parallel::disabled::par_for_each_in<&[rustc_span[d844dabcc0d15e78]::def_id::LocalDefId], <rustc_middle[35a781f9bda42497]::hir::map::Map>::par_body_owners<rustc_interface[9ecbacebda51131]::passes::analysis::{closure#1}::{closure#0}>::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>>
61: 0x10bac8108 - <rustc_data_structures[6154127fb9474933]::sync::parallel::ParallelGuard>::run::<(), rustc_data_structures[6154127fb9474933]::sync::parallel::disabled::par_for_each_in<&[rustc_span[d844dabcc0d15e78]::def_id::LocalDefId], <rustc_middle[35a781f9bda42497]::hir::map::Map>::par_body_owners<rustc_interface[9ecbacebda51131]::passes::analysis::{closure#1}::{closure#0}>::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>
62: 0x10bac5ca8 - rustc_data_structures[6154127fb9474933]::sync::parallel::disabled::par_for_each_in::<&[rustc_span[d844dabcc0d15e78]::def_id::LocalDefId], <rustc_middle[35a781f9bda42497]::hir::map::Map>::par_body_owners<rustc_interface[9ecbacebda51131]::passes::analysis::{closure#1}::{closure#0}>::{closure#0}>
63: 0x10ba99ac4 - <rustc_session[29d615da54b3962b]::session::Session>::time::<(), rustc_interface[9ecbacebda51131]::passes::analysis::{closure#1}>
64: 0x10ba6eb98 - rustc_interface[9ecbacebda51131]::passes::analysis
65: 0x10ed80c98 - rustc_query_impl[ab66d2f3916826ca]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[ab66d2f3916826ca]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[35a781f9bda42497]::query::erase::Erased<[u8; 1usize]>>
66: 0x10eef198c - <rustc_query_impl[ab66d2f3916826ca]::query_impl::analysis::dynamic_query::{closure#2} as core[18650a1770591c75]::ops::function::FnOnce<(rustc_middle[35a781f9bda42497]::ty::context::TyCtxt, ())>>::call_once
67: 0x10ecefc00 - rustc_query_system[201a503e095b67cb]::query::plumbing::try_execute_query::<rustc_query_impl[ab66d2f3916826ca]::DynamicConfig<rustc_query_system[201a503e095b67cb]::query::caches::SingleCache<rustc_middle[35a781f9bda42497]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[ab66d2f3916826ca]::plumbing::QueryCtxt, true>
68: 0x10eef5268 - rustc_query_impl[ab66d2f3916826ca]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace
69: 0x10b8eb978 - <rustc_middle[35a781f9bda42497]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[d723ad74a265baf3]::run_compiler::{closure#0}::{closure#0}::{closure#3}, core[18650a1770591c75]::result::Result<(), rustc_span[d844dabcc0d15e78]::ErrorGuaranteed>>
70: 0x10b92c6f8 - <rustc_interface[9ecbacebda51131]::interface::Compiler>::enter::<rustc_driver_impl[d723ad74a265baf3]::run_compiler::{closure#0}::{closure#0}, core[18650a1770591c75]::result::Result<core[18650a1770591c75]::option::Option<rustc_interface[9ecbacebda51131]::queries::Linker>, rustc_span[d844dabcc0d15e78]::ErrorGuaranteed>>
71: 0x10b8f306c - rustc_span[d844dabcc0d15e78]::create_session_globals_then::<core[18650a1770591c75]::result::Result<(), rustc_span[d844dabcc0d15e78]::ErrorGuaranteed>, rustc_interface[9ecbacebda51131]::interface::run_compiler<core[18650a1770591c75]::result::Result<(), rustc_span[d844dabcc0d15e78]::ErrorGuaranteed>, rustc_driver_impl[d723ad74a265baf3]::run_compiler::{closure#0}>::{closure#0}>
72: 0x10b929628 - std[fcd23fca98dce159]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[9ecbacebda51131]::util::run_in_thread_with_globals<rustc_interface[9ecbacebda51131]::interface::run_compiler<core[18650a1770591c75]::result::Result<(), rustc_span[d844dabcc0d15e78]::ErrorGuaranteed>, rustc_driver_impl[d723ad74a265baf3]::run_compiler::{closure#0}>::{closure#0}, core[18650a1770591c75]::result::Result<(), rustc_span[d844dabcc0d15e78]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[18650a1770591c75]::result::Result<(), rustc_span[d844dabcc0d15e78]::ErrorGuaranteed>>
73: 0x10b8fbd7c - <<std[fcd23fca98dce159]::thread::Builder>::spawn_unchecked_<rustc_interface[9ecbacebda51131]::util::run_in_thread_with_globals<rustc_interface[9ecbacebda51131]::interface::run_compiler<core[18650a1770591c75]::result::Result<(), rustc_span[d844dabcc0d15e78]::ErrorGuaranteed>, rustc_driver_impl[d723ad74a265baf3]::run_compiler::{closure#0}>::{closure#0}, core[18650a1770591c75]::result::Result<(), rustc_span[d844dabcc0d15e78]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[18650a1770591c75]::result::Result<(), rustc_span[d844dabcc0d15e78]::ErrorGuaranteed>>::{closure#1} as core[18650a1770591c75]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
74: 0x1031f37d0 - std::sys::unix::thread::Thread::new::thread_start::h8dda2af345bab446
75: 0x182b0a034 - __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.76.0 (07dca489a 2024-02-04) running on aarch64-apple-darwin
note: compiler flags: --crate-type bin -C embed-bitcode=no -C incremental=[REDACTED] -C strip=debuginfo
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [evaluate_obligation] evaluating trait selection obligation `{coroutine witness@<server_meta_handler::ServerMetaHandler as actor::Actor>::spawn_unbounded::{closure#0}}: core::marker::Send`
#1 [type_op_prove_predicate] evaluating `type_op_prove_predicate` `ProvePredicate { predicate: Binder { value: TraitPredicate(<{async block@client/src/net2.rs:64:19: 79:6} as core::marker::Send>, polarity:Positive), bound_vars: [] } }`
#2 [mir_borrowck] borrow-checking `net2::start_net_runtime`
#3 [analysis] running analysis passes on this crate
end of query stack
warning: unused variable: `x`
--> client/src/ship.rs:107:26
|
107 | let Some(x) = world
| ^ help: if this is intentional, prefix it with an underscore: `_x`
warning: unused variable: `ship_id`
--> client/src/ship.rs:122:17
|
122 | ship_id,
| ^^^^^^^ help: try ignoring the field: `ship_id: _`
warning: unused variable: `mod_local_id`
--> client/src/ship.rs:123:17
|
123 | mod_local_id,
| ^^^^^^^^^^^^ help: try ignoring the field: `mod_local_id: _`
warning: unused variable: `target`
--> client/src/ship.rs:124:17
|
124 | target,
| ^^^^^^ help: try ignoring the field: `target: _`
warning: unused variable: `state`
--> client/src/ui.rs:134:9
|
134 | mut state: ResMut<NextState<scene::GameScene>>,
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
warning: variable does not need to be mutable
--> client/src/ui.rs:134:5
|
134 | mut state: ResMut<NextState<scene::GameScene>>,
| ----^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
warning: `client` (bin "client") generated 25 warnings (run `cargo fix --bin "client"` to apply 25 suggestions)
error: could not compile `client` (bin "client"); 25 warnings emitted
error: Recipe `client` failed on line 2 with exit code 101
error: Recipe `c` failed on line 4 with exit code 101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment