Skip to content

async_graphql::DataLoader code generation via declarative and attribute macros causes compiler bug #103373

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cadillion opened this issue Oct 21, 2022 · 3 comments
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@cadillion
Copy link

cadillion commented Oct 21, 2022

Code

Unable to produce limited code example as reducing the number of models being operated on makes the compiler bug go away. Codebase is sensitive, please reach out about repository access if interested

#[cfg(test)]
mod test {
    use async_graphql::*;

    use hedgehog_rust_server::entities::{ 110 models };
    use hedgehog_rust_server::impl_data_loaders;
    use hedgehog_rust_server::impl_graphql_queries;

    #[test]
    #[ignore]
    pub fn code_gen() -> Result<()> {
        trace_macros!(true);
        impl_graphql_queries! { 550 model connections }
        impl_data_loaders! { 550 model connections }

        Ok(())
    }
}

Meta

Running rust:1.64-slim-bullseye Docker container on Mac M1

rustc 1.64.0 (a55dd71d5 2022-09-19)
binary: rustc
commit-hash: a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52
commit-date: 2022-09-19
host: aarch64-unknown-linux-gnu
release: 1.64.0
LLVM version: 14.0.6

Error output

Comment is too long so snipping here in favor of the backtrace.

hedgehog-stack-rust-1  | thread 'rustc' panicked at 'Failed to extract DefId: local_def_id_to_hir_id 8cf36cf9999eb830-45171ce3c98120cd', compiler/rustc_middle/src/dep_graph/dep_node.rs:276:17
hedgehog-stack-rust-1  | stack backtrace:
hedgehog-stack-rust-1  |    0: rust_begin_unwind
hedgehog-stack-rust-1  |              at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:584:5
hedgehog-stack-rust-1  |    1: core::panicking::panic_fmt
hedgehog-stack-rust-1  |              at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/panicking.rs:142:14
hedgehog-stack-rust-1  |    2: <rustc_query_system::dep_graph::dep_node::DepNode<rustc_middle::dep_graph::dep_node::DepKind> as rustc_middle::dep_graph::dep_node::DepNodeExt>::extract_def_id::{closure#0}
hedgehog-stack-rust-1  |    3: <rustc_middle::ty::context::TyCtxt>::def_path_hash_to_def_id
hedgehog-stack-rust-1  |    4: <rustc_query_system::dep_graph::dep_node::DepNode<rustc_middle::dep_graph::dep_node::DepKind> as rustc_middle::dep_graph::dep_node::DepNodeExt>::extract_def_id
hedgehog-stack-rust-1  |    5: rustc_query_impl::query_callbacks::local_def_id_to_hir_id::force_from_dep_node
hedgehog-stack-rust-1  |    6: <rustc_middle::ty::context::TyCtxt as rustc_query_system::dep_graph::DepContext>::try_force_from_dep_node
hedgehog-stack-rust-1  |    7: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |    8: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |    9: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   10: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   11: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   12: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   13: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   14: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   15: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   16: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   17: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   18: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   19: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   20: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   21: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   22: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   23: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   24: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   25: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   26: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   27: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   28: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   29: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   30: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   31: rustc_query_system::query::plumbing::try_load_from_disk_and_cache_in_memory::<rustc_query_impl::plumbing::QueryCtxt, rustc_middle::infer::canonical::Canonical<rustc_middle::ty::ParamEnvAnd<rustc_middle::ty::Predicate>>, core::result::Result<rustc_middle::traits::select::EvaluationResult, rustc_middle::traits::select::OverflowError>>
hedgehog-stack-rust-1  |   32: rustc_query_system::query::plumbing::get_query::<rustc_query_impl::queries::evaluate_obligation, rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   33: <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::evaluate_obligation
hedgehog-stack-rust-1  |   34: <rustc_infer::infer::InferCtxt as rustc_trait_selection::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
hedgehog-stack-rust-1  |   35: <rustc_infer::infer::InferCtxt as rustc_trait_selection::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
hedgehog-stack-rust-1  |   36: <rustc_trait_selection::traits::fulfill::FulfillProcessor>::process_trait_obligation
hedgehog-stack-rust-1  |   37: <rustc_trait_selection::traits::fulfill::FulfillProcessor as rustc_data_structures::obligation_forest::ObligationProcessor>::process_obligation
hedgehog-stack-rust-1  |   38: <rustc_data_structures::obligation_forest::ObligationForest<rustc_trait_selection::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection::traits::fulfill::FulfillProcessor, rustc_data_structures::obligation_forest::Outcome<rustc_trait_selection::traits::fulfill::PendingPredicateObligation, rustc_infer::traits::FulfillmentErrorCode>>
hedgehog-stack-rust-1  |   39: <rustc_trait_selection::traits::fulfill::FulfillmentContext as rustc_infer::traits::engine::TraitEngine>::select_where_possible
hedgehog-stack-rust-1  |   40: <rustc_trait_selection::traits::fulfill::FulfillmentContext as rustc_infer::traits::engine::TraitEngine>::select_all_or_error
hedgehog-stack-rust-1  |   41: <rustc_infer::infer::InferCtxtBuilder>::enter::<core::result::Result<&rustc_middle::traits::ImplSource<()>, rustc_middle::traits::CodegenObligationError>, rustc_trait_selection::traits::codegen::codegen_fulfill_obligation::{closure#0}>
hedgehog-stack-rust-1  |   42: rustc_trait_selection::traits::codegen::codegen_fulfill_obligation
hedgehog-stack-rust-1  |   43: <rustc_middle::dep_graph::dep_node::DepKind as rustc_query_system::dep_graph::DepKind>::with_deps::<<rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::with_task_impl<rustc_middle::ty::context::TyCtxt, (rustc_middle::ty::ParamEnv, rustc_middle::ty::sty::Binder<rustc_middle::ty::sty::TraitRef>), core::result::Result<&rustc_middle::traits::ImplSource<()>, rustc_middle::traits::CodegenObligationError>>::{closure#0}, core::result::Result<&rustc_middle::traits::ImplSource<()>, rustc_middle::traits::CodegenObligationError>>
hedgehog-stack-rust-1  |   44: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle::ty::context::TyCtxt, (rustc_middle::ty::ParamEnv, rustc_middle::ty::sty::Binder<rustc_middle::ty::sty::TraitRef>), core::result::Result<&rustc_middle::traits::ImplSource<()>, rustc_middle::traits::CodegenObligationError>>
hedgehog-stack-rust-1  |   45: rustc_query_system::query::plumbing::get_query::<rustc_query_impl::queries::codegen_fulfill_obligation, rustc_query_impl::plumbing::QueryCtxt>
hedgehog-stack-rust-1  |   46: <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::codegen_fulfill_obligation
hedgehog-stack-rust-1  |   47: rustc_monomorphize::custom_coerce_unsize_info
hedgehog-stack-rust-1  |   48: rustc_monomorphize::collector::find_vtable_types_for_unsizing
hedgehog-stack-rust-1  |   49: <rustc_monomorphize::collector::MirNeighborCollector as rustc_middle::mir::visit::Visitor>::visit_rvalue
hedgehog-stack-rust-1  |   50: rustc_monomorphize::collector::collect_neighbours
hedgehog-stack-rust-1  |   51: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   52: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   53: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   54: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   55: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   56: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   57: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   58: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   59: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   60: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   61: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   62: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   63: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   64: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   65: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   66: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   67: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   68: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   69: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   70: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   71: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   72: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   73: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   74: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   75: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   76: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   77: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   78: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   79: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   80: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   81: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   82: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   83: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   84: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   85: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   86: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   87: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   88: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   89: rustc_monomorphize::collector::collect_items_rec
hedgehog-stack-rust-1  |   90: <core::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures::sync::par_for_each_in<alloc::vec::Vec<rustc_middle::mir::mono::MonoItem>, rustc_monomorphize::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#0}> as core::ops::function::FnOnce<()>>::call_once
hedgehog-stack-rust-1  |   91: std::panicking::try::<(), core::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures::sync::par_for_each_in<alloc::vec::Vec<rustc_middle::mir::mono::MonoItem>, rustc_monomorphize::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#0}>>
hedgehog-stack-rust-1  | note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
hedgehog-stack-rust-1  | 
hedgehog-stack-rust-1  | error: internal compiler error: unexpected panic
hedgehog-stack-rust-1  | 
hedgehog-stack-rust-1  | note: the compiler unexpectedly panicked. this is a bug.
hedgehog-stack-rust-1  | 
hedgehog-stack-rust-1  | 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
hedgehog-stack-rust-1  | 
hedgehog-stack-rust-1  | note: rustc 1.64.0 (a55dd71d5 2022-09-19) running on aarch64-unknown-linux-gnu
hedgehog-stack-rust-1  | 
hedgehog-stack-rust-1  | note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -C incremental
hedgehog-stack-rust-1  | 
hedgehog-stack-rust-1  | note: some of the compiler flags provided by cargo are hidden
hedgehog-stack-rust-1  | 
hedgehog-stack-rust-1  | query stack during panic:
hedgehog-stack-rust-1  | #0 [evaluate_obligation] evaluating trait selection obligation `for<'r, 's, 't0> {core::future::ResumeTy, &'r async_graphql::dataloader::DataLoader<adapters::graphql::queries::StacksVStackStackIdUuidLoader>, &'s adapters::graphql::queries::QueryWithId, adapters::graphql::queries::QueryWithId, core::iter::sources::once::Once<adapters::graphql::queries::QueryWithId>, impl for<'t0> core::future::future::Future<Output = core::result::Result<std::collections::hash::map::HashMap<adapters::graphql::queries::QueryWithId, <adapters::graphql::queries::StacksVStackStackIdUuidLoader as async_graphql::dataloader::Loader<adapters::graphql::queries::QueryWithId>>::Value>, <adapters::graphql::queries::StacksVStackStackIdUuidLoader as async_graphql::dataloader::Loader<adapters::graphql::queries::QueryWithId>>::Error>>, ()}: core::marker::Send`
hedgehog-stack-rust-1  | #1 [codegen_fulfill_obligation] checking if `core::ops::unsize::CoerceUnsized` fulfills its obligations
hedgehog-stack-rust-1  | #2 [collect_and_partition_mono_items] collect_and_partition_mono_items
hedgehog-stack-rust-1  | #3 [exported_symbols] exported_symbols
hedgehog-stack-rust-1  | end of query stack
hedgehog-stack-rust-1  | error: could not compile `hedgehog-rust-server`
hedgehog-stack-rust-1  | [Finished running. Exit status: 101]
Backtrace

Snipped due to comment length

thread 'rustc' panicked at 'Failed to extract DefId: local_def_id_to_hir_id 8cf36cf9999eb830-45171ce3c98120cd', compiler/rustc_middle/src/dep_graph/dep_node.rs:276:17
stack backtrace:
   0:     0xffff99acac8c - std::backtrace_rs::backtrace::libunwind::trace::hf1cf790047e09735
                               at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0xffff99acac8c - std::backtrace_rs::backtrace::trace_unsynchronized::h696124ac7028c0c6
                               at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0xffff99acac8c - std::sys_common::backtrace::_print_fmt::hdfe3caa910daf6fb
                               at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/sys_common/backtrace.rs:66:5
   3:     0xffff99acac8c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hdfc0dabfaade5d57
                               at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/sys_common/backtrace.rs:45:22
   4:     0xffff99b1d0dc - core::fmt::write::h873eac483c4fa7a7
                               at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/fmt/mod.rs:1198:17
   5:     0xffff99abd468 - std::io::Write::write_fmt::h6348507c1ca24939
                               at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/io/mod.rs:1672:15
   6:     0xffff99acd5f8 - std::sys_common::backtrace::_print::h0da2ffd594fc43bf
                               at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/sys_common/backtrace.rs:48:5
   7:     0xffff99acd5f8 - std::sys_common::backtrace::print::h2705ee66e84c8556
                               at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/sys_common/backtrace.rs:35:9
   8:     0xffff99acd5f8 - std::panicking::default_hook::{{closure}}::h2a52e105bd5e7244
                               at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:295:22
   9:     0xffff99acd34c - std::panicking::default_hook::hd39d60dbf23516bb
                               at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:314:9
  10:     0xffff9a7243f4 - rustc_driver[90aa4c862c8427ef]::DEFAULT_HOOK::{closure#0}::{closure#0}
  11:     0xffff99acdc88 - std::panicking::rust_panic_with_hook::hc41cbad5588dc32b
                               at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:702:17
  12:     0xffff99acdad4 - std::panicking::begin_panic_handler::{{closure}}::h59c07cf68da73fc3
                               at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:588:13
  13:     0xffff99acb170 - std::sys_common::backtrace::__rust_end_short_backtrace::h49dde62275749061
                               at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/sys_common/backtrace.rs:138:18
  14:     0xffff99acd820 - rust_begin_unwind
                               at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:584:5
  15:     0xffff99a990d8 - core::panicking::panic_fmt::h952ed6d869f35962
                               at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/panicking.rs:142:14
  16:     0xffff9ee32fac - <rustc_query_system[a1d85e6860a575d3]::dep_graph::dep_node::DepNode<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind> as rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepNodeExt>::extract_def_id::{closure#0}
  17:     0xffff9eead544 - <rustc_middle[fd7020a71ca2bf58]::ty::context::TyCtxt>::def_path_hash_to_def_id
  18:     0xffff9ee32f24 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::dep_node::DepNode<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind> as rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepNodeExt>::extract_def_id
  19:     0xffff9e1c4ab8 - rustc_query_impl[3e0d77afcb5e40a5]::query_callbacks::local_def_id_to_hir_id::force_from_dep_node
  20:     0xffff9ee93a80 - <rustc_middle[fd7020a71ca2bf58]::ty::context::TyCtxt as rustc_query_system[a1d85e6860a575d3]::dep_graph::DepContext>::try_force_from_dep_node
  21:     0xffff9e0ce094 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  22:     0xffff9e0ce064 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  23:     0xffff9e0ce064 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  24:     0xffff9e0ce064 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  25:     0xffff9e0ce064 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  26:     0xffff9e0ce064 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  27:     0xffff9e0ce064 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  28:     0xffff9e0ce064 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  29:     0xffff9e0ce064 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  30:     0xffff9e0ce064 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  31:     0xffff9e0ce064 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  32:     0xffff9e0ce064 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  33:     0xffff9e0ce064 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  34:     0xffff9e0ce064 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  35:     0xffff9e0ce064 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  36:     0xffff9e0ce064 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  37:     0xffff9e0ce064 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  38:     0xffff9e0ce064 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  39:     0xffff9e0ce064 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  40:     0xffff9e0ce064 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  41:     0xffff9e0ce064 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  42:     0xffff9e0ce064 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  43:     0xffff9e0ce064 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  44:     0xffff9e0ce064 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  45:     0xffff9e29c180 - rustc_query_system[a1d85e6860a575d3]::query::plumbing::try_load_from_disk_and_cache_in_memory::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt, rustc_middle[fd7020a71ca2bf58]::infer::canonical::Canonical<rustc_middle[fd7020a71ca2bf58]::ty::ParamEnvAnd<rustc_middle[fd7020a71ca2bf58]::ty::Predicate>>, core[949b02b73ddb997]::result::Result<rustc_middle[fd7020a71ca2bf58]::traits::select::EvaluationResult, rustc_middle[fd7020a71ca2bf58]::traits::select::OverflowError>>
  46:     0xffff9e2e2aec - rustc_query_system[a1d85e6860a575d3]::query::plumbing::get_query::<rustc_query_impl[3e0d77afcb5e40a5]::queries::evaluate_obligation, rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  47:     0xffff9e1c2a88 - <rustc_query_impl[3e0d77afcb5e40a5]::Queries as rustc_middle[fd7020a71ca2bf58]::ty::query::QueryEngine>::evaluate_obligation
  48:     0xffff9ebadb94 - <rustc_infer[f220877d3f1dd234]::infer::InferCtxt as rustc_trait_selection[17b00de1ff6b7e78]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
  49:     0xffff9ebadc84 - <rustc_infer[f220877d3f1dd234]::infer::InferCtxt as rustc_trait_selection[17b00de1ff6b7e78]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  50:     0xffff9ec3e57c - <rustc_trait_selection[17b00de1ff6b7e78]::traits::fulfill::FulfillProcessor>::process_trait_obligation
  51:     0xffff9ec3e16c - <rustc_trait_selection[17b00de1ff6b7e78]::traits::fulfill::FulfillProcessor as rustc_data_structures[f474adf0ca20037f]::obligation_forest::ObligationProcessor>::process_obligation
  52:     0xffff9ecc0a1c - <rustc_data_structures[f474adf0ca20037f]::obligation_forest::ObligationForest<rustc_trait_selection[17b00de1ff6b7e78]::traits::fulfill::PendingPredicateObligation>>::process_obligations::<rustc_trait_selection[17b00de1ff6b7e78]::traits::fulfill::FulfillProcessor, rustc_data_structures[f474adf0ca20037f]::obligation_forest::Outcome<rustc_trait_selection[17b00de1ff6b7e78]::traits::fulfill::PendingPredicateObligation, rustc_infer[f220877d3f1dd234]::traits::FulfillmentErrorCode>>
  53:     0xffff9ec387f0 - <rustc_trait_selection[17b00de1ff6b7e78]::traits::fulfill::FulfillmentContext as rustc_infer[f220877d3f1dd234]::traits::engine::TraitEngine>::select_where_possible
  54:     0xffff9ec386fc - <rustc_trait_selection[17b00de1ff6b7e78]::traits::fulfill::FulfillmentContext as rustc_infer[f220877d3f1dd234]::traits::engine::TraitEngine>::select_all_or_error
  55:     0xffff9eb81e68 - <rustc_infer[f220877d3f1dd234]::infer::InferCtxtBuilder>::enter::<core[949b02b73ddb997]::result::Result<&rustc_middle[fd7020a71ca2bf58]::traits::ImplSource<()>, rustc_middle[fd7020a71ca2bf58]::traits::CodegenObligationError>, rustc_trait_selection[17b00de1ff6b7e78]::traits::codegen::codegen_fulfill_obligation::{closure#0}>
  56:     0xffff9ec7c598 - rustc_trait_selection[17b00de1ff6b7e78]::traits::codegen::codegen_fulfill_obligation
  57:     0xffff9dfc438c - <rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind as rustc_query_system[a1d85e6860a575d3]::dep_graph::DepKind>::with_deps::<<rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::with_task_impl<rustc_middle[fd7020a71ca2bf58]::ty::context::TyCtxt, (rustc_middle[fd7020a71ca2bf58]::ty::ParamEnv, rustc_middle[fd7020a71ca2bf58]::ty::sty::Binder<rustc_middle[fd7020a71ca2bf58]::ty::sty::TraitRef>), core[949b02b73ddb997]::result::Result<&rustc_middle[fd7020a71ca2bf58]::traits::ImplSource<()>, rustc_middle[fd7020a71ca2bf58]::traits::CodegenObligationError>>::{closure#0}, core[949b02b73ddb997]::result::Result<&rustc_middle[fd7020a71ca2bf58]::traits::ImplSource<()>, rustc_middle[fd7020a71ca2bf58]::traits::CodegenObligationError>>
  58:     0xffff9e100eb4 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[fd7020a71ca2bf58]::ty::context::TyCtxt, (rustc_middle[fd7020a71ca2bf58]::ty::ParamEnv, rustc_middle[fd7020a71ca2bf58]::ty::sty::Binder<rustc_middle[fd7020a71ca2bf58]::ty::sty::TraitRef>), core[949b02b73ddb997]::result::Result<&rustc_middle[fd7020a71ca2bf58]::traits::ImplSource<()>, rustc_middle[fd7020a71ca2bf58]::traits::CodegenObligationError>>
  59:     0xffff9e2ff6d4 - rustc_query_system[a1d85e6860a575d3]::query::plumbing::get_query::<rustc_query_impl[3e0d77afcb5e40a5]::queries::codegen_fulfill_obligation, rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
  60:     0xffff9e1c209c - <rustc_query_impl[3e0d77afcb5e40a5]::Queries as rustc_middle[fd7020a71ca2bf58]::ty::query::QueryEngine>::codegen_fulfill_obligation
  61:     0xffff9d12f140 - rustc_monomorphize[e5928cd824e29f70]::custom_coerce_unsize_info
  62:     0xffff9d0fde8c - rustc_monomorphize[e5928cd824e29f70]::collector::find_vtable_types_for_unsizing
  63:     0xffff9d0fc60c - <rustc_monomorphize[e5928cd824e29f70]::collector::MirNeighborCollector as rustc_middle[fd7020a71ca2bf58]::mir::visit::Visitor>::visit_rvalue
  64:     0xffff9d102e90 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_neighbours
  65:     0xffff9d100dd8 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  66:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  67:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  68:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  69:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  70:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  71:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  72:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  73:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  74:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  75:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  76:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  77:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  78:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  79:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  80:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  81:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  82:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  83:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  84:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  85:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  86:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  87:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  88:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  89:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  90:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  91:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  92:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  93:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  94:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  95:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  96:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  97:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  98:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
  99:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
 100:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
 101:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
 102:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
 103:     0xffff9d101284 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_items_rec
 104:     0xffff9d10e2dc - <core[949b02b73ddb997]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[f474adf0ca20037f]::sync::par_for_each_in<alloc[28a23a20cc790738]::vec::Vec<rustc_middle[fd7020a71ca2bf58]::mir::mono::MonoItem>, rustc_monomorphize[e5928cd824e29f70]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#0}> as core[949b02b73ddb997]::ops::function::FnOnce<()>>::call_once
 105:     0xffff9d1283b4 - std[d23097d9311f8908]::panicking::try::<(), core[949b02b73ddb997]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[f474adf0ca20037f]::sync::par_for_each_in<alloc[28a23a20cc790738]::vec::Vec<rustc_middle[fd7020a71ca2bf58]::mir::mono::MonoItem>, rustc_monomorphize[e5928cd824e29f70]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#0}>>
 106:     0xffff9d12cb3c - rustc_data_structures[f474adf0ca20037f]::sync::par_for_each_in::<alloc[28a23a20cc790738]::vec::Vec<rustc_middle[fd7020a71ca2bf58]::mir::mono::MonoItem>, rustc_monomorphize[e5928cd824e29f70]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>
 107:     0xffff9d113574 - <rustc_session[8879ead569aa9422]::session::Session>::time::<(), rustc_monomorphize[e5928cd824e29f70]::collector::collect_crate_mono_items::{closure#1}>
 108:     0xffff9d0fecf8 - rustc_monomorphize[e5928cd824e29f70]::collector::collect_crate_mono_items
 109:     0xffff9d105948 - rustc_monomorphize[e5928cd824e29f70]::partitioning::collect_and_partition_mono_items
 110:     0xffff9e1105a8 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[fd7020a71ca2bf58]::ty::context::TyCtxt, (), (&std[d23097d9311f8908]::collections::hash::set::HashSet<rustc_span[6baf9b61163779de]::def_id::DefId, core[949b02b73ddb997]::hash::BuildHasherDefault<rustc_hash[5f95de80ba05d08b]::FxHasher>>, &[rustc_middle[fd7020a71ca2bf58]::mir::mono::CodegenUnit])>
 111:     0xffff9e27788c - rustc_query_system[a1d85e6860a575d3]::query::plumbing::try_execute_query::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt, rustc_query_system[a1d85e6860a575d3]::query::caches::DefaultCache<(), (&std[d23097d9311f8908]::collections::hash::set::HashSet<rustc_span[6baf9b61163779de]::def_id::DefId, core[949b02b73ddb997]::hash::BuildHasherDefault<rustc_hash[5f95de80ba05d08b]::FxHasher>>, &[rustc_middle[fd7020a71ca2bf58]::mir::mono::CodegenUnit])>>
 112:     0xffff9e1ff124 - rustc_query_system[a1d85e6860a575d3]::query::plumbing::force_query::<rustc_query_impl[3e0d77afcb5e40a5]::queries::collect_and_partition_mono_items, rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
 113:     0xffff9e1d8068 - rustc_query_impl[3e0d77afcb5e40a5]::query_callbacks::collect_and_partition_mono_items::force_from_dep_node
 114:     0xffff9ee93a80 - <rustc_middle[fd7020a71ca2bf58]::ty::context::TyCtxt as rustc_query_system[a1d85e6860a575d3]::dep_graph::DepContext>::try_force_from_dep_node
 115:     0xffff9e0ce094 - <rustc_query_system[a1d85e6860a575d3]::dep_graph::graph::DepGraph<rustc_middle[fd7020a71ca2bf58]::dep_graph::dep_node::DepKind>>::try_mark_previous_green::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
 116:     0xffff9e2b5bf4 - rustc_query_system[a1d85e6860a575d3]::query::plumbing::try_load_from_disk_and_cache_in_memory::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt, rustc_span[6baf9b61163779de]::def_id::CrateNum, &[(rustc_middle[fd7020a71ca2bf58]::middle::exported_symbols::ExportedSymbol, rustc_middle[fd7020a71ca2bf58]::middle::exported_symbols::SymbolExportInfo)]>
 117:     0xffff9e26b3c0 - rustc_query_system[a1d85e6860a575d3]::query::plumbing::try_execute_query::<rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt, rustc_query_system[a1d85e6860a575d3]::query::caches::DefaultCache<rustc_span[6baf9b61163779de]::def_id::CrateNum, &[(rustc_middle[fd7020a71ca2bf58]::middle::exported_symbols::ExportedSymbol, rustc_middle[fd7020a71ca2bf58]::middle::exported_symbols::SymbolExportInfo)]>>
 118:     0xffff9e2d6fe4 - rustc_query_system[a1d85e6860a575d3]::query::plumbing::get_query::<rustc_query_impl[3e0d77afcb5e40a5]::queries::exported_symbols, rustc_query_impl[3e0d77afcb5e40a5]::plumbing::QueryCtxt>
 119:     0xffff9e67f4d8 - <rustc_metadata[676f6e12ac456cdc]::rmeta::encoder::EncodeContext>::encode_crate_root
 120:     0xffff9e692384 - rustc_metadata[676f6e12ac456cdc]::rmeta::encoder::encode_metadata_impl
 121:     0xffff9e6af824 - rustc_data_structures[f474adf0ca20037f]::sync::join::<rustc_metadata[676f6e12ac456cdc]::rmeta::encoder::encode_metadata::{closure#0}, rustc_metadata[676f6e12ac456cdc]::rmeta::encoder::encode_metadata::{closure#1}, (), ()>
 122:     0xffff9e691c78 - rustc_metadata[676f6e12ac456cdc]::rmeta::encoder::encode_metadata
 123:     0xffff9e7b4998 - rustc_metadata[676f6e12ac456cdc]::fs::encode_and_write_metadata
 124:     0xffff9a7ac5a4 - <rustc_interface[43e77e739e524cb]::passes::QueryContext>::enter::<<rustc_interface[43e77e739e524cb]::queries::Queries>::ongoing_codegen::{closure#0}::{closure#0}, core[949b02b73ddb997]::result::Result<alloc[28a23a20cc790738]::boxed::Box<dyn core[949b02b73ddb997]::any::Any>, rustc_errors[17cd938d05fd57a5]::ErrorGuaranteed>>
 125:     0xffff9a832478 - <rustc_interface[43e77e739e524cb]::queries::Queries>::ongoing_codegen
 126:     0xffff9a6b9b94 - <rustc_interface[43e77e739e524cb]::interface::Compiler>::enter::<rustc_driver[90aa4c862c8427ef]::run_compiler::{closure#1}::{closure#2}, core[949b02b73ddb997]::result::Result<core[949b02b73ddb997]::option::Option<rustc_interface[43e77e739e524cb]::queries::Linker>, rustc_errors[17cd938d05fd57a5]::ErrorGuaranteed>>
 127:     0xffff9a70e934 - rustc_span[6baf9b61163779de]::with_source_map::<core[949b02b73ddb997]::result::Result<(), rustc_errors[17cd938d05fd57a5]::ErrorGuaranteed>, rustc_interface[43e77e739e524cb]::interface::create_compiler_and_run<core[949b02b73ddb997]::result::Result<(), rustc_errors[17cd938d05fd57a5]::ErrorGuaranteed>, rustc_driver[90aa4c862c8427ef]::run_compiler::{closure#1}>::{closure#1}>
 128:     0xffff9a6ba3bc - <scoped_tls[198a336cd664f59e]::ScopedKey<rustc_span[6baf9b61163779de]::SessionGlobals>>::set::<rustc_interface[43e77e739e524cb]::interface::run_compiler<core[949b02b73ddb997]::result::Result<(), rustc_errors[17cd938d05fd57a5]::ErrorGuaranteed>, rustc_driver[90aa4c862c8427ef]::run_compiler::{closure#1}>::{closure#0}, core[949b02b73ddb997]::result::Result<(), rustc_errors[17cd938d05fd57a5]::ErrorGuaranteed>>
 129:     0xffff9a6d9d1c - std[d23097d9311f8908]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[43e77e739e524cb]::util::run_in_thread_pool_with_globals<rustc_interface[43e77e739e524cb]::interface::run_compiler<core[949b02b73ddb997]::result::Result<(), rustc_errors[17cd938d05fd57a5]::ErrorGuaranteed>, rustc_driver[90aa4c862c8427ef]::run_compiler::{closure#1}>::{closure#0}, core[949b02b73ddb997]::result::Result<(), rustc_errors[17cd938d05fd57a5]::ErrorGuaranteed>>::{closure#0}, core[949b02b73ddb997]::result::Result<(), rustc_errors[17cd938d05fd57a5]::ErrorGuaranteed>>
 130:     0xffff9a6daa04 - <<std[d23097d9311f8908]::thread::Builder>::spawn_unchecked_<rustc_interface[43e77e739e524cb]::util::run_in_thread_pool_with_globals<rustc_interface[43e77e739e524cb]::interface::run_compiler<core[949b02b73ddb997]::result::Result<(), rustc_errors[17cd938d05fd57a5]::ErrorGuaranteed>, rustc_driver[90aa4c862c8427ef]::run_compiler::{closure#1}>::{closure#0}, core[949b02b73ddb997]::result::Result<(), rustc_errors[17cd938d05fd57a5]::ErrorGuaranteed>>::{closure#0}, core[949b02b73ddb997]::result::Result<(), rustc_errors[17cd938d05fd57a5]::ErrorGuaranteed>>::{closure#1} as core[949b02b73ddb997]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
 131:     0xffff99ad70ec - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h3c6904304d7f6611
                               at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/alloc/src/boxed.rs:1935:9
 132:     0xffff99ad70ec - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h27512766aac9ab53
                               at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/alloc/src/boxed.rs:1935:9
 133:     0xffff99ad70ec - std::sys::unix::thread::Thread::new::thread_start::hcbb3c559901d08d4
                               at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/sys/unix/thread.rs:108:17
 134:     0xffff99857648 - start_thread
 135:     0xffff9998bc1c - <unknown>
 136:                0x0 - <unknown>

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.64.0 (a55dd71d5 2022-09-19) running on aarch64-unknown-linux-gnu

note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -C incremental

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [evaluate_obligation] evaluating trait selection obligation `for<'r, 's, 't0> {core::future::ResumeTy, &'r async_graphql::dataloader::DataLoader<adapters::graphql::queries::StacksVStackStackIdUuidLoader>, &'s adapters::graphql::queries::QueryWithId, adapters::graphql::queries::QueryWithId, core::iter::sources::once::Once<adapters::graphql::queries::QueryWithId>, impl for<'t0> core::future::future::Future<Output = core::result::Result<std::collections::hash::map::HashMap<adapters::graphql::queries::QueryWithId, <adapters::graphql::queries::StacksVStackStackIdUuidLoader as async_graphql::dataloader::Loader<adapters::graphql::queries::QueryWithId>>::Value>, <adapters::graphql::queries::StacksVStackStackIdUuidLoader as async_graphql::dataloader::Loader<adapters::graphql::queries::QueryWithId>>::Error>>, ()}: core::marker::Send`
#1 [codegen_fulfill_obligation] checking if `core::ops::unsize::CoerceUnsized` fulfills its obligations
#2 [collect_and_partition_mono_items] collect_and_partition_mono_items
#3 [exported_symbols] exported_symbols
end of query stack
error: could not compile `hedgehog-rust-server`

@cadillion cadillion added C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Oct 21, 2022
@cadillion
Copy link
Author

Related to #96962

@workingjubilee
Copy link
Member

Probably unique, actually.

@JohnTitor JohnTitor added the E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example label Mar 3, 2023
@kpreid
Copy link
Contributor

kpreid commented Dec 25, 2023

Triage: Relabeling issues which don't have a runnable reproduction (as opposed to having a non-minimized one) to the new label S-needs-repro.
@rustbot label +S-needs-repro -E-needs-mcve

@rustbot rustbot added S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress. and removed E-needs-mcve Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example labels Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ S-needs-repro Status: This issue has no reproduction and needs a reproduction to make progress. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants