diff --git a/Cargo.lock b/Cargo.lock index a31af50..15691b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -207,6 +207,15 @@ dependencies = [ "quick-xml", ] +[[package]] +name = "atomic-polyfill" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cf2bce30dfe09ef0bfaef228b9d414faaf7e563035494d7fe092dba54b300f4" +dependencies = [ + "critical-section", +] + [[package]] name = "atomic-waker" version = "1.1.2" @@ -1388,6 +1397,15 @@ dependencies = [ "tracing", ] +[[package]] +name = "hash32" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0c35f58762feb77d74ebe43bdbc3210f09be9fe6742234d573bacc26ed92b67" +dependencies = [ + "byteorder", +] + [[package]] name = "hashbrown" version = "0.14.5" @@ -1409,6 +1427,20 @@ dependencies = [ "foldhash", ] +[[package]] +name = "heapless" +version = "0.7.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdc6457c0eb62c71aac4bc17216026d8410337c4126773b9c5daba343f17964f" +dependencies = [ + "atomic-polyfill", + "hash32", + "rustc_version", + "serde", + "spin", + "stable_deref_trait", +] + [[package]] name = "heck" version = "0.5.0" @@ -2989,6 +3021,7 @@ dependencies = [ "cobs", "embedded-io 0.4.0", "embedded-io 0.6.1", + "heapless", "postcard-derive", "serde", ] @@ -3299,6 +3332,7 @@ dependencies = [ name = "redlib" version = "0.36.0" dependencies = [ + "anyhow", "arc-swap", "async-recursion", "base2048", @@ -3306,11 +3340,14 @@ dependencies = [ "bincode", "brotli", "build_html", + "bytes", "cached", "chrono", "clap", "cookie", + "data-encoding", "dotenvy", + "ed25519-dalek", "fastrand", "futures-lite", "htmlescape", @@ -3323,6 +3360,7 @@ dependencies = [ "log", "once_cell", "percent-encoding", + "postcard", "pretty_env_logger", "pulldown-cmark", "regex", diff --git a/Cargo.toml b/Cargo.toml index f2806c1..3cb9ba6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -62,6 +62,11 @@ base2048 = "2.0.2" revision = "0.10.0" iroh = { version = "0.34.1", optional = true, default-features = false } iroh-gossip = { version = "0.34.1", features = ["rpc"] } +anyhow = "1.0.98" +data-encoding = "2.9.0" +postcard = "1.1.1" +bytes = "1.10.1" +ed25519-dalek = "2.1.1" [dev-dependencies] lipsum = "0.9.0" diff --git a/rustc-ice-2025-04-17T21_35_41-64956.txt b/rustc-ice-2025-04-17T21_35_41-64956.txt new file mode 100644 index 0000000..bc113b3 --- /dev/null +++ b/rustc-ice-2025-04-17T21_35_41-64956.txt @@ -0,0 +1,89 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7fb067acc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7fb065ecde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7fb064f5c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7fb065ee77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7fb065ee74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7fb065ee3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7fb065ee719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7fb062889e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7fb063a35c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7fb068047629 - ::ident.cold + 10: 0x7fb0650ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7fb0650de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7fb06509b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7fb06731d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7fb0673186c0 - ::lower_assoc_path_ty + 15: 0x7fb066720ea9 - ::check_struct_path + 16: 0x7fb067381b66 - ::check_expr_with_expectation_and_args + 17: 0x7fb066e81bf3 - ::check_decl + 18: 0x7fb067374995 - ::check_expr_block + 19: 0x7fb06737e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7fb067380e22 - ::check_expr_with_expectation_and_args + 21: 0x7fb0673739b7 - ::check_expr_block + 22: 0x7fb06737e6b2 - ::check_expr_with_expectation_and_args + 23: 0x7fb066ea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 24: 0x7fb067311a19 - ::check_expr_closure + 25: 0x7fb067383724 - ::check_expr_with_expectation_and_args + 26: 0x7fb066ea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 27: 0x7fb066e8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 28: 0x7fb066e8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 29: 0x7fb06686c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 30: 0x7fb06686fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 31: 0x7fb067a069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 32: 0x7fb06661b189 - >::try_mark_previous_green:: + 33: 0x7fb06661b0fd - >::try_mark_previous_green:: + 34: 0x7fb06661b0fd - >::try_mark_previous_green:: + 35: 0x7fb06661b0fd - >::try_mark_previous_green:: + 36: 0x7fb06661b0fd - >::try_mark_previous_green:: + 37: 0x7fb06686b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 38: 0x7fb0668bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 39: 0x7fb0678d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 40: 0x7fb0678d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 41: 0x7fb0678d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 42: 0x7fb0668c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 43: 0x7fb067948583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 44: 0x7fb0668e5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 45: 0x7fb0668e4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 46: 0x7fb0668c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 47: 0x7fb0668bc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 48: 0x7fb0678d245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 49: 0x7fb066ef160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 50: 0x7fb066dfc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 51: 0x7fb066df9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7fb0668b593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7fb0676e9c93 - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 54: 0x7fb0676e9af3 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 55: 0x7fb06661b189 - >::try_mark_previous_green:: + 56: 0x7fb06718f622 - >::try_mark_green:: + 57: 0x7fb06718f3b1 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt> + 58: 0x7fb0671837e7 - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 59: 0x7fb066867266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 60: 0x7fb0669f8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 61: 0x7fb067184d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 62: 0x7fb067184cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 63: 0x7fb067948f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 64: 0x7fb0679489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 65: 0x7fb0675002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 66: 0x7fb067716804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 67: 0x7fb067508668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 68: 0x7fb067508f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 69: 0x7fb06750a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 70: 0x7fb06147dba8 - start_thread + 71: 0x7fb061501b8c - __GI___clone3 + 72: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::main` +#1 [mir_borrowck] borrow-checking `p2p::main` +#2 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#3 [type_of] computing type of `p2p::main::{opaque#0}` +#4 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#5 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_35_41-64957.txt b/rustc-ice-2025-04-17T21_35_41-64957.txt new file mode 100644 index 0000000..60bc1bd --- /dev/null +++ b/rustc-ice-2025-04-17T21_35_41-64957.txt @@ -0,0 +1,89 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7ff4a28cc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7ff4a0ccde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7ff49fd5c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7ff4a0ce77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7ff4a0ce74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7ff4a0ce3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7ff4a0ce719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7ff49d689e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7ff49e835c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7ff4a2e47629 - ::ident.cold + 10: 0x7ff49feac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7ff49fede49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7ff49fe9b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7ff4a211d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7ff4a21186c0 - ::lower_assoc_path_ty + 15: 0x7ff4a1520ea9 - ::check_struct_path + 16: 0x7ff4a2181b66 - ::check_expr_with_expectation_and_args + 17: 0x7ff4a1c81bf3 - ::check_decl + 18: 0x7ff4a2174995 - ::check_expr_block + 19: 0x7ff4a217e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7ff4a2180e22 - ::check_expr_with_expectation_and_args + 21: 0x7ff4a21739b7 - ::check_expr_block + 22: 0x7ff4a217e6b2 - ::check_expr_with_expectation_and_args + 23: 0x7ff4a1ca293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 24: 0x7ff4a2111a19 - ::check_expr_closure + 25: 0x7ff4a2183724 - ::check_expr_with_expectation_and_args + 26: 0x7ff4a1ca293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 27: 0x7ff4a1c8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 28: 0x7ff4a1c8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 29: 0x7ff4a166c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 30: 0x7ff4a166fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 31: 0x7ff4a28069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 32: 0x7ff4a141b189 - >::try_mark_previous_green:: + 33: 0x7ff4a141b0fd - >::try_mark_previous_green:: + 34: 0x7ff4a141b0fd - >::try_mark_previous_green:: + 35: 0x7ff4a141b0fd - >::try_mark_previous_green:: + 36: 0x7ff4a141b0fd - >::try_mark_previous_green:: + 37: 0x7ff4a166b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 38: 0x7ff4a16bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 39: 0x7ff4a26d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 40: 0x7ff4a26d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 41: 0x7ff4a26d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 42: 0x7ff4a16c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 43: 0x7ff4a2748583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 44: 0x7ff4a16e5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 45: 0x7ff4a16e4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 46: 0x7ff4a16c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 47: 0x7ff4a16bc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 48: 0x7ff4a26d245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 49: 0x7ff4a1cf160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 50: 0x7ff4a1bfc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 51: 0x7ff4a1bf9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7ff4a16b593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7ff4a24e9c93 - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 54: 0x7ff4a24e9af3 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 55: 0x7ff4a141b189 - >::try_mark_previous_green:: + 56: 0x7ff4a1f8f622 - >::try_mark_green:: + 57: 0x7ff4a1f8f3b1 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt> + 58: 0x7ff4a1f837e7 - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 59: 0x7ff4a1667266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 60: 0x7ff4a17f8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 61: 0x7ff4a1f84d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 62: 0x7ff4a1f84cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 63: 0x7ff4a2748f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 64: 0x7ff4a27489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 65: 0x7ff4a23002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 66: 0x7ff4a2516804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 67: 0x7ff4a2308668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 68: 0x7ff4a2308f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 69: 0x7ff4a230a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 70: 0x7ff49c27dba8 - start_thread + 71: 0x7ff49c301b8c - __GI___clone3 + 72: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::main` +#1 [mir_borrowck] borrow-checking `p2p::main` +#2 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#3 [type_of] computing type of `p2p::main::{opaque#0}` +#4 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#5 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_41_32-71396.txt b/rustc-ice-2025-04-17T21_41_32-71396.txt new file mode 100644 index 0000000..200911b --- /dev/null +++ b/rustc-ice-2025-04-17T21_41_32-71396.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7f834bacc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7f8349ecde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7f8348f5c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7f8349ee77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7f8349ee74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7f8349ee3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7f8349ee719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7f8346889e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7f8347a35c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7f834c047629 - ::ident.cold + 10: 0x7f83490ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7f83490de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7f834909b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7f834b31d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7f834b3186c0 - ::lower_assoc_path_ty + 15: 0x7f834a720ea9 - ::check_struct_path + 16: 0x7f834ae839ed - ::check_pat_inner + 17: 0x7f834b38027e - ::check_expr_with_expectation_and_args + 18: 0x7f834b3739b7 - ::check_expr_block + 19: 0x7f834b37e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7f834b3780df - ::check_expr_if + 21: 0x7f834b380d85 - ::check_expr_with_expectation_and_args + 22: 0x7f834b3739b7 - ::check_expr_block + 23: 0x7f834b37e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7f834b3780df - ::check_expr_if + 25: 0x7f834b380d85 - ::check_expr_with_expectation_and_args + 26: 0x7f834b3739b7 - ::check_expr_block + 27: 0x7f834b3842f6 - ::check_expr_with_expectation_and_args + 28: 0x7f834b3739b7 - ::check_expr_block + 29: 0x7f834b37e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7f834b380e22 - ::check_expr_with_expectation_and_args + 31: 0x7f834b3739b7 - ::check_expr_block + 32: 0x7f834b37e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7f834aea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7f834b311a19 - ::check_expr_closure + 35: 0x7f834b383724 - ::check_expr_with_expectation_and_args + 36: 0x7f834aea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7f834ae8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7f834ae8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7f834a86c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7f834a8688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7f834a945a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7f834a94532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7f834a8b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7f834a8bd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7f834a94a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7f834a60a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7f834a60a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7f834a86c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7f834a8bd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7f834a63622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7f834a635dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7f834a8b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7f834a8b4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7f8347c3256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7f834a942452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7f834addaaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7f834adda245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7f834b84879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7f834b8486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7f834a86c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7f834a8bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7f834b8d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7f834b8d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7f834b8d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7f834a8c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7f834b948583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7f834aec3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7f834b268499 - ::confirm_candidate + 69: 0x7f834b23dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7f834b240ffb - ::evaluate_trait_predicate_recursively + 71: 0x7f834a758a3d - ::evaluate_root_obligation + 72: 0x7f834a756db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7f834a7567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7f834ad7c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7f834ad7b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7f834a9e6d74 - ::evaluate_obligation_no_overflow + 77: 0x7f834afd8662 - ::process_obligation + 78: 0x7f834a607e08 - >::process_obligations:: + 79: 0x7f834a73b8a3 - ::confirm_builtin_call + 80: 0x7f834b37db72 - ::check_expr_with_expectation_and_args + 81: 0x7f834b3738bc - ::check_expr_block + 82: 0x7f834b37e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7f834b380e22 - ::check_expr_with_expectation_and_args + 84: 0x7f834b3739b7 - ::check_expr_block + 85: 0x7f834b37e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7f834aea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7f834b311a19 - ::check_expr_closure + 88: 0x7f834b383724 - ::check_expr_with_expectation_and_args + 89: 0x7f834aea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7f834ae8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7f834ae8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7f834a86c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7f834a86fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7f834ba069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7f834a61b189 - >::try_mark_previous_green:: + 96: 0x7f834a61b0fd - >::try_mark_previous_green:: + 97: 0x7f834a61b0fd - >::try_mark_previous_green:: + 98: 0x7f834a61b0fd - >::try_mark_previous_green:: + 99: 0x7f834a61b0fd - >::try_mark_previous_green:: + 100: 0x7f834a86b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7f834a8bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7f834b8d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7f834b8d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7f834b8d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7f834a8c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7f834b948583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7f834a8e5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7f834a8e4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7f834a8c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7f834a8bc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7f834b8d245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7f834aef160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7f834adfc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7f834adf9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7f834a8b593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7f834a8b50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7f834adf58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7f834adf52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7f834b182dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7f834b18388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7f834a867266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7f834a9f8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7f834b184d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7f834b184cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7f834b948f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7f834b9489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7f834b5002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7f834b716804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7f834b508668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7f834b508f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7f834b50a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7f834547dba8 - start_thread + 133: 0x7f8345501b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_41_32-71397.txt b/rustc-ice-2025-04-17T21_41_32-71397.txt new file mode 100644 index 0000000..7aff18e --- /dev/null +++ b/rustc-ice-2025-04-17T21_41_32-71397.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7fafc72cc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7fafc56cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7fafc475c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7fafc56e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7fafc56e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7fafc56e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7fafc56e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7fafc2089e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7fafc3235c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7fafc7847629 - ::ident.cold + 10: 0x7fafc48ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7fafc48de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7fafc489b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7fafc6b1d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7fafc6b186c0 - ::lower_assoc_path_ty + 15: 0x7fafc5f20ea9 - ::check_struct_path + 16: 0x7fafc66839ed - ::check_pat_inner + 17: 0x7fafc6b8027e - ::check_expr_with_expectation_and_args + 18: 0x7fafc6b739b7 - ::check_expr_block + 19: 0x7fafc6b7e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7fafc6b780df - ::check_expr_if + 21: 0x7fafc6b80d85 - ::check_expr_with_expectation_and_args + 22: 0x7fafc6b739b7 - ::check_expr_block + 23: 0x7fafc6b7e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7fafc6b780df - ::check_expr_if + 25: 0x7fafc6b80d85 - ::check_expr_with_expectation_and_args + 26: 0x7fafc6b739b7 - ::check_expr_block + 27: 0x7fafc6b842f6 - ::check_expr_with_expectation_and_args + 28: 0x7fafc6b739b7 - ::check_expr_block + 29: 0x7fafc6b7e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7fafc6b80e22 - ::check_expr_with_expectation_and_args + 31: 0x7fafc6b739b7 - ::check_expr_block + 32: 0x7fafc6b7e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7fafc66a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7fafc6b11a19 - ::check_expr_closure + 35: 0x7fafc6b83724 - ::check_expr_with_expectation_and_args + 36: 0x7fafc66a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7fafc668feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7fafc668ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7fafc606c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7fafc60688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7fafc6145a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7fafc614532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7fafc60b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7fafc60bd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7fafc614a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7fafc5e0a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7fafc5e0a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7fafc606c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7fafc60bd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7fafc5e3622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7fafc5e35dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7fafc60b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7fafc60b4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7fafc343256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7fafc6142452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7fafc65daaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7fafc65da245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7fafc704879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7fafc70486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7fafc606c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7fafc60bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7fafc70d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7fafc70d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7fafc70d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7fafc60c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7fafc7148583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7fafc66c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7fafc6a68499 - ::confirm_candidate + 69: 0x7fafc6a3dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7fafc6a40ffb - ::evaluate_trait_predicate_recursively + 71: 0x7fafc5f58a3d - ::evaluate_root_obligation + 72: 0x7fafc5f56db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7fafc5f567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7fafc657c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7fafc657b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7fafc61e6d74 - ::evaluate_obligation_no_overflow + 77: 0x7fafc67d8662 - ::process_obligation + 78: 0x7fafc5e07e08 - >::process_obligations:: + 79: 0x7fafc5f3b8a3 - ::confirm_builtin_call + 80: 0x7fafc6b7db72 - ::check_expr_with_expectation_and_args + 81: 0x7fafc6b738bc - ::check_expr_block + 82: 0x7fafc6b7e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7fafc6b80e22 - ::check_expr_with_expectation_and_args + 84: 0x7fafc6b739b7 - ::check_expr_block + 85: 0x7fafc6b7e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7fafc66a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7fafc6b11a19 - ::check_expr_closure + 88: 0x7fafc6b83724 - ::check_expr_with_expectation_and_args + 89: 0x7fafc66a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7fafc668feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7fafc668ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7fafc606c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7fafc606fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7fafc72069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7fafc5e1b189 - >::try_mark_previous_green:: + 96: 0x7fafc5e1b0fd - >::try_mark_previous_green:: + 97: 0x7fafc5e1b0fd - >::try_mark_previous_green:: + 98: 0x7fafc5e1b0fd - >::try_mark_previous_green:: + 99: 0x7fafc5e1b0fd - >::try_mark_previous_green:: + 100: 0x7fafc606b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7fafc60bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7fafc70d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7fafc70d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7fafc70d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7fafc60c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7fafc7148583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7fafc60e5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7fafc60e4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7fafc60c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7fafc60bc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7fafc70d245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7fafc66f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7fafc65fc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7fafc65f9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7fafc60b593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7fafc60b50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7fafc65f58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7fafc65f52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7fafc6982dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7fafc698388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7fafc6067266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7fafc61f8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7fafc6984d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7fafc6984cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7fafc7148f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7fafc71489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7fafc6d002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7fafc6f16804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7fafc6d08668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7fafc6d08f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7fafc6d0a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7fafc0c7dba8 - start_thread + 133: 0x7fafc0d01b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_41_42-71596.txt b/rustc-ice-2025-04-17T21_41_42-71596.txt new file mode 100644 index 0000000..a104d1b --- /dev/null +++ b/rustc-ice-2025-04-17T21_41_42-71596.txt @@ -0,0 +1,156 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7f643e0cc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7f643c4cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7f643b55c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7f643c4e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7f643c4e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7f643c4e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7f643c4e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7f6438e89e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7f643a035c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7f643e647629 - ::ident.cold + 10: 0x7f643b6ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7f643b6de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7f643b69b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7f643d91d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7f643d9186c0 - ::lower_assoc_path_ty + 15: 0x7f643cd20ea9 - ::check_struct_path + 16: 0x7f643d4839ed - ::check_pat_inner + 17: 0x7f643d98027e - ::check_expr_with_expectation_and_args + 18: 0x7f643d9739b7 - ::check_expr_block + 19: 0x7f643d97e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7f643d9780df - ::check_expr_if + 21: 0x7f643d980d85 - ::check_expr_with_expectation_and_args + 22: 0x7f643d9739b7 - ::check_expr_block + 23: 0x7f643d9842f6 - ::check_expr_with_expectation_and_args + 24: 0x7f643d9739b7 - ::check_expr_block + 25: 0x7f643d97e6b2 - ::check_expr_with_expectation_and_args + 26: 0x7f643d980e22 - ::check_expr_with_expectation_and_args + 27: 0x7f643d9739b7 - ::check_expr_block + 28: 0x7f643d97e6b2 - ::check_expr_with_expectation_and_args + 29: 0x7f643d4a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 30: 0x7f643d911a19 - ::check_expr_closure + 31: 0x7f643d983724 - ::check_expr_with_expectation_and_args + 32: 0x7f643d4a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 33: 0x7f643d48feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 34: 0x7f643d48ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 35: 0x7f643ce6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 36: 0x7f643ce688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 37: 0x7f643cf45a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 38: 0x7f643cf4532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7f643ceb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7f643cebd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 41: 0x7f643cf4a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 42: 0x7f643cc0a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 43: 0x7f643cc0a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 44: 0x7f643ce6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 45: 0x7f643cebd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 46: 0x7f643cc3622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 47: 0x7f643cc35dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7f643ceb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7f643ceb4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 50: 0x7f643a23256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 51: 0x7f643cf42452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7f643d3daaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7f643d3da245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 54: 0x7f643de4879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 55: 0x7f643de486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7f643ce6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7f643cebd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 58: 0x7f643ded1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 59: 0x7f643ded1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 60: 0x7f643ded1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 61: 0x7f643cec098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 62: 0x7f643df48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 63: 0x7f643d4c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 64: 0x7f643d868499 - ::confirm_candidate + 65: 0x7f643d83dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 66: 0x7f643d840ffb - ::evaluate_trait_predicate_recursively + 67: 0x7f643cd58a3d - ::evaluate_root_obligation + 68: 0x7f643cd56db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 69: 0x7f643cd567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 70: 0x7f643d37c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 71: 0x7f643d37b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 72: 0x7f643cfe6d74 - ::evaluate_obligation_no_overflow + 73: 0x7f643d5d8662 - ::process_obligation + 74: 0x7f643cc07e08 - >::process_obligations:: + 75: 0x7f643cd3b8a3 - ::confirm_builtin_call + 76: 0x7f643d97db72 - ::check_expr_with_expectation_and_args + 77: 0x7f643d9738bc - ::check_expr_block + 78: 0x7f643d97e6b2 - ::check_expr_with_expectation_and_args + 79: 0x7f643d980e22 - ::check_expr_with_expectation_and_args + 80: 0x7f643d9739b7 - ::check_expr_block + 81: 0x7f643d97e6b2 - ::check_expr_with_expectation_and_args + 82: 0x7f643d4a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 83: 0x7f643d911a19 - ::check_expr_closure + 84: 0x7f643d983724 - ::check_expr_with_expectation_and_args + 85: 0x7f643d4a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 86: 0x7f643d48feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 87: 0x7f643d48ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 88: 0x7f643ce6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 89: 0x7f643ce6fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 90: 0x7f643e0069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 91: 0x7f643cc1b189 - >::try_mark_previous_green:: + 92: 0x7f643cc1b0fd - >::try_mark_previous_green:: + 93: 0x7f643cc1b0fd - >::try_mark_previous_green:: + 94: 0x7f643cc1b0fd - >::try_mark_previous_green:: + 95: 0x7f643cc1b0fd - >::try_mark_previous_green:: + 96: 0x7f643ce6b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 97: 0x7f643cebd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 98: 0x7f643ded1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 99: 0x7f643ded1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 100: 0x7f643ded1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 101: 0x7f643cec098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 102: 0x7f643df48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 103: 0x7f643cee5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 104: 0x7f643cee4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7f643cec098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7f643cebc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 107: 0x7f643ded245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 108: 0x7f643d4f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 109: 0x7f643d3fc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 110: 0x7f643d3f9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 111: 0x7f643ceb593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 112: 0x7f643ceb50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 113: 0x7f643d3f58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 114: 0x7f643d3f52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7f643d782dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7f643d78388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 117: 0x7f643ce67266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 118: 0x7f643cff8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 119: 0x7f643d784d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 120: 0x7f643d784cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 121: 0x7f643df48f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 122: 0x7f643df489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 123: 0x7f643db002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 124: 0x7f643dd16804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 125: 0x7f643db08668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 126: 0x7f643db08f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 127: 0x7f643db0a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 128: 0x7f6437a7dba8 - start_thread + 129: 0x7f6437b01b8c - __GI___clone3 + 130: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_41_42-71597.txt b/rustc-ice-2025-04-17T21_41_42-71597.txt new file mode 100644 index 0000000..9ad25fd --- /dev/null +++ b/rustc-ice-2025-04-17T21_41_42-71597.txt @@ -0,0 +1,156 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7fd3d72cc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7fd3d56cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7fd3d475c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7fd3d56e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7fd3d56e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7fd3d56e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7fd3d56e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7fd3d2089e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7fd3d3235c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7fd3d7847629 - ::ident.cold + 10: 0x7fd3d48ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7fd3d48de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7fd3d489b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7fd3d6b1d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7fd3d6b186c0 - ::lower_assoc_path_ty + 15: 0x7fd3d5f20ea9 - ::check_struct_path + 16: 0x7fd3d66839ed - ::check_pat_inner + 17: 0x7fd3d6b8027e - ::check_expr_with_expectation_and_args + 18: 0x7fd3d6b739b7 - ::check_expr_block + 19: 0x7fd3d6b7e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7fd3d6b780df - ::check_expr_if + 21: 0x7fd3d6b80d85 - ::check_expr_with_expectation_and_args + 22: 0x7fd3d6b739b7 - ::check_expr_block + 23: 0x7fd3d6b842f6 - ::check_expr_with_expectation_and_args + 24: 0x7fd3d6b739b7 - ::check_expr_block + 25: 0x7fd3d6b7e6b2 - ::check_expr_with_expectation_and_args + 26: 0x7fd3d6b80e22 - ::check_expr_with_expectation_and_args + 27: 0x7fd3d6b739b7 - ::check_expr_block + 28: 0x7fd3d6b7e6b2 - ::check_expr_with_expectation_and_args + 29: 0x7fd3d66a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 30: 0x7fd3d6b11a19 - ::check_expr_closure + 31: 0x7fd3d6b83724 - ::check_expr_with_expectation_and_args + 32: 0x7fd3d66a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 33: 0x7fd3d668feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 34: 0x7fd3d668ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 35: 0x7fd3d606c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 36: 0x7fd3d60688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 37: 0x7fd3d6145a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 38: 0x7fd3d614532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7fd3d60b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7fd3d60bd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 41: 0x7fd3d614a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 42: 0x7fd3d5e0a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 43: 0x7fd3d5e0a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 44: 0x7fd3d606c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 45: 0x7fd3d60bd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 46: 0x7fd3d5e3622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 47: 0x7fd3d5e35dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7fd3d60b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7fd3d60b4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 50: 0x7fd3d343256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 51: 0x7fd3d6142452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7fd3d65daaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7fd3d65da245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 54: 0x7fd3d704879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 55: 0x7fd3d70486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7fd3d606c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7fd3d60bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 58: 0x7fd3d70d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 59: 0x7fd3d70d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 60: 0x7fd3d70d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 61: 0x7fd3d60c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 62: 0x7fd3d7148583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 63: 0x7fd3d66c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 64: 0x7fd3d6a68499 - ::confirm_candidate + 65: 0x7fd3d6a3dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 66: 0x7fd3d6a40ffb - ::evaluate_trait_predicate_recursively + 67: 0x7fd3d5f58a3d - ::evaluate_root_obligation + 68: 0x7fd3d5f56db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 69: 0x7fd3d5f567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 70: 0x7fd3d657c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 71: 0x7fd3d657b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 72: 0x7fd3d61e6d74 - ::evaluate_obligation_no_overflow + 73: 0x7fd3d67d8662 - ::process_obligation + 74: 0x7fd3d5e07e08 - >::process_obligations:: + 75: 0x7fd3d5f3b8a3 - ::confirm_builtin_call + 76: 0x7fd3d6b7db72 - ::check_expr_with_expectation_and_args + 77: 0x7fd3d6b738bc - ::check_expr_block + 78: 0x7fd3d6b7e6b2 - ::check_expr_with_expectation_and_args + 79: 0x7fd3d6b80e22 - ::check_expr_with_expectation_and_args + 80: 0x7fd3d6b739b7 - ::check_expr_block + 81: 0x7fd3d6b7e6b2 - ::check_expr_with_expectation_and_args + 82: 0x7fd3d66a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 83: 0x7fd3d6b11a19 - ::check_expr_closure + 84: 0x7fd3d6b83724 - ::check_expr_with_expectation_and_args + 85: 0x7fd3d66a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 86: 0x7fd3d668feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 87: 0x7fd3d668ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 88: 0x7fd3d606c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 89: 0x7fd3d606fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 90: 0x7fd3d72069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 91: 0x7fd3d5e1b189 - >::try_mark_previous_green:: + 92: 0x7fd3d5e1b0fd - >::try_mark_previous_green:: + 93: 0x7fd3d5e1b0fd - >::try_mark_previous_green:: + 94: 0x7fd3d5e1b0fd - >::try_mark_previous_green:: + 95: 0x7fd3d5e1b0fd - >::try_mark_previous_green:: + 96: 0x7fd3d606b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 97: 0x7fd3d60bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 98: 0x7fd3d70d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 99: 0x7fd3d70d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 100: 0x7fd3d70d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 101: 0x7fd3d60c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 102: 0x7fd3d7148583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 103: 0x7fd3d60e5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 104: 0x7fd3d60e4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7fd3d60c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7fd3d60bc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 107: 0x7fd3d70d245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 108: 0x7fd3d66f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 109: 0x7fd3d65fc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 110: 0x7fd3d65f9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 111: 0x7fd3d60b593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 112: 0x7fd3d60b50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 113: 0x7fd3d65f58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 114: 0x7fd3d65f52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7fd3d6982dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7fd3d698388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 117: 0x7fd3d6067266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 118: 0x7fd3d61f8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 119: 0x7fd3d6984d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 120: 0x7fd3d6984cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 121: 0x7fd3d7148f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 122: 0x7fd3d71489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 123: 0x7fd3d6d002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 124: 0x7fd3d6f16804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 125: 0x7fd3d6d08668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 126: 0x7fd3d6d08f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 127: 0x7fd3d6d0a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 128: 0x7fd3d0c7dba8 - start_thread + 129: 0x7fd3d0d01b8c - __GI___clone3 + 130: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_41_44-71718.txt b/rustc-ice-2025-04-17T21_41_44-71718.txt new file mode 100644 index 0000000..0d7e53a --- /dev/null +++ b/rustc-ice-2025-04-17T21_41_44-71718.txt @@ -0,0 +1,156 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7fd6458cc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7fd643ccde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7fd642d5c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7fd643ce77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7fd643ce74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7fd643ce3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7fd643ce719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7fd640689e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7fd641835c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7fd645e47629 - ::ident.cold + 10: 0x7fd642eac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7fd642ede49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7fd642e9b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7fd64511d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7fd6451186c0 - ::lower_assoc_path_ty + 15: 0x7fd644520ea9 - ::check_struct_path + 16: 0x7fd644c839ed - ::check_pat_inner + 17: 0x7fd64518027e - ::check_expr_with_expectation_and_args + 18: 0x7fd6451739b7 - ::check_expr_block + 19: 0x7fd64517e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7fd6451780df - ::check_expr_if + 21: 0x7fd645180d85 - ::check_expr_with_expectation_and_args + 22: 0x7fd6451739b7 - ::check_expr_block + 23: 0x7fd6451842f6 - ::check_expr_with_expectation_and_args + 24: 0x7fd6451739b7 - ::check_expr_block + 25: 0x7fd64517e6b2 - ::check_expr_with_expectation_and_args + 26: 0x7fd645180e22 - ::check_expr_with_expectation_and_args + 27: 0x7fd6451739b7 - ::check_expr_block + 28: 0x7fd64517e6b2 - ::check_expr_with_expectation_and_args + 29: 0x7fd644ca293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 30: 0x7fd645111a19 - ::check_expr_closure + 31: 0x7fd645183724 - ::check_expr_with_expectation_and_args + 32: 0x7fd644ca293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 33: 0x7fd644c8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 34: 0x7fd644c8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 35: 0x7fd64466c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 36: 0x7fd6446688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 37: 0x7fd644745a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 38: 0x7fd64474532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7fd6446b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7fd6446bd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 41: 0x7fd64474a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 42: 0x7fd64440a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 43: 0x7fd64440a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 44: 0x7fd64466c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 45: 0x7fd6446bd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 46: 0x7fd64443622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 47: 0x7fd644435dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7fd6446b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7fd6446b4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 50: 0x7fd641a3256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 51: 0x7fd644742452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7fd644bdaaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7fd644bda245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 54: 0x7fd64564879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 55: 0x7fd6456486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7fd64466c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7fd6446bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 58: 0x7fd6456d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 59: 0x7fd6456d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 60: 0x7fd6456d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 61: 0x7fd6446c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 62: 0x7fd645748583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 63: 0x7fd644cc3e15 - ::confirm_auto_impl_candidate::{closure#0} + 64: 0x7fd645068499 - ::confirm_candidate + 65: 0x7fd64503dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 66: 0x7fd645040ffb - ::evaluate_trait_predicate_recursively + 67: 0x7fd644558a3d - ::evaluate_root_obligation + 68: 0x7fd644556db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 69: 0x7fd6445567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 70: 0x7fd644b7c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 71: 0x7fd644b7b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 72: 0x7fd6447e6d74 - ::evaluate_obligation_no_overflow + 73: 0x7fd644dd8662 - ::process_obligation + 74: 0x7fd644407e08 - >::process_obligations:: + 75: 0x7fd64453b8a3 - ::confirm_builtin_call + 76: 0x7fd64517db72 - ::check_expr_with_expectation_and_args + 77: 0x7fd6451738bc - ::check_expr_block + 78: 0x7fd64517e6b2 - ::check_expr_with_expectation_and_args + 79: 0x7fd645180e22 - ::check_expr_with_expectation_and_args + 80: 0x7fd6451739b7 - ::check_expr_block + 81: 0x7fd64517e6b2 - ::check_expr_with_expectation_and_args + 82: 0x7fd644ca293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 83: 0x7fd645111a19 - ::check_expr_closure + 84: 0x7fd645183724 - ::check_expr_with_expectation_and_args + 85: 0x7fd644ca293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 86: 0x7fd644c8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 87: 0x7fd644c8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 88: 0x7fd64466c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 89: 0x7fd64466fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 90: 0x7fd6458069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 91: 0x7fd64441b189 - >::try_mark_previous_green:: + 92: 0x7fd64441b0fd - >::try_mark_previous_green:: + 93: 0x7fd64441b0fd - >::try_mark_previous_green:: + 94: 0x7fd64441b0fd - >::try_mark_previous_green:: + 95: 0x7fd64441b0fd - >::try_mark_previous_green:: + 96: 0x7fd64466b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 97: 0x7fd6446bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 98: 0x7fd6456d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 99: 0x7fd6456d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 100: 0x7fd6456d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 101: 0x7fd6446c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 102: 0x7fd645748583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 103: 0x7fd6446e5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 104: 0x7fd6446e4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7fd6446c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7fd6446bc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 107: 0x7fd6456d245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 108: 0x7fd644cf160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 109: 0x7fd644bfc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 110: 0x7fd644bf9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 111: 0x7fd6446b593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 112: 0x7fd6446b50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 113: 0x7fd644bf58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 114: 0x7fd644bf52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7fd644f82dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7fd644f8388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 117: 0x7fd644667266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 118: 0x7fd6447f8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 119: 0x7fd644f84d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 120: 0x7fd644f84cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 121: 0x7fd645748f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 122: 0x7fd6457489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 123: 0x7fd6453002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 124: 0x7fd645516804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 125: 0x7fd645308668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 126: 0x7fd645308f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 127: 0x7fd64530a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 128: 0x7fd63f27dba8 - start_thread + 129: 0x7fd63f301b8c - __GI___clone3 + 130: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_41_44-71719.txt b/rustc-ice-2025-04-17T21_41_44-71719.txt new file mode 100644 index 0000000..0852cf1 --- /dev/null +++ b/rustc-ice-2025-04-17T21_41_44-71719.txt @@ -0,0 +1,156 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7fbc532cc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7fbc516cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7fbc5075c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7fbc516e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7fbc516e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7fbc516e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7fbc516e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7fbc4e089e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7fbc4f235c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7fbc53847629 - ::ident.cold + 10: 0x7fbc508ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7fbc508de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7fbc5089b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7fbc52b1d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7fbc52b186c0 - ::lower_assoc_path_ty + 15: 0x7fbc51f20ea9 - ::check_struct_path + 16: 0x7fbc526839ed - ::check_pat_inner + 17: 0x7fbc52b8027e - ::check_expr_with_expectation_and_args + 18: 0x7fbc52b739b7 - ::check_expr_block + 19: 0x7fbc52b7e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7fbc52b780df - ::check_expr_if + 21: 0x7fbc52b80d85 - ::check_expr_with_expectation_and_args + 22: 0x7fbc52b739b7 - ::check_expr_block + 23: 0x7fbc52b842f6 - ::check_expr_with_expectation_and_args + 24: 0x7fbc52b739b7 - ::check_expr_block + 25: 0x7fbc52b7e6b2 - ::check_expr_with_expectation_and_args + 26: 0x7fbc52b80e22 - ::check_expr_with_expectation_and_args + 27: 0x7fbc52b739b7 - ::check_expr_block + 28: 0x7fbc52b7e6b2 - ::check_expr_with_expectation_and_args + 29: 0x7fbc526a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 30: 0x7fbc52b11a19 - ::check_expr_closure + 31: 0x7fbc52b83724 - ::check_expr_with_expectation_and_args + 32: 0x7fbc526a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 33: 0x7fbc5268feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 34: 0x7fbc5268ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 35: 0x7fbc5206c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 36: 0x7fbc520688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 37: 0x7fbc52145a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 38: 0x7fbc5214532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7fbc520b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7fbc520bd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 41: 0x7fbc5214a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 42: 0x7fbc51e0a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 43: 0x7fbc51e0a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 44: 0x7fbc5206c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 45: 0x7fbc520bd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 46: 0x7fbc51e3622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 47: 0x7fbc51e35dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7fbc520b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7fbc520b4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 50: 0x7fbc4f43256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 51: 0x7fbc52142452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7fbc525daaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7fbc525da245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 54: 0x7fbc5304879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 55: 0x7fbc530486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7fbc5206c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7fbc520bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 58: 0x7fbc530d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 59: 0x7fbc530d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 60: 0x7fbc530d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 61: 0x7fbc520c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 62: 0x7fbc53148583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 63: 0x7fbc526c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 64: 0x7fbc52a68499 - ::confirm_candidate + 65: 0x7fbc52a3dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 66: 0x7fbc52a40ffb - ::evaluate_trait_predicate_recursively + 67: 0x7fbc51f58a3d - ::evaluate_root_obligation + 68: 0x7fbc51f56db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 69: 0x7fbc51f567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 70: 0x7fbc5257c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 71: 0x7fbc5257b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 72: 0x7fbc521e6d74 - ::evaluate_obligation_no_overflow + 73: 0x7fbc527d8662 - ::process_obligation + 74: 0x7fbc51e07e08 - >::process_obligations:: + 75: 0x7fbc51f3b8a3 - ::confirm_builtin_call + 76: 0x7fbc52b7db72 - ::check_expr_with_expectation_and_args + 77: 0x7fbc52b738bc - ::check_expr_block + 78: 0x7fbc52b7e6b2 - ::check_expr_with_expectation_and_args + 79: 0x7fbc52b80e22 - ::check_expr_with_expectation_and_args + 80: 0x7fbc52b739b7 - ::check_expr_block + 81: 0x7fbc52b7e6b2 - ::check_expr_with_expectation_and_args + 82: 0x7fbc526a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 83: 0x7fbc52b11a19 - ::check_expr_closure + 84: 0x7fbc52b83724 - ::check_expr_with_expectation_and_args + 85: 0x7fbc526a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 86: 0x7fbc5268feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 87: 0x7fbc5268ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 88: 0x7fbc5206c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 89: 0x7fbc5206fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 90: 0x7fbc532069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 91: 0x7fbc51e1b189 - >::try_mark_previous_green:: + 92: 0x7fbc51e1b0fd - >::try_mark_previous_green:: + 93: 0x7fbc51e1b0fd - >::try_mark_previous_green:: + 94: 0x7fbc51e1b0fd - >::try_mark_previous_green:: + 95: 0x7fbc51e1b0fd - >::try_mark_previous_green:: + 96: 0x7fbc5206b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 97: 0x7fbc520bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 98: 0x7fbc530d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 99: 0x7fbc530d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 100: 0x7fbc530d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 101: 0x7fbc520c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 102: 0x7fbc53148583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 103: 0x7fbc520e5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 104: 0x7fbc520e4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7fbc520c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7fbc520bc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 107: 0x7fbc530d245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 108: 0x7fbc526f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 109: 0x7fbc525fc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 110: 0x7fbc525f9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 111: 0x7fbc520b593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 112: 0x7fbc520b50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 113: 0x7fbc525f58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 114: 0x7fbc525f52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7fbc52982dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7fbc5298388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 117: 0x7fbc52067266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 118: 0x7fbc521f8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 119: 0x7fbc52984d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 120: 0x7fbc52984cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 121: 0x7fbc53148f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 122: 0x7fbc531489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 123: 0x7fbc52d002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 124: 0x7fbc52f16804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 125: 0x7fbc52d08668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 126: 0x7fbc52d08f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 127: 0x7fbc52d0a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 128: 0x7fbc4cc78ba8 - start_thread + 129: 0x7fbc4ccfcb8c - __GI___clone3 + 130: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_42_01-72043.txt b/rustc-ice-2025-04-17T21_42_01-72043.txt new file mode 100644 index 0000000..266c642 --- /dev/null +++ b/rustc-ice-2025-04-17T21_42_01-72043.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7fe75c4cc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7fe75a8cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7fe75995c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7fe75a8e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7fe75a8e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7fe75a8e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7fe75a8e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7fe757289e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7fe758435c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7fe75ca47629 - ::ident.cold + 10: 0x7fe759aac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7fe759ade49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7fe759a9b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7fe75bd1d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7fe75bd186c0 - ::lower_assoc_path_ty + 15: 0x7fe75b120ea9 - ::check_struct_path + 16: 0x7fe75b8839ed - ::check_pat_inner + 17: 0x7fe75bd8027e - ::check_expr_with_expectation_and_args + 18: 0x7fe75bd739b7 - ::check_expr_block + 19: 0x7fe75bd7e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7fe75bd780df - ::check_expr_if + 21: 0x7fe75bd80d85 - ::check_expr_with_expectation_and_args + 22: 0x7fe75bd739b7 - ::check_expr_block + 23: 0x7fe75bd7e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7fe75bd780df - ::check_expr_if + 25: 0x7fe75bd80d85 - ::check_expr_with_expectation_and_args + 26: 0x7fe75bd739b7 - ::check_expr_block + 27: 0x7fe75bd842f6 - ::check_expr_with_expectation_and_args + 28: 0x7fe75bd739b7 - ::check_expr_block + 29: 0x7fe75bd7e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7fe75bd80e22 - ::check_expr_with_expectation_and_args + 31: 0x7fe75bd739b7 - ::check_expr_block + 32: 0x7fe75bd7e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7fe75b8a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7fe75bd11a19 - ::check_expr_closure + 35: 0x7fe75bd83724 - ::check_expr_with_expectation_and_args + 36: 0x7fe75b8a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7fe75b88feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7fe75b88ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7fe75b26c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7fe75b2688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7fe75b345a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7fe75b34532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7fe75b2b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7fe75b2bd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7fe75b34a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7fe75b00a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7fe75b00a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7fe75b26c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7fe75b2bd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7fe75b03622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7fe75b035dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7fe75b2b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7fe75b2b4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7fe75863256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7fe75b342452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7fe75b7daaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7fe75b7da245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7fe75c24879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7fe75c2486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7fe75b26c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7fe75b2bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7fe75c2d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7fe75c2d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7fe75c2d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7fe75b2c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7fe75c348583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7fe75b8c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7fe75bc68499 - ::confirm_candidate + 69: 0x7fe75bc3dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7fe75bc40ffb - ::evaluate_trait_predicate_recursively + 71: 0x7fe75b158a3d - ::evaluate_root_obligation + 72: 0x7fe75b156db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7fe75b1567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7fe75b77c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7fe75b77b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7fe75b3e6d74 - ::evaluate_obligation_no_overflow + 77: 0x7fe75b9d8662 - ::process_obligation + 78: 0x7fe75b007e08 - >::process_obligations:: + 79: 0x7fe75b13b8a3 - ::confirm_builtin_call + 80: 0x7fe75bd7db72 - ::check_expr_with_expectation_and_args + 81: 0x7fe75bd738bc - ::check_expr_block + 82: 0x7fe75bd7e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7fe75bd80e22 - ::check_expr_with_expectation_and_args + 84: 0x7fe75bd739b7 - ::check_expr_block + 85: 0x7fe75bd7e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7fe75b8a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7fe75bd11a19 - ::check_expr_closure + 88: 0x7fe75bd83724 - ::check_expr_with_expectation_and_args + 89: 0x7fe75b8a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7fe75b88feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7fe75b88ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7fe75b26c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7fe75b26fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7fe75c4069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7fe75b01b189 - >::try_mark_previous_green:: + 96: 0x7fe75b01b0fd - >::try_mark_previous_green:: + 97: 0x7fe75b01b0fd - >::try_mark_previous_green:: + 98: 0x7fe75b01b0fd - >::try_mark_previous_green:: + 99: 0x7fe75b01b0fd - >::try_mark_previous_green:: + 100: 0x7fe75b26b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7fe75b2bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7fe75c2d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7fe75c2d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7fe75c2d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7fe75b2c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7fe75c348583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7fe75b2e5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7fe75b2e4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7fe75b2c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7fe75b2bc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7fe75c2d245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7fe75b8f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7fe75b7fc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7fe75b7f9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7fe75b2b593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7fe75b2b50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7fe75b7f58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7fe75b7f52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7fe75bb82dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7fe75bb8388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7fe75b267266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7fe75b3f8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7fe75bb84d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7fe75bb84cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7fe75c348f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7fe75c3489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7fe75bf002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7fe75c116804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7fe75bf08668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7fe75bf08f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7fe75bf0a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7fe755e7dba8 - start_thread + 133: 0x7fe755f01b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_42_01-72044.txt b/rustc-ice-2025-04-17T21_42_01-72044.txt new file mode 100644 index 0000000..6c7f5b8 --- /dev/null +++ b/rustc-ice-2025-04-17T21_42_01-72044.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7f96c0ccc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7f96bf0cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7f96be15c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7f96bf0e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7f96bf0e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7f96bf0e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7f96bf0e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7f96bba89e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7f96bcc35c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7f96c1247629 - ::ident.cold + 10: 0x7f96be2ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7f96be2de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7f96be29b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7f96c051d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7f96c05186c0 - ::lower_assoc_path_ty + 15: 0x7f96bf920ea9 - ::check_struct_path + 16: 0x7f96c00839ed - ::check_pat_inner + 17: 0x7f96c058027e - ::check_expr_with_expectation_and_args + 18: 0x7f96c05739b7 - ::check_expr_block + 19: 0x7f96c057e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7f96c05780df - ::check_expr_if + 21: 0x7f96c0580d85 - ::check_expr_with_expectation_and_args + 22: 0x7f96c05739b7 - ::check_expr_block + 23: 0x7f96c057e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7f96c05780df - ::check_expr_if + 25: 0x7f96c0580d85 - ::check_expr_with_expectation_and_args + 26: 0x7f96c05739b7 - ::check_expr_block + 27: 0x7f96c05842f6 - ::check_expr_with_expectation_and_args + 28: 0x7f96c05739b7 - ::check_expr_block + 29: 0x7f96c057e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7f96c0580e22 - ::check_expr_with_expectation_and_args + 31: 0x7f96c05739b7 - ::check_expr_block + 32: 0x7f96c057e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7f96c00a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7f96c0511a19 - ::check_expr_closure + 35: 0x7f96c0583724 - ::check_expr_with_expectation_and_args + 36: 0x7f96c00a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7f96c008feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7f96c008ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7f96bfa6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7f96bfa688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7f96bfb45a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7f96bfb4532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7f96bfab55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7f96bfabd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7f96bfb4a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7f96bf80a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7f96bf80a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7f96bfa6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7f96bfabd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7f96bf83622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7f96bf835dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7f96bfab55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7f96bfab4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7f96bce3256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7f96bfb42452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7f96bffdaaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7f96bffda245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7f96c0a4879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7f96c0a486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7f96bfa6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7f96bfabd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7f96c0ad1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7f96c0ad1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7f96c0ad1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7f96bfac098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7f96c0b48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7f96c00c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7f96c0468499 - ::confirm_candidate + 69: 0x7f96c043dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7f96c0440ffb - ::evaluate_trait_predicate_recursively + 71: 0x7f96bf958a3d - ::evaluate_root_obligation + 72: 0x7f96bf956db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7f96bf9567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7f96bff7c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7f96bff7b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7f96bfbe6d74 - ::evaluate_obligation_no_overflow + 77: 0x7f96c01d8662 - ::process_obligation + 78: 0x7f96bf807e08 - >::process_obligations:: + 79: 0x7f96bf93b8a3 - ::confirm_builtin_call + 80: 0x7f96c057db72 - ::check_expr_with_expectation_and_args + 81: 0x7f96c05738bc - ::check_expr_block + 82: 0x7f96c057e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7f96c0580e22 - ::check_expr_with_expectation_and_args + 84: 0x7f96c05739b7 - ::check_expr_block + 85: 0x7f96c057e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7f96c00a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7f96c0511a19 - ::check_expr_closure + 88: 0x7f96c0583724 - ::check_expr_with_expectation_and_args + 89: 0x7f96c00a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7f96c008feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7f96c008ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7f96bfa6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7f96bfa6fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7f96c0c069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7f96bf81b189 - >::try_mark_previous_green:: + 96: 0x7f96bf81b0fd - >::try_mark_previous_green:: + 97: 0x7f96bf81b0fd - >::try_mark_previous_green:: + 98: 0x7f96bf81b0fd - >::try_mark_previous_green:: + 99: 0x7f96bf81b0fd - >::try_mark_previous_green:: + 100: 0x7f96bfa6b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7f96bfabd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7f96c0ad1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7f96c0ad1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7f96c0ad1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7f96bfac098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7f96c0b48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7f96bfae5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7f96bfae4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7f96bfac098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7f96bfabc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7f96c0ad245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7f96c00f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7f96bfffc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7f96bfff9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7f96bfab593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7f96bfab50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7f96bfff58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7f96bfff52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7f96c0382dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7f96c038388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7f96bfa67266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7f96bfbf8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7f96c0384d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7f96c0384cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7f96c0b48f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7f96c0b489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7f96c07002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7f96c0916804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7f96c0708668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7f96c0708f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7f96c070a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7f96ba67dba8 - start_thread + 133: 0x7f96ba701b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_42_03-72144.txt b/rustc-ice-2025-04-17T21_42_03-72144.txt new file mode 100644 index 0000000..2466b64 --- /dev/null +++ b/rustc-ice-2025-04-17T21_42_03-72144.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7fb268ecc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7fb2672cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7fb26635c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7fb2672e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7fb2672e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7fb2672e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7fb2672e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7fb263c89e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7fb264e35c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7fb269447629 - ::ident.cold + 10: 0x7fb2664ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7fb2664de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7fb26649b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7fb26871d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7fb2687186c0 - ::lower_assoc_path_ty + 15: 0x7fb267b20ea9 - ::check_struct_path + 16: 0x7fb2682839ed - ::check_pat_inner + 17: 0x7fb26878027e - ::check_expr_with_expectation_and_args + 18: 0x7fb2687739b7 - ::check_expr_block + 19: 0x7fb26877e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7fb2687780df - ::check_expr_if + 21: 0x7fb268780d85 - ::check_expr_with_expectation_and_args + 22: 0x7fb2687739b7 - ::check_expr_block + 23: 0x7fb26877e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7fb2687780df - ::check_expr_if + 25: 0x7fb268780d85 - ::check_expr_with_expectation_and_args + 26: 0x7fb2687739b7 - ::check_expr_block + 27: 0x7fb2687842f6 - ::check_expr_with_expectation_and_args + 28: 0x7fb2687739b7 - ::check_expr_block + 29: 0x7fb26877e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7fb268780e22 - ::check_expr_with_expectation_and_args + 31: 0x7fb2687739b7 - ::check_expr_block + 32: 0x7fb26877e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7fb2682a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7fb268711a19 - ::check_expr_closure + 35: 0x7fb268783724 - ::check_expr_with_expectation_and_args + 36: 0x7fb2682a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7fb26828feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7fb26828ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7fb267c6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7fb267c688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7fb267d45a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7fb267d4532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7fb267cb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7fb267cbd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7fb267d4a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7fb267a0a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7fb267a0a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7fb267c6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7fb267cbd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7fb267a3622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7fb267a35dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7fb267cb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7fb267cb4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7fb26503256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7fb267d42452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7fb2681daaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7fb2681da245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7fb268c4879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7fb268c486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7fb267c6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7fb267cbd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7fb268cd1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7fb268cd1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7fb268cd1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7fb267cc098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7fb268d48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7fb2682c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7fb268668499 - ::confirm_candidate + 69: 0x7fb26863dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7fb268640ffb - ::evaluate_trait_predicate_recursively + 71: 0x7fb267b58a3d - ::evaluate_root_obligation + 72: 0x7fb267b56db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7fb267b567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7fb26817c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7fb26817b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7fb267de6d74 - ::evaluate_obligation_no_overflow + 77: 0x7fb2683d8662 - ::process_obligation + 78: 0x7fb267a07e08 - >::process_obligations:: + 79: 0x7fb267b3b8a3 - ::confirm_builtin_call + 80: 0x7fb26877db72 - ::check_expr_with_expectation_and_args + 81: 0x7fb2687738bc - ::check_expr_block + 82: 0x7fb26877e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7fb268780e22 - ::check_expr_with_expectation_and_args + 84: 0x7fb2687739b7 - ::check_expr_block + 85: 0x7fb26877e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7fb2682a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7fb268711a19 - ::check_expr_closure + 88: 0x7fb268783724 - ::check_expr_with_expectation_and_args + 89: 0x7fb2682a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7fb26828feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7fb26828ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7fb267c6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7fb267c6fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7fb268e069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7fb267a1b189 - >::try_mark_previous_green:: + 96: 0x7fb267a1b0fd - >::try_mark_previous_green:: + 97: 0x7fb267a1b0fd - >::try_mark_previous_green:: + 98: 0x7fb267a1b0fd - >::try_mark_previous_green:: + 99: 0x7fb267a1b0fd - >::try_mark_previous_green:: + 100: 0x7fb267c6b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7fb267cbd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7fb268cd1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7fb268cd1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7fb268cd1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7fb267cc098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7fb268d48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7fb267ce5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7fb267ce4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7fb267cc098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7fb267cbc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7fb268cd245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7fb2682f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7fb2681fc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7fb2681f9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7fb267cb593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7fb267cb50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7fb2681f58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7fb2681f52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7fb268582dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7fb26858388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7fb267c67266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7fb267df8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7fb268584d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7fb268584cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7fb268d48f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7fb268d489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7fb2689002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7fb268b16804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7fb268908668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7fb268908f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7fb26890a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7fb262855ba8 - start_thread + 133: 0x7fb2628d9b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_42_03-72145.txt b/rustc-ice-2025-04-17T21_42_03-72145.txt new file mode 100644 index 0000000..7846a77 --- /dev/null +++ b/rustc-ice-2025-04-17T21_42_03-72145.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7f4302acc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7f4300ecde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7f42fff5c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7f4300ee77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7f4300ee74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7f4300ee3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7f4300ee719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7f42fd889e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7f42fea35c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7f4303047629 - ::ident.cold + 10: 0x7f43000ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7f43000de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7f430009b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7f430231d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7f43023186c0 - ::lower_assoc_path_ty + 15: 0x7f4301720ea9 - ::check_struct_path + 16: 0x7f4301e839ed - ::check_pat_inner + 17: 0x7f430238027e - ::check_expr_with_expectation_and_args + 18: 0x7f43023739b7 - ::check_expr_block + 19: 0x7f430237e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7f43023780df - ::check_expr_if + 21: 0x7f4302380d85 - ::check_expr_with_expectation_and_args + 22: 0x7f43023739b7 - ::check_expr_block + 23: 0x7f430237e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7f43023780df - ::check_expr_if + 25: 0x7f4302380d85 - ::check_expr_with_expectation_and_args + 26: 0x7f43023739b7 - ::check_expr_block + 27: 0x7f43023842f6 - ::check_expr_with_expectation_and_args + 28: 0x7f43023739b7 - ::check_expr_block + 29: 0x7f430237e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7f4302380e22 - ::check_expr_with_expectation_and_args + 31: 0x7f43023739b7 - ::check_expr_block + 32: 0x7f430237e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7f4301ea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7f4302311a19 - ::check_expr_closure + 35: 0x7f4302383724 - ::check_expr_with_expectation_and_args + 36: 0x7f4301ea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7f4301e8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7f4301e8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7f430186c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7f43018688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7f4301945a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7f430194532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7f43018b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7f43018bd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7f430194a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7f430160a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7f430160a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7f430186c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7f43018bd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7f430163622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7f4301635dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7f43018b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7f43018b4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7f42fec3256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7f4301942452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7f4301ddaaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7f4301dda245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7f430284879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7f43028486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7f430186c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7f43018bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7f43028d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7f43028d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7f43028d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7f43018c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7f4302948583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7f4301ec3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7f4302268499 - ::confirm_candidate + 69: 0x7f430223dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7f4302240ffb - ::evaluate_trait_predicate_recursively + 71: 0x7f4301758a3d - ::evaluate_root_obligation + 72: 0x7f4301756db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7f43017567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7f4301d7c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7f4301d7b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7f43019e6d74 - ::evaluate_obligation_no_overflow + 77: 0x7f4301fd8662 - ::process_obligation + 78: 0x7f4301607e08 - >::process_obligations:: + 79: 0x7f430173b8a3 - ::confirm_builtin_call + 80: 0x7f430237db72 - ::check_expr_with_expectation_and_args + 81: 0x7f43023738bc - ::check_expr_block + 82: 0x7f430237e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7f4302380e22 - ::check_expr_with_expectation_and_args + 84: 0x7f43023739b7 - ::check_expr_block + 85: 0x7f430237e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7f4301ea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7f4302311a19 - ::check_expr_closure + 88: 0x7f4302383724 - ::check_expr_with_expectation_and_args + 89: 0x7f4301ea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7f4301e8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7f4301e8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7f430186c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7f430186fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7f4302a069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7f430161b189 - >::try_mark_previous_green:: + 96: 0x7f430161b0fd - >::try_mark_previous_green:: + 97: 0x7f430161b0fd - >::try_mark_previous_green:: + 98: 0x7f430161b0fd - >::try_mark_previous_green:: + 99: 0x7f430161b0fd - >::try_mark_previous_green:: + 100: 0x7f430186b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7f43018bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7f43028d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7f43028d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7f43028d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7f43018c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7f4302948583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7f43018e5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7f43018e4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7f43018c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7f43018bc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7f43028d245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7f4301ef160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7f4301dfc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7f4301df9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7f43018b593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7f43018b50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7f4301df58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7f4301df52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7f4302182dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7f430218388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7f4301867266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7f43019f8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7f4302184d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7f4302184cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7f4302948f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7f43029489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7f43025002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7f4302716804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7f4302508668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7f4302508f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7f430250a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7f42fc47dba8 - start_thread + 133: 0x7f42fc501b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_42_07-72223.txt b/rustc-ice-2025-04-17T21_42_07-72223.txt new file mode 100644 index 0000000..e49d578 --- /dev/null +++ b/rustc-ice-2025-04-17T21_42_07-72223.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7fe48a0cc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7fe4884cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7fe48755c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7fe4884e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7fe4884e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7fe4884e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7fe4884e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7fe484e89e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7fe486035c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7fe48a647629 - ::ident.cold + 10: 0x7fe4876ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7fe4876de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7fe48769b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7fe48991d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7fe4899186c0 - ::lower_assoc_path_ty + 15: 0x7fe488d20ea9 - ::check_struct_path + 16: 0x7fe4894839ed - ::check_pat_inner + 17: 0x7fe48998027e - ::check_expr_with_expectation_and_args + 18: 0x7fe4899739b7 - ::check_expr_block + 19: 0x7fe48997e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7fe4899780df - ::check_expr_if + 21: 0x7fe489980d85 - ::check_expr_with_expectation_and_args + 22: 0x7fe4899739b7 - ::check_expr_block + 23: 0x7fe48997e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7fe4899780df - ::check_expr_if + 25: 0x7fe489980d85 - ::check_expr_with_expectation_and_args + 26: 0x7fe4899739b7 - ::check_expr_block + 27: 0x7fe4899842f6 - ::check_expr_with_expectation_and_args + 28: 0x7fe4899739b7 - ::check_expr_block + 29: 0x7fe48997e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7fe489980e22 - ::check_expr_with_expectation_and_args + 31: 0x7fe4899739b7 - ::check_expr_block + 32: 0x7fe48997e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7fe4894a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7fe489911a19 - ::check_expr_closure + 35: 0x7fe489983724 - ::check_expr_with_expectation_and_args + 36: 0x7fe4894a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7fe48948feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7fe48948ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7fe488e6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7fe488e688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7fe488f45a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7fe488f4532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7fe488eb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7fe488ebd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7fe488f4a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7fe488c0a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7fe488c0a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7fe488e6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7fe488ebd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7fe488c3622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7fe488c35dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7fe488eb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7fe488eb4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7fe48623256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7fe488f42452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7fe4893daaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7fe4893da245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7fe489e4879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7fe489e486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7fe488e6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7fe488ebd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7fe489ed1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7fe489ed1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7fe489ed1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7fe488ec098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7fe489f48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7fe4894c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7fe489868499 - ::confirm_candidate + 69: 0x7fe48983dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7fe489840ffb - ::evaluate_trait_predicate_recursively + 71: 0x7fe488d58a3d - ::evaluate_root_obligation + 72: 0x7fe488d56db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7fe488d567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7fe48937c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7fe48937b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7fe488fe6d74 - ::evaluate_obligation_no_overflow + 77: 0x7fe4895d8662 - ::process_obligation + 78: 0x7fe488c07e08 - >::process_obligations:: + 79: 0x7fe488d3b8a3 - ::confirm_builtin_call + 80: 0x7fe48997db72 - ::check_expr_with_expectation_and_args + 81: 0x7fe4899738bc - ::check_expr_block + 82: 0x7fe48997e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7fe489980e22 - ::check_expr_with_expectation_and_args + 84: 0x7fe4899739b7 - ::check_expr_block + 85: 0x7fe48997e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7fe4894a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7fe489911a19 - ::check_expr_closure + 88: 0x7fe489983724 - ::check_expr_with_expectation_and_args + 89: 0x7fe4894a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7fe48948feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7fe48948ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7fe488e6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7fe488e6fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7fe48a0069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7fe488c1b189 - >::try_mark_previous_green:: + 96: 0x7fe488c1b0fd - >::try_mark_previous_green:: + 97: 0x7fe488c1b0fd - >::try_mark_previous_green:: + 98: 0x7fe488c1b0fd - >::try_mark_previous_green:: + 99: 0x7fe488c1b0fd - >::try_mark_previous_green:: + 100: 0x7fe488e6b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7fe488ebd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7fe489ed1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7fe489ed1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7fe489ed1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7fe488ec098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7fe489f48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7fe488ee5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7fe488ee4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7fe488ec098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7fe488ebc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7fe489ed245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7fe4894f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7fe4893fc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7fe4893f9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7fe488eb593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7fe488eb50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7fe4893f58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7fe4893f52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7fe489782dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7fe48978388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7fe488e67266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7fe488ff8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7fe489784d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7fe489784cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7fe489f48f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7fe489f489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7fe489b002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7fe489d16804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7fe489b08668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7fe489b08f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7fe489b0a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7fe483a7dba8 - start_thread + 133: 0x7fe483b01b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_42_07-72224.txt b/rustc-ice-2025-04-17T21_42_07-72224.txt new file mode 100644 index 0000000..ef21858 --- /dev/null +++ b/rustc-ice-2025-04-17T21_42_07-72224.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7f06c42cc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7f06c26cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7f06c175c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7f06c26e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7f06c26e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7f06c26e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7f06c26e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7f06bf089e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7f06c0235c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7f06c4847629 - ::ident.cold + 10: 0x7f06c18ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7f06c18de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7f06c189b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7f06c3b1d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7f06c3b186c0 - ::lower_assoc_path_ty + 15: 0x7f06c2f20ea9 - ::check_struct_path + 16: 0x7f06c36839ed - ::check_pat_inner + 17: 0x7f06c3b8027e - ::check_expr_with_expectation_and_args + 18: 0x7f06c3b739b7 - ::check_expr_block + 19: 0x7f06c3b7e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7f06c3b780df - ::check_expr_if + 21: 0x7f06c3b80d85 - ::check_expr_with_expectation_and_args + 22: 0x7f06c3b739b7 - ::check_expr_block + 23: 0x7f06c3b7e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7f06c3b780df - ::check_expr_if + 25: 0x7f06c3b80d85 - ::check_expr_with_expectation_and_args + 26: 0x7f06c3b739b7 - ::check_expr_block + 27: 0x7f06c3b842f6 - ::check_expr_with_expectation_and_args + 28: 0x7f06c3b739b7 - ::check_expr_block + 29: 0x7f06c3b7e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7f06c3b80e22 - ::check_expr_with_expectation_and_args + 31: 0x7f06c3b739b7 - ::check_expr_block + 32: 0x7f06c3b7e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7f06c36a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7f06c3b11a19 - ::check_expr_closure + 35: 0x7f06c3b83724 - ::check_expr_with_expectation_and_args + 36: 0x7f06c36a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7f06c368feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7f06c368ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7f06c306c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7f06c30688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7f06c3145a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7f06c314532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7f06c30b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7f06c30bd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7f06c314a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7f06c2e0a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7f06c2e0a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7f06c306c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7f06c30bd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7f06c2e3622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7f06c2e35dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7f06c30b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7f06c30b4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7f06c043256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7f06c3142452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7f06c35daaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7f06c35da245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7f06c404879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7f06c40486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7f06c306c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7f06c30bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7f06c40d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7f06c40d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7f06c40d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7f06c30c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7f06c4148583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7f06c36c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7f06c3a68499 - ::confirm_candidate + 69: 0x7f06c3a3dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7f06c3a40ffb - ::evaluate_trait_predicate_recursively + 71: 0x7f06c2f58a3d - ::evaluate_root_obligation + 72: 0x7f06c2f56db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7f06c2f567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7f06c357c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7f06c357b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7f06c31e6d74 - ::evaluate_obligation_no_overflow + 77: 0x7f06c37d8662 - ::process_obligation + 78: 0x7f06c2e07e08 - >::process_obligations:: + 79: 0x7f06c2f3b8a3 - ::confirm_builtin_call + 80: 0x7f06c3b7db72 - ::check_expr_with_expectation_and_args + 81: 0x7f06c3b738bc - ::check_expr_block + 82: 0x7f06c3b7e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7f06c3b80e22 - ::check_expr_with_expectation_and_args + 84: 0x7f06c3b739b7 - ::check_expr_block + 85: 0x7f06c3b7e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7f06c36a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7f06c3b11a19 - ::check_expr_closure + 88: 0x7f06c3b83724 - ::check_expr_with_expectation_and_args + 89: 0x7f06c36a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7f06c368feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7f06c368ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7f06c306c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7f06c306fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7f06c42069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7f06c2e1b189 - >::try_mark_previous_green:: + 96: 0x7f06c2e1b0fd - >::try_mark_previous_green:: + 97: 0x7f06c2e1b0fd - >::try_mark_previous_green:: + 98: 0x7f06c2e1b0fd - >::try_mark_previous_green:: + 99: 0x7f06c2e1b0fd - >::try_mark_previous_green:: + 100: 0x7f06c306b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7f06c30bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7f06c40d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7f06c40d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7f06c40d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7f06c30c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7f06c4148583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7f06c30e5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7f06c30e4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7f06c30c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7f06c30bc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7f06c40d245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7f06c36f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7f06c35fc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7f06c35f9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7f06c30b593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7f06c30b50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7f06c35f58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7f06c35f52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7f06c3982dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7f06c398388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7f06c3067266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7f06c31f8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7f06c3984d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7f06c3984cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7f06c4148f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7f06c41489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7f06c3d002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7f06c3f16804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7f06c3d08668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7f06c3d08f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7f06c3d0a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7f06bdc7dba8 - start_thread + 133: 0x7f06bdd01b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_42_15-72452.txt b/rustc-ice-2025-04-17T21_42_15-72452.txt new file mode 100644 index 0000000..94d49a7 --- /dev/null +++ b/rustc-ice-2025-04-17T21_42_15-72452.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7f31650cc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7f31634cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7f316255c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7f31634e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7f31634e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7f31634e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7f31634e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7f315fe89e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7f3161035c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7f3165647629 - ::ident.cold + 10: 0x7f31626ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7f31626de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7f316269b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7f316491d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7f31649186c0 - ::lower_assoc_path_ty + 15: 0x7f3163d20ea9 - ::check_struct_path + 16: 0x7f31644839ed - ::check_pat_inner + 17: 0x7f316498027e - ::check_expr_with_expectation_and_args + 18: 0x7f31649739b7 - ::check_expr_block + 19: 0x7f316497e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7f31649780df - ::check_expr_if + 21: 0x7f3164980d85 - ::check_expr_with_expectation_and_args + 22: 0x7f31649739b7 - ::check_expr_block + 23: 0x7f316497e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7f31649780df - ::check_expr_if + 25: 0x7f3164980d85 - ::check_expr_with_expectation_and_args + 26: 0x7f31649739b7 - ::check_expr_block + 27: 0x7f31649842f6 - ::check_expr_with_expectation_and_args + 28: 0x7f31649739b7 - ::check_expr_block + 29: 0x7f316497e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7f3164980e22 - ::check_expr_with_expectation_and_args + 31: 0x7f31649739b7 - ::check_expr_block + 32: 0x7f316497e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7f31644a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7f3164911a19 - ::check_expr_closure + 35: 0x7f3164983724 - ::check_expr_with_expectation_and_args + 36: 0x7f31644a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7f316448feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7f316448ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7f3163e6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7f3163e688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7f3163f45a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7f3163f4532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7f3163eb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7f3163ebd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7f3163f4a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7f3163c0a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7f3163c0a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7f3163e6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7f3163ebd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7f3163c3622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7f3163c35dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7f3163eb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7f3163eb4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7f316123256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7f3163f42452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7f31643daaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7f31643da245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7f3164e4879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7f3164e486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7f3163e6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7f3163ebd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7f3164ed1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7f3164ed1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7f3164ed1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7f3163ec098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7f3164f48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7f31644c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7f3164868499 - ::confirm_candidate + 69: 0x7f316483dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7f3164840ffb - ::evaluate_trait_predicate_recursively + 71: 0x7f3163d58a3d - ::evaluate_root_obligation + 72: 0x7f3163d56db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7f3163d567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7f316437c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7f316437b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7f3163fe6d74 - ::evaluate_obligation_no_overflow + 77: 0x7f31645d8662 - ::process_obligation + 78: 0x7f3163c07e08 - >::process_obligations:: + 79: 0x7f3163d3b8a3 - ::confirm_builtin_call + 80: 0x7f316497db72 - ::check_expr_with_expectation_and_args + 81: 0x7f31649738bc - ::check_expr_block + 82: 0x7f316497e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7f3164980e22 - ::check_expr_with_expectation_and_args + 84: 0x7f31649739b7 - ::check_expr_block + 85: 0x7f316497e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7f31644a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7f3164911a19 - ::check_expr_closure + 88: 0x7f3164983724 - ::check_expr_with_expectation_and_args + 89: 0x7f31644a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7f316448feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7f316448ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7f3163e6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7f3163e6fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7f31650069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7f3163c1b189 - >::try_mark_previous_green:: + 96: 0x7f3163c1b0fd - >::try_mark_previous_green:: + 97: 0x7f3163c1b0fd - >::try_mark_previous_green:: + 98: 0x7f3163c1b0fd - >::try_mark_previous_green:: + 99: 0x7f3163c1b0fd - >::try_mark_previous_green:: + 100: 0x7f3163e6b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7f3163ebd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7f3164ed1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7f3164ed1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7f3164ed1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7f3163ec098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7f3164f48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7f3163ee5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7f3163ee4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7f3163ec098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7f3163ebc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7f3164ed245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7f31644f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7f31643fc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7f31643f9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7f3163eb593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7f3163eb50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7f31643f58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7f31643f52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7f3164782dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7f316478388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7f3163e67266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7f3163ff8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7f3164784d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7f3164784cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7f3164f48f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7f3164f489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7f3164b002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7f3164d16804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7f3164b08668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7f3164b08f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7f3164b0a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7f315ea7dba8 - start_thread + 133: 0x7f315eb01b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_42_15-72453.txt b/rustc-ice-2025-04-17T21_42_15-72453.txt new file mode 100644 index 0000000..d2fd48b --- /dev/null +++ b/rustc-ice-2025-04-17T21_42_15-72453.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7f4b6accc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7f4b690cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7f4b6815c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7f4b690e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7f4b690e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7f4b690e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7f4b690e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7f4b65a89e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7f4b66c35c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7f4b6b247629 - ::ident.cold + 10: 0x7f4b682ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7f4b682de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7f4b6829b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7f4b6a51d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7f4b6a5186c0 - ::lower_assoc_path_ty + 15: 0x7f4b69920ea9 - ::check_struct_path + 16: 0x7f4b6a0839ed - ::check_pat_inner + 17: 0x7f4b6a58027e - ::check_expr_with_expectation_and_args + 18: 0x7f4b6a5739b7 - ::check_expr_block + 19: 0x7f4b6a57e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7f4b6a5780df - ::check_expr_if + 21: 0x7f4b6a580d85 - ::check_expr_with_expectation_and_args + 22: 0x7f4b6a5739b7 - ::check_expr_block + 23: 0x7f4b6a57e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7f4b6a5780df - ::check_expr_if + 25: 0x7f4b6a580d85 - ::check_expr_with_expectation_and_args + 26: 0x7f4b6a5739b7 - ::check_expr_block + 27: 0x7f4b6a5842f6 - ::check_expr_with_expectation_and_args + 28: 0x7f4b6a5739b7 - ::check_expr_block + 29: 0x7f4b6a57e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7f4b6a580e22 - ::check_expr_with_expectation_and_args + 31: 0x7f4b6a5739b7 - ::check_expr_block + 32: 0x7f4b6a57e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7f4b6a0a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7f4b6a511a19 - ::check_expr_closure + 35: 0x7f4b6a583724 - ::check_expr_with_expectation_and_args + 36: 0x7f4b6a0a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7f4b6a08feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7f4b6a08ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7f4b69a6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7f4b69a688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7f4b69b45a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7f4b69b4532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7f4b69ab55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7f4b69abd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7f4b69b4a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7f4b6980a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7f4b6980a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7f4b69a6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7f4b69abd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7f4b6983622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7f4b69835dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7f4b69ab55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7f4b69ab4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7f4b66e3256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7f4b69b42452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7f4b69fdaaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7f4b69fda245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7f4b6aa4879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7f4b6aa486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7f4b69a6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7f4b69abd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7f4b6aad1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7f4b6aad1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7f4b6aad1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7f4b69ac098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7f4b6ab48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7f4b6a0c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7f4b6a468499 - ::confirm_candidate + 69: 0x7f4b6a43dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7f4b6a440ffb - ::evaluate_trait_predicate_recursively + 71: 0x7f4b69958a3d - ::evaluate_root_obligation + 72: 0x7f4b69956db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7f4b699567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7f4b69f7c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7f4b69f7b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7f4b69be6d74 - ::evaluate_obligation_no_overflow + 77: 0x7f4b6a1d8662 - ::process_obligation + 78: 0x7f4b69807e08 - >::process_obligations:: + 79: 0x7f4b6993b8a3 - ::confirm_builtin_call + 80: 0x7f4b6a57db72 - ::check_expr_with_expectation_and_args + 81: 0x7f4b6a5738bc - ::check_expr_block + 82: 0x7f4b6a57e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7f4b6a580e22 - ::check_expr_with_expectation_and_args + 84: 0x7f4b6a5739b7 - ::check_expr_block + 85: 0x7f4b6a57e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7f4b6a0a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7f4b6a511a19 - ::check_expr_closure + 88: 0x7f4b6a583724 - ::check_expr_with_expectation_and_args + 89: 0x7f4b6a0a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7f4b6a08feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7f4b6a08ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7f4b69a6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7f4b69a6fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7f4b6ac069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7f4b6981b189 - >::try_mark_previous_green:: + 96: 0x7f4b6981b0fd - >::try_mark_previous_green:: + 97: 0x7f4b6981b0fd - >::try_mark_previous_green:: + 98: 0x7f4b6981b0fd - >::try_mark_previous_green:: + 99: 0x7f4b6981b0fd - >::try_mark_previous_green:: + 100: 0x7f4b69a6b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7f4b69abd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7f4b6aad1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7f4b6aad1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7f4b6aad1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7f4b69ac098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7f4b6ab48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7f4b69ae5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7f4b69ae4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7f4b69ac098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7f4b69abc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7f4b6aad245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7f4b6a0f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7f4b69ffc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7f4b69ff9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7f4b69ab593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7f4b69ab50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7f4b69ff58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7f4b69ff52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7f4b6a382dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7f4b6a38388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7f4b69a67266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7f4b69bf8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7f4b6a384d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7f4b6a384cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7f4b6ab48f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7f4b6ab489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7f4b6a7002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7f4b6a916804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7f4b6a708668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7f4b6a708f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7f4b6a70a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7f4b6467dba8 - start_thread + 133: 0x7f4b64701b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_42_38-72762.txt b/rustc-ice-2025-04-17T21_42_38-72762.txt new file mode 100644 index 0000000..1be7842 --- /dev/null +++ b/rustc-ice-2025-04-17T21_42_38-72762.txt @@ -0,0 +1,167 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7fb994ecc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7fb9932cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7fb99235c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7fb9932e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7fb9932e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7fb9932e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7fb9932e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7fb98fc89e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7fb990e35c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7fb995447629 - ::ident.cold + 10: 0x7fb9924ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7fb9924de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7fb99249b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7fb99471d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7fb9947186c0 - ::lower_assoc_path_ty + 15: 0x7fb993b20ea9 - ::check_struct_path + 16: 0x7fb9942839ed - ::check_pat_inner + 17: 0x7fb994281d58 - ::check_decl + 18: 0x7fb994784851 - ::check_expr_with_expectation_and_args + 19: 0x7fb994777fa3 - ::check_expr_if + 20: 0x7fb994780d85 - ::check_expr_with_expectation_and_args + 21: 0x7fb994774ee0 - ::check_expr_block + 22: 0x7fb99477e6b2 - ::check_expr_with_expectation_and_args + 23: 0x7fb9947780df - ::check_expr_if + 24: 0x7fb994780d85 - ::check_expr_with_expectation_and_args + 25: 0x7fb994774ee0 - ::check_expr_block + 26: 0x7fb99477e6b2 - ::check_expr_with_expectation_and_args + 27: 0x7fb9947780df - ::check_expr_if + 28: 0x7fb994780d85 - ::check_expr_with_expectation_and_args + 29: 0x7fb9947739b7 - ::check_expr_block + 30: 0x7fb99477e6b2 - ::check_expr_with_expectation_and_args + 31: 0x7fb9947780df - ::check_expr_if + 32: 0x7fb994780d85 - ::check_expr_with_expectation_and_args + 33: 0x7fb9947739b7 - ::check_expr_block + 34: 0x7fb9947842f6 - ::check_expr_with_expectation_and_args + 35: 0x7fb9947739b7 - ::check_expr_block + 36: 0x7fb99477e6b2 - ::check_expr_with_expectation_and_args + 37: 0x7fb994780e22 - ::check_expr_with_expectation_and_args + 38: 0x7fb9947739b7 - ::check_expr_block + 39: 0x7fb99477e6b2 - ::check_expr_with_expectation_and_args + 40: 0x7fb9942a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 41: 0x7fb994711a19 - ::check_expr_closure + 42: 0x7fb994783724 - ::check_expr_with_expectation_and_args + 43: 0x7fb9942a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 44: 0x7fb99428feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 45: 0x7fb99428ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 46: 0x7fb993c6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 47: 0x7fb993c688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 48: 0x7fb993d45a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 49: 0x7fb993d4532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 50: 0x7fb993cb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 51: 0x7fb993cbd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 52: 0x7fb993d4a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 53: 0x7fb993a0a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 54: 0x7fb993a0a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 55: 0x7fb993c6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 56: 0x7fb993cbd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 57: 0x7fb993a3622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 58: 0x7fb993a35dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 59: 0x7fb993cb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 60: 0x7fb993cb4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 61: 0x7fb99103256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 62: 0x7fb993d42452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 63: 0x7fb9941daaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 64: 0x7fb9941da245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 65: 0x7fb994c4879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 66: 0x7fb994c486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 67: 0x7fb993c6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 68: 0x7fb993cbd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 69: 0x7fb994cd1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 70: 0x7fb994cd1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 71: 0x7fb994cd1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 72: 0x7fb993cc098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 73: 0x7fb994d48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 74: 0x7fb9942c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 75: 0x7fb994668499 - ::confirm_candidate + 76: 0x7fb99463dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 77: 0x7fb994640ffb - ::evaluate_trait_predicate_recursively + 78: 0x7fb993b58a3d - ::evaluate_root_obligation + 79: 0x7fb993b56db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 80: 0x7fb993b567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 81: 0x7fb99417c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 82: 0x7fb99417b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 83: 0x7fb993de6d74 - ::evaluate_obligation_no_overflow + 84: 0x7fb9943d8662 - ::process_obligation + 85: 0x7fb993a07e08 - >::process_obligations:: + 86: 0x7fb993b3b8a3 - ::confirm_builtin_call + 87: 0x7fb99477db72 - ::check_expr_with_expectation_and_args + 88: 0x7fb9947738bc - ::check_expr_block + 89: 0x7fb99477e6b2 - ::check_expr_with_expectation_and_args + 90: 0x7fb994780e22 - ::check_expr_with_expectation_and_args + 91: 0x7fb9947739b7 - ::check_expr_block + 92: 0x7fb99477e6b2 - ::check_expr_with_expectation_and_args + 93: 0x7fb9942a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 94: 0x7fb994711a19 - ::check_expr_closure + 95: 0x7fb994783724 - ::check_expr_with_expectation_and_args + 96: 0x7fb9942a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 97: 0x7fb99428feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 98: 0x7fb99428ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 99: 0x7fb993c6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 100: 0x7fb993c6fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 101: 0x7fb994e069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 102: 0x7fb993a1b189 - >::try_mark_previous_green:: + 103: 0x7fb993a1b0fd - >::try_mark_previous_green:: + 104: 0x7fb993a1b0fd - >::try_mark_previous_green:: + 105: 0x7fb993a1b0fd - >::try_mark_previous_green:: + 106: 0x7fb993a1b0fd - >::try_mark_previous_green:: + 107: 0x7fb993c6b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 108: 0x7fb993cbd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 109: 0x7fb994cd1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 110: 0x7fb994cd1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 111: 0x7fb994cd1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 112: 0x7fb993cc098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 113: 0x7fb994d48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 114: 0x7fb993ce5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 115: 0x7fb993ce4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 116: 0x7fb993cc098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 117: 0x7fb993cbc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 118: 0x7fb994cd245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 119: 0x7fb9942f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 120: 0x7fb9941fc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 121: 0x7fb9941f9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 122: 0x7fb993cb593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 123: 0x7fb993cb50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 124: 0x7fb9941f58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 125: 0x7fb9941f52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 126: 0x7fb994582dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 127: 0x7fb99458388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 128: 0x7fb993c67266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 129: 0x7fb993df8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 130: 0x7fb994584d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 131: 0x7fb994584cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 132: 0x7fb994d48f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 133: 0x7fb994d489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 134: 0x7fb9949002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 135: 0x7fb994b16804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 136: 0x7fb994908668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 137: 0x7fb994908f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 138: 0x7fb99490a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 139: 0x7fb98e87dba8 - start_thread + 140: 0x7fb98e901b8c - __GI___clone3 + 141: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_42_38-72763.txt b/rustc-ice-2025-04-17T21_42_38-72763.txt new file mode 100644 index 0000000..ac2984a --- /dev/null +++ b/rustc-ice-2025-04-17T21_42_38-72763.txt @@ -0,0 +1,167 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7fae9decc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7fae9c2cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7fae9b35c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7fae9c2e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7fae9c2e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7fae9c2e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7fae9c2e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7fae98c89e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7fae99e35c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7fae9e447629 - ::ident.cold + 10: 0x7fae9b4ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7fae9b4de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7fae9b49b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7fae9d71d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7fae9d7186c0 - ::lower_assoc_path_ty + 15: 0x7fae9cb20ea9 - ::check_struct_path + 16: 0x7fae9d2839ed - ::check_pat_inner + 17: 0x7fae9d281d58 - ::check_decl + 18: 0x7fae9d784851 - ::check_expr_with_expectation_and_args + 19: 0x7fae9d777fa3 - ::check_expr_if + 20: 0x7fae9d780d85 - ::check_expr_with_expectation_and_args + 21: 0x7fae9d774ee0 - ::check_expr_block + 22: 0x7fae9d77e6b2 - ::check_expr_with_expectation_and_args + 23: 0x7fae9d7780df - ::check_expr_if + 24: 0x7fae9d780d85 - ::check_expr_with_expectation_and_args + 25: 0x7fae9d774ee0 - ::check_expr_block + 26: 0x7fae9d77e6b2 - ::check_expr_with_expectation_and_args + 27: 0x7fae9d7780df - ::check_expr_if + 28: 0x7fae9d780d85 - ::check_expr_with_expectation_and_args + 29: 0x7fae9d7739b7 - ::check_expr_block + 30: 0x7fae9d77e6b2 - ::check_expr_with_expectation_and_args + 31: 0x7fae9d7780df - ::check_expr_if + 32: 0x7fae9d780d85 - ::check_expr_with_expectation_and_args + 33: 0x7fae9d7739b7 - ::check_expr_block + 34: 0x7fae9d7842f6 - ::check_expr_with_expectation_and_args + 35: 0x7fae9d7739b7 - ::check_expr_block + 36: 0x7fae9d77e6b2 - ::check_expr_with_expectation_and_args + 37: 0x7fae9d780e22 - ::check_expr_with_expectation_and_args + 38: 0x7fae9d7739b7 - ::check_expr_block + 39: 0x7fae9d77e6b2 - ::check_expr_with_expectation_and_args + 40: 0x7fae9d2a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 41: 0x7fae9d711a19 - ::check_expr_closure + 42: 0x7fae9d783724 - ::check_expr_with_expectation_and_args + 43: 0x7fae9d2a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 44: 0x7fae9d28feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 45: 0x7fae9d28ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 46: 0x7fae9cc6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 47: 0x7fae9cc688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 48: 0x7fae9cd45a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 49: 0x7fae9cd4532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 50: 0x7fae9ccb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 51: 0x7fae9ccbd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 52: 0x7fae9cd4a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 53: 0x7fae9ca0a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 54: 0x7fae9ca0a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 55: 0x7fae9cc6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 56: 0x7fae9ccbd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 57: 0x7fae9ca3622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 58: 0x7fae9ca35dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 59: 0x7fae9ccb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 60: 0x7fae9ccb4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 61: 0x7fae9a03256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 62: 0x7fae9cd42452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 63: 0x7fae9d1daaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 64: 0x7fae9d1da245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 65: 0x7fae9dc4879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 66: 0x7fae9dc486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 67: 0x7fae9cc6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 68: 0x7fae9ccbd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 69: 0x7fae9dcd1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 70: 0x7fae9dcd1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 71: 0x7fae9dcd1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 72: 0x7fae9ccc098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 73: 0x7fae9dd48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 74: 0x7fae9d2c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 75: 0x7fae9d668499 - ::confirm_candidate + 76: 0x7fae9d63dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 77: 0x7fae9d640ffb - ::evaluate_trait_predicate_recursively + 78: 0x7fae9cb58a3d - ::evaluate_root_obligation + 79: 0x7fae9cb56db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 80: 0x7fae9cb567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 81: 0x7fae9d17c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 82: 0x7fae9d17b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 83: 0x7fae9cde6d74 - ::evaluate_obligation_no_overflow + 84: 0x7fae9d3d8662 - ::process_obligation + 85: 0x7fae9ca07e08 - >::process_obligations:: + 86: 0x7fae9cb3b8a3 - ::confirm_builtin_call + 87: 0x7fae9d77db72 - ::check_expr_with_expectation_and_args + 88: 0x7fae9d7738bc - ::check_expr_block + 89: 0x7fae9d77e6b2 - ::check_expr_with_expectation_and_args + 90: 0x7fae9d780e22 - ::check_expr_with_expectation_and_args + 91: 0x7fae9d7739b7 - ::check_expr_block + 92: 0x7fae9d77e6b2 - ::check_expr_with_expectation_and_args + 93: 0x7fae9d2a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 94: 0x7fae9d711a19 - ::check_expr_closure + 95: 0x7fae9d783724 - ::check_expr_with_expectation_and_args + 96: 0x7fae9d2a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 97: 0x7fae9d28feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 98: 0x7fae9d28ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 99: 0x7fae9cc6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 100: 0x7fae9cc6fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 101: 0x7fae9de069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 102: 0x7fae9ca1b189 - >::try_mark_previous_green:: + 103: 0x7fae9ca1b0fd - >::try_mark_previous_green:: + 104: 0x7fae9ca1b0fd - >::try_mark_previous_green:: + 105: 0x7fae9ca1b0fd - >::try_mark_previous_green:: + 106: 0x7fae9ca1b0fd - >::try_mark_previous_green:: + 107: 0x7fae9cc6b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 108: 0x7fae9ccbd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 109: 0x7fae9dcd1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 110: 0x7fae9dcd1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 111: 0x7fae9dcd1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 112: 0x7fae9ccc098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 113: 0x7fae9dd48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 114: 0x7fae9cce5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 115: 0x7fae9cce4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 116: 0x7fae9ccc098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 117: 0x7fae9ccbc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 118: 0x7fae9dcd245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 119: 0x7fae9d2f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 120: 0x7fae9d1fc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 121: 0x7fae9d1f9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 122: 0x7fae9ccb593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 123: 0x7fae9ccb50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 124: 0x7fae9d1f58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 125: 0x7fae9d1f52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 126: 0x7fae9d582dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 127: 0x7fae9d58388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 128: 0x7fae9cc67266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 129: 0x7fae9cdf8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 130: 0x7fae9d584d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 131: 0x7fae9d584cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 132: 0x7fae9dd48f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 133: 0x7fae9dd489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 134: 0x7fae9d9002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 135: 0x7fae9db16804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 136: 0x7fae9d908668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 137: 0x7fae9d908f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 138: 0x7fae9d90a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 139: 0x7fae9787dba8 - start_thread + 140: 0x7fae97901b8c - __GI___clone3 + 141: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_42_40-72868.txt b/rustc-ice-2025-04-17T21_42_40-72868.txt new file mode 100644 index 0000000..893f2b2 --- /dev/null +++ b/rustc-ice-2025-04-17T21_42_40-72868.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7f8b61acc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7f8b5fecde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7f8b5ef5c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7f8b5fee77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7f8b5fee74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7f8b5fee3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7f8b5fee719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7f8b5c889e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7f8b5da35c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7f8b62047629 - ::ident.cold + 10: 0x7f8b5f0ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7f8b5f0de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7f8b5f09b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7f8b6131d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7f8b613186c0 - ::lower_assoc_path_ty + 15: 0x7f8b60720ea9 - ::check_struct_path + 16: 0x7f8b60e839ed - ::check_pat_inner + 17: 0x7f8b6138027e - ::check_expr_with_expectation_and_args + 18: 0x7f8b613739b7 - ::check_expr_block + 19: 0x7f8b6137e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7f8b613780df - ::check_expr_if + 21: 0x7f8b61380d85 - ::check_expr_with_expectation_and_args + 22: 0x7f8b613739b7 - ::check_expr_block + 23: 0x7f8b6137e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7f8b613780df - ::check_expr_if + 25: 0x7f8b61380d85 - ::check_expr_with_expectation_and_args + 26: 0x7f8b613739b7 - ::check_expr_block + 27: 0x7f8b613842f6 - ::check_expr_with_expectation_and_args + 28: 0x7f8b613739b7 - ::check_expr_block + 29: 0x7f8b6137e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7f8b61380e22 - ::check_expr_with_expectation_and_args + 31: 0x7f8b613739b7 - ::check_expr_block + 32: 0x7f8b6137e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7f8b60ea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7f8b61311a19 - ::check_expr_closure + 35: 0x7f8b61383724 - ::check_expr_with_expectation_and_args + 36: 0x7f8b60ea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7f8b60e8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7f8b60e8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7f8b6086c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7f8b608688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7f8b60945a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7f8b6094532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7f8b608b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7f8b608bd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7f8b6094a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7f8b6060a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7f8b6060a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7f8b6086c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7f8b608bd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7f8b6063622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7f8b60635dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7f8b608b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7f8b608b4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7f8b5dc3256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7f8b60942452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7f8b60ddaaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7f8b60dda245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7f8b6184879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7f8b618486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7f8b6086c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7f8b608bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7f8b618d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7f8b618d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7f8b618d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7f8b608c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7f8b61948583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7f8b60ec3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7f8b61268499 - ::confirm_candidate + 69: 0x7f8b6123dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7f8b61240ffb - ::evaluate_trait_predicate_recursively + 71: 0x7f8b60758a3d - ::evaluate_root_obligation + 72: 0x7f8b60756db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7f8b607567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7f8b60d7c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7f8b60d7b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7f8b609e6d74 - ::evaluate_obligation_no_overflow + 77: 0x7f8b60fd8662 - ::process_obligation + 78: 0x7f8b60607e08 - >::process_obligations:: + 79: 0x7f8b6073b8a3 - ::confirm_builtin_call + 80: 0x7f8b6137db72 - ::check_expr_with_expectation_and_args + 81: 0x7f8b613738bc - ::check_expr_block + 82: 0x7f8b6137e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7f8b61380e22 - ::check_expr_with_expectation_and_args + 84: 0x7f8b613739b7 - ::check_expr_block + 85: 0x7f8b6137e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7f8b60ea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7f8b61311a19 - ::check_expr_closure + 88: 0x7f8b61383724 - ::check_expr_with_expectation_and_args + 89: 0x7f8b60ea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7f8b60e8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7f8b60e8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7f8b6086c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7f8b6086fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7f8b61a069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7f8b6061b189 - >::try_mark_previous_green:: + 96: 0x7f8b6061b0fd - >::try_mark_previous_green:: + 97: 0x7f8b6061b0fd - >::try_mark_previous_green:: + 98: 0x7f8b6061b0fd - >::try_mark_previous_green:: + 99: 0x7f8b6061b0fd - >::try_mark_previous_green:: + 100: 0x7f8b6086b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7f8b608bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7f8b618d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7f8b618d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7f8b618d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7f8b608c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7f8b61948583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7f8b608e5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7f8b608e4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7f8b608c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7f8b608bc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7f8b618d245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7f8b60ef160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7f8b60dfc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7f8b60df9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7f8b608b593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7f8b608b50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7f8b60df58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7f8b60df52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7f8b61182dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7f8b6118388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7f8b60867266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7f8b609f8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7f8b61184d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7f8b61184cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7f8b61948f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7f8b619489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7f8b615002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7f8b61716804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7f8b61508668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7f8b61508f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7f8b6150a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7f8b5b47dba8 - start_thread + 133: 0x7f8b5b501b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_42_40-72869.txt b/rustc-ice-2025-04-17T21_42_40-72869.txt new file mode 100644 index 0000000..3760b50 --- /dev/null +++ b/rustc-ice-2025-04-17T21_42_40-72869.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7fafda2cc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7fafd86cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7fafd775c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7fafd86e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7fafd86e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7fafd86e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7fafd86e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7fafd5089e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7fafd6235c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7fafda847629 - ::ident.cold + 10: 0x7fafd78ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7fafd78de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7fafd789b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7fafd9b1d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7fafd9b186c0 - ::lower_assoc_path_ty + 15: 0x7fafd8f20ea9 - ::check_struct_path + 16: 0x7fafd96839ed - ::check_pat_inner + 17: 0x7fafd9b8027e - ::check_expr_with_expectation_and_args + 18: 0x7fafd9b739b7 - ::check_expr_block + 19: 0x7fafd9b7e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7fafd9b780df - ::check_expr_if + 21: 0x7fafd9b80d85 - ::check_expr_with_expectation_and_args + 22: 0x7fafd9b739b7 - ::check_expr_block + 23: 0x7fafd9b7e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7fafd9b780df - ::check_expr_if + 25: 0x7fafd9b80d85 - ::check_expr_with_expectation_and_args + 26: 0x7fafd9b739b7 - ::check_expr_block + 27: 0x7fafd9b842f6 - ::check_expr_with_expectation_and_args + 28: 0x7fafd9b739b7 - ::check_expr_block + 29: 0x7fafd9b7e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7fafd9b80e22 - ::check_expr_with_expectation_and_args + 31: 0x7fafd9b739b7 - ::check_expr_block + 32: 0x7fafd9b7e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7fafd96a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7fafd9b11a19 - ::check_expr_closure + 35: 0x7fafd9b83724 - ::check_expr_with_expectation_and_args + 36: 0x7fafd96a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7fafd968feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7fafd968ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7fafd906c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7fafd90688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7fafd9145a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7fafd914532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7fafd90b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7fafd90bd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7fafd914a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7fafd8e0a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7fafd8e0a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7fafd906c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7fafd90bd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7fafd8e3622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7fafd8e35dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7fafd90b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7fafd90b4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7fafd643256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7fafd9142452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7fafd95daaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7fafd95da245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7fafda04879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7fafda0486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7fafd906c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7fafd90bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7fafda0d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7fafda0d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7fafda0d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7fafd90c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7fafda148583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7fafd96c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7fafd9a68499 - ::confirm_candidate + 69: 0x7fafd9a3dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7fafd9a40ffb - ::evaluate_trait_predicate_recursively + 71: 0x7fafd8f58a3d - ::evaluate_root_obligation + 72: 0x7fafd8f56db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7fafd8f567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7fafd957c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7fafd957b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7fafd91e6d74 - ::evaluate_obligation_no_overflow + 77: 0x7fafd97d8662 - ::process_obligation + 78: 0x7fafd8e07e08 - >::process_obligations:: + 79: 0x7fafd8f3b8a3 - ::confirm_builtin_call + 80: 0x7fafd9b7db72 - ::check_expr_with_expectation_and_args + 81: 0x7fafd9b738bc - ::check_expr_block + 82: 0x7fafd9b7e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7fafd9b80e22 - ::check_expr_with_expectation_and_args + 84: 0x7fafd9b739b7 - ::check_expr_block + 85: 0x7fafd9b7e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7fafd96a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7fafd9b11a19 - ::check_expr_closure + 88: 0x7fafd9b83724 - ::check_expr_with_expectation_and_args + 89: 0x7fafd96a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7fafd968feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7fafd968ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7fafd906c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7fafd906fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7fafda2069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7fafd8e1b189 - >::try_mark_previous_green:: + 96: 0x7fafd8e1b0fd - >::try_mark_previous_green:: + 97: 0x7fafd8e1b0fd - >::try_mark_previous_green:: + 98: 0x7fafd8e1b0fd - >::try_mark_previous_green:: + 99: 0x7fafd8e1b0fd - >::try_mark_previous_green:: + 100: 0x7fafd906b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7fafd90bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7fafda0d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7fafda0d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7fafda0d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7fafd90c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7fafda148583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7fafd90e5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7fafd90e4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7fafd90c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7fafd90bc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7fafda0d245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7fafd96f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7fafd95fc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7fafd95f9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7fafd90b593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7fafd90b50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7fafd95f58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7fafd95f52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7fafd9982dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7fafd998388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7fafd9067266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7fafd91f8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7fafd9984d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7fafd9984cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7fafda148f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7fafda1489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7fafd9d002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7fafd9f16804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7fafd9d08668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7fafd9d08f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7fafd9d0a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7fafd3c7dba8 - start_thread + 133: 0x7fafd3d01b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_42_47-73048.txt b/rustc-ice-2025-04-17T21_42_47-73048.txt new file mode 100644 index 0000000..d5c0533 --- /dev/null +++ b/rustc-ice-2025-04-17T21_42_47-73048.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7f9588ccc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7f95870cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7f958615c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7f95870e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7f95870e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7f95870e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7f95870e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7f9583a89e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7f9584c35c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7f9589247629 - ::ident.cold + 10: 0x7f95862ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7f95862de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7f958629b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7f958851d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7f95885186c0 - ::lower_assoc_path_ty + 15: 0x7f9587920ea9 - ::check_struct_path + 16: 0x7f95880839ed - ::check_pat_inner + 17: 0x7f958858027e - ::check_expr_with_expectation_and_args + 18: 0x7f95885739b7 - ::check_expr_block + 19: 0x7f958857e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7f95885780df - ::check_expr_if + 21: 0x7f9588580d85 - ::check_expr_with_expectation_and_args + 22: 0x7f95885739b7 - ::check_expr_block + 23: 0x7f958857e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7f95885780df - ::check_expr_if + 25: 0x7f9588580d85 - ::check_expr_with_expectation_and_args + 26: 0x7f95885739b7 - ::check_expr_block + 27: 0x7f95885842f6 - ::check_expr_with_expectation_and_args + 28: 0x7f95885739b7 - ::check_expr_block + 29: 0x7f958857e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7f9588580e22 - ::check_expr_with_expectation_and_args + 31: 0x7f95885739b7 - ::check_expr_block + 32: 0x7f958857e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7f95880a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7f9588511a19 - ::check_expr_closure + 35: 0x7f9588583724 - ::check_expr_with_expectation_and_args + 36: 0x7f95880a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7f958808feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7f958808ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7f9587a6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7f9587a688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7f9587b45a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7f9587b4532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7f9587ab55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7f9587abd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7f9587b4a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7f958780a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7f958780a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7f9587a6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7f9587abd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7f958783622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7f9587835dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7f9587ab55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7f9587ab4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7f9584e3256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7f9587b42452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7f9587fdaaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7f9587fda245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7f9588a4879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7f9588a486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7f9587a6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7f9587abd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7f9588ad1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7f9588ad1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7f9588ad1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7f9587ac098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7f9588b48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7f95880c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7f9588468499 - ::confirm_candidate + 69: 0x7f958843dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7f9588440ffb - ::evaluate_trait_predicate_recursively + 71: 0x7f9587958a3d - ::evaluate_root_obligation + 72: 0x7f9587956db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7f95879567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7f9587f7c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7f9587f7b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7f9587be6d74 - ::evaluate_obligation_no_overflow + 77: 0x7f95881d8662 - ::process_obligation + 78: 0x7f9587807e08 - >::process_obligations:: + 79: 0x7f958793b8a3 - ::confirm_builtin_call + 80: 0x7f958857db72 - ::check_expr_with_expectation_and_args + 81: 0x7f95885738bc - ::check_expr_block + 82: 0x7f958857e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7f9588580e22 - ::check_expr_with_expectation_and_args + 84: 0x7f95885739b7 - ::check_expr_block + 85: 0x7f958857e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7f95880a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7f9588511a19 - ::check_expr_closure + 88: 0x7f9588583724 - ::check_expr_with_expectation_and_args + 89: 0x7f95880a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7f958808feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7f958808ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7f9587a6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7f9587a6fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7f9588c069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7f958781b189 - >::try_mark_previous_green:: + 96: 0x7f958781b0fd - >::try_mark_previous_green:: + 97: 0x7f958781b0fd - >::try_mark_previous_green:: + 98: 0x7f958781b0fd - >::try_mark_previous_green:: + 99: 0x7f958781b0fd - >::try_mark_previous_green:: + 100: 0x7f9587a6b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7f9587abd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7f9588ad1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7f9588ad1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7f9588ad1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7f9587ac098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7f9588b48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7f9587ae5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7f9587ae4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7f9587ac098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7f9587abc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7f9588ad245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7f95880f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7f9587ffc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7f9587ff9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7f9587ab593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7f9587ab50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7f9587ff58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7f9587ff52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7f9588382dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7f958838388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7f9587a67266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7f9587bf8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7f9588384d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7f9588384cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7f9588b48f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7f9588b489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7f95887002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7f9588916804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7f9588708668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7f9588708f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7f958870a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7f958267dba8 - start_thread + 133: 0x7f9582701b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_42_47-73049.txt b/rustc-ice-2025-04-17T21_42_47-73049.txt new file mode 100644 index 0000000..1c6c04b --- /dev/null +++ b/rustc-ice-2025-04-17T21_42_47-73049.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7fbc90acc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7fbc8eecde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7fbc8df5c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7fbc8eee77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7fbc8eee74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7fbc8eee3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7fbc8eee719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7fbc8b889e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7fbc8ca35c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7fbc91047629 - ::ident.cold + 10: 0x7fbc8e0ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7fbc8e0de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7fbc8e09b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7fbc9031d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7fbc903186c0 - ::lower_assoc_path_ty + 15: 0x7fbc8f720ea9 - ::check_struct_path + 16: 0x7fbc8fe839ed - ::check_pat_inner + 17: 0x7fbc9038027e - ::check_expr_with_expectation_and_args + 18: 0x7fbc903739b7 - ::check_expr_block + 19: 0x7fbc9037e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7fbc903780df - ::check_expr_if + 21: 0x7fbc90380d85 - ::check_expr_with_expectation_and_args + 22: 0x7fbc903739b7 - ::check_expr_block + 23: 0x7fbc9037e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7fbc903780df - ::check_expr_if + 25: 0x7fbc90380d85 - ::check_expr_with_expectation_and_args + 26: 0x7fbc903739b7 - ::check_expr_block + 27: 0x7fbc903842f6 - ::check_expr_with_expectation_and_args + 28: 0x7fbc903739b7 - ::check_expr_block + 29: 0x7fbc9037e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7fbc90380e22 - ::check_expr_with_expectation_and_args + 31: 0x7fbc903739b7 - ::check_expr_block + 32: 0x7fbc9037e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7fbc8fea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7fbc90311a19 - ::check_expr_closure + 35: 0x7fbc90383724 - ::check_expr_with_expectation_and_args + 36: 0x7fbc8fea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7fbc8fe8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7fbc8fe8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7fbc8f86c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7fbc8f8688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7fbc8f945a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7fbc8f94532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7fbc8f8b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7fbc8f8bd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7fbc8f94a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7fbc8f60a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7fbc8f60a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7fbc8f86c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7fbc8f8bd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7fbc8f63622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7fbc8f635dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7fbc8f8b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7fbc8f8b4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7fbc8cc3256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7fbc8f942452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7fbc8fddaaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7fbc8fdda245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7fbc9084879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7fbc908486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7fbc8f86c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7fbc8f8bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7fbc908d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7fbc908d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7fbc908d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7fbc8f8c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7fbc90948583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7fbc8fec3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7fbc90268499 - ::confirm_candidate + 69: 0x7fbc9023dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7fbc90240ffb - ::evaluate_trait_predicate_recursively + 71: 0x7fbc8f758a3d - ::evaluate_root_obligation + 72: 0x7fbc8f756db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7fbc8f7567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7fbc8fd7c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7fbc8fd7b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7fbc8f9e6d74 - ::evaluate_obligation_no_overflow + 77: 0x7fbc8ffd8662 - ::process_obligation + 78: 0x7fbc8f607e08 - >::process_obligations:: + 79: 0x7fbc8f73b8a3 - ::confirm_builtin_call + 80: 0x7fbc9037db72 - ::check_expr_with_expectation_and_args + 81: 0x7fbc903738bc - ::check_expr_block + 82: 0x7fbc9037e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7fbc90380e22 - ::check_expr_with_expectation_and_args + 84: 0x7fbc903739b7 - ::check_expr_block + 85: 0x7fbc9037e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7fbc8fea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7fbc90311a19 - ::check_expr_closure + 88: 0x7fbc90383724 - ::check_expr_with_expectation_and_args + 89: 0x7fbc8fea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7fbc8fe8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7fbc8fe8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7fbc8f86c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7fbc8f86fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7fbc90a069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7fbc8f61b189 - >::try_mark_previous_green:: + 96: 0x7fbc8f61b0fd - >::try_mark_previous_green:: + 97: 0x7fbc8f61b0fd - >::try_mark_previous_green:: + 98: 0x7fbc8f61b0fd - >::try_mark_previous_green:: + 99: 0x7fbc8f61b0fd - >::try_mark_previous_green:: + 100: 0x7fbc8f86b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7fbc8f8bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7fbc908d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7fbc908d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7fbc908d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7fbc8f8c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7fbc90948583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7fbc8f8e5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7fbc8f8e4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7fbc8f8c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7fbc8f8bc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7fbc908d245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7fbc8fef160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7fbc8fdfc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7fbc8fdf9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7fbc8f8b593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7fbc8f8b50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7fbc8fdf58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7fbc8fdf52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7fbc90182dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7fbc9018388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7fbc8f867266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7fbc8f9f8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7fbc90184d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7fbc90184cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7fbc90948f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7fbc909489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7fbc905002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7fbc90716804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7fbc90508668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7fbc90508f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7fbc9050a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7fbc8a47dba8 - start_thread + 133: 0x7fbc8a501b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_42_49-73156.txt b/rustc-ice-2025-04-17T21_42_49-73156.txt new file mode 100644 index 0000000..58600dd --- /dev/null +++ b/rustc-ice-2025-04-17T21_42_49-73156.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7fec430cc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7fec414cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7fec4055c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7fec414e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7fec414e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7fec414e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7fec414e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7fec3de89e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7fec3f035c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7fec43647629 - ::ident.cold + 10: 0x7fec406ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7fec406de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7fec4069b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7fec4291d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7fec429186c0 - ::lower_assoc_path_ty + 15: 0x7fec41d20ea9 - ::check_struct_path + 16: 0x7fec424839ed - ::check_pat_inner + 17: 0x7fec4298027e - ::check_expr_with_expectation_and_args + 18: 0x7fec429739b7 - ::check_expr_block + 19: 0x7fec4297e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7fec429780df - ::check_expr_if + 21: 0x7fec42980d85 - ::check_expr_with_expectation_and_args + 22: 0x7fec429739b7 - ::check_expr_block + 23: 0x7fec4297e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7fec429780df - ::check_expr_if + 25: 0x7fec42980d85 - ::check_expr_with_expectation_and_args + 26: 0x7fec429739b7 - ::check_expr_block + 27: 0x7fec429842f6 - ::check_expr_with_expectation_and_args + 28: 0x7fec429739b7 - ::check_expr_block + 29: 0x7fec4297e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7fec42980e22 - ::check_expr_with_expectation_and_args + 31: 0x7fec429739b7 - ::check_expr_block + 32: 0x7fec4297e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7fec424a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7fec42911a19 - ::check_expr_closure + 35: 0x7fec42983724 - ::check_expr_with_expectation_and_args + 36: 0x7fec424a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7fec4248feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7fec4248ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7fec41e6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7fec41e688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7fec41f45a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7fec41f4532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7fec41eb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7fec41ebd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7fec41f4a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7fec41c0a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7fec41c0a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7fec41e6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7fec41ebd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7fec41c3622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7fec41c35dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7fec41eb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7fec41eb4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7fec3f23256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7fec41f42452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7fec423daaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7fec423da245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7fec42e4879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7fec42e486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7fec41e6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7fec41ebd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7fec42ed1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7fec42ed1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7fec42ed1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7fec41ec098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7fec42f48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7fec424c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7fec42868499 - ::confirm_candidate + 69: 0x7fec4283dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7fec42840ffb - ::evaluate_trait_predicate_recursively + 71: 0x7fec41d58a3d - ::evaluate_root_obligation + 72: 0x7fec41d56db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7fec41d567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7fec4237c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7fec4237b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7fec41fe6d74 - ::evaluate_obligation_no_overflow + 77: 0x7fec425d8662 - ::process_obligation + 78: 0x7fec41c07e08 - >::process_obligations:: + 79: 0x7fec41d3b8a3 - ::confirm_builtin_call + 80: 0x7fec4297db72 - ::check_expr_with_expectation_and_args + 81: 0x7fec429738bc - ::check_expr_block + 82: 0x7fec4297e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7fec42980e22 - ::check_expr_with_expectation_and_args + 84: 0x7fec429739b7 - ::check_expr_block + 85: 0x7fec4297e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7fec424a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7fec42911a19 - ::check_expr_closure + 88: 0x7fec42983724 - ::check_expr_with_expectation_and_args + 89: 0x7fec424a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7fec4248feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7fec4248ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7fec41e6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7fec41e6fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7fec430069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7fec41c1b189 - >::try_mark_previous_green:: + 96: 0x7fec41c1b0fd - >::try_mark_previous_green:: + 97: 0x7fec41c1b0fd - >::try_mark_previous_green:: + 98: 0x7fec41c1b0fd - >::try_mark_previous_green:: + 99: 0x7fec41c1b0fd - >::try_mark_previous_green:: + 100: 0x7fec41e6b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7fec41ebd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7fec42ed1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7fec42ed1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7fec42ed1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7fec41ec098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7fec42f48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7fec41ee5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7fec41ee4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7fec41ec098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7fec41ebc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7fec42ed245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7fec424f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7fec423fc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7fec423f9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7fec41eb593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7fec41eb50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7fec423f58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7fec423f52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7fec42782dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7fec4278388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7fec41e67266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7fec41ff8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7fec42784d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7fec42784cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7fec42f48f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7fec42f489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7fec42b002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7fec42d16804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7fec42b08668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7fec42b08f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7fec42b0a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7fec3ca7dba8 - start_thread + 133: 0x7fec3cb01b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_42_49-73157.txt b/rustc-ice-2025-04-17T21_42_49-73157.txt new file mode 100644 index 0000000..0cbbdf4 --- /dev/null +++ b/rustc-ice-2025-04-17T21_42_49-73157.txt @@ -0,0 +1,42 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7fd0400cc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7fd03e4cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7fd03d55c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7fd03e4e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7fd03e4e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7fd03e4e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7fd03e4e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7fd03ae89e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7fd03c035c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7fd040647629 - ::ident.cold + 10: 0x7fd03d6ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7fd03d6de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7fd03d69b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7fd03f91d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7fd03f9186c0 - ::lower_assoc_path_ty + 15: 0x7fd03ed20ea9 - ::check_struct_path + 16: 0x7fd03f4839ed - ::check_pat_inner + 17: 0x7fd03f98027e - ::check_expr_with_expectation_and_args + 18: 0x7fd03f9739b7 - ::check_expr_block + 19: 0x7fd03f97e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7fd03f9780df - ::check_expr_if + 21: 0x7fd03f980d85 - ::check_expr_with_expectation_and_args + 22: 0x7fd03f9739b7 - ::check_expr_block + 23: 0x7fd03f97e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7fd03f9780df - ::check_expr_if + 25: 0x7fd03f980d85 - ::check_expr_with_expectation_and_args + 26: 0x7fd03f9739b7 - ::check_expr_block + 27: 0x7fd03f9842f6 - ::check_expr_with_expectation_and_args + 28: 0x7fd03f9739b7 - ::check_expr_block + 29: 0x7fd03f97e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7fd03f980e22 - ::check_expr_with_expectation_and_args + 31: 0x7fd03f9739b7 - ::check_expr_block + 32: 0x7fd03f97e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7fd03f4a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7fd03f911a19 - ::check_expr_closure + 35: 0x7fd03f983724 - ::check_expr_with_expectation_and_args + 36: 0x7fd03f4a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7fd03f48feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7fd03f48ebf6 - rustc_query_impl \ No newline at end of file diff --git a/rustc-ice-2025-04-17T21_42_52-73286.txt b/rustc-ice-2025-04-17T21_42_52-73286.txt new file mode 100644 index 0000000..0622043 --- /dev/null +++ b/rustc-ice-2025-04-17T21_42_52-73286.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7f0e648cc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7f0e62ccde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7f0e61d5c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7f0e62ce77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7f0e62ce74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7f0e62ce3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7f0e62ce719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7f0e5f689e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7f0e60835c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7f0e64e47629 - ::ident.cold + 10: 0x7f0e61eac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7f0e61ede49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7f0e61e9b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7f0e6411d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7f0e641186c0 - ::lower_assoc_path_ty + 15: 0x7f0e63520ea9 - ::check_struct_path + 16: 0x7f0e63c839ed - ::check_pat_inner + 17: 0x7f0e6418027e - ::check_expr_with_expectation_and_args + 18: 0x7f0e641739b7 - ::check_expr_block + 19: 0x7f0e6417e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7f0e641780df - ::check_expr_if + 21: 0x7f0e64180d85 - ::check_expr_with_expectation_and_args + 22: 0x7f0e641739b7 - ::check_expr_block + 23: 0x7f0e6417e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7f0e641780df - ::check_expr_if + 25: 0x7f0e64180d85 - ::check_expr_with_expectation_and_args + 26: 0x7f0e641739b7 - ::check_expr_block + 27: 0x7f0e641842f6 - ::check_expr_with_expectation_and_args + 28: 0x7f0e641739b7 - ::check_expr_block + 29: 0x7f0e6417e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7f0e64180e22 - ::check_expr_with_expectation_and_args + 31: 0x7f0e641739b7 - ::check_expr_block + 32: 0x7f0e6417e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7f0e63ca293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7f0e64111a19 - ::check_expr_closure + 35: 0x7f0e64183724 - ::check_expr_with_expectation_and_args + 36: 0x7f0e63ca293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7f0e63c8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7f0e63c8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7f0e6366c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7f0e636688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7f0e63745a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7f0e6374532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7f0e636b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7f0e636bd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7f0e6374a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7f0e6340a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7f0e6340a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7f0e6366c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7f0e636bd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7f0e6343622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7f0e63435dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7f0e636b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7f0e636b4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7f0e60a3256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7f0e63742452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7f0e63bdaaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7f0e63bda245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7f0e6464879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7f0e646486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7f0e6366c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7f0e636bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7f0e646d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7f0e646d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7f0e646d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7f0e636c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7f0e64748583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7f0e63cc3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7f0e64068499 - ::confirm_candidate + 69: 0x7f0e6403dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7f0e64040ffb - ::evaluate_trait_predicate_recursively + 71: 0x7f0e63558a3d - ::evaluate_root_obligation + 72: 0x7f0e63556db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7f0e635567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7f0e63b7c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7f0e63b7b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7f0e637e6d74 - ::evaluate_obligation_no_overflow + 77: 0x7f0e63dd8662 - ::process_obligation + 78: 0x7f0e63407e08 - >::process_obligations:: + 79: 0x7f0e6353b8a3 - ::confirm_builtin_call + 80: 0x7f0e6417db72 - ::check_expr_with_expectation_and_args + 81: 0x7f0e641738bc - ::check_expr_block + 82: 0x7f0e6417e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7f0e64180e22 - ::check_expr_with_expectation_and_args + 84: 0x7f0e641739b7 - ::check_expr_block + 85: 0x7f0e6417e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7f0e63ca293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7f0e64111a19 - ::check_expr_closure + 88: 0x7f0e64183724 - ::check_expr_with_expectation_and_args + 89: 0x7f0e63ca293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7f0e63c8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7f0e63c8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7f0e6366c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7f0e6366fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7f0e648069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7f0e6341b189 - >::try_mark_previous_green:: + 96: 0x7f0e6341b0fd - >::try_mark_previous_green:: + 97: 0x7f0e6341b0fd - >::try_mark_previous_green:: + 98: 0x7f0e6341b0fd - >::try_mark_previous_green:: + 99: 0x7f0e6341b0fd - >::try_mark_previous_green:: + 100: 0x7f0e6366b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7f0e636bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7f0e646d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7f0e646d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7f0e646d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7f0e636c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7f0e64748583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7f0e636e5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7f0e636e4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7f0e636c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7f0e636bc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7f0e646d245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7f0e63cf160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7f0e63bfc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7f0e63bf9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7f0e636b593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7f0e636b50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7f0e63bf58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7f0e63bf52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7f0e63f82dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7f0e63f8388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7f0e63667266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7f0e637f8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7f0e63f84d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7f0e63f84cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7f0e64748f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7f0e647489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7f0e643002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7f0e64516804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7f0e64308668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7f0e64308f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7f0e6430a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7f0e5e278ba8 - start_thread + 133: 0x7f0e5e2fcb8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_42_52-73287.txt b/rustc-ice-2025-04-17T21_42_52-73287.txt new file mode 100644 index 0000000..8238c48 --- /dev/null +++ b/rustc-ice-2025-04-17T21_42_52-73287.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7faf702cc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7faf6e6cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7faf6d75c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7faf6e6e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7faf6e6e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7faf6e6e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7faf6e6e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7faf6b089e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7faf6c235c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7faf70847629 - ::ident.cold + 10: 0x7faf6d8ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7faf6d8de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7faf6d89b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7faf6fb1d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7faf6fb186c0 - ::lower_assoc_path_ty + 15: 0x7faf6ef20ea9 - ::check_struct_path + 16: 0x7faf6f6839ed - ::check_pat_inner + 17: 0x7faf6fb8027e - ::check_expr_with_expectation_and_args + 18: 0x7faf6fb739b7 - ::check_expr_block + 19: 0x7faf6fb7e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7faf6fb780df - ::check_expr_if + 21: 0x7faf6fb80d85 - ::check_expr_with_expectation_and_args + 22: 0x7faf6fb739b7 - ::check_expr_block + 23: 0x7faf6fb7e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7faf6fb780df - ::check_expr_if + 25: 0x7faf6fb80d85 - ::check_expr_with_expectation_and_args + 26: 0x7faf6fb739b7 - ::check_expr_block + 27: 0x7faf6fb842f6 - ::check_expr_with_expectation_and_args + 28: 0x7faf6fb739b7 - ::check_expr_block + 29: 0x7faf6fb7e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7faf6fb80e22 - ::check_expr_with_expectation_and_args + 31: 0x7faf6fb739b7 - ::check_expr_block + 32: 0x7faf6fb7e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7faf6f6a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7faf6fb11a19 - ::check_expr_closure + 35: 0x7faf6fb83724 - ::check_expr_with_expectation_and_args + 36: 0x7faf6f6a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7faf6f68feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7faf6f68ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7faf6f06c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7faf6f0688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7faf6f145a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7faf6f14532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7faf6f0b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7faf6f0bd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7faf6f14a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7faf6ee0a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7faf6ee0a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7faf6f06c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7faf6f0bd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7faf6ee3622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7faf6ee35dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7faf6f0b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7faf6f0b4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7faf6c43256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7faf6f142452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7faf6f5daaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7faf6f5da245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7faf7004879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7faf700486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7faf6f06c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7faf6f0bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7faf700d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7faf700d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7faf700d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7faf6f0c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7faf70148583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7faf6f6c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7faf6fa68499 - ::confirm_candidate + 69: 0x7faf6fa3dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7faf6fa40ffb - ::evaluate_trait_predicate_recursively + 71: 0x7faf6ef58a3d - ::evaluate_root_obligation + 72: 0x7faf6ef56db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7faf6ef567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7faf6f57c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7faf6f57b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7faf6f1e6d74 - ::evaluate_obligation_no_overflow + 77: 0x7faf6f7d8662 - ::process_obligation + 78: 0x7faf6ee07e08 - >::process_obligations:: + 79: 0x7faf6ef3b8a3 - ::confirm_builtin_call + 80: 0x7faf6fb7db72 - ::check_expr_with_expectation_and_args + 81: 0x7faf6fb738bc - ::check_expr_block + 82: 0x7faf6fb7e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7faf6fb80e22 - ::check_expr_with_expectation_and_args + 84: 0x7faf6fb739b7 - ::check_expr_block + 85: 0x7faf6fb7e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7faf6f6a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7faf6fb11a19 - ::check_expr_closure + 88: 0x7faf6fb83724 - ::check_expr_with_expectation_and_args + 89: 0x7faf6f6a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7faf6f68feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7faf6f68ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7faf6f06c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7faf6f06fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7faf702069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7faf6ee1b189 - >::try_mark_previous_green:: + 96: 0x7faf6ee1b0fd - >::try_mark_previous_green:: + 97: 0x7faf6ee1b0fd - >::try_mark_previous_green:: + 98: 0x7faf6ee1b0fd - >::try_mark_previous_green:: + 99: 0x7faf6ee1b0fd - >::try_mark_previous_green:: + 100: 0x7faf6f06b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7faf6f0bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7faf700d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7faf700d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7faf700d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7faf6f0c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7faf70148583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7faf6f0e5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7faf6f0e4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7faf6f0c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7faf6f0bc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7faf700d245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7faf6f6f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7faf6f5fc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7faf6f5f9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7faf6f0b593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7faf6f0b50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7faf6f5f58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7faf6f5f52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7faf6f982dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7faf6f98388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7faf6f067266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7faf6f1f8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7faf6f984d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7faf6f984cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7faf70148f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7faf701489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7faf6fd002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7faf6ff16804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7faf6fd08668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7faf6fd08f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7faf6fd0a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7faf69c6eba8 - start_thread + 133: 0x7faf69cf2b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_43_00-73446.txt b/rustc-ice-2025-04-17T21_43_00-73446.txt new file mode 100644 index 0000000..5d025fc --- /dev/null +++ b/rustc-ice-2025-04-17T21_43_00-73446.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7fcef10cc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7fceef4cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7fceee55c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7fceef4e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7fceef4e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7fceef4e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7fceef4e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7fceebe89e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7fceed035c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7fcef1647629 - ::ident.cold + 10: 0x7fceee6ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7fceee6de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7fceee69b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7fcef091d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7fcef09186c0 - ::lower_assoc_path_ty + 15: 0x7fceefd20ea9 - ::check_struct_path + 16: 0x7fcef04839ed - ::check_pat_inner + 17: 0x7fcef098027e - ::check_expr_with_expectation_and_args + 18: 0x7fcef09739b7 - ::check_expr_block + 19: 0x7fcef097e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7fcef09780df - ::check_expr_if + 21: 0x7fcef0980d85 - ::check_expr_with_expectation_and_args + 22: 0x7fcef09739b7 - ::check_expr_block + 23: 0x7fcef097e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7fcef09780df - ::check_expr_if + 25: 0x7fcef0980d85 - ::check_expr_with_expectation_and_args + 26: 0x7fcef09739b7 - ::check_expr_block + 27: 0x7fcef09842f6 - ::check_expr_with_expectation_and_args + 28: 0x7fcef09739b7 - ::check_expr_block + 29: 0x7fcef097e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7fcef0980e22 - ::check_expr_with_expectation_and_args + 31: 0x7fcef09739b7 - ::check_expr_block + 32: 0x7fcef097e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7fcef04a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7fcef0911a19 - ::check_expr_closure + 35: 0x7fcef0983724 - ::check_expr_with_expectation_and_args + 36: 0x7fcef04a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7fcef048feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7fcef048ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7fceefe6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7fceefe688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7fceeff45a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7fceeff4532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7fceefeb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7fceefebd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7fceeff4a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7fceefc0a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7fceefc0a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7fceefe6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7fceefebd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7fceefc3622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7fceefc35dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7fceefeb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7fceefeb4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7fceed23256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7fceeff42452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7fcef03daaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7fcef03da245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7fcef0e4879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7fcef0e486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7fceefe6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7fceefebd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7fcef0ed1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7fcef0ed1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7fcef0ed1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7fceefec098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7fcef0f48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7fcef04c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7fcef0868499 - ::confirm_candidate + 69: 0x7fcef083dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7fcef0840ffb - ::evaluate_trait_predicate_recursively + 71: 0x7fceefd58a3d - ::evaluate_root_obligation + 72: 0x7fceefd56db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7fceefd567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7fcef037c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7fcef037b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7fceeffe6d74 - ::evaluate_obligation_no_overflow + 77: 0x7fcef05d8662 - ::process_obligation + 78: 0x7fceefc07e08 - >::process_obligations:: + 79: 0x7fceefd3b8a3 - ::confirm_builtin_call + 80: 0x7fcef097db72 - ::check_expr_with_expectation_and_args + 81: 0x7fcef09738bc - ::check_expr_block + 82: 0x7fcef097e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7fcef0980e22 - ::check_expr_with_expectation_and_args + 84: 0x7fcef09739b7 - ::check_expr_block + 85: 0x7fcef097e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7fcef04a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7fcef0911a19 - ::check_expr_closure + 88: 0x7fcef0983724 - ::check_expr_with_expectation_and_args + 89: 0x7fcef04a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7fcef048feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7fcef048ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7fceefe6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7fceefe6fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7fcef10069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7fceefc1b189 - >::try_mark_previous_green:: + 96: 0x7fceefc1b0fd - >::try_mark_previous_green:: + 97: 0x7fceefc1b0fd - >::try_mark_previous_green:: + 98: 0x7fceefc1b0fd - >::try_mark_previous_green:: + 99: 0x7fceefc1b0fd - >::try_mark_previous_green:: + 100: 0x7fceefe6b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7fceefebd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7fcef0ed1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7fcef0ed1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7fcef0ed1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7fceefec098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7fcef0f48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7fceefee5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7fceefee4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7fceefec098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7fceefebc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7fcef0ed245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7fcef04f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7fcef03fc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7fcef03f9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7fceefeb593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7fceefeb50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7fcef03f58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7fcef03f52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7fcef0782dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7fcef078388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7fceefe67266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7fceefff8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7fcef0784d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7fcef0784cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7fcef0f48f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7fcef0f489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7fcef0b002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7fcef0d16804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7fcef0b08668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7fcef0b08f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7fcef0b0a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7fceeaa7dba8 - start_thread + 133: 0x7fceeab01b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_43_00-73447.txt b/rustc-ice-2025-04-17T21_43_00-73447.txt new file mode 100644 index 0000000..073a5f5 --- /dev/null +++ b/rustc-ice-2025-04-17T21_43_00-73447.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7f4bedecc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7f4bec2cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7f4beb35c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7f4bec2e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7f4bec2e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7f4bec2e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7f4bec2e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7f4be8c89e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7f4be9e35c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7f4bee447629 - ::ident.cold + 10: 0x7f4beb4ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7f4beb4de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7f4beb49b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7f4bed71d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7f4bed7186c0 - ::lower_assoc_path_ty + 15: 0x7f4becb20ea9 - ::check_struct_path + 16: 0x7f4bed2839ed - ::check_pat_inner + 17: 0x7f4bed78027e - ::check_expr_with_expectation_and_args + 18: 0x7f4bed7739b7 - ::check_expr_block + 19: 0x7f4bed77e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7f4bed7780df - ::check_expr_if + 21: 0x7f4bed780d85 - ::check_expr_with_expectation_and_args + 22: 0x7f4bed7739b7 - ::check_expr_block + 23: 0x7f4bed77e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7f4bed7780df - ::check_expr_if + 25: 0x7f4bed780d85 - ::check_expr_with_expectation_and_args + 26: 0x7f4bed7739b7 - ::check_expr_block + 27: 0x7f4bed7842f6 - ::check_expr_with_expectation_and_args + 28: 0x7f4bed7739b7 - ::check_expr_block + 29: 0x7f4bed77e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7f4bed780e22 - ::check_expr_with_expectation_and_args + 31: 0x7f4bed7739b7 - ::check_expr_block + 32: 0x7f4bed77e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7f4bed2a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7f4bed711a19 - ::check_expr_closure + 35: 0x7f4bed783724 - ::check_expr_with_expectation_and_args + 36: 0x7f4bed2a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7f4bed28feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7f4bed28ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7f4becc6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7f4becc688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7f4becd45a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7f4becd4532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7f4beccb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7f4beccbd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7f4becd4a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7f4beca0a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7f4beca0a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7f4becc6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7f4beccbd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7f4beca3622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7f4beca35dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7f4beccb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7f4beccb4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7f4bea03256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7f4becd42452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7f4bed1daaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7f4bed1da245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7f4bedc4879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7f4bedc486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7f4becc6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7f4beccbd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7f4bedcd1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7f4bedcd1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7f4bedcd1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7f4beccc098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7f4bedd48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7f4bed2c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7f4bed668499 - ::confirm_candidate + 69: 0x7f4bed63dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7f4bed640ffb - ::evaluate_trait_predicate_recursively + 71: 0x7f4becb58a3d - ::evaluate_root_obligation + 72: 0x7f4becb56db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7f4becb567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7f4bed17c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7f4bed17b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7f4becde6d74 - ::evaluate_obligation_no_overflow + 77: 0x7f4bed3d8662 - ::process_obligation + 78: 0x7f4beca07e08 - >::process_obligations:: + 79: 0x7f4becb3b8a3 - ::confirm_builtin_call + 80: 0x7f4bed77db72 - ::check_expr_with_expectation_and_args + 81: 0x7f4bed7738bc - ::check_expr_block + 82: 0x7f4bed77e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7f4bed780e22 - ::check_expr_with_expectation_and_args + 84: 0x7f4bed7739b7 - ::check_expr_block + 85: 0x7f4bed77e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7f4bed2a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7f4bed711a19 - ::check_expr_closure + 88: 0x7f4bed783724 - ::check_expr_with_expectation_and_args + 89: 0x7f4bed2a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7f4bed28feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7f4bed28ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7f4becc6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7f4becc6fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7f4bede069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7f4beca1b189 - >::try_mark_previous_green:: + 96: 0x7f4beca1b0fd - >::try_mark_previous_green:: + 97: 0x7f4beca1b0fd - >::try_mark_previous_green:: + 98: 0x7f4beca1b0fd - >::try_mark_previous_green:: + 99: 0x7f4beca1b0fd - >::try_mark_previous_green:: + 100: 0x7f4becc6b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7f4beccbd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7f4bedcd1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7f4bedcd1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7f4bedcd1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7f4beccc098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7f4bedd48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7f4becce5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7f4becce4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7f4beccc098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7f4beccbc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7f4bedcd245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7f4bed2f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7f4bed1fc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7f4bed1f9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7f4beccb593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7f4beccb50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7f4bed1f58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7f4bed1f52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7f4bed582dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7f4bed58388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7f4becc67266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7f4becdf8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7f4bed584d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7f4bed584cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7f4bedd48f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7f4bedd489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7f4bed9002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7f4bedb16804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7f4bed908668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7f4bed908f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7f4bed90a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7f4be787dba8 - start_thread + 133: 0x7f4be7901b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_43_08-73606.txt b/rustc-ice-2025-04-17T21_43_08-73606.txt new file mode 100644 index 0000000..516ad7a --- /dev/null +++ b/rustc-ice-2025-04-17T21_43_08-73606.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7f25aaecc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7f25a92cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7f25a835c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7f25a92e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7f25a92e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7f25a92e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7f25a92e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7f25a5c89e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7f25a6e35c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7f25ab447629 - ::ident.cold + 10: 0x7f25a84ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7f25a84de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7f25a849b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7f25aa71d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7f25aa7186c0 - ::lower_assoc_path_ty + 15: 0x7f25a9b20ea9 - ::check_struct_path + 16: 0x7f25aa2839ed - ::check_pat_inner + 17: 0x7f25aa78027e - ::check_expr_with_expectation_and_args + 18: 0x7f25aa7739b7 - ::check_expr_block + 19: 0x7f25aa77e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7f25aa7780df - ::check_expr_if + 21: 0x7f25aa780d85 - ::check_expr_with_expectation_and_args + 22: 0x7f25aa7739b7 - ::check_expr_block + 23: 0x7f25aa77e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7f25aa7780df - ::check_expr_if + 25: 0x7f25aa780d85 - ::check_expr_with_expectation_and_args + 26: 0x7f25aa7739b7 - ::check_expr_block + 27: 0x7f25aa7842f6 - ::check_expr_with_expectation_and_args + 28: 0x7f25aa7739b7 - ::check_expr_block + 29: 0x7f25aa77e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7f25aa780e22 - ::check_expr_with_expectation_and_args + 31: 0x7f25aa7739b7 - ::check_expr_block + 32: 0x7f25aa77e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7f25aa2a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7f25aa711a19 - ::check_expr_closure + 35: 0x7f25aa783724 - ::check_expr_with_expectation_and_args + 36: 0x7f25aa2a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7f25aa28feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7f25aa28ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7f25a9c6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7f25a9c688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7f25a9d45a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7f25a9d4532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7f25a9cb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7f25a9cbd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7f25a9d4a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7f25a9a0a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7f25a9a0a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7f25a9c6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7f25a9cbd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7f25a9a3622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7f25a9a35dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7f25a9cb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7f25a9cb4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7f25a703256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7f25a9d42452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7f25aa1daaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7f25aa1da245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7f25aac4879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7f25aac486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7f25a9c6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7f25a9cbd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7f25aacd1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7f25aacd1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7f25aacd1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7f25a9cc098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7f25aad48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7f25aa2c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7f25aa668499 - ::confirm_candidate + 69: 0x7f25aa63dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7f25aa640ffb - ::evaluate_trait_predicate_recursively + 71: 0x7f25a9b58a3d - ::evaluate_root_obligation + 72: 0x7f25a9b56db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7f25a9b567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7f25aa17c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7f25aa17b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7f25a9de6d74 - ::evaluate_obligation_no_overflow + 77: 0x7f25aa3d8662 - ::process_obligation + 78: 0x7f25a9a07e08 - >::process_obligations:: + 79: 0x7f25a9b3b8a3 - ::confirm_builtin_call + 80: 0x7f25aa77db72 - ::check_expr_with_expectation_and_args + 81: 0x7f25aa7738bc - ::check_expr_block + 82: 0x7f25aa77e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7f25aa780e22 - ::check_expr_with_expectation_and_args + 84: 0x7f25aa7739b7 - ::check_expr_block + 85: 0x7f25aa77e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7f25aa2a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7f25aa711a19 - ::check_expr_closure + 88: 0x7f25aa783724 - ::check_expr_with_expectation_and_args + 89: 0x7f25aa2a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7f25aa28feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7f25aa28ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7f25a9c6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7f25a9c6fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7f25aae069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7f25a9a1b189 - >::try_mark_previous_green:: + 96: 0x7f25a9a1b0fd - >::try_mark_previous_green:: + 97: 0x7f25a9a1b0fd - >::try_mark_previous_green:: + 98: 0x7f25a9a1b0fd - >::try_mark_previous_green:: + 99: 0x7f25a9a1b0fd - >::try_mark_previous_green:: + 100: 0x7f25a9c6b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7f25a9cbd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7f25aacd1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7f25aacd1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7f25aacd1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7f25a9cc098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7f25aad48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7f25a9ce5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7f25a9ce4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7f25a9cc098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7f25a9cbc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7f25aacd245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7f25aa2f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7f25aa1fc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7f25aa1f9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7f25a9cb593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7f25a9cb50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7f25aa1f58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7f25aa1f52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7f25aa582dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7f25aa58388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7f25a9c67266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7f25a9df8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7f25aa584d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7f25aa584cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7f25aad48f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7f25aad489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7f25aa9002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7f25aab16804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7f25aa908668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7f25aa908f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7f25aa90a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7f25a487dba8 - start_thread + 133: 0x7f25a4901b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_43_08-73607.txt b/rustc-ice-2025-04-17T21_43_08-73607.txt new file mode 100644 index 0000000..35c3add --- /dev/null +++ b/rustc-ice-2025-04-17T21_43_08-73607.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7f29492cc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7f29476cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7f294675c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7f29476e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7f29476e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7f29476e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7f29476e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7f2944089e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7f2945235c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7f2949847629 - ::ident.cold + 10: 0x7f29468ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7f29468de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7f294689b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7f2948b1d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7f2948b186c0 - ::lower_assoc_path_ty + 15: 0x7f2947f20ea9 - ::check_struct_path + 16: 0x7f29486839ed - ::check_pat_inner + 17: 0x7f2948b8027e - ::check_expr_with_expectation_and_args + 18: 0x7f2948b739b7 - ::check_expr_block + 19: 0x7f2948b7e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7f2948b780df - ::check_expr_if + 21: 0x7f2948b80d85 - ::check_expr_with_expectation_and_args + 22: 0x7f2948b739b7 - ::check_expr_block + 23: 0x7f2948b7e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7f2948b780df - ::check_expr_if + 25: 0x7f2948b80d85 - ::check_expr_with_expectation_and_args + 26: 0x7f2948b739b7 - ::check_expr_block + 27: 0x7f2948b842f6 - ::check_expr_with_expectation_and_args + 28: 0x7f2948b739b7 - ::check_expr_block + 29: 0x7f2948b7e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7f2948b80e22 - ::check_expr_with_expectation_and_args + 31: 0x7f2948b739b7 - ::check_expr_block + 32: 0x7f2948b7e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7f29486a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7f2948b11a19 - ::check_expr_closure + 35: 0x7f2948b83724 - ::check_expr_with_expectation_and_args + 36: 0x7f29486a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7f294868feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7f294868ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7f294806c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7f29480688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7f2948145a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7f294814532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7f29480b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7f29480bd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7f294814a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7f2947e0a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7f2947e0a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7f294806c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7f29480bd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7f2947e3622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7f2947e35dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7f29480b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7f29480b4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7f294543256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7f2948142452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7f29485daaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7f29485da245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7f294904879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7f29490486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7f294806c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7f29480bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7f29490d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7f29490d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7f29490d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7f29480c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7f2949148583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7f29486c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7f2948a68499 - ::confirm_candidate + 69: 0x7f2948a3dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7f2948a40ffb - ::evaluate_trait_predicate_recursively + 71: 0x7f2947f58a3d - ::evaluate_root_obligation + 72: 0x7f2947f56db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7f2947f567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7f294857c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7f294857b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7f29481e6d74 - ::evaluate_obligation_no_overflow + 77: 0x7f29487d8662 - ::process_obligation + 78: 0x7f2947e07e08 - >::process_obligations:: + 79: 0x7f2947f3b8a3 - ::confirm_builtin_call + 80: 0x7f2948b7db72 - ::check_expr_with_expectation_and_args + 81: 0x7f2948b738bc - ::check_expr_block + 82: 0x7f2948b7e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7f2948b80e22 - ::check_expr_with_expectation_and_args + 84: 0x7f2948b739b7 - ::check_expr_block + 85: 0x7f2948b7e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7f29486a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7f2948b11a19 - ::check_expr_closure + 88: 0x7f2948b83724 - ::check_expr_with_expectation_and_args + 89: 0x7f29486a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7f294868feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7f294868ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7f294806c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7f294806fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7f29492069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7f2947e1b189 - >::try_mark_previous_green:: + 96: 0x7f2947e1b0fd - >::try_mark_previous_green:: + 97: 0x7f2947e1b0fd - >::try_mark_previous_green:: + 98: 0x7f2947e1b0fd - >::try_mark_previous_green:: + 99: 0x7f2947e1b0fd - >::try_mark_previous_green:: + 100: 0x7f294806b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7f29480bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7f29490d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7f29490d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7f29490d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7f29480c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7f2949148583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7f29480e5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7f29480e4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7f29480c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7f29480bc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7f29490d245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7f29486f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7f29485fc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7f29485f9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7f29480b593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7f29480b50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7f29485f58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7f29485f52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7f2948982dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7f294898388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7f2948067266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7f29481f8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7f2948984d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7f2948984cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7f2949148f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7f29491489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7f2948d002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7f2948f16804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7f2948d08668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7f2948d08f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7f2948d0a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7f2942c7dba8 - start_thread + 133: 0x7f2942d01b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_43_24-73862.txt b/rustc-ice-2025-04-17T21_43_24-73862.txt new file mode 100644 index 0000000..d482833 --- /dev/null +++ b/rustc-ice-2025-04-17T21_43_24-73862.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7f8c45acc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7f8c43ecde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7f8c42f5c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7f8c43ee77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7f8c43ee74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7f8c43ee3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7f8c43ee719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7f8c40889e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7f8c41a35c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7f8c46047629 - ::ident.cold + 10: 0x7f8c430ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7f8c430de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7f8c4309b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7f8c4531d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7f8c453186c0 - ::lower_assoc_path_ty + 15: 0x7f8c44720ea9 - ::check_struct_path + 16: 0x7f8c44e839ed - ::check_pat_inner + 17: 0x7f8c4538027e - ::check_expr_with_expectation_and_args + 18: 0x7f8c453739b7 - ::check_expr_block + 19: 0x7f8c4537e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7f8c453780df - ::check_expr_if + 21: 0x7f8c45380d85 - ::check_expr_with_expectation_and_args + 22: 0x7f8c453739b7 - ::check_expr_block + 23: 0x7f8c4537e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7f8c453780df - ::check_expr_if + 25: 0x7f8c45380d85 - ::check_expr_with_expectation_and_args + 26: 0x7f8c453739b7 - ::check_expr_block + 27: 0x7f8c453842f6 - ::check_expr_with_expectation_and_args + 28: 0x7f8c453739b7 - ::check_expr_block + 29: 0x7f8c4537e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7f8c45380e22 - ::check_expr_with_expectation_and_args + 31: 0x7f8c453739b7 - ::check_expr_block + 32: 0x7f8c4537e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7f8c44ea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7f8c45311a19 - ::check_expr_closure + 35: 0x7f8c45383724 - ::check_expr_with_expectation_and_args + 36: 0x7f8c44ea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7f8c44e8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7f8c44e8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7f8c4486c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7f8c448688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7f8c44945a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7f8c4494532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7f8c448b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7f8c448bd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7f8c4494a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7f8c4460a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7f8c4460a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7f8c4486c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7f8c448bd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7f8c4463622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7f8c44635dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7f8c448b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7f8c448b4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7f8c41c3256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7f8c44942452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7f8c44ddaaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7f8c44dda245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7f8c4584879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7f8c458486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7f8c4486c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7f8c448bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7f8c458d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7f8c458d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7f8c458d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7f8c448c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7f8c45948583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7f8c44ec3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7f8c45268499 - ::confirm_candidate + 69: 0x7f8c4523dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7f8c45240ffb - ::evaluate_trait_predicate_recursively + 71: 0x7f8c44758a3d - ::evaluate_root_obligation + 72: 0x7f8c44756db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7f8c447567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7f8c44d7c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7f8c44d7b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7f8c449e6d74 - ::evaluate_obligation_no_overflow + 77: 0x7f8c44fd8662 - ::process_obligation + 78: 0x7f8c44607e08 - >::process_obligations:: + 79: 0x7f8c4473b8a3 - ::confirm_builtin_call + 80: 0x7f8c4537db72 - ::check_expr_with_expectation_and_args + 81: 0x7f8c453738bc - ::check_expr_block + 82: 0x7f8c4537e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7f8c45380e22 - ::check_expr_with_expectation_and_args + 84: 0x7f8c453739b7 - ::check_expr_block + 85: 0x7f8c4537e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7f8c44ea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7f8c45311a19 - ::check_expr_closure + 88: 0x7f8c45383724 - ::check_expr_with_expectation_and_args + 89: 0x7f8c44ea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7f8c44e8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7f8c44e8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7f8c4486c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7f8c4486fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7f8c45a069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7f8c4461b189 - >::try_mark_previous_green:: + 96: 0x7f8c4461b0fd - >::try_mark_previous_green:: + 97: 0x7f8c4461b0fd - >::try_mark_previous_green:: + 98: 0x7f8c4461b0fd - >::try_mark_previous_green:: + 99: 0x7f8c4461b0fd - >::try_mark_previous_green:: + 100: 0x7f8c4486b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7f8c448bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7f8c458d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7f8c458d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7f8c458d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7f8c448c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7f8c45948583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7f8c448e5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7f8c448e4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7f8c448c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7f8c448bc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7f8c458d245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7f8c44ef160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7f8c44dfc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7f8c44df9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7f8c448b593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7f8c448b50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7f8c44df58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7f8c44df52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7f8c45182dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7f8c4518388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7f8c44867266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7f8c449f8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7f8c45184d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7f8c45184cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7f8c45948f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7f8c459489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7f8c455002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7f8c45716804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7f8c45508668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7f8c45508f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7f8c4550a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7f8c3f47dba8 - start_thread + 133: 0x7f8c3f501b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_43_24-73863.txt b/rustc-ice-2025-04-17T21_43_24-73863.txt new file mode 100644 index 0000000..09cae84 --- /dev/null +++ b/rustc-ice-2025-04-17T21_43_24-73863.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7f99d3ccc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7f99d20cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7f99d115c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7f99d20e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7f99d20e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7f99d20e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7f99d20e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7f99cea89e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7f99cfc35c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7f99d4247629 - ::ident.cold + 10: 0x7f99d12ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7f99d12de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7f99d129b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7f99d351d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7f99d35186c0 - ::lower_assoc_path_ty + 15: 0x7f99d2920ea9 - ::check_struct_path + 16: 0x7f99d30839ed - ::check_pat_inner + 17: 0x7f99d358027e - ::check_expr_with_expectation_and_args + 18: 0x7f99d35739b7 - ::check_expr_block + 19: 0x7f99d357e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7f99d35780df - ::check_expr_if + 21: 0x7f99d3580d85 - ::check_expr_with_expectation_and_args + 22: 0x7f99d35739b7 - ::check_expr_block + 23: 0x7f99d357e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7f99d35780df - ::check_expr_if + 25: 0x7f99d3580d85 - ::check_expr_with_expectation_and_args + 26: 0x7f99d35739b7 - ::check_expr_block + 27: 0x7f99d35842f6 - ::check_expr_with_expectation_and_args + 28: 0x7f99d35739b7 - ::check_expr_block + 29: 0x7f99d357e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7f99d3580e22 - ::check_expr_with_expectation_and_args + 31: 0x7f99d35739b7 - ::check_expr_block + 32: 0x7f99d357e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7f99d30a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7f99d3511a19 - ::check_expr_closure + 35: 0x7f99d3583724 - ::check_expr_with_expectation_and_args + 36: 0x7f99d30a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7f99d308feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7f99d308ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7f99d2a6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7f99d2a688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7f99d2b45a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7f99d2b4532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7f99d2ab55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7f99d2abd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7f99d2b4a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7f99d280a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7f99d280a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7f99d2a6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7f99d2abd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7f99d283622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7f99d2835dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7f99d2ab55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7f99d2ab4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7f99cfe3256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7f99d2b42452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7f99d2fdaaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7f99d2fda245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7f99d3a4879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7f99d3a486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7f99d2a6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7f99d2abd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7f99d3ad1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7f99d3ad1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7f99d3ad1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7f99d2ac098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7f99d3b48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7f99d30c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7f99d3468499 - ::confirm_candidate + 69: 0x7f99d343dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7f99d3440ffb - ::evaluate_trait_predicate_recursively + 71: 0x7f99d2958a3d - ::evaluate_root_obligation + 72: 0x7f99d2956db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7f99d29567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7f99d2f7c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7f99d2f7b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7f99d2be6d74 - ::evaluate_obligation_no_overflow + 77: 0x7f99d31d8662 - ::process_obligation + 78: 0x7f99d2807e08 - >::process_obligations:: + 79: 0x7f99d293b8a3 - ::confirm_builtin_call + 80: 0x7f99d357db72 - ::check_expr_with_expectation_and_args + 81: 0x7f99d35738bc - ::check_expr_block + 82: 0x7f99d357e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7f99d3580e22 - ::check_expr_with_expectation_and_args + 84: 0x7f99d35739b7 - ::check_expr_block + 85: 0x7f99d357e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7f99d30a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7f99d3511a19 - ::check_expr_closure + 88: 0x7f99d3583724 - ::check_expr_with_expectation_and_args + 89: 0x7f99d30a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7f99d308feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7f99d308ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7f99d2a6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7f99d2a6fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7f99d3c069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7f99d281b189 - >::try_mark_previous_green:: + 96: 0x7f99d281b0fd - >::try_mark_previous_green:: + 97: 0x7f99d281b0fd - >::try_mark_previous_green:: + 98: 0x7f99d281b0fd - >::try_mark_previous_green:: + 99: 0x7f99d281b0fd - >::try_mark_previous_green:: + 100: 0x7f99d2a6b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7f99d2abd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7f99d3ad1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7f99d3ad1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7f99d3ad1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7f99d2ac098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7f99d3b48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7f99d2ae5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7f99d2ae4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7f99d2ac098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7f99d2abc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7f99d3ad245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7f99d30f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7f99d2ffc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7f99d2ff9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7f99d2ab593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7f99d2ab50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7f99d2ff58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7f99d2ff52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7f99d3382dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7f99d338388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7f99d2a67266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7f99d2bf8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7f99d3384d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7f99d3384cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7f99d3b48f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7f99d3b489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7f99d37002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7f99d3916804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7f99d3708668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7f99d3708f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7f99d370a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7f99cd67dba8 - start_thread + 133: 0x7f99cd701b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_43_26-73960.txt b/rustc-ice-2025-04-17T21_43_26-73960.txt new file mode 100644 index 0000000..2b6b2d0 --- /dev/null +++ b/rustc-ice-2025-04-17T21_43_26-73960.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7f97cfacc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7f97cdecde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7f97ccf5c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7f97cdee77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7f97cdee74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7f97cdee3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7f97cdee719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7f97ca889e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7f97cba35c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7f97d0047629 - ::ident.cold + 10: 0x7f97cd0ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7f97cd0de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7f97cd09b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7f97cf31d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7f97cf3186c0 - ::lower_assoc_path_ty + 15: 0x7f97ce720ea9 - ::check_struct_path + 16: 0x7f97cee839ed - ::check_pat_inner + 17: 0x7f97cf38027e - ::check_expr_with_expectation_and_args + 18: 0x7f97cf3739b7 - ::check_expr_block + 19: 0x7f97cf37e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7f97cf3780df - ::check_expr_if + 21: 0x7f97cf380d85 - ::check_expr_with_expectation_and_args + 22: 0x7f97cf3739b7 - ::check_expr_block + 23: 0x7f97cf37e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7f97cf3780df - ::check_expr_if + 25: 0x7f97cf380d85 - ::check_expr_with_expectation_and_args + 26: 0x7f97cf3739b7 - ::check_expr_block + 27: 0x7f97cf3842f6 - ::check_expr_with_expectation_and_args + 28: 0x7f97cf3739b7 - ::check_expr_block + 29: 0x7f97cf37e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7f97cf380e22 - ::check_expr_with_expectation_and_args + 31: 0x7f97cf3739b7 - ::check_expr_block + 32: 0x7f97cf37e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7f97ceea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7f97cf311a19 - ::check_expr_closure + 35: 0x7f97cf383724 - ::check_expr_with_expectation_and_args + 36: 0x7f97ceea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7f97cee8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7f97cee8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7f97ce86c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7f97ce8688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7f97ce945a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7f97ce94532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7f97ce8b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7f97ce8bd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7f97ce94a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7f97ce60a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7f97ce60a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7f97ce86c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7f97ce8bd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7f97ce63622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7f97ce635dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7f97ce8b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7f97ce8b4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7f97cbc3256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7f97ce942452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7f97ceddaaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7f97cedda245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7f97cf84879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7f97cf8486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7f97ce86c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7f97ce8bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7f97cf8d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7f97cf8d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7f97cf8d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7f97ce8c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7f97cf948583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7f97ceec3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7f97cf268499 - ::confirm_candidate + 69: 0x7f97cf23dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7f97cf240ffb - ::evaluate_trait_predicate_recursively + 71: 0x7f97ce758a3d - ::evaluate_root_obligation + 72: 0x7f97ce756db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7f97ce7567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7f97ced7c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7f97ced7b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7f97ce9e6d74 - ::evaluate_obligation_no_overflow + 77: 0x7f97cefd8662 - ::process_obligation + 78: 0x7f97ce607e08 - >::process_obligations:: + 79: 0x7f97ce73b8a3 - ::confirm_builtin_call + 80: 0x7f97cf37db72 - ::check_expr_with_expectation_and_args + 81: 0x7f97cf3738bc - ::check_expr_block + 82: 0x7f97cf37e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7f97cf380e22 - ::check_expr_with_expectation_and_args + 84: 0x7f97cf3739b7 - ::check_expr_block + 85: 0x7f97cf37e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7f97ceea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7f97cf311a19 - ::check_expr_closure + 88: 0x7f97cf383724 - ::check_expr_with_expectation_and_args + 89: 0x7f97ceea293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7f97cee8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7f97cee8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7f97ce86c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7f97ce86fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7f97cfa069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7f97ce61b189 - >::try_mark_previous_green:: + 96: 0x7f97ce61b0fd - >::try_mark_previous_green:: + 97: 0x7f97ce61b0fd - >::try_mark_previous_green:: + 98: 0x7f97ce61b0fd - >::try_mark_previous_green:: + 99: 0x7f97ce61b0fd - >::try_mark_previous_green:: + 100: 0x7f97ce86b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7f97ce8bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7f97cf8d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7f97cf8d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7f97cf8d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7f97ce8c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7f97cf948583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7f97ce8e5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7f97ce8e4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7f97ce8c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7f97ce8bc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7f97cf8d245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7f97ceef160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7f97cedfc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7f97cedf9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7f97ce8b593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7f97ce8b50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7f97cedf58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7f97cedf52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7f97cf182dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7f97cf18388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7f97ce867266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7f97ce9f8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7f97cf184d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7f97cf184cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7f97cf948f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7f97cf9489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7f97cf5002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7f97cf716804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7f97cf508668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7f97cf508f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7f97cf50a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7f97c947dba8 - start_thread + 133: 0x7f97c9501b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_43_26-73961.txt b/rustc-ice-2025-04-17T21_43_26-73961.txt new file mode 100644 index 0000000..7d707da --- /dev/null +++ b/rustc-ice-2025-04-17T21_43_26-73961.txt @@ -0,0 +1,160 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7f93a08cc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7f939eccde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7f939dd5c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7f939ece77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7f939ece74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7f939ece3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7f939ece719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7f939b689e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7f939c835c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7f93a0e47629 - ::ident.cold + 10: 0x7f939deac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7f939dede49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7f939de9b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7f93a011d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7f93a01186c0 - ::lower_assoc_path_ty + 15: 0x7f939f520ea9 - ::check_struct_path + 16: 0x7f939fc839ed - ::check_pat_inner + 17: 0x7f93a018027e - ::check_expr_with_expectation_and_args + 18: 0x7f93a01739b7 - ::check_expr_block + 19: 0x7f93a017e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7f93a01780df - ::check_expr_if + 21: 0x7f93a0180d85 - ::check_expr_with_expectation_and_args + 22: 0x7f93a01739b7 - ::check_expr_block + 23: 0x7f93a017e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7f93a01780df - ::check_expr_if + 25: 0x7f93a0180d85 - ::check_expr_with_expectation_and_args + 26: 0x7f93a01739b7 - ::check_expr_block + 27: 0x7f93a01842f6 - ::check_expr_with_expectation_and_args + 28: 0x7f93a01739b7 - ::check_expr_block + 29: 0x7f93a017e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7f93a0180e22 - ::check_expr_with_expectation_and_args + 31: 0x7f93a01739b7 - ::check_expr_block + 32: 0x7f93a017e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7f939fca293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7f93a0111a19 - ::check_expr_closure + 35: 0x7f93a0183724 - ::check_expr_with_expectation_and_args + 36: 0x7f939fca293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7f939fc8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7f939fc8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7f939f66c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7f939f6688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7f939f745a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7f939f74532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7f939f6b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7f939f6bd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7f939f74a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7f939f40a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7f939f40a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7f939f66c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7f939f6bd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7f939f43622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7f939f435dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7f939f6b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7f939f6b4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7f939ca3256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7f939f742452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7f939fbdaaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7f939fbda245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7f93a064879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7f93a06486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7f939f66c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7f939f6bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7f93a06d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7f93a06d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7f93a06d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7f939f6c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7f93a0748583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7f939fcc3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7f93a0068499 - ::confirm_candidate + 69: 0x7f93a003dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7f93a0040ffb - ::evaluate_trait_predicate_recursively + 71: 0x7f939f558a3d - ::evaluate_root_obligation + 72: 0x7f939f556db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7f939f5567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7f939fb7c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7f939fb7b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7f939f7e6d74 - ::evaluate_obligation_no_overflow + 77: 0x7f939fdd8662 - ::process_obligation + 78: 0x7f939f407e08 - >::process_obligations:: + 79: 0x7f939f53b8a3 - ::confirm_builtin_call + 80: 0x7f93a017db72 - ::check_expr_with_expectation_and_args + 81: 0x7f93a01738bc - ::check_expr_block + 82: 0x7f93a017e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7f93a0180e22 - ::check_expr_with_expectation_and_args + 84: 0x7f93a01739b7 - ::check_expr_block + 85: 0x7f93a017e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7f939fca293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7f93a0111a19 - ::check_expr_closure + 88: 0x7f93a0183724 - ::check_expr_with_expectation_and_args + 89: 0x7f939fca293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7f939fc8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7f939fc8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7f939f66c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7f939f66fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7f93a08069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7f939f41b189 - >::try_mark_previous_green:: + 96: 0x7f939f41b0fd - >::try_mark_previous_green:: + 97: 0x7f939f41b0fd - >::try_mark_previous_green:: + 98: 0x7f939f41b0fd - >::try_mark_previous_green:: + 99: 0x7f939f41b0fd - >::try_mark_previous_green:: + 100: 0x7f939f66b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7f939f6bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7f93a06d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7f93a06d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7f93a06d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7f939f6c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7f93a0748583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7f939f6e5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7f939f6e4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7f939f6c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7f939f6bc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7f93a06d245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7f939fcf160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7f939fbfc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7f939fbf9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7f939f6b593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7f939f6b50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7f939fbf58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7f939fbf52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7f939ff82dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7f939ff8388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7f939f667266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7f939f7f8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7f939ff84d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7f939ff84cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7f93a0748f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7f93a07489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7f93a03002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7f93a0516804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7f93a0308668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7f93a0308f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7f93a030a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7f939a25aba8 - start_thread + 133: 0x7f939a2deb8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2025-04-17T21_43_29-74088.txt b/rustc-ice-2025-04-17T21_43_29-74088.txt new file mode 100644 index 0000000..275728c --- /dev/null +++ b/rustc-ice-2025-04-17T21_43_29-74088.txt @@ -0,0 +1,317 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7f8d5d0cc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7f8d5b4cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7f8d5a55c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7f8d5b4e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7f8d5b4e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7f8d5b4e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7f8d5b4e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7f8d57e89e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7f8d59035c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7f8d5d647629 - ::ident.cold + 10: 0x7f8d5a6ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7f8d5a6de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7f8d5a69b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7f8d5c91d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7f8d5c9186c0 - ::lower_assoc_path_ty + 15: 0x7f8d5bd20ea9 - ::check_struct_path + 16: 0x7f8d5c4839ed - ::check_pat_inner + 17: 0x7f8d5c98027e - ::check_expr_with_expectation_and_args + 18: 0x7f8d5c9739b7 - ::check_expr_block + 19: 0x7f8d5c97e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7f8d5c9780df - ::check_expr_if + 21: 0x7f8d5c980d85 - ::check_expr_with_expectation_and_args + 22: 0x7f8d5c9739b7 - ::check_expr_block + 23: 0x7f8d5c97e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7f8d5c9780df - ::check_expr_if + 25: 0x7f8d5c980d85 - ::check_expr_with_expectation_and_args + 26: 0x7f8d5c9739b7 - ::check_expr_block + 27: 0x7f8d5c9842f6 - ::check_expr_with_expectation_and_args + 28: 0x7f8d5c9739b7 - ::check_expr_block + 29: 0x7f8d5c97e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7f8d5c980e22 - ::check_expr_with_expectation_and_args + 31: 0x7f8d5c9739b7 - ::check_expr_block + 32: 0x7f8d5c97e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7f8d5c4a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7f8d5c911a19 - ::check_expr_closure + 35: 0x7f8d5c983724 - ::check_expr_with_expectation_and_args + 36: 0x7f8d5c4a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7f8d5c48feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7f8d5c48ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7f8d5be6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7f8d5be688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7f8d5bf45a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7f8d5bf4532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7f8d5beb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7f8d5bebd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7f8d5bf4a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7f8d5bc0a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7f8d5bc0a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7f8d5be6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7f8d5bebd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7f8d5bc3622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7f8d5bc35dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7f8d5beb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7f8d5beb4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7f8d5923256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7f8d5bf42452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7f8d5c3daaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7f8d5c3da245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7f8d5ce4879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7f8d5ce486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7f8d5be6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7f8d5bebd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7f8d5ced1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7f8d5ced1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7f8d5ced1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7f8d5bec098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7f8d5cf48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7f8d5c4c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7f8d5c868499 - ::confirm_candidate + 69: 0x7f8d5c83dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7f8d5c840ffb - ::evaluate_trait_predicate_recursively + 71: 0x7f8d5bd58a3d - ::evaluate_root_obligation + 72: 0x7f8d5bd56db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7f8d5bd567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7f8d5c37c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7f8d5c37b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7f8d5bfe6d74 - ::evaluate_obligation_no_overflow + 77: 0x7f8d5c5d8662 - ::process_obligation + 78: 0x7f8d5bc07e08 - >::process_obligations:: + 79: 0x7f8d5bd3b8a3 - ::confirm_builtin_call + 80: 0x7f8d5c97db72 - ::check_expr_with_expectation_and_args + 81: 0x7f8d5c9738bc - ::check_expr_block + 82: 0x7f8d5c97e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7f8d5c980e22 - ::check_expr_with_expectation_and_args + 84: 0x7f8d5c9739b7 - ::check_expr_block + 85: 0x7f8d5c97e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7f8d5c4a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7f8d5c911a19 - ::check_expr_closure + 88: 0x7f8d5c983724 - ::check_expr_with_expectation_and_args + 89: 0x7f8d5c4a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7f8d5c48feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7f8d5c48ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7f8d5be6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7f8d5be6fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7f8d5d0069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7f8d5bc1b189 - >::try_mark_previous_green:: + 96: 0x7f8d5bc1b0fd - >::try_mark_previous_green:: + 97: 0x7f8d5bc1b0fd - >::try_mark_previous_green:: + 98: 0x7f8d5bc1b0fd - >::try_mark_previous_green:: + 99: 0x7f8d5bc1b0fd - >::try_mark_previous_green:: + 100: 0x7f8d5be6b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7f8d5bebd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7f8d5ced1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7f8d5ced1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7f8d5ced1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7f8d5bec098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7f8d5cf48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7f8d5bee5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7f8d5bee4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7f8d5bec098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7f8d5bebc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7f8d5ced245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7f8d5c4f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7f8d5c3fc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7f8d5c3f9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7f8d5beb593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7f8d5beb50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7f8d5c3f58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7f8d5c3f52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7f8d5c782dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7f8d5c78388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7f8d5be67266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7f8d5bff8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7f8d5c784d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7f8d5c784cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7f8d5cf48f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7f8d5cf489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7f8d5cb002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7f8d5cd16804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7f8d5cb08668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7f8d5cb08f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7f8d5cb0a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7f8d56a7dba8 - start_thread + 133: 0x7f8d56b01b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack +delayed bug: {OpaqueTypeKey { def_id: DefId(0:907 ~ redlib[3790]::p2p::subscribe_loop::{opaque#0}), args: [] }: OpaqueHiddenType { span: src/p2p.rs:63:1: 63:54 (#2104), ty: ?0t }} + 0: ::emit_diagnostic + 1: ::emit_diagnostic + 2: ::emit_producing_guarantee + 3: ::delayed_bug:: + 4: core::ptr::drop_in_place:: + 5: core::ptr::drop_in_place:: + 6: rustc_hir_typeck::typeck_with_inspect::{closure#0} + 7: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 8: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 9: rustc_query_impl::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 10: rustc_mir_build::thir::pattern::check_match::check_match + 11: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 12: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 13: rustc_query_impl::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 14: rustc_mir_build::builder::build_mir + 15: rustc_mir_transform::mir_built + 16: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 17: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 18: rustc_query_impl::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 19: rustc_mir_transform::ffi_unwind_calls::has_ffi_unwind_calls + 20: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 21: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 22: rustc_query_impl::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 23: rustc_mir_transform::mir_promoted + 24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 25: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 26: rustc_query_impl::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 27: rustc_borrowck::mir_borrowck + 28: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 29: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 30: rustc_query_impl::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 31: rustc_hir_analysis::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 32: rustc_hir_analysis::collect::type_of::type_of_opaque + 33: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 34: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 35: rustc_query_impl::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 36: ::confirm_auto_impl_candidate::{closure#0} + 37: ::confirm_candidate + 38: ::evaluate_candidate::{closure#0}::{closure#0} + 39: ::evaluate_trait_predicate_recursively + 40: ::evaluate_root_obligation + 41: rustc_traits::evaluate_obligation::evaluate_obligation + 42: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 43: rustc_query_system::query::plumbing::try_execute_query::>, rustc_middle::query::erase::Erased<[u8; 2]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 44: rustc_query_impl::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 45: ::evaluate_obligation_no_overflow + 46: ::process_obligation + 47: >::process_obligations:: + 48: ::confirm_builtin_call + 49: ::check_expr_with_expectation_and_args + 50: ::check_expr_block + 51: ::check_expr_with_expectation_and_args + 52: ::check_expr_with_expectation_and_args + 53: ::check_expr_block + 54: ::check_expr_with_expectation_and_args + 55: rustc_hir_typeck::check::check_fn + 56: ::check_expr_closure + 57: ::check_expr_with_expectation_and_args + 58: rustc_hir_typeck::check::check_fn + 59: rustc_hir_typeck::typeck_with_inspect::{closure#0} + 60: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 61: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 62: rustc_query_impl::plumbing::force_from_dep_node::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>> + 63: ::{closure#0} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_query_system::dep_graph::dep_node::DepNode, rustc_query_system::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 64: >::try_mark_previous_green:: + 65: >::try_mark_previous_green:: + 66: >::try_mark_previous_green:: + 67: >::try_mark_previous_green:: + 68: >::try_mark_previous_green:: + 69: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 70: rustc_query_impl::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 71: rustc_hir_analysis::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 72: rustc_hir_analysis::collect::type_of::type_of_opaque + 73: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 74: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 75: rustc_query_impl::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 76: rustc_hir_analysis::collect::type_of::type_of + 77: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 78: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 79: rustc_query_impl::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 80: rustc_hir_analysis::check::check::check_opaque + 81: rustc_hir_analysis::check::check::check_item_type + 82: rustc_hir_analysis::check::wfcheck::check_well_formed + 83: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 84: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 85: rustc_query_impl::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 86: rustc_hir_analysis::check::wfcheck::check_mod_type_wf + 87: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 88: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 89: rustc_query_impl::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 90: rustc_hir_analysis::check_crate + 91: rustc_interface::passes::run_required_analyses + 92: rustc_interface::passes::analysis + 93: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 94: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 95: rustc_query_impl::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 96: rustc_interface::passes::create_and_enter_global_ctxt::, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 97: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1} + 98: std::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 99: <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 100: std::sys::pal::unix::thread::Thread::new::thread_start + 101: start_thread + 102: __GI___clone3 + +delayed bug: {OpaqueTypeKey { def_id: DefId(0:903 ~ redlib[3790]::p2p::main::{opaque#0}), args: [] }: OpaqueHiddenType { span: src/p2p.rs:15:1: 15:62 (#2097), ty: ?0t }} + 0: ::emit_diagnostic + 1: ::emit_diagnostic + 2: ::emit_producing_guarantee + 3: ::delayed_bug:: + 4: core::ptr::drop_in_place:: + 5: core::ptr::drop_in_place:: + 6: rustc_hir_typeck::typeck_with_inspect::{closure#0} + 7: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 8: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 9: rustc_query_impl::plumbing::force_from_dep_node::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>> + 10: ::{closure#0} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_query_system::dep_graph::dep_node::DepNode, rustc_query_system::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 11: >::try_mark_previous_green:: + 12: >::try_mark_previous_green:: + 13: >::try_mark_previous_green:: + 14: >::try_mark_previous_green:: + 15: >::try_mark_previous_green:: + 16: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 17: rustc_query_impl::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 18: rustc_hir_analysis::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 19: rustc_hir_analysis::collect::type_of::type_of_opaque + 20: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 21: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 22: rustc_query_impl::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 23: rustc_hir_analysis::collect::type_of::type_of + 24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 25: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 26: rustc_query_impl::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 27: rustc_hir_analysis::check::check::check_opaque + 28: rustc_hir_analysis::check::check::check_item_type + 29: rustc_hir_analysis::check::wfcheck::check_well_formed + 30: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 31: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 32: rustc_query_impl::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 33: rustc_hir_analysis::check::wfcheck::check_mod_type_wf + 34: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 35: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 36: rustc_query_impl::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 37: rustc_hir_analysis::check_crate + 38: rustc_interface::passes::run_required_analyses + 39: rustc_interface::passes::analysis + 40: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 41: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 42: rustc_query_impl::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 43: rustc_interface::passes::create_and_enter_global_ctxt::, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 44: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1} + 45: std::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 46: <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 47: std::sys::pal::unix::thread::Thread::new::thread_start + 48: start_thread + 49: __GI___clone3 + diff --git a/rustc-ice-2025-04-17T21_43_29-74089.txt b/rustc-ice-2025-04-17T21_43_29-74089.txt new file mode 100644 index 0000000..6b06cef --- /dev/null +++ b/rustc-ice-2025-04-17T21_43_29-74089.txt @@ -0,0 +1,317 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7feef90cc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7feef74cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7feef655c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7feef74e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7feef74e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7feef74e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7feef74e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7feef3e89e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7feef5035c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7feef9647629 - ::ident.cold + 10: 0x7feef66ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7feef66de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7feef669b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7feef891d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7feef89186c0 - ::lower_assoc_path_ty + 15: 0x7feef7d20ea9 - ::check_struct_path + 16: 0x7feef84839ed - ::check_pat_inner + 17: 0x7feef898027e - ::check_expr_with_expectation_and_args + 18: 0x7feef89739b7 - ::check_expr_block + 19: 0x7feef897e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7feef89780df - ::check_expr_if + 21: 0x7feef8980d85 - ::check_expr_with_expectation_and_args + 22: 0x7feef89739b7 - ::check_expr_block + 23: 0x7feef897e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7feef89780df - ::check_expr_if + 25: 0x7feef8980d85 - ::check_expr_with_expectation_and_args + 26: 0x7feef89739b7 - ::check_expr_block + 27: 0x7feef89842f6 - ::check_expr_with_expectation_and_args + 28: 0x7feef89739b7 - ::check_expr_block + 29: 0x7feef897e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7feef8980e22 - ::check_expr_with_expectation_and_args + 31: 0x7feef89739b7 - ::check_expr_block + 32: 0x7feef897e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7feef84a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7feef8911a19 - ::check_expr_closure + 35: 0x7feef8983724 - ::check_expr_with_expectation_and_args + 36: 0x7feef84a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7feef848feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7feef848ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7feef7e6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7feef7e688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7feef7f45a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7feef7f4532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7feef7eb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7feef7ebd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7feef7f4a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7feef7c0a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7feef7c0a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7feef7e6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7feef7ebd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7feef7c3622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7feef7c35dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7feef7eb55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7feef7eb4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7feef523256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7feef7f42452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7feef83daaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7feef83da245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7feef8e4879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7feef8e486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7feef7e6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7feef7ebd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7feef8ed1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7feef8ed1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7feef8ed1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7feef7ec098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7feef8f48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7feef84c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7feef8868499 - ::confirm_candidate + 69: 0x7feef883dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7feef8840ffb - ::evaluate_trait_predicate_recursively + 71: 0x7feef7d58a3d - ::evaluate_root_obligation + 72: 0x7feef7d56db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7feef7d567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7feef837c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7feef837b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7feef7fe6d74 - ::evaluate_obligation_no_overflow + 77: 0x7feef85d8662 - ::process_obligation + 78: 0x7feef7c07e08 - >::process_obligations:: + 79: 0x7feef7d3b8a3 - ::confirm_builtin_call + 80: 0x7feef897db72 - ::check_expr_with_expectation_and_args + 81: 0x7feef89738bc - ::check_expr_block + 82: 0x7feef897e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7feef8980e22 - ::check_expr_with_expectation_and_args + 84: 0x7feef89739b7 - ::check_expr_block + 85: 0x7feef897e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7feef84a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7feef8911a19 - ::check_expr_closure + 88: 0x7feef8983724 - ::check_expr_with_expectation_and_args + 89: 0x7feef84a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7feef848feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7feef848ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7feef7e6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7feef7e6fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7feef90069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7feef7c1b189 - >::try_mark_previous_green:: + 96: 0x7feef7c1b0fd - >::try_mark_previous_green:: + 97: 0x7feef7c1b0fd - >::try_mark_previous_green:: + 98: 0x7feef7c1b0fd - >::try_mark_previous_green:: + 99: 0x7feef7c1b0fd - >::try_mark_previous_green:: + 100: 0x7feef7e6b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7feef7ebd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7feef8ed1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7feef8ed1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7feef8ed1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7feef7ec098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7feef8f48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7feef7ee5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7feef7ee4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7feef7ec098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7feef7ebc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7feef8ed245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7feef84f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7feef83fc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7feef83f9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7feef7eb593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7feef7eb50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7feef83f58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7feef83f52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7feef8782dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7feef878388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7feef7e67266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7feef7ff8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7feef8784d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7feef8784cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7feef8f48f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7feef8f489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7feef8b002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7feef8d16804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7feef8b08668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7feef8b08f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7feef8b0a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7feef2a7dba8 - start_thread + 133: 0x7feef2b01b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack +delayed bug: {OpaqueTypeKey { def_id: DefId(0:886 ~ redlib[56d8]::p2p::subscribe_loop::{opaque#0}), args: [] }: OpaqueHiddenType { span: src/p2p.rs:63:1: 63:54 (#1693), ty: ?0t }} + 0: ::emit_diagnostic + 1: ::emit_diagnostic + 2: ::emit_producing_guarantee + 3: ::delayed_bug:: + 4: core::ptr::drop_in_place:: + 5: core::ptr::drop_in_place:: + 6: rustc_hir_typeck::typeck_with_inspect::{closure#0} + 7: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 8: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 9: rustc_query_impl::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 10: rustc_mir_build::thir::pattern::check_match::check_match + 11: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 12: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 13: rustc_query_impl::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 14: rustc_mir_build::builder::build_mir + 15: rustc_mir_transform::mir_built + 16: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 17: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 18: rustc_query_impl::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 19: rustc_mir_transform::ffi_unwind_calls::has_ffi_unwind_calls + 20: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 21: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 22: rustc_query_impl::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 23: rustc_mir_transform::mir_promoted + 24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 25: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 26: rustc_query_impl::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 27: rustc_borrowck::mir_borrowck + 28: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 29: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 30: rustc_query_impl::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 31: rustc_hir_analysis::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 32: rustc_hir_analysis::collect::type_of::type_of_opaque + 33: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 34: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 35: rustc_query_impl::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 36: ::confirm_auto_impl_candidate::{closure#0} + 37: ::confirm_candidate + 38: ::evaluate_candidate::{closure#0}::{closure#0} + 39: ::evaluate_trait_predicate_recursively + 40: ::evaluate_root_obligation + 41: rustc_traits::evaluate_obligation::evaluate_obligation + 42: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 43: rustc_query_system::query::plumbing::try_execute_query::>, rustc_middle::query::erase::Erased<[u8; 2]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 44: rustc_query_impl::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 45: ::evaluate_obligation_no_overflow + 46: ::process_obligation + 47: >::process_obligations:: + 48: ::confirm_builtin_call + 49: ::check_expr_with_expectation_and_args + 50: ::check_expr_block + 51: ::check_expr_with_expectation_and_args + 52: ::check_expr_with_expectation_and_args + 53: ::check_expr_block + 54: ::check_expr_with_expectation_and_args + 55: rustc_hir_typeck::check::check_fn + 56: ::check_expr_closure + 57: ::check_expr_with_expectation_and_args + 58: rustc_hir_typeck::check::check_fn + 59: rustc_hir_typeck::typeck_with_inspect::{closure#0} + 60: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 61: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 62: rustc_query_impl::plumbing::force_from_dep_node::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>> + 63: ::{closure#0} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_query_system::dep_graph::dep_node::DepNode, rustc_query_system::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 64: >::try_mark_previous_green:: + 65: >::try_mark_previous_green:: + 66: >::try_mark_previous_green:: + 67: >::try_mark_previous_green:: + 68: >::try_mark_previous_green:: + 69: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 70: rustc_query_impl::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 71: rustc_hir_analysis::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 72: rustc_hir_analysis::collect::type_of::type_of_opaque + 73: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 74: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 75: rustc_query_impl::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 76: rustc_hir_analysis::collect::type_of::type_of + 77: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 78: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 79: rustc_query_impl::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 80: rustc_hir_analysis::check::check::check_opaque + 81: rustc_hir_analysis::check::check::check_item_type + 82: rustc_hir_analysis::check::wfcheck::check_well_formed + 83: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 84: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 85: rustc_query_impl::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 86: rustc_hir_analysis::check::wfcheck::check_mod_type_wf + 87: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 88: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 89: rustc_query_impl::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 90: rustc_hir_analysis::check_crate + 91: rustc_interface::passes::run_required_analyses + 92: rustc_interface::passes::analysis + 93: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 94: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 95: rustc_query_impl::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 96: rustc_interface::passes::create_and_enter_global_ctxt::, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 97: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1} + 98: std::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 99: <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 100: std::sys::pal::unix::thread::Thread::new::thread_start + 101: start_thread + 102: __GI___clone3 + +delayed bug: {OpaqueTypeKey { def_id: DefId(0:882 ~ redlib[56d8]::p2p::main::{opaque#0}), args: [] }: OpaqueHiddenType { span: src/p2p.rs:15:1: 15:62 (#1686), ty: ?0t }} + 0: ::emit_diagnostic + 1: ::emit_diagnostic + 2: ::emit_producing_guarantee + 3: ::delayed_bug:: + 4: core::ptr::drop_in_place:: + 5: core::ptr::drop_in_place:: + 6: rustc_hir_typeck::typeck_with_inspect::{closure#0} + 7: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 8: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 9: rustc_query_impl::plumbing::force_from_dep_node::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>> + 10: ::{closure#0} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_query_system::dep_graph::dep_node::DepNode, rustc_query_system::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 11: >::try_mark_previous_green:: + 12: >::try_mark_previous_green:: + 13: >::try_mark_previous_green:: + 14: >::try_mark_previous_green:: + 15: >::try_mark_previous_green:: + 16: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 17: rustc_query_impl::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 18: rustc_hir_analysis::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 19: rustc_hir_analysis::collect::type_of::type_of_opaque + 20: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 21: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 22: rustc_query_impl::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 23: rustc_hir_analysis::collect::type_of::type_of + 24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 25: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 26: rustc_query_impl::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 27: rustc_hir_analysis::check::check::check_opaque + 28: rustc_hir_analysis::check::check::check_item_type + 29: rustc_hir_analysis::check::wfcheck::check_well_formed + 30: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 31: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 32: rustc_query_impl::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 33: rustc_hir_analysis::check::wfcheck::check_mod_type_wf + 34: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 35: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 36: rustc_query_impl::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 37: rustc_hir_analysis::check_crate + 38: rustc_interface::passes::run_required_analyses + 39: rustc_interface::passes::analysis + 40: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 41: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 42: rustc_query_impl::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 43: rustc_interface::passes::create_and_enter_global_ctxt::, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 44: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1} + 45: std::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 46: <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 47: std::sys::pal::unix::thread::Thread::new::thread_start + 48: start_thread + 49: __GI___clone3 + diff --git a/rustc-ice-2025-04-17T21_43_31-74155.txt b/rustc-ice-2025-04-17T21_43_31-74155.txt new file mode 100644 index 0000000..a5d53b6 --- /dev/null +++ b/rustc-ice-2025-04-17T21_43_31-74155.txt @@ -0,0 +1,317 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7f42a26cc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7f42a0acde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7f429fb5c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7f42a0ae77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7f42a0ae74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7f42a0ae3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7f42a0ae719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7f429d489e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7f429e635c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7f42a2c47629 - ::ident.cold + 10: 0x7f429fcac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7f429fcde49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7f429fc9b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7f42a1f1d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7f42a1f186c0 - ::lower_assoc_path_ty + 15: 0x7f42a1320ea9 - ::check_struct_path + 16: 0x7f42a1a839ed - ::check_pat_inner + 17: 0x7f42a1f8027e - ::check_expr_with_expectation_and_args + 18: 0x7f42a1f739b7 - ::check_expr_block + 19: 0x7f42a1f7e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7f42a1f780df - ::check_expr_if + 21: 0x7f42a1f80d85 - ::check_expr_with_expectation_and_args + 22: 0x7f42a1f739b7 - ::check_expr_block + 23: 0x7f42a1f7e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7f42a1f780df - ::check_expr_if + 25: 0x7f42a1f80d85 - ::check_expr_with_expectation_and_args + 26: 0x7f42a1f739b7 - ::check_expr_block + 27: 0x7f42a1f842f6 - ::check_expr_with_expectation_and_args + 28: 0x7f42a1f739b7 - ::check_expr_block + 29: 0x7f42a1f7e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7f42a1f80e22 - ::check_expr_with_expectation_and_args + 31: 0x7f42a1f739b7 - ::check_expr_block + 32: 0x7f42a1f7e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7f42a1aa293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7f42a1f11a19 - ::check_expr_closure + 35: 0x7f42a1f83724 - ::check_expr_with_expectation_and_args + 36: 0x7f42a1aa293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7f42a1a8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7f42a1a8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7f42a146c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7f42a14688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7f42a1545a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7f42a154532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7f42a14b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7f42a14bd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7f42a154a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7f42a120a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7f42a120a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7f42a146c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7f42a14bd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7f42a123622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7f42a1235dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7f42a14b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7f42a14b4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7f429e83256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7f42a1542452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7f42a19daaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7f42a19da245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7f42a244879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7f42a24486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7f42a146c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7f42a14bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7f42a24d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7f42a24d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7f42a24d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7f42a14c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7f42a2548583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7f42a1ac3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7f42a1e68499 - ::confirm_candidate + 69: 0x7f42a1e3dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7f42a1e40ffb - ::evaluate_trait_predicate_recursively + 71: 0x7f42a1358a3d - ::evaluate_root_obligation + 72: 0x7f42a1356db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7f42a13567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7f42a197c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7f42a197b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7f42a15e6d74 - ::evaluate_obligation_no_overflow + 77: 0x7f42a1bd8662 - ::process_obligation + 78: 0x7f42a1207e08 - >::process_obligations:: + 79: 0x7f42a133b8a3 - ::confirm_builtin_call + 80: 0x7f42a1f7db72 - ::check_expr_with_expectation_and_args + 81: 0x7f42a1f738bc - ::check_expr_block + 82: 0x7f42a1f7e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7f42a1f80e22 - ::check_expr_with_expectation_and_args + 84: 0x7f42a1f739b7 - ::check_expr_block + 85: 0x7f42a1f7e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7f42a1aa293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7f42a1f11a19 - ::check_expr_closure + 88: 0x7f42a1f83724 - ::check_expr_with_expectation_and_args + 89: 0x7f42a1aa293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7f42a1a8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7f42a1a8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7f42a146c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7f42a146fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7f42a26069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7f42a121b189 - >::try_mark_previous_green:: + 96: 0x7f42a121b0fd - >::try_mark_previous_green:: + 97: 0x7f42a121b0fd - >::try_mark_previous_green:: + 98: 0x7f42a121b0fd - >::try_mark_previous_green:: + 99: 0x7f42a121b0fd - >::try_mark_previous_green:: + 100: 0x7f42a146b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7f42a14bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7f42a24d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7f42a24d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7f42a24d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7f42a14c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7f42a2548583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7f42a14e5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7f42a14e4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7f42a14c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7f42a14bc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7f42a24d245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7f42a1af160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7f42a19fc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7f42a19f9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7f42a14b593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7f42a14b50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7f42a19f58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7f42a19f52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7f42a1d82dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7f42a1d8388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7f42a1467266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7f42a15f8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7f42a1d84d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7f42a1d84cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7f42a2548f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7f42a25489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7f42a21002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7f42a2316804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7f42a2108668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7f42a2108f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7f42a210a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7f429c07dba8 - start_thread + 133: 0x7f429c101b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack +delayed bug: {OpaqueTypeKey { def_id: DefId(0:886 ~ redlib[56d8]::p2p::subscribe_loop::{opaque#0}), args: [] }: OpaqueHiddenType { span: src/p2p.rs:63:1: 63:54 (#1691), ty: ?0t }} + 0: ::emit_diagnostic + 1: ::emit_diagnostic + 2: ::emit_producing_guarantee + 3: ::delayed_bug:: + 4: core::ptr::drop_in_place:: + 5: core::ptr::drop_in_place:: + 6: rustc_hir_typeck::typeck_with_inspect::{closure#0} + 7: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 8: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 9: rustc_query_impl::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 10: rustc_mir_build::thir::pattern::check_match::check_match + 11: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 12: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 13: rustc_query_impl::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 14: rustc_mir_build::builder::build_mir + 15: rustc_mir_transform::mir_built + 16: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 17: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 18: rustc_query_impl::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 19: rustc_mir_transform::ffi_unwind_calls::has_ffi_unwind_calls + 20: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 21: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 22: rustc_query_impl::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 23: rustc_mir_transform::mir_promoted + 24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 25: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 26: rustc_query_impl::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 27: rustc_borrowck::mir_borrowck + 28: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 29: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 30: rustc_query_impl::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 31: rustc_hir_analysis::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 32: rustc_hir_analysis::collect::type_of::type_of_opaque + 33: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 34: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 35: rustc_query_impl::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 36: ::confirm_auto_impl_candidate::{closure#0} + 37: ::confirm_candidate + 38: ::evaluate_candidate::{closure#0}::{closure#0} + 39: ::evaluate_trait_predicate_recursively + 40: ::evaluate_root_obligation + 41: rustc_traits::evaluate_obligation::evaluate_obligation + 42: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 43: rustc_query_system::query::plumbing::try_execute_query::>, rustc_middle::query::erase::Erased<[u8; 2]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 44: rustc_query_impl::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 45: ::evaluate_obligation_no_overflow + 46: ::process_obligation + 47: >::process_obligations:: + 48: ::confirm_builtin_call + 49: ::check_expr_with_expectation_and_args + 50: ::check_expr_block + 51: ::check_expr_with_expectation_and_args + 52: ::check_expr_with_expectation_and_args + 53: ::check_expr_block + 54: ::check_expr_with_expectation_and_args + 55: rustc_hir_typeck::check::check_fn + 56: ::check_expr_closure + 57: ::check_expr_with_expectation_and_args + 58: rustc_hir_typeck::check::check_fn + 59: rustc_hir_typeck::typeck_with_inspect::{closure#0} + 60: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 61: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 62: rustc_query_impl::plumbing::force_from_dep_node::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>> + 63: ::{closure#0} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_query_system::dep_graph::dep_node::DepNode, rustc_query_system::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 64: >::try_mark_previous_green:: + 65: >::try_mark_previous_green:: + 66: >::try_mark_previous_green:: + 67: >::try_mark_previous_green:: + 68: >::try_mark_previous_green:: + 69: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 70: rustc_query_impl::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 71: rustc_hir_analysis::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 72: rustc_hir_analysis::collect::type_of::type_of_opaque + 73: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 74: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 75: rustc_query_impl::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 76: rustc_hir_analysis::collect::type_of::type_of + 77: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 78: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 79: rustc_query_impl::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 80: rustc_hir_analysis::check::check::check_opaque + 81: rustc_hir_analysis::check::check::check_item_type + 82: rustc_hir_analysis::check::wfcheck::check_well_formed + 83: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 84: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 85: rustc_query_impl::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 86: rustc_hir_analysis::check::wfcheck::check_mod_type_wf + 87: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 88: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 89: rustc_query_impl::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 90: rustc_hir_analysis::check_crate + 91: rustc_interface::passes::run_required_analyses + 92: rustc_interface::passes::analysis + 93: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 94: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 95: rustc_query_impl::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 96: rustc_interface::passes::create_and_enter_global_ctxt::, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 97: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1} + 98: std::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 99: <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 100: std::sys::pal::unix::thread::Thread::new::thread_start + 101: start_thread + 102: __GI___clone3 + +delayed bug: {OpaqueTypeKey { def_id: DefId(0:882 ~ redlib[56d8]::p2p::main::{opaque#0}), args: [] }: OpaqueHiddenType { span: src/p2p.rs:15:1: 15:62 (#1684), ty: ?0t }} + 0: ::emit_diagnostic + 1: ::emit_diagnostic + 2: ::emit_producing_guarantee + 3: ::delayed_bug:: + 4: core::ptr::drop_in_place:: + 5: core::ptr::drop_in_place:: + 6: rustc_hir_typeck::typeck_with_inspect::{closure#0} + 7: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 8: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 9: rustc_query_impl::plumbing::force_from_dep_node::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>> + 10: ::{closure#0} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_query_system::dep_graph::dep_node::DepNode, rustc_query_system::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 11: >::try_mark_previous_green:: + 12: >::try_mark_previous_green:: + 13: >::try_mark_previous_green:: + 14: >::try_mark_previous_green:: + 15: >::try_mark_previous_green:: + 16: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 17: rustc_query_impl::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 18: rustc_hir_analysis::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 19: rustc_hir_analysis::collect::type_of::type_of_opaque + 20: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 21: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 22: rustc_query_impl::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 23: rustc_hir_analysis::collect::type_of::type_of + 24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 25: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 26: rustc_query_impl::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 27: rustc_hir_analysis::check::check::check_opaque + 28: rustc_hir_analysis::check::check::check_item_type + 29: rustc_hir_analysis::check::wfcheck::check_well_formed + 30: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 31: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 32: rustc_query_impl::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 33: rustc_hir_analysis::check::wfcheck::check_mod_type_wf + 34: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 35: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 36: rustc_query_impl::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 37: rustc_hir_analysis::check_crate + 38: rustc_interface::passes::run_required_analyses + 39: rustc_interface::passes::analysis + 40: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 41: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 42: rustc_query_impl::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 43: rustc_interface::passes::create_and_enter_global_ctxt::, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 44: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1} + 45: std::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 46: <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 47: std::sys::pal::unix::thread::Thread::new::thread_start + 48: start_thread + 49: __GI___clone3 + diff --git a/rustc-ice-2025-04-17T21_43_31-74156.txt b/rustc-ice-2025-04-17T21_43_31-74156.txt new file mode 100644 index 0000000..153a5eb --- /dev/null +++ b/rustc-ice-2025-04-17T21_43_31-74156.txt @@ -0,0 +1,317 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7f7c818cc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7f7c7fccde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7f7c7ed5c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7f7c7fce77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7f7c7fce74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7f7c7fce3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7f7c7fce719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7f7c7c689e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7f7c7d835c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7f7c81e47629 - ::ident.cold + 10: 0x7f7c7eeac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7f7c7eede49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7f7c7ee9b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7f7c8111d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7f7c811186c0 - ::lower_assoc_path_ty + 15: 0x7f7c80520ea9 - ::check_struct_path + 16: 0x7f7c80c839ed - ::check_pat_inner + 17: 0x7f7c8118027e - ::check_expr_with_expectation_and_args + 18: 0x7f7c811739b7 - ::check_expr_block + 19: 0x7f7c8117e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7f7c811780df - ::check_expr_if + 21: 0x7f7c81180d85 - ::check_expr_with_expectation_and_args + 22: 0x7f7c811739b7 - ::check_expr_block + 23: 0x7f7c8117e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7f7c811780df - ::check_expr_if + 25: 0x7f7c81180d85 - ::check_expr_with_expectation_and_args + 26: 0x7f7c811739b7 - ::check_expr_block + 27: 0x7f7c811842f6 - ::check_expr_with_expectation_and_args + 28: 0x7f7c811739b7 - ::check_expr_block + 29: 0x7f7c8117e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7f7c81180e22 - ::check_expr_with_expectation_and_args + 31: 0x7f7c811739b7 - ::check_expr_block + 32: 0x7f7c8117e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7f7c80ca293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7f7c81111a19 - ::check_expr_closure + 35: 0x7f7c81183724 - ::check_expr_with_expectation_and_args + 36: 0x7f7c80ca293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7f7c80c8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7f7c80c8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7f7c8066c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7f7c806688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7f7c80745a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7f7c8074532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7f7c806b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7f7c806bd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7f7c8074a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7f7c8040a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7f7c8040a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7f7c8066c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7f7c806bd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7f7c8043622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7f7c80435dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7f7c806b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7f7c806b4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7f7c7da3256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7f7c80742452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7f7c80bdaaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7f7c80bda245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7f7c8164879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7f7c816486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7f7c8066c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7f7c806bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7f7c816d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7f7c816d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7f7c816d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7f7c806c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7f7c81748583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7f7c80cc3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7f7c81068499 - ::confirm_candidate + 69: 0x7f7c8103dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7f7c81040ffb - ::evaluate_trait_predicate_recursively + 71: 0x7f7c80558a3d - ::evaluate_root_obligation + 72: 0x7f7c80556db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7f7c805567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7f7c80b7c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7f7c80b7b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7f7c807e6d74 - ::evaluate_obligation_no_overflow + 77: 0x7f7c80dd8662 - ::process_obligation + 78: 0x7f7c80407e08 - >::process_obligations:: + 79: 0x7f7c8053b8a3 - ::confirm_builtin_call + 80: 0x7f7c8117db72 - ::check_expr_with_expectation_and_args + 81: 0x7f7c811738bc - ::check_expr_block + 82: 0x7f7c8117e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7f7c81180e22 - ::check_expr_with_expectation_and_args + 84: 0x7f7c811739b7 - ::check_expr_block + 85: 0x7f7c8117e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7f7c80ca293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7f7c81111a19 - ::check_expr_closure + 88: 0x7f7c81183724 - ::check_expr_with_expectation_and_args + 89: 0x7f7c80ca293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7f7c80c8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7f7c80c8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7f7c8066c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7f7c8066fa1e - rustc_query_impl[c0a700bc271d3d61]::plumbing::force_from_dep_node::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>> + 94: 0x7f7c818069c7 - ::{closure#0} as core[73e3539c07be93ec]::ops::function::FnOnce<(rustc_middle[765a8dd7c8651dad]::ty::context::TyCtxt, rustc_query_system[fc17e5d2cc829803]::dep_graph::dep_node::DepNode, rustc_query_system[fc17e5d2cc829803]::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 95: 0x7f7c8041b189 - >::try_mark_previous_green:: + 96: 0x7f7c8041b0fd - >::try_mark_previous_green:: + 97: 0x7f7c8041b0fd - >::try_mark_previous_green:: + 98: 0x7f7c8041b0fd - >::try_mark_previous_green:: + 99: 0x7f7c8041b0fd - >::try_mark_previous_green:: + 100: 0x7f7c8066b8bb - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 101: 0x7f7c806bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 102: 0x7f7c816d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 103: 0x7f7c816d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 104: 0x7f7c816d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7f7c806c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7f7c81748583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 107: 0x7f7c806e5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 108: 0x7f7c806e4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7f7c806c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7f7c806bc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 111: 0x7f7c816d245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 112: 0x7f7c80cf160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 113: 0x7f7c80bfc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 114: 0x7f7c80bf9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 115: 0x7f7c806b593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 116: 0x7f7c806b50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 117: 0x7f7c80bf58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 118: 0x7f7c80bf52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 119: 0x7f7c80f82dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 120: 0x7f7c80f8388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 121: 0x7f7c80667266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 122: 0x7f7c807f8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 123: 0x7f7c80f84d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 124: 0x7f7c80f84cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 125: 0x7f7c81748f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 126: 0x7f7c817489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 127: 0x7f7c813002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 128: 0x7f7c81516804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 129: 0x7f7c81308668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 130: 0x7f7c81308f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 131: 0x7f7c8130a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 132: 0x7f7c7b27dba8 - start_thread + 133: 0x7f7c7b301b8c - __GI___clone3 + 134: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [mir_borrowck] borrow-checking `p2p::main` +#10 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#11 [type_of] computing type of `p2p::main::{opaque#0}` +#12 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#13 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#14 [analysis] running analysis passes on this crate +end of query stack +delayed bug: {OpaqueTypeKey { def_id: DefId(0:907 ~ redlib[3790]::p2p::subscribe_loop::{opaque#0}), args: [] }: OpaqueHiddenType { span: src/p2p.rs:63:1: 63:54 (#2102), ty: ?0t }} + 0: ::emit_diagnostic + 1: ::emit_diagnostic + 2: ::emit_producing_guarantee + 3: ::delayed_bug:: + 4: core::ptr::drop_in_place:: + 5: core::ptr::drop_in_place:: + 6: rustc_hir_typeck::typeck_with_inspect::{closure#0} + 7: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 8: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 9: rustc_query_impl::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 10: rustc_mir_build::thir::pattern::check_match::check_match + 11: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 12: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 13: rustc_query_impl::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 14: rustc_mir_build::builder::build_mir + 15: rustc_mir_transform::mir_built + 16: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 17: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 18: rustc_query_impl::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 19: rustc_mir_transform::ffi_unwind_calls::has_ffi_unwind_calls + 20: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 21: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 22: rustc_query_impl::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 23: rustc_mir_transform::mir_promoted + 24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 25: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 26: rustc_query_impl::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 27: rustc_borrowck::mir_borrowck + 28: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 29: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 30: rustc_query_impl::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 31: rustc_hir_analysis::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 32: rustc_hir_analysis::collect::type_of::type_of_opaque + 33: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 34: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 35: rustc_query_impl::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 36: ::confirm_auto_impl_candidate::{closure#0} + 37: ::confirm_candidate + 38: ::evaluate_candidate::{closure#0}::{closure#0} + 39: ::evaluate_trait_predicate_recursively + 40: ::evaluate_root_obligation + 41: rustc_traits::evaluate_obligation::evaluate_obligation + 42: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 43: rustc_query_system::query::plumbing::try_execute_query::>, rustc_middle::query::erase::Erased<[u8; 2]>>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 44: rustc_query_impl::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 45: ::evaluate_obligation_no_overflow + 46: ::process_obligation + 47: >::process_obligations:: + 48: ::confirm_builtin_call + 49: ::check_expr_with_expectation_and_args + 50: ::check_expr_block + 51: ::check_expr_with_expectation_and_args + 52: ::check_expr_with_expectation_and_args + 53: ::check_expr_block + 54: ::check_expr_with_expectation_and_args + 55: rustc_hir_typeck::check::check_fn + 56: ::check_expr_closure + 57: ::check_expr_with_expectation_and_args + 58: rustc_hir_typeck::check::check_fn + 59: rustc_hir_typeck::typeck_with_inspect::{closure#0} + 60: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 61: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 62: rustc_query_impl::plumbing::force_from_dep_node::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>> + 63: ::{closure#0} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_query_system::dep_graph::dep_node::DepNode, rustc_query_system::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 64: >::try_mark_previous_green:: + 65: >::try_mark_previous_green:: + 66: >::try_mark_previous_green:: + 67: >::try_mark_previous_green:: + 68: >::try_mark_previous_green:: + 69: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 70: rustc_query_impl::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 71: rustc_hir_analysis::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 72: rustc_hir_analysis::collect::type_of::type_of_opaque + 73: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 74: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 75: rustc_query_impl::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 76: rustc_hir_analysis::collect::type_of::type_of + 77: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 78: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 79: rustc_query_impl::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 80: rustc_hir_analysis::check::check::check_opaque + 81: rustc_hir_analysis::check::check::check_item_type + 82: rustc_hir_analysis::check::wfcheck::check_well_formed + 83: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 84: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 85: rustc_query_impl::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 86: rustc_hir_analysis::check::wfcheck::check_mod_type_wf + 87: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 88: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 89: rustc_query_impl::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 90: rustc_hir_analysis::check_crate + 91: rustc_interface::passes::run_required_analyses + 92: rustc_interface::passes::analysis + 93: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 94: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 95: rustc_query_impl::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 96: rustc_interface::passes::create_and_enter_global_ctxt::, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 97: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1} + 98: std::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 99: <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 100: std::sys::pal::unix::thread::Thread::new::thread_start + 101: start_thread + 102: __GI___clone3 + +delayed bug: {OpaqueTypeKey { def_id: DefId(0:903 ~ redlib[3790]::p2p::main::{opaque#0}), args: [] }: OpaqueHiddenType { span: src/p2p.rs:15:1: 15:62 (#2095), ty: ?0t }} + 0: ::emit_diagnostic + 1: ::emit_diagnostic + 2: ::emit_producing_guarantee + 3: ::delayed_bug:: + 4: core::ptr::drop_in_place:: + 5: core::ptr::drop_in_place:: + 6: rustc_hir_typeck::typeck_with_inspect::{closure#0} + 7: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 8: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 9: rustc_query_impl::plumbing::force_from_dep_node::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>> + 10: ::{closure#0} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_query_system::dep_graph::dep_node::DepNode, rustc_query_system::dep_graph::serialized::SerializedDepNodeIndex)>>::call_once + 11: >::try_mark_previous_green:: + 12: >::try_mark_previous_green:: + 13: >::try_mark_previous_green:: + 14: >::try_mark_previous_green:: + 15: >::try_mark_previous_green:: + 16: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 17: rustc_query_impl::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 18: rustc_hir_analysis::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 19: rustc_hir_analysis::collect::type_of::type_of_opaque + 20: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 21: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 22: rustc_query_impl::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 23: rustc_hir_analysis::collect::type_of::type_of + 24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 25: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 26: rustc_query_impl::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 27: rustc_hir_analysis::check::check::check_opaque + 28: rustc_hir_analysis::check::check::check_item_type + 29: rustc_hir_analysis::check::wfcheck::check_well_formed + 30: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 31: rustc_query_system::query::plumbing::try_execute_query::, rustc_query_system::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 32: rustc_query_impl::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 33: rustc_hir_analysis::check::wfcheck::check_mod_type_wf + 34: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 35: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 36: rustc_query_impl::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 37: rustc_hir_analysis::check_crate + 38: rustc_interface::passes::run_required_analyses + 39: rustc_interface::passes::analysis + 40: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 41: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 42: rustc_query_impl::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 43: rustc_interface::passes::create_and_enter_global_ctxt::, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 44: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1} + 45: std::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 46: <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 47: std::sys::pal::unix::thread::Thread::new::thread_start + 48: start_thread + 49: __GI___clone3 + diff --git a/rustc-ice-2025-04-17T21_43_33-74223.txt b/rustc-ice-2025-04-17T21_43_33-74223.txt new file mode 100644 index 0000000..0fac346 --- /dev/null +++ b/rustc-ice-2025-04-17T21_43_33-74223.txt @@ -0,0 +1,181 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7f75f16cc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7f75efacde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7f75eeb5c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7f75efae77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7f75efae74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7f75efae3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7f75efae719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7f75ec489e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7f75ed635c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7f75f1c47629 - ::ident.cold + 10: 0x7f75eecac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7f75eecde49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7f75eec9b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7f75f0f1d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7f75f0f186c0 - ::lower_assoc_path_ty + 15: 0x7f75f0320ea9 - ::check_struct_path + 16: 0x7f75f0a839ed - ::check_pat_inner + 17: 0x7f75f0f8027e - ::check_expr_with_expectation_and_args + 18: 0x7f75f0f739b7 - ::check_expr_block + 19: 0x7f75f0f7e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7f75f0f780df - ::check_expr_if + 21: 0x7f75f0f80d85 - ::check_expr_with_expectation_and_args + 22: 0x7f75f0f739b7 - ::check_expr_block + 23: 0x7f75f0f7e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7f75f0f780df - ::check_expr_if + 25: 0x7f75f0f80d85 - ::check_expr_with_expectation_and_args + 26: 0x7f75f0f739b7 - ::check_expr_block + 27: 0x7f75f0f842f6 - ::check_expr_with_expectation_and_args + 28: 0x7f75f0f739b7 - ::check_expr_block + 29: 0x7f75f0f7e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7f75f0f80e22 - ::check_expr_with_expectation_and_args + 31: 0x7f75f0f739b7 - ::check_expr_block + 32: 0x7f75f0f7e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7f75f0aa293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7f75f0f11a19 - ::check_expr_closure + 35: 0x7f75f0f83724 - ::check_expr_with_expectation_and_args + 36: 0x7f75f0aa293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7f75f0a8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7f75f0a8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7f75f046c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7f75f04688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7f75f0545a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7f75f054532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7f75f04b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7f75f04bd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7f75f054a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7f75f020a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7f75f020a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7f75f046c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7f75f04bd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7f75f023622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7f75f0235dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7f75f04b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7f75f04b4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7f75ed83256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7f75f0542452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7f75f09daaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7f75f09da245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7f75f144879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7f75f14486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7f75f046c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7f75f04bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7f75f14d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7f75f14d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7f75f14d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7f75f04c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7f75f1548583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7f75f0ac3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7f75f0e68499 - ::confirm_candidate + 69: 0x7f75f0e3dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7f75f0e40ffb - ::evaluate_trait_predicate_recursively + 71: 0x7f75f0358a3d - ::evaluate_root_obligation + 72: 0x7f75f0356db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7f75f03567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7f75f097c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7f75f097b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7f75f05e6d74 - ::evaluate_obligation_no_overflow + 77: 0x7f75f0bd8662 - ::process_obligation + 78: 0x7f75f0207e08 - >::process_obligations:: + 79: 0x7f75f033b8a3 - ::confirm_builtin_call + 80: 0x7f75f0f7db72 - ::check_expr_with_expectation_and_args + 81: 0x7f75f0f738bc - ::check_expr_block + 82: 0x7f75f0f7e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7f75f0f80e22 - ::check_expr_with_expectation_and_args + 84: 0x7f75f0f739b7 - ::check_expr_block + 85: 0x7f75f0f7e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7f75f0aa293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7f75f0f11a19 - ::check_expr_closure + 88: 0x7f75f0f83724 - ::check_expr_with_expectation_and_args + 89: 0x7f75f0aa293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7f75f0a8feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7f75f0a8ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7f75f046c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7f75f04688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 94: 0x7f75f0545a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 95: 0x7f75f054532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 96: 0x7f75f04b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 97: 0x7f75f04bd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 98: 0x7f75f054a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 99: 0x7f75f020a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 100: 0x7f75f020a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 101: 0x7f75f046c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 102: 0x7f75f04bd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 103: 0x7f75f023622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 104: 0x7f75f0235dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7f75f04b55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7f75f04b4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 107: 0x7f75ed83256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 108: 0x7f75f0542452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7f75f09daaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7f75f09da245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 111: 0x7f75f144879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 112: 0x7f75f14486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 113: 0x7f75f046c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 114: 0x7f75f04bd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 115: 0x7f75f14d1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 116: 0x7f75f14d1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 117: 0x7f75f14d1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 118: 0x7f75f04c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 119: 0x7f75f1548583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 120: 0x7f75f04e5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 121: 0x7f75f04e4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 122: 0x7f75f04c098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 123: 0x7f75f04bc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 124: 0x7f75f14d245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 125: 0x7f75f0af160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 126: 0x7f75f09fc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 127: 0x7f75f09f9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 128: 0x7f75f04b593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 129: 0x7f75f04b50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 130: 0x7f75f09f58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 131: 0x7f75f09f52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 132: 0x7f75f0d82dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 133: 0x7f75f0d8388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 134: 0x7f75f0467266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 135: 0x7f75f05f8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 136: 0x7f75f0d84d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 137: 0x7f75f0d84cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 138: 0x7f75f1548f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 139: 0x7f75f15489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 140: 0x7f75f11002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 141: 0x7f75f1316804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 142: 0x7f75f1108668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 143: 0x7f75f1108f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 144: 0x7f75f110a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 145: 0x7f75eb07dba8 - start_thread + 146: 0x7f75eb101b8c - __GI___clone3 + 147: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [check_match] match-checking `p2p::main` +#10 [mir_built] building MIR for `p2p::main` +#11 [has_ffi_unwind_calls] checking if `p2p::main` contains FFI-unwind calls +#12 [mir_promoted] promoting constants in MIR for `p2p::main` +#13 [mir_borrowck] borrow-checking `p2p::main` +#14 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#15 [type_of] computing type of `p2p::main::{opaque#0}` +#16 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#17 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#18 [analysis] running analysis passes on this crate +end of query stack +delayed bug: {OpaqueTypeKey { def_id: DefId(0:886 ~ redlib[174a]::p2p::subscribe_loop::{opaque#0}), args: [] }: OpaqueHiddenType { span: src/p2p.rs:63:1: 63:54 (#1691), ty: ?0t }} +disabled backtrace +delayed bug: {OpaqueTypeKey { def_id: DefId(0:882 ~ redlib[174a]::p2p::main::{opaque#0}), args: [] }: OpaqueHiddenType { span: src/p2p.rs:15:1: 15:62 (#1684), ty: ?0t }} +disabled backtrace diff --git a/rustc-ice-2025-04-17T21_44_29-81056.txt b/rustc-ice-2025-04-17T21_44_29-81056.txt new file mode 100644 index 0000000..1dcb145 --- /dev/null +++ b/rustc-ice-2025-04-17T21_44_29-81056.txt @@ -0,0 +1,181 @@ +thread 'rustc' panicked at compiler/rustc_middle/src/ty/assoc.rs:43:25: +name of non-Rpitit assoc item +stack backtrace: + 0: 0x7f2a00ccc665 - std::backtrace::Backtrace::create::hc21e599262d351fb + 1: 0x7f29ff0cde85 - std::backtrace::Backtrace::force_capture::h17d9d7e5175bd88b + 2: 0x7f29fe15c3c1 - std[578a540cb1055794]::panicking::update_hook::>::{closure#0} + 3: 0x7f29ff0e77e3 - std::panicking::rust_panic_with_hook::hd7119d7cf1d6a8a6 + 4: 0x7f29ff0e74da - std::panicking::begin_panic_handler::{{closure}}::hf5929578e2038605 + 5: 0x7f29ff0e3c69 - std::sys::backtrace::__rust_end_short_backtrace::h5904f09f45ae42e5 + 6: 0x7f29ff0e719d - __rustc[370de465637bfaa7]::rust_begin_unwind + 7: 0x7f29fba89e00 - core::panicking::panic_fmt::h5acbb1dde8a99479 + 8: 0x7f29fcc35c2b - core::option::expect_failed::h0587386df803e6c8 + 9: 0x7f2a01247629 - ::ident.cold + 10: 0x7f29fe2ac491 - as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::try_fold::flatten::>, (), core[73e3539c07be93ec]::ops::control_flow::ControlFlow, core[73e3539c07be93ec]::iter::traits::iterator::Iterator::find::check::probe_traits_that_match_assoc_ty::{closure#0}>::{closure#0}>::{closure#0} + 11: 0x7f29fe2de49f - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::next + 12: 0x7f29fe29b8e7 - , core[73e3539c07be93ec]::iter::adapters::copied::Copied>>, core[73e3539c07be93ec]::iter::adapters::copied::Copied>, ::all_traits::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#0}>, ::probe_traits_that_match_assoc_ty::{closure#1}> as core[73e3539c07be93ec]::iter::traits::iterator::Iterator>::collect::> + 13: 0x7f2a0051d289 - ::lower_assoc_path_shared::{closure#0} + 14: 0x7f2a005186c0 - ::lower_assoc_path_ty + 15: 0x7f29ff920ea9 - ::check_struct_path + 16: 0x7f2a000839ed - ::check_pat_inner + 17: 0x7f2a0058027e - ::check_expr_with_expectation_and_args + 18: 0x7f2a005739b7 - ::check_expr_block + 19: 0x7f2a0057e6b2 - ::check_expr_with_expectation_and_args + 20: 0x7f2a005780df - ::check_expr_if + 21: 0x7f2a00580d85 - ::check_expr_with_expectation_and_args + 22: 0x7f2a005739b7 - ::check_expr_block + 23: 0x7f2a0057e6b2 - ::check_expr_with_expectation_and_args + 24: 0x7f2a005780df - ::check_expr_if + 25: 0x7f2a00580d85 - ::check_expr_with_expectation_and_args + 26: 0x7f2a005739b7 - ::check_expr_block + 27: 0x7f2a005842f6 - ::check_expr_with_expectation_and_args + 28: 0x7f2a005739b7 - ::check_expr_block + 29: 0x7f2a0057e6b2 - ::check_expr_with_expectation_and_args + 30: 0x7f2a00580e22 - ::check_expr_with_expectation_and_args + 31: 0x7f2a005739b7 - ::check_expr_block + 32: 0x7f2a0057e6b2 - ::check_expr_with_expectation_and_args + 33: 0x7f2a000a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 34: 0x7f2a00511a19 - ::check_expr_closure + 35: 0x7f2a00583724 - ::check_expr_with_expectation_and_args + 36: 0x7f2a000a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 37: 0x7f2a0008feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 38: 0x7f2a0008ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 39: 0x7f29ffa6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 40: 0x7f29ffa688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 41: 0x7f29ffb45a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 42: 0x7f29ffb4532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 43: 0x7f29ffab55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 44: 0x7f29ffabd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 45: 0x7f29ffb4a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 46: 0x7f29ff80a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 47: 0x7f29ff80a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 48: 0x7f29ffa6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 49: 0x7f29ffabd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 50: 0x7f29ff83622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 51: 0x7f29ff835dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 52: 0x7f29ffab55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 53: 0x7f29ffab4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 54: 0x7f29fce3256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 55: 0x7f29ffb42452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 56: 0x7f29fffdaaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 57: 0x7f29fffda245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 58: 0x7f2a00a4879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 59: 0x7f2a00a486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 60: 0x7f29ffa6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 61: 0x7f29ffabd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 62: 0x7f2a00ad1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 63: 0x7f2a00ad1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 64: 0x7f2a00ad1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 65: 0x7f29ffac098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 66: 0x7f2a00b48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 67: 0x7f2a000c3e15 - ::confirm_auto_impl_candidate::{closure#0} + 68: 0x7f2a00468499 - ::confirm_candidate + 69: 0x7f2a0043dce5 - ::evaluate_candidate::{closure#0}::{closure#0} + 70: 0x7f2a00440ffb - ::evaluate_trait_predicate_recursively + 71: 0x7f29ff958a3d - ::evaluate_root_obligation + 72: 0x7f29ff956db0 - rustc_traits[2bb366179219af97]::evaluate_obligation::evaluate_obligation + 73: 0x7f29ff9567e9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 74: 0x7f29fff7c9cc - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, rustc_middle[765a8dd7c8651dad]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 75: 0x7f29fff7b869 - rustc_query_impl[c0a700bc271d3d61]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 76: 0x7f29ffbe6d74 - ::evaluate_obligation_no_overflow + 77: 0x7f2a001d8662 - ::process_obligation + 78: 0x7f29ff807e08 - >::process_obligations:: + 79: 0x7f29ff93b8a3 - ::confirm_builtin_call + 80: 0x7f2a0057db72 - ::check_expr_with_expectation_and_args + 81: 0x7f2a005738bc - ::check_expr_block + 82: 0x7f2a0057e6b2 - ::check_expr_with_expectation_and_args + 83: 0x7f2a00580e22 - ::check_expr_with_expectation_and_args + 84: 0x7f2a005739b7 - ::check_expr_block + 85: 0x7f2a0057e6b2 - ::check_expr_with_expectation_and_args + 86: 0x7f2a000a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 87: 0x7f2a00511a19 - ::check_expr_closure + 88: 0x7f2a00583724 - ::check_expr_with_expectation_and_args + 89: 0x7f2a000a293c - rustc_hir_typeck[2c6b30b3df9d82f9]::check::check_fn + 90: 0x7f2a0008feda - rustc_hir_typeck[2c6b30b3df9d82f9]::typeck_with_inspect::{closure#0} + 91: 0x7f2a0008ebf6 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 92: 0x7f29ffa6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 93: 0x7f29ffa688c1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 94: 0x7f29ffb45a81 - rustc_mir_build[855ce40f7b2ff843]::thir::pattern::check_match::check_match + 95: 0x7f29ffb4532b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 96: 0x7f29ffab55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 97: 0x7f29ffabd7ab - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_match::get_query_incr::__rust_end_short_backtrace + 98: 0x7f29ffb4a69d - rustc_mir_build[855ce40f7b2ff843]::builder::build_mir + 99: 0x7f29ff80a345 - rustc_mir_transform[dac01adb7381d0e9]::mir_built + 100: 0x7f29ff80a317 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 101: 0x7f29ffa6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 102: 0x7f29ffabd544 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_built::get_query_incr::__rust_end_short_backtrace + 103: 0x7f29ff83622f - rustc_mir_transform[dac01adb7381d0e9]::ffi_unwind_calls::has_ffi_unwind_calls + 104: 0x7f29ff835dd9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 105: 0x7f29ffab55ed - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 106: 0x7f29ffab4fc3 - rustc_query_impl[c0a700bc271d3d61]::query_impl::has_ffi_unwind_calls::get_query_incr::__rust_end_short_backtrace + 107: 0x7f29fce3256f - rustc_mir_transform[dac01adb7381d0e9]::mir_promoted + 108: 0x7f29ffb42452 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 109: 0x7f29fffdaaaa - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 110: 0x7f29fffda245 - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_promoted::get_query_incr::__rust_end_short_backtrace + 111: 0x7f2a00a4879d - rustc_borrowck[5f15faceebcc5ffd]::mir_borrowck + 112: 0x7f2a00a486d9 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 113: 0x7f29ffa6c5f3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 114: 0x7f29ffabd90b - rustc_query_impl[c0a700bc271d3d61]::query_impl::mir_borrowck::get_query_incr::__rust_end_short_backtrace + 115: 0x7f2a00ad1f2b - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::opaque::find_opaque_ty_constraints_for_rpit + 116: 0x7f2a00ad1cb4 - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of_opaque + 117: 0x7f2a00ad1b7b - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 118: 0x7f29ffac098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 119: 0x7f2a00b48583 - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of_opaque::get_query_incr::__rust_end_short_backtrace + 120: 0x7f29ffae5a9a - rustc_hir_analysis[487753ec01fba80f]::collect::type_of::type_of + 121: 0x7f29ffae4178 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 122: 0x7f29ffac098c - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 123: 0x7f29ffabc83d - rustc_query_impl[c0a700bc271d3d61]::query_impl::type_of::get_query_incr::__rust_end_short_backtrace + 124: 0x7f2a00ad245d - rustc_hir_analysis[487753ec01fba80f]::check::check::check_opaque + 125: 0x7f2a000f160e - rustc_hir_analysis[487753ec01fba80f]::check::check::check_item_type + 126: 0x7f29ffffc861 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_well_formed + 127: 0x7f29ffff9ceb - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 128: 0x7f29ffab593e - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::, rustc_query_system[fc17e5d2cc829803]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 129: 0x7f29ffab50ef - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_well_formed::get_query_incr::__rust_end_short_backtrace + 130: 0x7f29ffff58a8 - rustc_hir_analysis[487753ec01fba80f]::check::wfcheck::check_mod_type_wf + 131: 0x7f29ffff52dd - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 132: 0x7f2a00382dc3 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 133: 0x7f2a0038388e - rustc_query_impl[c0a700bc271d3d61]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 134: 0x7f29ffa67266 - rustc_hir_analysis[487753ec01fba80f]::check_crate + 135: 0x7f29ffbf8972 - rustc_interface[c20367986e3c43b9]::passes::run_required_analyses + 136: 0x7f2a00384d1e - rustc_interface[c20367986e3c43b9]::passes::analysis + 137: 0x7f2a00384cf3 - rustc_query_impl[c0a700bc271d3d61]::plumbing::__rust_begin_short_backtrace::> + 138: 0x7f2a00b48f69 - rustc_query_system[fc17e5d2cc829803]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[c0a700bc271d3d61]::plumbing::QueryCtxt, true> + 139: 0x7f2a00b489a1 - rustc_query_impl[c0a700bc271d3d61]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 140: 0x7f2a007002fe - rustc_interface[c20367986e3c43b9]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} + 141: 0x7f2a00916804 - rustc_interface[c20367986e3c43b9]::interface::run_compiler::<(), rustc_driver_impl[b0be92c9b081b175]::run_compiler::{closure#0}>::{closure#1} + 142: 0x7f2a00708668 - std[578a540cb1055794]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> + 143: 0x7f2a00708f6b - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[73e3539c07be93ec]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 144: 0x7f2a0070a377 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6f89f3f1c8122ca + 145: 0x7f29fa67dba8 - start_thread + 146: 0x7f29fa701b8c - __GI___clone3 + 147: 0x0 - + + +rustc version: 1.88.0-nightly (38c560ae6 2025-04-15) +platform: x86_64-unknown-linux-gnu + +query stack during panic: +#0 [typeck] type-checking `p2p::subscribe_loop` +#1 [check_match] match-checking `p2p::subscribe_loop` +#2 [mir_built] building MIR for `p2p::subscribe_loop` +#3 [has_ffi_unwind_calls] checking if `p2p::subscribe_loop` contains FFI-unwind calls +#4 [mir_promoted] promoting constants in MIR for `p2p::subscribe_loop` +#5 [mir_borrowck] borrow-checking `p2p::subscribe_loop` +#6 [type_of_opaque] computing type of opaque `p2p::subscribe_loop::{opaque#0}` +#7 [evaluate_obligation] evaluating trait selection obligation `p2p::subscribe_loop::{opaque#0}: core::marker::Send` +#8 [typeck] type-checking `p2p::main` +#9 [check_match] match-checking `p2p::main` +#10 [mir_built] building MIR for `p2p::main` +#11 [has_ffi_unwind_calls] checking if `p2p::main` contains FFI-unwind calls +#12 [mir_promoted] promoting constants in MIR for `p2p::main` +#13 [mir_borrowck] borrow-checking `p2p::main` +#14 [type_of_opaque] computing type of opaque `p2p::main::{opaque#0}` +#15 [type_of] computing type of `p2p::main::{opaque#0}` +#16 [check_well_formed] checking that `p2p::main::{opaque#0}` is well-formed +#17 [check_mod_type_wf] checking that types are well-formed in module `p2p` +#18 [analysis] running analysis passes on this crate +end of query stack +delayed bug: {OpaqueTypeKey { def_id: DefId(0:886 ~ redlib[174a]::p2p::subscribe_loop::{opaque#0}), args: [] }: OpaqueHiddenType { span: src/p2p.rs:63:1: 63:54 (#1691), ty: ?0t }} +disabled backtrace +delayed bug: {OpaqueTypeKey { def_id: DefId(0:882 ~ redlib[174a]::p2p::main::{opaque#0}), args: [] }: OpaqueHiddenType { span: src/p2p.rs:15:1: 15:62 (#1684), ty: ?0t }} +disabled backtrace diff --git a/src/p2p.rs b/src/p2p.rs index 3422bcd..869aae3 100644 --- a/src/p2p.rs +++ b/src/p2p.rs @@ -1,11 +1,151 @@ -use iroh::{protocol::Router, Endpoint}; -use iroh_gossip::{net::Gossip, ALPN as GOSSIP_ALPN}; +use std::str::FromStr; + +use bytes::Bytes; +use ed25519_dalek::Signature; +use futures_lite::StreamExt; +use iroh::{protocol::Router, Endpoint, NodeAddr, PublicKey, SecretKey}; +use iroh_gossip::{net::{Event, Gossip, GossipEvent, GossipReceiver}, proto::TopicId, ALPN as GOSSIP_ALPN}; +use serde::{Deserialize, Serialize}; +use tokio::task; + +use crate::config; + +static TICKET: &str = ""; pub async fn main() -> Result<(), Box> { let endpoint = Endpoint::builder().discovery_n0().bind().await?; println!("[P2P] Endpoint node ID: {}", endpoint.node_id()); - let builder = Router::builder(endpoint); + let builder = Router::builder(endpoint.clone()); let gossip = Gossip::builder().spawn(builder.endpoint().clone()).await?; - let _router: Router = builder.accept(GOSSIP_ALPN, gossip).spawn().await?; + let _router: Router = builder.accept(GOSSIP_ALPN, gossip.clone()).spawn().await?; + + let (topic, peers) = { + let Ticket { topic, peers } = Ticket::from_str(TICKET)?; + println!("> joining chat room for topic {topic}"); + (topic, peers) + }; + + let ticket = { + let me = endpoint.node_addr().await?; + let peers = peers.iter().cloned().chain([me]).collect(); + Ticket { topic, peers } + }; + println!("> ticket to join us: {ticket}"); + + + let peer_ids = peers.iter().map(|p| p.node_id).collect(); + if peers.is_empty() { + println!("> waiting for peers to join us..."); + } else { + println!("> trying to connect to {} peers...", peers.len()); + // add the peer addrs from the ticket to our endpoint's addressbook so that they can be dialed + for peer in peers.into_iter() { + endpoint.add_node_addr(peer)?; + } + }; + let (sender, receiver) = gossip.subscribe_and_join(topic, peer_ids).await?.split(); + println!("> connected!"); + + + let message = Message { + hostname: config::get_setting("REDLIB_FULL_URL").unwrap_or_default(), + online: true + }; + let encoded_message = SignedMessage::sign_and_encode(endpoint.secret_key(), &message)?; + sender.broadcast(encoded_message).await?; + + task::spawn(subscribe_loop(receiver)); + Ok(()) } + + +async fn subscribe_loop(mut receiver: GossipReceiver) { + while let Ok(Some(event)) = receiver.try_next().await { + if let Event::Gossip(GossipEvent::Received(msg)) = event { + let (from, message) = match SignedMessage::verify_and_decode(&msg.content) { + Ok(v) => v, + Err(e) => { + println!("> failed to verify message: {}", e); + break; + } + }; + match message { + Message::AboutMe { name } => { + // println!("> {} is now known as {}", from.fmt_short(), name); + } + Message::Message { text } => { + } + } + } + + } +} + +#[derive(Debug, Serialize, Deserialize)] +struct Ticket { + topic: TopicId, + peers: Vec, +} + +impl Ticket { + /// Deserializes from bytes. + fn from_bytes(bytes: &[u8]) -> anyhow::Result { + postcard::from_bytes(bytes).map_err(Into::into) + } + /// Serializes to bytes. + pub fn to_bytes(&self) -> Vec { + postcard::to_stdvec(self).expect("postcard::to_stdvec is infallible") + } +} + +impl FromStr for Ticket { + type Err = anyhow::Error; + fn from_str(s: &str) -> Result { + let bytes = data_encoding::BASE32_NOPAD.decode(s.to_ascii_uppercase().as_bytes())?; + Self::from_bytes(&bytes) + } +} +impl std::fmt::Display for Ticket { + fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { + let mut text = data_encoding::BASE32_NOPAD.encode(&self.to_bytes()[..]); + text.make_ascii_lowercase(); + write!(f, "{}", text) + } +} + +#[derive(Debug, Serialize, Deserialize)] +struct SignedMessage { + from: PublicKey, + data: Bytes, + signature: Signature, +} + +impl SignedMessage { + pub fn verify_and_decode(bytes: &[u8]) -> anyhow::Result<(PublicKey, Message)> { + let signed_message: Self = postcard::from_bytes(bytes)?; + let key: PublicKey = signed_message.from; + key.verify(&signed_message.data, &signed_message.signature)?; + let message: Message = postcard::from_bytes(&signed_message.data)?; + Ok((signed_message.from, message)) + } + + pub fn sign_and_encode(secret_key: &SecretKey, message: &Message) -> anyhow::Result { + let data: Bytes = postcard::to_stdvec(&message)?.into(); + let signature = secret_key.sign(&data); + let from: PublicKey = secret_key.public(); + let signed_message = Self { + from, + data, + signature, + }; + let encoded = postcard::to_stdvec(&signed_message)?; + Ok(encoded.into()) + } +} + +#[derive(Debug, Serialize, Deserialize)] +struct Message { + hostname: String, + online: bool +} \ No newline at end of file