thread 'rustc' panicked at 'forcing query with already existing `DepNode` - query-key: Binder(cluster_set::ClusterInternal<{integer}, ()>, []) - dep-node: own_existential_vtable_entries(6598e85fd8f10c4-85af617154600547)', /rustc/efec545293b9263be9edfb283a7aa66350b3acbf/compiler/rustc_query_system/src/dep_graph/graph.rs:236:9 stack backtrace: 0: 0x10e996211 - ::fmt::hd97b45925762f035 1: 0x10e9e6ffb - core::fmt::write::h2d5ecb4b9764759c 2: 0x10e98768a - std::io::Write::write_fmt::h80cfd69766515533 3: 0x10e999325 - std::panicking::default_hook::{{closure}}::h726902fd3b2e524f 4: 0x10e998f0f - std::panicking::default_hook::h8c88a86349ae0d96 5: 0x11605c778 - rustc_driver[8d0bb2311f4dc935]::DEFAULT_HOOK::{closure#0}::{closure#0} 6: 0x10e999b66 - std::panicking::rust_panic_with_hook::h5cbc51010430491b 7: 0x10e9995de - std::panicking::begin_panic_handler::{{closure}}::hf90c83b4ac2013ae 8: 0x10e996697 - std::sys_common::backtrace::__rust_end_short_backtrace::hca90c3f3f4640bf8 9: 0x10e99954a - _rust_begin_unwind 10: 0x10ea1124f - core::panicking::panic_fmt::h88a1b6fbb9084d2c 11: 0x119880f22 - >::with_task::, &[rustc_span[972764e7a71ad16e]::def_id::DefId]> 12: 0x119768424 - rustc_data_structures[5ded8a665826c379]::stack::ensure_sufficient_stack::<(&[rustc_span[972764e7a71ad16e]::def_id::DefId], rustc_query_system[52abdace21f03da1]::dep_graph::graph::DepNodeIndex), rustc_query_system[52abdace21f03da1]::query::plumbing::execute_job, &[rustc_span[972764e7a71ad16e]::def_id::DefId]>::{closure#3}> 13: 0x1196e0ec0 - rustc_query_system[52abdace21f03da1]::query::plumbing::get_query:: 14: 0x11979166c - ::own_existential_vtable_entries 15: 0x11a29e571 - rustc_trait_selection[c34f61748a6e47a0]::traits::util::count_own_vtable_entries 16: 0x11a23af9c - rustc_trait_selection[c34f61748a6e47a0]::traits::vtable_trait_first_method_offset 17: 0x11a222f8c - ::confirm_candidate 18: 0x11a22640a - ::select 19: 0x11a20b6b2 - ::process_trait_obligation 20: 0x11a206e91 - ::progress_changed_obligations 21: 0x11a22a0c3 - >::process_obligations::> 22: 0x11a20584a - ::select 23: 0x11a205e7f - ::select_with_constness_where_possible 24: 0x118a44da3 - ::check_argument_types 25: 0x118a443d8 - ::check_method_argument_types 26: 0x118a79fb4 - ::check_expr_kind 27: 0x118a38014 - ::check_expr_with_expectation_and_args 28: 0x118a779b7 - ::check_expr_kind 29: 0x118a38014 - ::check_expr_with_expectation_and_args 30: 0x118a3910a - ::check_return_expr 31: 0x118c310a8 - rustc_typeck[1da7f8f9aa42b57f]::check::check::check_fn 32: 0x118a750aa - ::check_expr_closure 33: 0x118a772e0 - ::check_expr_kind 34: 0x118a38014 - ::check_expr_with_expectation_and_args 35: 0x118a7a1c1 - ::check_expr_kind 36: 0x118a38014 - ::check_expr_with_expectation_and_args 37: 0x118a451af - ::check_argument_types 38: 0x118a443d8 - ::check_method_argument_types 39: 0x118a79fb4 - ::check_expr_kind 40: 0x118a38014 - ::check_expr_with_expectation_and_args 41: 0x118a4836f - ::check_stmt 42: 0x118a48c0e - ::check_block_with_expected 43: 0x118a38014 - ::check_expr_with_expectation_and_args 44: 0x118a3910a - ::check_return_expr 45: 0x118c310a8 - rustc_typeck[1da7f8f9aa42b57f]::check::check::check_fn 46: 0x118b87ae3 - ::enter::<&rustc_middle[4fb8aadffcc5e42e]::ty::context::TypeckResults, ::enter::{closure#1}, &rustc_middle[4fb8aadffcc5e42e]::ty::context::TypeckResults>::{closure#0}> 47: 0x118b18d17 - rustc_typeck[1da7f8f9aa42b57f]::check::typeck 48: 0x119890a1c - >::with_task:: 49: 0x119766c32 - rustc_data_structures[5ded8a665826c379]::stack::ensure_sufficient_stack::<(&rustc_middle[4fb8aadffcc5e42e]::ty::context::TypeckResults, rustc_query_system[52abdace21f03da1]::dep_graph::graph::DepNodeIndex), rustc_query_system[52abdace21f03da1]::query::plumbing::execute_job::{closure#3}> 50: 0x119618266 - rustc_query_system[52abdace21f03da1]::query::plumbing::try_execute_query::> 51: 0x1196e9f6e - rustc_query_system[52abdace21f03da1]::query::plumbing::get_query:: 52: 0x118b193bd - rustc_typeck[1da7f8f9aa42b57f]::check::typeck 53: 0x119890a1c - >::with_task:: 54: 0x119766c32 - rustc_data_structures[5ded8a665826c379]::stack::ensure_sufficient_stack::<(&rustc_middle[4fb8aadffcc5e42e]::ty::context::TypeckResults, rustc_query_system[52abdace21f03da1]::dep_graph::graph::DepNodeIndex), rustc_query_system[52abdace21f03da1]::query::plumbing::execute_job::{closure#3}> 55: 0x119618266 - rustc_query_system[52abdace21f03da1]::query::plumbing::try_execute_query::> 56: 0x1196e9f6e - rustc_query_system[52abdace21f03da1]::query::plumbing::get_query:: 57: 0x118bea541 - ::par_body_owners:: 58: 0x118b1da25 - rustc_typeck[1da7f8f9aa42b57f]::check::typeck_item_bodies 59: 0x1198c96c8 - >::with_task:: 60: 0x11976b9f7 - rustc_data_structures[5ded8a665826c379]::stack::ensure_sufficient_stack::<((), rustc_query_system[52abdace21f03da1]::dep_graph::graph::DepNodeIndex), rustc_query_system[52abdace21f03da1]::query::plumbing::execute_job::{closure#3}> 61: 0x119679edf - rustc_query_system[52abdace21f03da1]::query::plumbing::try_execute_query::> 62: 0x1196c8228 - rustc_query_system[52abdace21f03da1]::query::plumbing::get_query:: 63: 0x118b3b83e - ::time::<(), rustc_typeck[1da7f8f9aa42b57f]::check_crate::{closure#7}> 64: 0x118adb81d - rustc_typeck[1da7f8f9aa42b57f]::check_crate 65: 0x1161991aa - rustc_interface[a05cffcb58ec29ab]::passes::analysis 66: 0x1198bf0ac - >::with_task::> 67: 0x11975d755 - rustc_data_structures[5ded8a665826c379]::stack::ensure_sufficient_stack::<(core[f4889159fda6615f]::result::Result<(), rustc_errors[a6d6d342e9cfefe5]::ErrorReported>, rustc_query_system[52abdace21f03da1]::dep_graph::graph::DepNodeIndex), rustc_query_system[52abdace21f03da1]::query::plumbing::execute_job>::{closure#3}> 68: 0x11966f075 - rustc_query_system[52abdace21f03da1]::query::plumbing::try_execute_query::>> 69: 0x1196ea365 - rustc_query_system[52abdace21f03da1]::query::plumbing::get_query:: 70: 0x1160c7d71 - ::enter::> 71: 0x116076271 - ::enter::, rustc_errors[a6d6d342e9cfefe5]::ErrorReported>> 72: 0x116067828 - rustc_span[972764e7a71ad16e]::with_source_map::, rustc_interface[a05cffcb58ec29ab]::interface::create_compiler_and_run, rustc_driver[8d0bb2311f4dc935]::run_compiler::{closure#1}>::{closure#1}> 73: 0x11607712f - >::set::, rustc_driver[8d0bb2311f4dc935]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[a6d6d342e9cfefe5]::ErrorReported>>::{closure#0}::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[a6d6d342e9cfefe5]::ErrorReported>> 74: 0x116073ee2 - std[a27f7c5c346650f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver[8d0bb2311f4dc935]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[a6d6d342e9cfefe5]::ErrorReported>>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[a6d6d342e9cfefe5]::ErrorReported>> 75: 0x1160cd5c5 - <::spawn_unchecked, rustc_driver[8d0bb2311f4dc935]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[a6d6d342e9cfefe5]::ErrorReported>>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[a6d6d342e9cfefe5]::ErrorReported>>::{closure#1} as core[f4889159fda6615f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} 76: 0x10e9a3947 - std::sys::unix::thread::Thread::new::thread_start::h93c43f15232a2328 77: 0x7fff204858fc - __pthread_start error: internal compiler error: unexpected panic note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md note: rustc 1.59.0-nightly (efec54529 2021-12-04) running on x86_64-apple-darwin note: compiler flags: -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 -C incremental note: some of the compiler flags provided by cargo are hidden query stack during panic: #0 [own_existential_vtable_entries] finding all existential vtable entries for trait cluster_set::ClusterInternal #1 [typeck] type-checking `basic_cluster_set::tests::basic_cluster_test` #2 [typeck] type-checking `basic_cluster_set::tests::basic_cluster_test::{closure#0}` #3 [typeck_item_bodies] type-checking all item bodies #4 [analysis] running analysis passes on this crate end of query stack