Skip to content
New issue

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

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

Already on GitHub? # to your account

Internal compiler error while using rustc 1.61.0-nightly #95010

Closed
skulthe opened this issue Mar 16, 2022 · 1 comment
Closed

Internal compiler error while using rustc 1.61.0-nightly #95010

skulthe opened this issue Mar 16, 2022 · 1 comment
Labels
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.

Comments

@skulthe
Copy link

skulthe commented Mar 16, 2022

Meta

rustc --version --verbose:

nightly-x86_64-unknown-linux-gnu unchanged - rustc 1.61.0-nightly (52b34550a 2022-03-15)

Error output

thread 'rustc' panicked at 'assertion failed: !value.has_escaping_bound_vars()', /rustc/52b34550aca5f7dd7e152f773e3ab786acb86f6f/compiler/rustc_middle/src/ty/sty.rs:1089:9
error: internal compiler error: unexpected panic
Error: internal compiler error: unexpected panic
Backtrace

stack backtrace:
   0:     0x7f156ba529bd - std::backtrace_rs::backtrace::libunwind::trace::h4630fb3ea0978244
                               at /rustc/52b34550aca5f7dd7e152f773e3ab786acb86f6f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7f156ba529bd - std::backtrace_rs::backtrace::trace_unsynchronized::hf18a5a72046346f1
                               at /rustc/52b34550aca5f7dd7e152f773e3ab786acb86f6f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7f156ba529bd - std::sys_common::backtrace::_print_fmt::hf749d0aa30a58698
                               at /rustc/52b34550aca5f7dd7e152f773e3ab786acb86f6f/library/std/src/sys_common/backtrace.rs:66:5
   3:     0x7f156ba529bd - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h9b8410cdaf24e94d
                               at /rustc/52b34550aca5f7dd7e152f773e3ab786acb86f6f/library/std/src/sys_common/backtrace.rs:45:22
   4:     0x7f156baac49c - core::fmt::write::h4628ef2f511cb2a1
                               at /rustc/52b34550aca5f7dd7e152f773e3ab786acb86f6f/library/core/src/fmt/mod.rs:1190:17
   5:     0x7f156ba43f41 - std::io::Write::write_fmt::h0500ef668fc0f1ca
                               at /rustc/52b34550aca5f7dd7e152f773e3ab786acb86f6f/library/std/src/io/mod.rs:1655:15
   6:     0x7f156ba55a35 - std::sys_common::backtrace::_print::h0bef26ee54194799
                               at /rustc/52b34550aca5f7dd7e152f773e3ab786acb86f6f/library/std/src/sys_common/backtrace.rs:48:5
   7:     0x7f156ba55a35 - std::sys_common::backtrace::print::hd94733c6e7c5f533
                               at /rustc/52b34550aca5f7dd7e152f773e3ab786acb86f6f/library/std/src/sys_common/backtrace.rs:35:9
   8:     0x7f156ba55a35 - std::panicking::default_hook::{{closure}}::heee50b6b48941df3
                               at /rustc/52b34550aca5f7dd7e152f773e3ab786acb86f6f/library/std/src/panicking.rs:295:22
   9:     0x7f156ba556e9 - std::panicking::default_hook::hfbe8348e52a92768
                               at /rustc/52b34550aca5f7dd7e152f773e3ab786acb86f6f/library/std/src/panicking.rs:314:9
  10:     0x7f156c1ef291 - rustc_driver[689e96f3a05e42de]::DEFAULT_HOOK::{closure#0}::{closure#0}
  11:     0x7f155700f533 - <unknown>
  12:     0x7f155701409c - <unknown>
  13:     0x7f15570240f0 - <unknown>
  14:     0x7f156ba56180 - std::panicking::rust_panic_with_hook::h123c71abd7d4640f
                               at /rustc/52b34550aca5f7dd7e152f773e3ab786acb86f6f/library/std/src/panicking.rs:702:17
  15:     0x7f156ba55f79 - std::panicking::begin_panic_handler::{{closure}}::h4dff286ac3d07322
                               at /rustc/52b34550aca5f7dd7e152f773e3ab786acb86f6f/library/std/src/panicking.rs:586:13
  16:     0x7f156ba52e74 - std::sys_common::backtrace::__rust_end_short_backtrace::h1350a023dcdb3181
                               at /rustc/52b34550aca5f7dd7e152f773e3ab786acb86f6f/library/std/src/sys_common/backtrace.rs:138:18
  17:     0x7f156ba55ce9 - rust_begin_unwind
                               at /rustc/52b34550aca5f7dd7e152f773e3ab786acb86f6f/library/std/src/panicking.rs:584:5
  18:     0x7f156ba19c73 - core::panicking::panic_fmt::hdc1c83fe453b97e2
                               at /rustc/52b34550aca5f7dd7e152f773e3ab786acb86f6f/library/core/src/panicking.rs:143:14
  19:     0x7f156ba19b3d - core::panicking::panic::hb1922f21f0c33350
                               at /rustc/52b34550aca5f7dd7e152f773e3ab786acb86f6f/library/core/src/panicking.rs:48:5
  20:     0x7f156de2231f - rustc_trait_selection[ca55f1b2036c5dee]::traits::type_known_to_meet_bound_modulo_regions
  21:     0x7f156d6badf5 - <rustc_infer[769fe71a64f3976f]::infer::InferCtxtBuilder>::enter::<bool, rustc_ty_utils[89a13c48e2035fd7]::common_traits::is_item_raw::{closure#0}>
  22:     0x7f156e37104e - rustc_ty_utils[89a13c48e2035fd7]::common_traits::is_item_raw
  23:     0x7f156da9acdc - rustc_query_system[ccda753483a689aa]::query::plumbing::try_execute_query::<rustc_query_impl[7c11a1a95cade8b5]::plumbing::QueryCtxt, rustc_query_system[ccda753483a689aa]::query::caches::DefaultCache<rustc_middle[f9f9a681d39429ab]::ty::ParamEnvAnd<rustc_middle[f9f9a681d39429ab]::ty::Ty>, bool>>
  24:     0x7f156e56633b - rustc_query_system[ccda753483a689aa]::query::plumbing::get_query::<rustc_query_impl[7c11a1a95cade8b5]::queries::is_sized_raw, rustc_query_impl[7c11a1a95cade8b5]::plumbing::QueryCtxt>
  25:     0x7f156dfcae55 - <rustc_middle[f9f9a681d39429ab]::ty::Ty>::is_sized
  26:     0x7f156df54d8e - <rustc_middle[f9f9a681d39429ab]::ty::layout::LayoutCx<rustc_middle[f9f9a681d39429ab]::ty::context::TyCtxt>>::layout_of_uncached
  27:     0x7f156df6bd06 - rustc_middle[f9f9a681d39429ab]::ty::layout::layout_of
  28:     0x7f156dafb03a - rustc_query_system[ccda753483a689aa]::query::plumbing::get_query::<rustc_query_impl[7c11a1a95cade8b5]::queries::layout_of, rustc_query_impl[7c11a1a95cade8b5]::plumbing::QueryCtxt>
  29:     0x7f156db98f60 - <rustc_query_impl[7c11a1a95cade8b5]::Queries as rustc_middle[f9f9a681d39429ab]::ty::query::QueryEngine>::layout_of
  30:     0x7f156df7728b - <alloc[2b3e5422ad2b1e63]::vec::Vec<rustc_target[5665e444836c2cfe]::abi::TyAndLayout<rustc_middle[f9f9a681d39429ab]::ty::Ty>> as alloc[2b3e5422ad2b1e63]::vec::spec_from_iter::SpecFromIter<rustc_target[5665e444836c2cfe]::abi::TyAndLayout<rustc_middle[f9f9a681d39429ab]::ty::Ty>, core[2748ca54e7081f8b]::iter::adapters::GenericShunt<core[2748ca54e7081f8b]::iter::adapters::map::Map<core[2748ca54e7081f8b]::slice::iter::Iter<rustc_middle[f9f9a681d39429ab]::ty::FieldDef>, <rustc_middle[f9f9a681d39429ab]::ty::layout::LayoutCx<rustc_middle[f9f9a681d39429ab]::ty::context::TyCtxt>>::layout_of_uncached::{closure#5}::{closure#0}>, core[2748ca54e7081f8b]::result::Result<core[2748ca54e7081f8b]::convert::Infallible, rustc_middle[f9f9a681d39429ab]::ty::layout::LayoutError>>>>::from_iter
  31:     0x7f156df7671c - <alloc[2b3e5422ad2b1e63]::vec::Vec<alloc[2b3e5422ad2b1e63]::vec::Vec<rustc_target[5665e444836c2cfe]::abi::TyAndLayout<rustc_middle[f9f9a681d39429ab]::ty::Ty>>> as alloc[2b3e5422ad2b1e63]::vec::spec_from_iter::SpecFromIter<alloc[2b3e5422ad2b1e63]::vec::Vec<rustc_target[5665e444836c2cfe]::abi::TyAndLayout<rustc_middle[f9f9a681d39429ab]::ty::Ty>>, core[2748ca54e7081f8b]::iter::adapters::GenericShunt<core[2748ca54e7081f8b]::iter::adapters::map::Map<core[2748ca54e7081f8b]::slice::iter::Iter<rustc_middle[f9f9a681d39429ab]::ty::VariantDef>, <rustc_middle[f9f9a681d39429ab]::ty::layout::LayoutCx<rustc_middle[f9f9a681d39429ab]::ty::context::TyCtxt>>::layout_of_uncached::{closure#5}>, core[2748ca54e7081f8b]::result::Result<core[2748ca54e7081f8b]::convert::Infallible, rustc_middle[f9f9a681d39429ab]::ty::layout::LayoutError>>>>::from_iter
  32:     0x7f156df54980 - <rustc_middle[f9f9a681d39429ab]::ty::layout::LayoutCx<rustc_middle[f9f9a681d39429ab]::ty::context::TyCtxt>>::layout_of_uncached
  33:     0x7f156df6bd06 - rustc_middle[f9f9a681d39429ab]::ty::layout::layout_of
  34:     0x7f156dafb03a - rustc_query_system[ccda753483a689aa]::query::plumbing::get_query::<rustc_query_impl[7c11a1a95cade8b5]::queries::layout_of, rustc_query_impl[7c11a1a95cade8b5]::plumbing::QueryCtxt>
  35:     0x7f156db98f60 - <rustc_query_impl[7c11a1a95cade8b5]::Queries as rustc_middle[f9f9a681d39429ab]::ty::query::QueryEngine>::layout_of
  36:     0x7f156df7728b - <alloc[2b3e5422ad2b1e63]::vec::Vec<rustc_target[5665e444836c2cfe]::abi::TyAndLayout<rustc_middle[f9f9a681d39429ab]::ty::Ty>> as alloc[2b3e5422ad2b1e63]::vec::spec_from_iter::SpecFromIter<rustc_target[5665e444836c2cfe]::abi::TyAndLayout<rustc_middle[f9f9a681d39429ab]::ty::Ty>, core[2748ca54e7081f8b]::iter::adapters::GenericShunt<core[2748ca54e7081f8b]::iter::adapters::map::Map<core[2748ca54e7081f8b]::slice::iter::Iter<rustc_middle[f9f9a681d39429ab]::ty::FieldDef>, <rustc_middle[f9f9a681d39429ab]::ty::layout::LayoutCx<rustc_middle[f9f9a681d39429ab]::ty::context::TyCtxt>>::layout_of_uncached::{closure#5}::{closure#0}>, core[2748ca54e7081f8b]::result::Result<core[2748ca54e7081f8b]::convert::Infallible, rustc_middle[f9f9a681d39429ab]::ty::layout::LayoutError>>>>::from_iter
  37:     0x7f156df7671c - <alloc[2b3e5422ad2b1e63]::vec::Vec<alloc[2b3e5422ad2b1e63]::vec::Vec<rustc_target[5665e444836c2cfe]::abi::TyAndLayout<rustc_middle[f9f9a681d39429ab]::ty::Ty>>> as alloc[2b3e5422ad2b1e63]::vec::spec_from_iter::SpecFromIter<alloc[2b3e5422ad2b1e63]::vec::Vec<rustc_target[5665e444836c2cfe]::abi::TyAndLayout<rustc_middle[f9f9a681d39429ab]::ty::Ty>>, core[2748ca54e7081f8b]::iter::adapters::GenericShunt<core[2748ca54e7081f8b]::iter::adapters::map::Map<core[2748ca54e7081f8b]::slice::iter::Iter<rustc_middle[f9f9a681d39429ab]::ty::VariantDef>, <rustc_middle[f9f9a681d39429ab]::ty::layout::LayoutCx<rustc_middle[f9f9a681d39429ab]::ty::context::TyCtxt>>::layout_of_uncached::{closure#5}>, core[2748ca54e7081f8b]::result::Result<core[2748ca54e7081f8b]::convert::Infallible, rustc_middle[f9f9a681d39429ab]::ty::layout::LayoutError>>>>::from_iter
  38:     0x7f156df54980 - <rustc_middle[f9f9a681d39429ab]::ty::layout::LayoutCx<rustc_middle[f9f9a681d39429ab]::ty::context::TyCtxt>>::layout_of_uncached
  39:     0x7f156df6bd06 - rustc_middle[f9f9a681d39429ab]::ty::layout::layout_of
  40:     0x7f156dafb03a - rustc_query_system[ccda753483a689aa]::query::plumbing::get_query::<rustc_query_impl[7c11a1a95cade8b5]::queries::layout_of, rustc_query_impl[7c11a1a95cade8b5]::plumbing::QueryCtxt>
  41:     0x7f156db98f60 - <rustc_query_impl[7c11a1a95cade8b5]::Queries as rustc_middle[f9f9a681d39429ab]::ty::query::QueryEngine>::layout_of
  42:     0x7f156df7728b - <alloc[2b3e5422ad2b1e63]::vec::Vec<rustc_target[5665e444836c2cfe]::abi::TyAndLayout<rustc_middle[f9f9a681d39429ab]::ty::Ty>> as alloc[2b3e5422ad2b1e63]::vec::spec_from_iter::SpecFromIter<rustc_target[5665e444836c2cfe]::abi::TyAndLayout<rustc_middle[f9f9a681d39429ab]::ty::Ty>, core[2748ca54e7081f8b]::iter::adapters::GenericShunt<core[2748ca54e7081f8b]::iter::adapters::map::Map<core[2748ca54e7081f8b]::slice::iter::Iter<rustc_middle[f9f9a681d39429ab]::ty::FieldDef>, <rustc_middle[f9f9a681d39429ab]::ty::layout::LayoutCx<rustc_middle[f9f9a681d39429ab]::ty::context::TyCtxt>>::layout_of_uncached::{closure#5}::{closure#0}>, core[2748ca54e7081f8b]::result::Result<core[2748ca54e7081f8b]::convert::Infallible, rustc_middle[f9f9a681d39429ab]::ty::layout::LayoutError>>>>::from_iter
  43:     0x7f156df7671c - <alloc[2b3e5422ad2b1e63]::vec::Vec<alloc[2b3e5422ad2b1e63]::vec::Vec<rustc_target[5665e444836c2cfe]::abi::TyAndLayout<rustc_middle[f9f9a681d39429ab]::ty::Ty>>> as alloc[2b3e5422ad2b1e63]::vec::spec_from_iter::SpecFromIter<alloc[2b3e5422ad2b1e63]::vec::Vec<rustc_target[5665e444836c2cfe]::abi::TyAndLayout<rustc_middle[f9f9a681d39429ab]::ty::Ty>>, core[2748ca54e7081f8b]::iter::adapters::GenericShunt<core[2748ca54e7081f8b]::iter::adapters::map::Map<core[2748ca54e7081f8b]::slice::iter::Iter<rustc_middle[f9f9a681d39429ab]::ty::VariantDef>, <rustc_middle[f9f9a681d39429ab]::ty::layout::LayoutCx<rustc_middle[f9f9a681d39429ab]::ty::context::TyCtxt>>::layout_of_uncached::{closure#5}>, core[2748ca54e7081f8b]::result::Result<core[2748ca54e7081f8b]::convert::Infallible, rustc_middle[f9f9a681d39429ab]::ty::layout::LayoutError>>>>::from_iter
  44:     0x7f156df54980 - <rustc_middle[f9f9a681d39429ab]::ty::layout::LayoutCx<rustc_middle[f9f9a681d39429ab]::ty::context::TyCtxt>>::layout_of_uncached
  45:     0x7f156df6bd06 - rustc_middle[f9f9a681d39429ab]::ty::layout::layout_of
  46:     0x7f156dafb03a - rustc_query_system[ccda753483a689aa]::query::plumbing::get_query::<rustc_query_impl[7c11a1a95cade8b5]::queries::layout_of, rustc_query_impl[7c11a1a95cade8b5]::plumbing::QueryCtxt>
  47:     0x7f156db98f60 - <rustc_query_impl[7c11a1a95cade8b5]::Queries as rustc_middle[f9f9a681d39429ab]::ty::query::QueryEngine>::layout_of
  48:     0x7f156db9f555 - rustc_codegen_ssa[8aeb056d12bc5476]::debuginfo::type_names::push_debuginfo_type_name
  49:     0x7f156db9ecd6 - rustc_codegen_ssa[8aeb056d12bc5476]::debuginfo::type_names::push_debuginfo_type_name
  50:     0x7f156dba1bc3 - rustc_codegen_ssa[8aeb056d12bc5476]::debuginfo::type_names::push_generic_params_internal
  51:     0x7f156db9da83 - rustc_codegen_ssa[8aeb056d12bc5476]::debuginfo::type_names::push_debuginfo_type_name
  52:     0x7f156dba1bc3 - rustc_codegen_ssa[8aeb056d12bc5476]::debuginfo::type_names::push_generic_params_internal
  53:     0x7f156db9da83 - rustc_codegen_ssa[8aeb056d12bc5476]::debuginfo::type_names::push_debuginfo_type_name
  54:     0x7f156db9d4e0 - rustc_codegen_ssa[8aeb056d12bc5476]::debuginfo::type_names::compute_debuginfo_type_name
  55:     0x7f156e0cb9ee - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::native::build_enum_type_di_node
  56:     0x7f156e10491f - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::build_enum_type_di_node
  57:     0x7f156d44a49a - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_di_node
  58:     0x7f156d446000 - <&mut rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#0}::{closure#0} as core[2748ca54e7081f8b]::ops::function::FnOnce<((usize, &rustc_middle[f9f9a681d39429ab]::ty::FieldDef),)>>::call_once
  59:     0x7f156d40bd5b - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_map::build_type_with_children::<rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#0}, rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#1}>
  60:     0x7f156d44a155 - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_di_node
  61:     0x7f156d446000 - <&mut rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#0}::{closure#0} as core[2748ca54e7081f8b]::ops::function::FnOnce<((usize, &rustc_middle[f9f9a681d39429ab]::ty::FieldDef),)>>::call_once
  62:     0x7f156d40bd5b - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_map::build_type_with_children::<rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#0}, rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#1}>
  63:     0x7f156d44a155 - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_di_node
  64:     0x7f156d446000 - <&mut rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#0}::{closure#0} as core[2748ca54e7081f8b]::ops::function::FnOnce<((usize, &rustc_middle[f9f9a681d39429ab]::ty::FieldDef),)>>::call_once
  65:     0x7f156d40bd5b - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_map::build_type_with_children::<rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#0}, rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#1}>
  66:     0x7f156d44a155 - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_di_node
  67:     0x7f156d448f5c - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_pointer_or_reference_di_node
  68:     0x7f156d44a414 - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_di_node
  69:     0x7f156d446000 - <&mut rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#0}::{closure#0} as core[2748ca54e7081f8b]::ops::function::FnOnce<((usize, &rustc_middle[f9f9a681d39429ab]::ty::FieldDef),)>>::call_once
  70:     0x7f156d40bd5b - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_map::build_type_with_children::<rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#0}, rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#1}>
  71:     0x7f156d44a155 - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_di_node
  72:     0x7f156d446000 - <&mut rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#0}::{closure#0} as core[2748ca54e7081f8b]::ops::function::FnOnce<((usize, &rustc_middle[f9f9a681d39429ab]::ty::FieldDef),)>>::call_once
  73:     0x7f156d40bd5b - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_map::build_type_with_children::<rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#0}, rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#1}>
  74:     0x7f156d44a155 - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_di_node
  75:     0x7f156d446000 - <&mut rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#0}::{closure#0} as core[2748ca54e7081f8b]::ops::function::FnOnce<((usize, &rustc_middle[f9f9a681d39429ab]::ty::FieldDef),)>>::call_once
  76:     0x7f156d40bd5b - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_map::build_type_with_children::<rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#0}, rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#1}>
  77:     0x7f156d44a155 - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_di_node
  78:     0x7f156c340398 - <&mut rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::build_generator_variant_struct_type_di_node::{closure#0}::{closure#1} as core[2748ca54e7081f8b]::ops::function::FnOnce<((usize, rustc_middle[f9f9a681d39429ab]::ty::Ty),)>>::call_once
  79:     0x7f156c356a0a - <smallvec[cfd7c96d45c440de]::SmallVec<[&rustc_codegen_llvm[718acca89ba432ab]::llvm_::ffi::Metadata; 16usize]> as core[2748ca54e7081f8b]::iter::traits::collect::Extend<&rustc_codegen_llvm[718acca89ba432ab]::llvm_::ffi::Metadata>>::extend::<core[2748ca54e7081f8b]::iter::adapters::map::Map<core[2748ca54e7081f8b]::iter::adapters::enumerate::Enumerate<core[2748ca54e7081f8b]::iter::adapters::flatten::Flatten<core[2748ca54e7081f8b]::option::IntoIter<&rustc_middle[f9f9a681d39429ab]::ty::list::List<rustc_middle[f9f9a681d39429ab]::ty::Ty>>>>, rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::build_generator_variant_struct_type_di_node::{closure#0}::{closure#1}>>
  80:     0x7f156c2f3a6d - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_map::build_type_with_children::<rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::build_generator_variant_struct_type_di_node::{closure#0}, rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::build_generator_variant_struct_type_di_node::{closure#1}>
  81:     0x7f156c340c34 - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::build_generator_variant_struct_type_di_node
  82:     0x7f156c316608 - <&mut rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::native::build_generator_di_node::{closure#0}::{closure#0} as core[2748ca54e7081f8b]::ops::function::FnOnce<(rustc_target[5665e444836c2cfe]::abi::VariantIdx,)>>::call_once
  83:     0x7f156c355d2e - <smallvec[cfd7c96d45c440de]::SmallVec<[rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::native::VariantMemberInfo; 16usize]> as core[2748ca54e7081f8b]::iter::traits::collect::Extend<rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::native::VariantMemberInfo>>::extend::<core[2748ca54e7081f8b]::iter::adapters::map::Map<core[2748ca54e7081f8b]::iter::adapters::map::Map<core[2748ca54e7081f8b]::ops::range::Range<usize>, <rustc_index[93d06619bf9640a0]::vec::IndexVec<rustc_target[5665e444836c2cfe]::abi::VariantIdx, rustc_target[5665e444836c2cfe]::abi::Layout>>::indices::{closure#0}>, rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::native::build_generator_di_node::{closure#0}::{closure#0}>>
  84:     0x7f156c2f4102 - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_map::build_type_with_children::<rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::native::build_generator_di_node::{closure#0}, for<'a, 'b, 'c> fn(&'a rustc_codegen_llvm[718acca89ba432ab]::context::CodegenCx<'b, 'c>) -> smallvec[cfd7c96d45c440de]::SmallVec<[&'b rustc_codegen_llvm[718acca89ba432ab]::llvm_::ffi::Metadata; 16usize]>>
  85:     0x7f156c3190f1 - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::native::build_generator_di_node
  86:     0x7f156c340aee - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::build_generator_di_node
  87:     0x7f156d44b51c - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_di_node
  88:     0x7f156d446000 - <&mut rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#0}::{closure#0} as core[2748ca54e7081f8b]::ops::function::FnOnce<((usize, &rustc_middle[f9f9a681d39429ab]::ty::FieldDef),)>>::call_once
  89:     0x7f156d40bd5b - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_map::build_type_with_children::<rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#0}, rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#1}>
  90:     0x7f156d44a155 - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_di_node
  91:     0x7f156d478739 - <smallvec[cfd7c96d45c440de]::SmallVec<[&rustc_codegen_llvm[718acca89ba432ab]::llvm_::ffi::Metadata; 16usize]> as core[2748ca54e7081f8b]::iter::traits::collect::Extend<&rustc_codegen_llvm[718acca89ba432ab]::llvm_::ffi::Metadata>>::extend::<core[2748ca54e7081f8b]::iter::adapters::map::Map<core[2748ca54e7081f8b]::ops::range::Range<usize>, rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::build_enum_variant_struct_type_di_node::{closure#0}::{closure#0}>>
  92:     0x7f156d40cf34 - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_map::build_type_with_children::<rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::build_enum_variant_struct_type_di_node::{closure#0}, rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::build_enum_variant_struct_type_di_node::{closure#1}>
  93:     0x7f156d425b8a - <&mut rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::native::build_enum_type_di_node::{closure#0}::{closure#0} as core[2748ca54e7081f8b]::ops::function::FnOnce<(rustc_target[5665e444836c2cfe]::abi::VariantIdx,)>>::call_once
  94:     0x7f156d477f9c - <smallvec[cfd7c96d45c440de]::SmallVec<[rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::native::VariantMemberInfo; 16usize]> as core[2748ca54e7081f8b]::iter::traits::collect::Extend<rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::native::VariantMemberInfo>>::extend::<core[2748ca54e7081f8b]::iter::adapters::map::Map<core[2748ca54e7081f8b]::ops::range::Range<rustc_target[5665e444836c2cfe]::abi::VariantIdx>, rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::native::build_enum_type_di_node::{closure#0}::{closure#0}>>
  95:     0x7f156e0ae0aa - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_map::build_type_with_children::<rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::native::build_enum_type_di_node::{closure#0}, for<'a, 'b, 'c> fn(&'a rustc_codegen_llvm[718acca89ba432ab]::context::CodegenCx<'b, 'c>) -> smallvec[cfd7c96d45c440de]::SmallVec<[&'b rustc_codegen_llvm[718acca89ba432ab]::llvm_::ffi::Metadata; 16usize]>>
  96:     0x7f156e0cba72 - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::native::build_enum_type_di_node
  97:     0x7f156e10491f - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::enums::build_enum_type_di_node
  98:     0x7f156d44a49a - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_di_node
  99:     0x7f156d446000 - <&mut rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#0}::{closure#0} as core[2748ca54e7081f8b]::ops::function::FnOnce<((usize, &rustc_middle[f9f9a681d39429ab]::ty::FieldDef),)>>::call_once
 100:     0x7f156d40bd5b - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_map::build_type_with_children::<rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#0}, rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#1}>
 101:     0x7f156d44a155 - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_di_node
 102:     0x7f156d446000 - <&mut rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#0}::{closure#0} as core[2748ca54e7081f8b]::ops::function::FnOnce<((usize, &rustc_middle[f9f9a681d39429ab]::ty::FieldDef),)>>::call_once
 103:     0x7f156d40bd5b - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_map::build_type_with_children::<rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#0}, rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#1}>
 104:     0x7f156d44a155 - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_di_node
 105:     0x7f156d446000 - <&mut rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#0}::{closure#0} as core[2748ca54e7081f8b]::ops::function::FnOnce<((usize, &rustc_middle[f9f9a681d39429ab]::ty::FieldDef),)>>::call_once
 106:     0x7f156d40bd5b - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_map::build_type_with_children::<rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#0}, rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#1}>
 107:     0x7f156d44a155 - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_di_node
 108:     0x7f156d448f5c - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_pointer_or_reference_di_node
 109:     0x7f156d44a414 - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_di_node
 110:     0x7f156d448f5c - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_pointer_or_reference_di_node
 111:     0x7f156d44a414 - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_di_node
 112:     0x7f156e11c2b2 - <smallvec[cfd7c96d45c440de]::SmallVec<[&rustc_codegen_llvm[718acca89ba432ab]::llvm_::ffi::Metadata; 16usize]> as core[2748ca54e7081f8b]::iter::traits::collect::Extend<&rustc_codegen_llvm[718acca89ba432ab]::llvm_::ffi::Metadata>>::extend::<core[2748ca54e7081f8b]::iter::adapters::map::Map<core[2748ca54e7081f8b]::iter::adapters::enumerate::Enumerate<core[2748ca54e7081f8b]::iter::adapters::zip::Zip<smallvec[cfd7c96d45c440de]::IntoIter<[rustc_middle[f9f9a681d39429ab]::ty::Ty; 16usize]>, core[2748ca54e7081f8b]::slice::iter::Iter<alloc[2b3e5422ad2b1e63]::string::String>>>, rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_upvar_field_di_nodes::{closure#0}>>
 113:     0x7f156e112bd7 - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_upvar_field_di_nodes
 114:     0x7f156e0accda - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_map::build_type_with_children::<rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_closure_env_di_node::{closure#0}, for<'a, 'b, 'c> fn(&'a rustc_codegen_llvm[718acca89ba432ab]::context::CodegenCx<'b, 'c>) -> smallvec[cfd7c96d45c440de]::SmallVec<[&'b rustc_codegen_llvm[718acca89ba432ab]::llvm_::ffi::Metadata; 16usize]>>
 115:     0x7f156d44a616 - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_di_node
 116:     0x7f156d446000 - <&mut rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#0}::{closure#0} as core[2748ca54e7081f8b]::ops::function::FnOnce<((usize, &rustc_middle[f9f9a681d39429ab]::ty::FieldDef),)>>::call_once
 117:     0x7f156d40bd5b - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_map::build_type_with_children::<rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#0}, rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::build_struct_type_di_node::{closure#1}>
 118:     0x7f156d44a155 - rustc_codegen_llvm[718acca89ba432ab]::debuginfo::metadata::type_di_node
 119:     0x7f156d42bdf8 - <rustc_codegen_llvm[718acca89ba432ab]::context::CodegenCx as rustc_codegen_ssa[8aeb056d12bc5476]::traits::debuginfo::DebugInfoMethods>::dbg_scope_fn
 120:     0x7f156d4579b2 - rustc_codegen_ssa[8aeb056d12bc5476]::mir::codegen_mir::<rustc_codegen_llvm[718acca89ba432ab]::builder::Builder>
 121:     0x7f156d416324 - rustc_codegen_llvm[718acca89ba432ab]::base::compile_codegen_unit::module_codegen
 122:     0x7f156e0d4b66 - <rustc_query_system[ccda753483a689aa]::dep_graph::graph::DepGraph<rustc_middle[f9f9a681d39429ab]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[f9f9a681d39429ab]::ty::context::TyCtxt, rustc_span[71d6b32be7db1b29]::symbol::Symbol, rustc_codegen_ssa[8aeb056d12bc5476]::ModuleCodegen<rustc_codegen_llvm[718acca89ba432ab]::ModuleLlvm>>
 123:     0x7f156e0c3889 - rustc_codegen_llvm[718acca89ba432ab]::base::compile_codegen_unit
 124:     0x7f156e0b1acc - <rustc_codegen_llvm[718acca89ba432ab]::LlvmCodegenBackend as rustc_codegen_ssa[8aeb056d12bc5476]::traits::backend::CodegenBackend>::codegen_crate
 125:     0x7f156e092e07 - <rustc_session[b6943ffe4755727e]::session::Session>::time::<alloc[2b3e5422ad2b1e63]::boxed::Box<dyn core[2748ca54e7081f8b]::any::Any>, rustc_interface[ed5ba2b564642d99]::passes::start_codegen::{closure#0}>
 126:     0x7f156e081878 - <rustc_interface[ed5ba2b564642d99]::passes::QueryContext>::enter::<<rustc_interface[ed5ba2b564642d99]::queries::Queries>::ongoing_codegen::{closure#0}::{closure#0}, core[2748ca54e7081f8b]::result::Result<alloc[2b3e5422ad2b1e63]::boxed::Box<dyn core[2748ca54e7081f8b]::any::Any>, rustc_errors[31a36e023e39c2ba]::ErrorGuaranteed>>
 127:     0x7f156e07a24f - <rustc_interface[ed5ba2b564642d99]::queries::Queries>::ongoing_codegen
 128:     0x7f156e03dd6b - <rustc_interface[ed5ba2b564642d99]::interface::Compiler>::enter::<rustc_driver[689e96f3a05e42de]::run_compiler::{closure#1}::{closure#2}, core[2748ca54e7081f8b]::result::Result<core[2748ca54e7081f8b]::option::Option<rustc_interface[ed5ba2b564642d99]::queries::Linker>, rustc_errors[31a36e023e39c2ba]::ErrorGuaranteed>>
 129:     0x7f156e050ddf - rustc_span[71d6b32be7db1b29]::with_source_map::<core[2748ca54e7081f8b]::result::Result<(), rustc_errors[31a36e023e39c2ba]::ErrorGuaranteed>, rustc_interface[ed5ba2b564642d99]::interface::create_compiler_and_run<core[2748ca54e7081f8b]::result::Result<(), rustc_errors[31a36e023e39c2ba]::ErrorGuaranteed>, rustc_driver[689e96f3a05e42de]::run_compiler::{closure#1}>::{closure#1}>
 130:     0x7f156e0505e4 - rustc_interface[ed5ba2b564642d99]::interface::create_compiler_and_run::<core[2748ca54e7081f8b]::result::Result<(), rustc_errors[31a36e023e39c2ba]::ErrorGuaranteed>, rustc_driver[689e96f3a05e42de]::run_compiler::{closure#1}>
 131:     0x7f156e03b[762](https://github.com/Sceven-LLC/DataDetect/runs/5571339905?check_suite_focus=true#step:5:762) - <scoped_tls[a18bab56a8f82071]::ScopedKey<rustc_span[71d6b32be7db1b29]::SessionGlobals>>::set::<rustc_interface[ed5ba2b564642d99]::interface::run_compiler<core[2748ca54e7081f8b]::result::Result<(), rustc_errors[31a36e023e39c2ba]::ErrorGuaranteed>, rustc_driver[689e96f3a05e42de]::run_compiler::{closure#1}>::{closure#0}, core[2748ca54e7081f8b]::result::Result<(), rustc_errors[31a36e023e39c2ba]::ErrorGuaranteed>>
 132:     0x7f156e039c1f - std[14bdc88f27c1cbe3]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[ed5ba2b564642d99]::util::run_in_thread_pool_with_globals<rustc_interface[ed5ba2b564642d99]::interface::run_compiler<core[2748ca54e7081f8b]::result::Result<(), rustc_errors[31a36e023e39c2ba]::ErrorGuaranteed>, rustc_driver[689e96f3a05e42de]::run_compiler::{closure#1}>::{closure#0}, core[2748ca54e7081f8b]::result::Result<(), rustc_errors[31a36e023e39c2ba]::ErrorGuaranteed>>::{closure#0}, core[2748ca54e7081f8b]::result::Result<(), rustc_errors[31a36e023e39c2ba]::ErrorGuaranteed>>
 133:     0x7f156e051d62 - <<std[14bdc88f27c1cbe3]::thread::Builder>::spawn_unchecked_<rustc_interface[ed5ba2b564642d99]::util::run_in_thread_pool_with_globals<rustc_interface[ed5ba2b564642d99]::interface::run_compiler<core[2748ca54e7081f8b]::result::Result<(), rustc_errors[31a36e023e39c2ba]::ErrorGuaranteed>, rustc_driver[689e96f3a05e42de]::run_compiler::{closure#1}>::{closure#0}, core[2748ca54e7081f8b]::result::Result<(), rustc_errors[31a36e023e39c2ba]::ErrorGuaranteed>>::{closure#0}, core[2748ca54e7081f8b]::result::Result<(), rustc_errors[31a36e023e39c2ba]::ErrorGuaranteed>>::{closure#1} as core[2748ca54e7081f8b]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
 134:     0x7f156ba60313 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hd90ad1cbe107fac7
                               at /rustc/52b34550aca5f7dd7e152f[773](https://github.com/Sceven-LLC/DataDetect/runs/5571339905?check_suite_focus=true#step:5:773)e3ab[786](https://github.com/Sceven-LLC/DataDetect/runs/5571339905?check_suite_focus=true#step:5:786)acb86f6f/library/alloc/src/boxed.rs:1[853](https://github.com/Sceven-LLC/DataDetect/runs/5571339905?check_suite_focus=true#step:5:853):9
 135:     0x7f156ba60313 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h47f9929b43ba9f68
                               at /rustc/52b34550aca5f7dd7e152f773e3ab786acb86f6f/library/alloc/src/boxed.rs:1853:9
 136:     0x7f156ba60313 - std::sys::unix::thread::Thread::new::thread_start::hf5007aed9e46726b
                               at /rustc/52b34550aca5f7dd7e152f773e3ab786acb86f6f/library/std/src/sys/unix/thread.rs:108:17
 137:     0x7f156b9[866](https://github.com/Sceven-LLC/DataDetect/runs/5571339905?check_suite_focus=true#step:5:866)09 - start_thread
 138:     0x7f156b8a0293 - clone
 139:                0x0 - <unknown>

error: internal compiler error: unexpected panic
Error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.

@skulthe skulthe 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 Mar 16, 2022
@lqd
Copy link
Member

lqd commented Mar 16, 2022

This looks like a duplicate of #94998, so I'll close this issue as such, and we can have all the information in the other one. Thanks a bunch for opening an issue!

@lqd lqd closed this as completed Mar 16, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
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.
Projects
None yet
Development

No branches or pull requests

2 participants