thread 'rustc' panicked at 'forcing query with already existing `DepNode` - query-key: Binder(cluster_set::ClusterInternal<{integer}, ()>, []) - dep-node: own_existential_vtable_entries(a965f9c82c7a057e-34da6f267b48538f)', /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/compiler/rustc_query_system/src/dep_graph/graph.rs:247:9 stack backtrace: 0: 0x10e33f321 - ::fmt::h4edbddd26fc45697 1: 0x10e3904bb - core::fmt::write::h266c957f12b1655a 2: 0x10e32fd3a - std::io::Write::write_fmt::h65d4ee621e8d810d 3: 0x10e342585 - std::panicking::default_hook::{{closure}}::h5b4886cd9f93dfca 4: 0x10e34216f - std::panicking::default_hook::h986d152c7bd7e732 5: 0x1145d57c8 - rustc_driver::DEFAULT_HOOK::{{closure}}::{{closure}}::h997411fe6ff6a285 6: 0x10e342dc6 - std::panicking::rust_panic_with_hook::h151f3b3bf37b4f17 7: 0x10e34283e - std::panicking::begin_panic_handler::{{closure}}::hf6660086d9ebd48c 8: 0x10e33f797 - std::sys_common::backtrace::__rust_end_short_backtrace::h34152178ea368a9a 9: 0x10e3427aa - _rust_begin_unwind 10: 0x10e3bb05f - core::panicking::panic_fmt::hb64a2db862b4aca0 11: 0x117da5f52 - rustc_query_system::dep_graph::graph::DepGraph::with_task::h14823017a5a1697e 12: 0x117cd5f30 - rustc_data_structures::stack::ensure_sufficient_stack::haba6544b1a98446b 13: 0x117b82975 - rustc_query_system::query::plumbing::try_execute_query::hd6604657c722c436 14: 0x117c116fb - rustc_query_system::query::plumbing::get_query::hbda43b871f1e68ac 15: 0x117d4f06c - ::own_existential_vtable_entries::habf6e1b1127c9ae1 16: 0x11878aa71 - rustc_trait_selection::traits::util::count_own_vtable_entries::hf252515eecb86653 17: 0x1187581b9 - rustc_trait_selection::traits::vtable_trait_first_method_offset::h0886bae50e69c0ef 18: 0x11872d4be - rustc_trait_selection::traits::select::confirmation::::confirm_candidate::hb5c10dc807d780d5 19: 0x118731a23 - rustc_trait_selection::traits::select::SelectionContext::select::h1df9a925b4352d39 20: 0x1186d6b45 - rustc_trait_selection::traits::fulfill::FulfillProcessor::process_trait_obligation::h2ae6dc56c84cec5d 21: 0x1186cd97e - rustc_trait_selection::traits::fulfill::FulfillProcessor::progress_changed_obligations::h3531f9f63c8db618 22: 0x118738563 - rustc_data_structures::obligation_forest::ObligationForest::process_obligations::hc533520ef3cacfbf 23: 0x1186cbf62 - rustc_trait_selection::traits::fulfill::FulfillmentContext::select::h49f1aba9aab87401 24: 0x1186cc7ef - ::select_with_constness_where_possible::h2d373ebb76540b1a 25: 0x116f9164f - rustc_typeck::check::fn_ctxt::checks::::check_argument_types::hf2016b5c63c178a0 26: 0x116f90b47 - rustc_typeck::check::fn_ctxt::checks::::check_method_argument_types::h367cacce763fdc58 27: 0x116fcc156 - rustc_typeck::check::expr::::check_expr_kind::h5a62ce0d53dd555d 28: 0x116f82c9b - rustc_typeck::check::expr::::check_expr_with_expectation_and_args::hc5a2352203d61723 29: 0x116fc9845 - rustc_typeck::check::expr::::check_expr_kind::h5a62ce0d53dd555d 30: 0x116f82c9b - rustc_typeck::check::expr::::check_expr_with_expectation_and_args::hc5a2352203d61723 31: 0x116f83eda - rustc_typeck::check::expr::::check_return_expr::h715557a93547b347 32: 0x11718bb2c - rustc_typeck::check::check::check_fn::hd6cd0ee3cba8413b 33: 0x116fc6f44 - rustc_typeck::check::closure::::check_expr_closure::haf6149cada89d092 34: 0x116fc9110 - rustc_typeck::check::expr::::check_expr_kind::h5a62ce0d53dd555d 35: 0x116f82c9b - rustc_typeck::check::expr::::check_expr_with_expectation_and_args::hc5a2352203d61723 36: 0x116fcc2e1 - rustc_typeck::check::expr::::check_expr_kind::h5a62ce0d53dd555d 37: 0x116f82c9b - rustc_typeck::check::expr::::check_expr_with_expectation_and_args::hc5a2352203d61723 38: 0x116f91c78 - rustc_typeck::check::fn_ctxt::checks::::check_argument_types::hf2016b5c63c178a0 39: 0x116f90b47 - rustc_typeck::check::fn_ctxt::checks::::check_method_argument_types::h367cacce763fdc58 40: 0x116fcc156 - rustc_typeck::check::expr::::check_expr_kind::h5a62ce0d53dd555d 41: 0x116f82c9b - rustc_typeck::check::expr::::check_expr_with_expectation_and_args::hc5a2352203d61723 42: 0x116f958af - rustc_typeck::check::fn_ctxt::checks::::check_stmt::h328e1d22e31a05c7 43: 0x116f9627f - rustc_typeck::check::fn_ctxt::checks::::check_block_with_expected::h394d2e1c21aa7600 44: 0x116f82c9b - rustc_typeck::check::expr::::check_expr_with_expectation_and_args::hc5a2352203d61723 45: 0x116f83eda - rustc_typeck::check::expr::::check_return_expr::h715557a93547b347 46: 0x11718bb2c - rustc_typeck::check::check::check_fn::hd6cd0ee3cba8413b 47: 0x117095243 - rustc_infer::infer::InferCtxtBuilder::enter::h930293ce7c40a3cd 48: 0x11706f8df - rustc_typeck::check::typeck::hcc5246241d538688 49: 0x117e00848 - rustc_query_system::dep_graph::graph::DepGraph::with_task::hf096ebc87d5bdebb 50: 0x117cda4c2 - rustc_data_structures::stack::ensure_sufficient_stack::hcb33e766e88e13ac 51: 0x117b46c02 - rustc_query_system::query::plumbing::try_execute_query::h896b170d71487f0f 52: 0x117d4ca67 - ::typeck::hc5b500dfc494a7f4 53: 0x11706fd42 - rustc_typeck::check::typeck::hcc5246241d538688 54: 0x117e00848 - rustc_query_system::dep_graph::graph::DepGraph::with_task::hf096ebc87d5bdebb 55: 0x117cda4c2 - rustc_data_structures::stack::ensure_sufficient_stack::hcb33e766e88e13ac 56: 0x117b46c02 - rustc_query_system::query::plumbing::try_execute_query::h896b170d71487f0f 57: 0x117d4ca67 - ::typeck::hc5b500dfc494a7f4 58: 0x11718e77d - as core::ops::function::FnOnce<()>>::call_once::h5fa7bd5485ffd8c9 59: 0x1171b103d - rustc_data_structures::sync::par_for_each_in::h2fdf41b78b7e5a63 60: 0x117074cb5 - rustc_typeck::check::typeck_item_bodies::h7c62d5e0640aa808 61: 0x117dea9e8 - rustc_query_system::dep_graph::graph::DepGraph::with_task::hbd3ccc69f6d4395d 62: 0x117ccdf79 - rustc_data_structures::stack::ensure_sufficient_stack::h71e621c2c8172eb1 63: 0x117b1b3b1 - rustc_query_system::query::plumbing::try_execute_query::h4a62b2c0ac29f28b 64: 0x117d4c938 - ::typeck_item_bodies::h9f20203c133e5cfd 65: 0x11707a0cc - rustc_session::utils::::time::hbef608a0dbee4db3 66: 0x117038e19 - rustc_typeck::check_crate::h639646483ad1f67a 67: 0x1146f619f - rustc_interface::passes::analysis::h4f85fbb562aaa2d0 68: 0x117dab1d8 - rustc_query_system::dep_graph::graph::DepGraph::with_task::h250cbf125cf5c5da 69: 0x117ccd5d5 - rustc_data_structures::stack::ensure_sufficient_stack::h6bf2db115705a40c 70: 0x117b9248c - rustc_query_system::query::plumbing::try_execute_query::hea85233fa9cc2fd4 71: 0x117d480c5 - ::analysis::hda9a7d1ffac3bca0 72: 0x114635211 - rustc_interface::passes::QueryContext::enter::hca7a6b48fcdfcc9c 73: 0x114613be6 - rustc_interface::queries::::enter::h5dd0e3e5d157764e 74: 0x1145e420e - rustc_span::with_source_map::h5222a0af0f8eb603 75: 0x1146123ac - scoped_tls::ScopedKey::set::h1d3d67352154478d 76: 0x1145e8c32 - std::sys_common::backtrace::__rust_begin_short_backtrace::hb945015c1b1cd51d 77: 0x11463a9a5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc43c9a06b1d9c32a 78: 0x10e34cba7 - std::sys::unix::thread::Thread::new::thread_start::h1ebadf8a3a1817e4 79: 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.57.0 (f1edd0429 2021-11-29) 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