Skip to content

Internal Compiler error building Sierra example #97064

Closed
@C0D3-M4513R

Description

Code

fn main(){
    println!("Hello World");
}

Crate toml (see https://github.com/zakarumych/sierra/blob/master/demo/Cargo.toml)

[package]
name = "rust-vulkan"
version = "0.1.0"
authors = ["C0D3 M4513R <28912031+C0D3-M4513R@users.noreply.github.com>"]
edition = "2021"

[dependencies]
sierra = { version = "=0.4.1", features = ["proc-verbose-docs"] }
scoped-arena = "0.4"
eyre = "0.6"
color-eyre = "0.6"
tracing = "0.1"
tracing-error = "0.2"
tracing-subscriber = "0.3"
winit = "0.26"

Meta

rustc --version --verbose:

PS C:\Users\XXX\CLionProjects\inject\rust-vulkan> rustc --version --verbose
rustc 1.60.0 (7737e0b5c 2022-04-04)
binary: rustc
commit-hash: 7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c
commit-date: 2022-04-04
host: x86_64-pc-windows-msvc
release: 1.60.0
LLVM version: 14.0.0

Error output

PS C:\Users\XXX\CLionProjects\inject\rust-vulkan> cargo run
    Blocking waiting for file lock on build directory
   Compiling thread_local v1.1.4
   Compiling eyre v0.6.8
   Compiling termcolor v1.1.3
   Compiling erupt v0.22.0+204
   Compiling parking_lot_core v0.9.3
   Compiling parking_lot v0.11.1
   Compiling backtrace v0.3.65
   Compiling gpu-descriptor v0.2.2
thread 'rustc' panicked at 'index out of bounds: the len is 177756 but the index is 8257596', /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c\compiler\rustc_serialize\src\leb128.rs:87:1
stack backtrace:
   0:     0x7ff8f1c46d51 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h84ff87ae58cccae4
   1:     0x7ff8f1c7641a - core::fmt::write::hd92da5577ac002e6
   2:     0x7ff8f1c383c9 - <std::io::IoSliceMut as core::fmt::Debug>::fmt::hb29c4e0869b395c6
   3:     0x7ff8f1c4a492 - std::panicking::default_hook::hc5f434b832972078
   4:     0x7ff8f1c4a055 - std::panicking::default_hook::hc5f434b832972078
thread 'rustc' panicked at 'index out of bounds: the len is 177756 but the index is 8257596', /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c\compiler\rustc_serialize\src\leb128.rs:87:1
stack backtrace:
   5:     0x7ff8cf8d8a16 - <rustc_driver[678734a8b3ebe83d]::args::Error as core[48886e0605044802]::fmt::Debug>::fmt
   6:     0x7ff8f1c4add1 - std::panicking::rust_panic_with_hook::hab7bc504f96a6e6d
   7:     0x7ff8f1c4ab1d - <std::panicking::begin_panic_handler::StrPanicPayload as core::panic::BoxMeUp>::get::h2f0416eb79f13437
   8:     0x7ff8f1c47687 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h84ff87ae58cccae4
   9:     0x7ff8f1c4a799 - rust_begin_unwind
  10:     0x7ff8f1ca97a5 - core::panicking::panic_fmt::h2062231a6e23fa25
  11:     0x7ff8f1ca96c7 - core::panicking::panic_bounds_check::hc019ce8399341c08
  12:     0x7ff8d36de681 - <rustc_metadata[a4609462056f32c1]::locator::MetadataError as core[48886e0605044802]::fmt::Display>::fmt
  13:     0x7ff8d370be04 - <rustc_metadata[a4609462056f32c1]::rmeta::def_path_hash_map::DefPathHashMapRef as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_metadata[a4609462056f32c1]::rmeta::decoder::DecodeContext>>::decode
  14:     0x7ff8d376152a - <rustc_metadata[a4609462056f32c1]::creader::CrateMetadataRef>::get_visibility
  15:     0x7ff8d2712099 - <rustc_resolve[d536084540f0c4cf]::Resolver>::expect_module
  16:     0x7ff8d2749a30 - <rustc_resolve[d536084540f0c4cf]::Resolver>::traits_in_scope
  17:     0x7ff8d272ea3c - <rustc_resolve[d536084540f0c4cf]::Resolver>::resolve_macro_path
  18:     0x7ff8d274449a - <rustc_resolve[d536084540f0c4cf]::Resolver>::traits_in_scope
  19:     0x7ff8d2741c7f - <rustc_resolve[d536084540f0c4cf]::Resolver>::traits_in_scope
  20:     0x7ff8d27c5662 - <rustc_resolve[d536084540f0c4cf]::imports::ImportResolver>::resolve_imports
  21:     0x7ff8d2729c33 - <rustc_resolve[d536084540f0c4cf]::Resolver as rustc_expand[eda26eb0d22822c]::base::ResolverExpand>::resolve_imports
  22:     0x7ff8d38ac0b6 - <rustc_expand[eda26eb0d22822c]::expand::MacroExpander>::fully_expand_fragment
  23:     0x7ff8d38ab895 - <rustc_expand[eda26eb0d22822c]::expand::MacroExpander>::expand_crate
  24:     0x7ff8cfa8cc6f - rustc_interface[5c7de30ce6ef7e04]::callbacks::setup_callbacks
  25:     0x7ff8cfa0348d - <rustc_interface[5c7de30ce6ef7e04]::passes::LintStoreExpandImpl as rustc_expand[eda26eb0d22822c]::base::LintStoreExpand>::pre_expansion_lint
  26:     0x7ff8cf9e3b10 - <rustc_interface[5c7de30ce6ef7e04]::queries::Queries>::expansion
  27:     0x7ff8cf86f93e - <rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::MsvcLinker as rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::Linker>::group_start
  28:     0x7ff8cf8789a5 - <rustc_driver[678734a8b3ebe83d]::args::Error as core[48886e0605044802]::fmt::Debug>::fmt
  29:     0x7ff8cf86e15b - <rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::MsvcLinker as rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::Linker>::group_start
  30:     0x7ff8cf84ebda - <rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::MsvcLinker as rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::Linker>::group_start
  31:     0x7ff8cf8eec28 - rustc_driver[678734a8b3ebe83d]::pretty::print_after_hir_lowering
  32:     0x7ff8f1c5bf6c - std::sys::windows::thread::Thread::new::h0c6d31f1aa301a34
  33:     0x7ff94c837034 - BaseThreadInitThunk
  34:     0x7ff94d0c2651 - RtlUserThreadStart

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.60.0 (7737e0b5c 2022-04-04) running on x86_64-pc-windows-msvc

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

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

query stack during panic:
end of query stack
   0:     0x7ff8f1c46d51 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h84ff87ae58cccae4
   1:     0x7ff8f1c7641a - core::fmt::write::hd92da5577ac002e6
   2:     0x7ff8f1c383c9 - <std::io::IoSliceMut as core::fmt::Debug>::fmt::hb29c4e0869b395c6
   3:     0x7ff8f1c4a492 - std::panicking::default_hook::hc5f434b832972078
   4:     0x7ff8f1c4a055 - std::panicking::default_hook::hc5f434b832972078
error: could not compile `thread_local`
warning: build failed, waiting for other jobs to finish...
   5:     0x7ff8cf8d8a16 - <rustc_driver[678734a8b3ebe83d]::args::Error as core[48886e0605044802]::fmt::Debug>::fmt
   6:     0x7ff8f1c4add1 - std::panicking::rust_panic_with_hook::hab7bc504f96a6e6d
   7:     0x7ff8f1c4ab1d - <std::panicking::begin_panic_handler::StrPanicPayload as core::panic::BoxMeUp>::get::h2f0416eb79f13437
   8:     0x7ff8f1c47687 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h84ff87ae58cccae4
   9:     0x7ff8f1c4a799 - rust_begin_unwind
  10:     0x7ff8f1ca97a5 - core::panicking::panic_fmt::h2062231a6e23fa25
  11:     0x7ff8f1ca96c7 - core::panicking::panic_bounds_check::hc019ce8399341c08
  12:     0x7ff8d36de681 - <rustc_metadata[a4609462056f32c1]::locator::MetadataError as core[48886e0605044802]::fmt::Display>::fmt
  13:     0x7ff8d370be04 - <rustc_metadata[a4609462056f32c1]::rmeta::def_path_hash_map::DefPathHashMapRef as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_metadata[a4609462056f32c1]::rmeta::decoder::DecodeContext>>::decode
  14:     0x7ff8d376152a - <rustc_metadata[a4609462056f32c1]::creader::CrateMetadataRef>::get_visibility
  15:     0x7ff8d2712099 - <rustc_resolve[d536084540f0c4cf]::Resolver>::expect_module
  16:     0x7ff8d2749a30 - <rustc_resolve[d536084540f0c4cf]::Resolver>::traits_in_scope
  17:     0x7ff8d272ea3c - <rustc_resolve[d536084540f0c4cf]::Resolver>::resolve_macro_path
  18:     0x7ff8d274449a - <rustc_resolve[d536084540f0c4cf]::Resolver>::traits_in_scope
  19:     0x7ff8d2741c7f - <rustc_resolve[d536084540f0c4cf]::Resolver>::traits_in_scope
  20:     0x7ff8d27c5662 - <rustc_resolve[d536084540f0c4cf]::imports::ImportResolver>::resolve_imports
  21:     0x7ff8d2729c33 - <rustc_resolve[d536084540f0c4cf]::Resolver as rustc_expand[eda26eb0d22822c]::base::ResolverExpand>::resolve_imports
  22:     0x7ff8d38ac0b6 - <rustc_expand[eda26eb0d22822c]::expand::MacroExpander>::fully_expand_fragment
  23:     0x7ff8d38ab895 - <rustc_expand[eda26eb0d22822c]::expand::MacroExpander>::expand_crate
  24:     0x7ff8cfa8cc6f - rustc_interface[5c7de30ce6ef7e04]::callbacks::setup_callbacks
  25:     0x7ff8cfa0348d - <rustc_interface[5c7de30ce6ef7e04]::passes::LintStoreExpandImpl as rustc_expand[eda26eb0d22822c]::base::LintStoreExpand>::pre_expansion_lint
  26:     0x7ff8cf9e3b10 - <rustc_interface[5c7de30ce6ef7e04]::queries::Queries>::expansion
  27:     0x7ff8cf86f93e - <rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::MsvcLinker as rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::Linker>::group_start
  28:     0x7ff8cf8789a5 - <rustc_driver[678734a8b3ebe83d]::args::Error as core[48886e0605044802]::fmt::Debug>::fmt
  29:     0x7ff8cf86e15b - <rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::MsvcLinker as rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::Linker>::group_start
  30:     0x7ff8cf84ebda - <rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::MsvcLinker as rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::Linker>::group_start
  31:     0x7ff8cf8eec28 - rustc_driver[678734a8b3ebe83d]::pretty::print_after_hir_lowering
  32:     0x7ff8f1c5bf6c - std::sys::windows::thread::Thread::new::h0c6d31f1aa301a34
  33:     0x7ff94c837034 - BaseThreadInitThunk
  34:     0x7ff94d0c2651 - RtlUserThreadStart

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.60.0 (7737e0b5c 2022-04-04) running on x86_64-pc-windows-msvc

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

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

query stack during panic:
end of query stack
thread 'rustc' panicked at 'invalid enum variant tag while decoding `EntryKind`, expected 0..31', compiler\rustc_metadata\src\rmeta\mod.rs:317:42
stack backtrace:
   0:     0x7ff8f1c46d51 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h84ff87ae58cccae4
   1:     0x7ff8f1c7641a - core::fmt::write::hd92da5577ac002e6
   2:     0x7ff8f1c383c9 - <std::io::IoSliceMut as core::fmt::Debug>::fmt::hb29c4e0869b395c6
   3:     0x7ff8f1c4a492 - std::panicking::default_hook::hc5f434b832972078
   4:     0x7ff8f1c4a055 - std::panicking::default_hook::hc5f434b832972078
   5:     0x7ff8cf8d8a16 - <rustc_driver[678734a8b3ebe83d]::args::Error as core[48886e0605044802]::fmt::Debug>::fmt
   6:     0x7ff8f1c4add1 - std::panicking::rust_panic_with_hook::hab7bc504f96a6e6d
   7:     0x7ff8f1c4aae2 - <std::panicking::begin_panic_handler::StrPanicPayload as core::panic::BoxMeUp>::get::h2f0416eb79f13437
   8:     0x7ff8f1c47687 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h84ff87ae58cccae4
   9:     0x7ff8f1c4a799 - rust_begin_unwind
  10:     0x7ff8f1ca97a5 - core::panicking::panic_fmt::h2062231a6e23fa25
  11:     0x7ff8d366dd9c - <rustc_metadata[a4609462056f32c1]::rmeta::EntryKind as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_metadata[a4609462056f32c1]::rmeta::decoder::DecodeContext>>::decode
  12:     0x7ff8d375de15 - <rustc_metadata[a4609462056f32c1]::creader::CrateMetadataRef>::get_visibility
  13:     0x7ff8d36f93a2 - rustc_metadata[a4609462056f32c1]::rmeta::decoder::cstore_impl::provide_extern
  14:     0x7ff8d2fed914 - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  15:     0x7ff8d30d8db7 - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  16:     0x7ff8d3cd70c2 - rustc_trait_selection[6858834593185dbf]::traits::specialize::translate_substs
  17:     0x7ff8d33752c2 - rustc_query_impl[9c08cd8a3eced3cb]::profiling_support::alloc_self_profile_query_strings
  18:     0x7ff8d2f8b609 - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  19:     0x7ff8d31071bf - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  20:     0x7ff8d257bbd3 - <rustc_typeck[f743717ba92f1a9d]::coherence::inherent_impls_overlap::InherentOverlapChecker as rustc_hir[ff995cff6d0d96e9]::itemlikevisit::ItemLikeVisitor>::visit_item
  21:     0x7ff8d30309ac - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  22:     0x7ff8d30e09ec - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  23:     0x7ff8d246b050 - <rustc_typeck[f743717ba92f1a9d]::structured_errors::wrong_number_of_generic_args::WrongNumberOfGenericArgs as rustc_typeck[f743717ba92f1a9d]::structured_errors::StructuredDiagnostic>::diagnostic_common
  24:     0x7ff8d2ff091a - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  25:     0x7ff8d30e0707 - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  26:     0x7ff8d3f1c46c - <rustc_middle[4f2f777bb563803d]::ty::adt::AdtDef>::destructor
  27:     0x7ff8d3f1bc99 - <rustc_middle[4f2f777bb563803d]::ty::adt::AdtDef>::has_dtor
  28:     0x7ff8d3c423e9 - <rustc_infer[55a2c2aab3ca8699]::infer::InferCtxt as rustc_trait_selection[6858834593185dbf]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  29:     0x7ff8d3cb928d - rustc_trait_selection[6858834593185dbf]::traits::misc::can_type_implement_copy
  30:     0x7ff8d2444ee7 - <rustc_typeck[f743717ba92f1a9d]::check::method::NoMatchData>::new
  31:     0x7ff8d257bb4e - <rustc_typeck[f743717ba92f1a9d]::coherence::inherent_impls_overlap::InherentOverlapChecker as rustc_hir[ff995cff6d0d96e9]::itemlikevisit::ItemLikeVisitor>::visit_item
  32:     0x7ff8d30309ac - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  33:     0x7ff8d30e09ec - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  34:     0x7ff8d257da41 - <rustc_typeck[f743717ba92f1a9d]::coherence::inherent_impls_overlap::InherentOverlapChecker as rustc_hir[ff995cff6d0d96e9]::itemlikevisit::ItemLikeVisitor>::visit_item
  35:     0x7ff8d24c820d - <rustc_typeck[f743717ba92f1a9d]::check::dropck::SimpleEqRelation as rustc_middle[4f2f777bb563803d]::ty::relate::TypeRelation>::regions
  36:     0x7ff8d2496fab - rustc_typeck[f743717ba92f1a9d]::check_crate
  37:     0x7ff8cfa0a5af - rustc_interface[5c7de30ce6ef7e04]::passes::analysis
  38:     0x7ff8d3062a0e - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  39:     0x7ff8d311c152 - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  40:     0x7ff8cf884554 - <rustc_driver[678734a8b3ebe83d]::args::Error as core[48886e0605044802]::fmt::Debug>::fmt
  41:     0x7ff8cf86fa39 - <rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::MsvcLinker as rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::Linker>::group_start
  42:     0x7ff8cf8789a5 - <rustc_driver[678734a8b3ebe83d]::args::Error as core[48886e0605044802]::fmt::Debug>::fmt
  43:     0x7ff8cf86e15b - <rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::MsvcLinker as rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::Linker>::group_start
  44:     0x7ff8cf84ebda - <rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::MsvcLinker as rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::Linker>::group_start
  45:     0x7ff8cf8eec28 - rustc_driver[678734a8b3ebe83d]::pretty::print_after_hir_lowering
  46:     0x7ff8f1c5bf6c - std::sys::windows::thread::Thread::new::h0c6d31f1aa301a34
  47:     0x7ff94c837034 - BaseThreadInitThunk
  48:     0x7ff94d0c2651 - RtlUserThreadStart

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.60.0 (7737e0b5c 2022-04-04) running on x86_64-pc-windows-msvc

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

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

query stack during panic:
thread 'rustc' panicked at 'index out of bounds: the len is 177756 but the index is 1310720', /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c\compiler\rustc_serialize\src\leb128.rs:87:1
stack backtrace:
   0:     0x7ff8f1c46d51 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h84ff87ae58cccae4
   1:     0x7ff8f1c7641a - core::fmt::write::hd92da5577ac002e6
   2:     0x7ff8f1c383c9 - <std::io::IoSliceMut as core::fmt::Debug>::fmt::hb29c4e0869b395c6
   3:     0x7ff8f1c4a492 - std::panicking::default_hook::hc5f434b832972078
   4:     0x7ff8f1c4a055 - std::panicking::default_hook::hc5f434b832972078
   5:     0x7ff8cf8d8a16 - <rustc_driver[678734a8b3ebe83d]::args::Error as core[48886e0605044802]::fmt::Debug>::fmt
   6:     0x7ff8f1c4add1 - std::panicking::rust_panic_with_hook::hab7bc504f96a6e6d
   7:     0x7ff8f1c4ab1d - <std::panicking::begin_panic_handler::StrPanicPayload as core::panic::BoxMeUp>::get::h2f0416eb79f13437
   8:     0x7ff8f1c47687 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h84ff87ae58cccae4
   9:     0x7ff8f1c4a799 - rust_begin_unwind
  10:     0x7ff8f1ca97a5 - core::panicking::panic_fmt::h2062231a6e23fa25
  11:     0x7ff8f1ca96c7 - core::panicking::panic_bounds_check::hc019ce8399341c08
  12:     0x7ff8d36de681 - <rustc_metadata[a4609462056f32c1]::locator::MetadataError as core[48886e0605044802]::fmt::Display>::fmt
  13:     0x7ff8d370be04 - <rustc_metadata[a4609462056f32c1]::rmeta::def_path_hash_map::DefPathHashMapRef as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_metadata[a4609462056f32c1]::rmeta::decoder::DecodeContext>>::decode
  14:     0x7ff8d376152a - <rustc_metadata[a4609462056f32c1]::creader::CrateMetadataRef>::get_visibility
  15:     0x7ff8d3f3e05f - <rustc_middle[4f2f777bb563803d]::ty::context::TyCtxt>::def_path_str
  16:     0x7ff8d32cd381 - <&[rustc_ast[64dfef4ccd76acc]::ast::InlineAsmTemplatePiece] as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_query_impl[9c08cd8a3eced3cb]::on_disk_cache::CacheDecoder>>::decode
  17:     0x7ff8d32d1e41 - <&[rustc_ast[64dfef4ccd76acc]::ast::InlineAsmTemplatePiece] as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_query_impl[9c08cd8a3eced3cb]::on_disk_cache::CacheDecoder>>::decode
  18:     0x7ff8d3340809 - <rustc_query_impl[9c08cd8a3eced3cb]::queries::diagnostic_hir_wf_check as rustc_query_system[c0f11e4dadcd7f14]::query::config::QueryDescription<rustc_query_impl[9c08cd8a3eced3cb]::plumbing::QueryCtxt>>::describe
  19:     0x7ff8d2f71346 - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  20:     0x7ff8d3186c00 - <rustc_query_impl[9c08cd8a3eced3cb]::Queries>::new
  21:     0x7ff8d32faf09 - <rustc_query_impl[9c08cd8a3eced3cb]::plumbing::QueryCtxt>::try_print_query_stack
  22:     0x7ff8cfa93d27 - rustc_interface[5c7de30ce6ef7e04]::interface::try_print_query_stack
  23:     0x7ff8cf8e4301 - rustc_driver[678734a8b3ebe83d]::report_ice
  24:     0x7ff8f1c4add1 - std::panicking::rust_panic_with_hook::hab7bc504f96a6e6d
  25:     0x7ff8f1c4aae2 - <std::panicking::begin_panic_handler::StrPanicPayload as core::panic::BoxMeUp>::get::h2f0416eb79f13437
  26:     0x7ff8f1c47687 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h84ff87ae58cccae4
  27:     0x7ff8f1c4a799 - rust_begin_unwind
  28:     0x7ff8f1ca97a5 - core::panicking::panic_fmt::h2062231a6e23fa25
  29:     0x7ff8d366dd9c - <rustc_metadata[a4609462056f32c1]::rmeta::EntryKind as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_metadata[a4609462056f32c1]::rmeta::decoder::DecodeContext>>::decode
  30:     0x7ff8d375de15 - <rustc_metadata[a4609462056f32c1]::creader::CrateMetadataRef>::get_visibility
  31:     0x7ff8d36f93a2 - rustc_metadata[a4609462056f32c1]::rmeta::decoder::cstore_impl::provide_extern
  32:     0x7ff8d2fed914 - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  33:     0x7ff8d30d8db7 - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  34:     0x7ff8d3cd70c2 - rustc_trait_selection[6858834593185dbf]::traits::specialize::translate_substs
  35:     0x7ff8d33752c2 - rustc_query_impl[9c08cd8a3eced3cb]::profiling_support::alloc_self_profile_query_strings
  36:     0x7ff8d2f8b609 - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  37:     0x7ff8d31071bf - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  38:     0x7ff8d257bbd3 - <rustc_typeck[f743717ba92f1a9d]::coherence::inherent_impls_overlap::InherentOverlapChecker as rustc_hir[ff995cff6d0d96e9]::itemlikevisit::ItemLikeVisitor>::visit_item
  39:     0x7ff8d30309ac - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  40:     0x7ff8d30e09ec - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  41:     0x7ff8d246b050 - <rustc_typeck[f743717ba92f1a9d]::structured_errors::wrong_number_of_generic_args::WrongNumberOfGenericArgs as rustc_typeck[f743717ba92f1a9d]::structured_errors::StructuredDiagnostic>::diagnostic_common
  42:     0x7ff8d2ff091a - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  43:     0x7ff8d30e0707 - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  44:     0x7ff8d3f1c46c - <rustc_middle[4f2f777bb563803d]::ty::adt::AdtDef>::destructor
  45:     0x7ff8d3f1bc99 - <rustc_middle[4f2f777bb563803d]::ty::adt::AdtDef>::has_dtor
  46:     0x7ff8d3c423e9 - <rustc_infer[55a2c2aab3ca8699]::infer::InferCtxt as rustc_trait_selection[6858834593185dbf]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  47:     0x7ff8d3cb928d - rustc_trait_selection[6858834593185dbf]::traits::misc::can_type_implement_copy
  48:     0x7ff8d2444ee7 - <rustc_typeck[f743717ba92f1a9d]::check::method::NoMatchData>::new
  49:     0x7ff8d257bb4e - <rustc_typeck[f743717ba92f1a9d]::coherence::inherent_impls_overlap::InherentOverlapChecker as rustc_hir[ff995cff6d0d96e9]::itemlikevisit::ItemLikeVisitor>::visit_item
  50:     0x7ff8d30309ac - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  51:     0x7ff8d30e09ec - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  52:     0x7ff8d257da41 - <rustc_typeck[f743717ba92f1a9d]::coherence::inherent_impls_overlap::InherentOverlapChecker as rustc_hir[ff995cff6d0d96e9]::itemlikevisit::ItemLikeVisitor>::visit_item
  53:     0x7ff8d24c820d - <rustc_typeck[f743717ba92f1a9d]::check::dropck::SimpleEqRelation as rustc_middle[4f2f777bb563803d]::ty::relate::TypeRelation>::regions
  54:     0x7ff8d2496fab - rustc_typeck[f743717ba92f1a9d]::check_crate
  55:     0x7ff8cfa0a5af - rustc_interface[5c7de30ce6ef7e04]::passes::analysis
  56:     0x7ff8d3062a0e - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  57:     0x7ff8d311c152 - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  58:     0x7ff8cf884554 - <rustc_driver[678734a8b3ebe83d]::args::Error as core[48886e0605044802]::fmt::Debug>::fmt
  59:     0x7ff8cf86fa39 - <rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::MsvcLinker as rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::Linker>::group_start
  60:     0x7ff8cf8789a5 - <rustc_driver[678734a8b3ebe83d]::args::Error as core[48886e0605044802]::fmt::Debug>::fmt
  61:     0x7ff8cf86e15b - <rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::MsvcLinker as rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::Linker>::group_start
  62:     0x7ff8cf84ebda - <rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::MsvcLinker as rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::Linker>::group_start
  63:     0x7ff8cf8eec28 - rustc_driver[678734a8b3ebe83d]::pretty::print_after_hir_lowering
  65:     0x7ff94c837034 - BaseThreadInitThunk
  66:     0x7ff94d0c2651 - RtlUserThreadStart

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.60.0 (7737e0b5c 2022-04-04) running on x86_64-pc-windows-msvc

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

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

query stack during panic:
end of query stack
thread panicked while panicking. aborting.
error: build failed

Backtrace

   Compiling eyre v0.6.8
   Compiling codespan-reporting v0.11.1
   Compiling gpu-alloc-erupt v0.7.0
   Compiling parking_lot v0.12.0
   Compiling winit v0.26.1
   Compiling gpu-descriptor-erupt v0.3.0
   Compiling gpu-descriptor v0.2.2
thread 'rustc' panicked at 'index out of bounds: the len is 177756 but the index is 8257596', /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c\compiler\rustc_serialize\src\leb128.rs:87:1
stack backtrace:
thread 'rustc' panicked at 'index out of bounds: the len is 177756 but the index is 8257596', /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c\compiler\rustc_serialize\src\leb128.rs:87:1
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

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.60.0 (7737e0b5c 2022-04-04) running on x86_64-pc-windows-msvc

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

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

query stack during panic:
end of query stack
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

error: could not compile `thread_local`
warning: build failed, waiting for other jobs to finish...
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.60.0 (7737e0b5c 2022-04-04) running on x86_64-pc-windows-msvc

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

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

query stack during panic:
end of query stack
thread 'rustc' panicked at 'invalid enum variant tag while decoding `EntryKind`, expected 0..31', compiler\rustc_metadata\src\rmeta\mod.rs:317:42
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

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.60.0 (7737e0b5c 2022-04-04) running on x86_64-pc-windows-msvc

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

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

query stack during panic:
thread 'rustc' panicked at 'index out of bounds: the len is 177756 but the index is 1310720', /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c\compiler\rustc_serialize\src\leb128.rs:87:1
stack backtrace:
   0:     0x7ff8f1c46d51 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h84ff87ae58cccae4
   1:     0x7ff8f1c7641a - core::fmt::write::hd92da5577ac002e6
   2:     0x7ff8f1c383c9 - <std::io::IoSliceMut as core::fmt::Debug>::fmt::hb29c4e0869b395c6
   3:     0x7ff8f1c4a492 - std::panicking::default_hook::hc5f434b832972078
   4:     0x7ff8f1c4a055 - std::panicking::default_hook::hc5f434b832972078
   5:     0x7ff8cf8d8a16 - <rustc_driver[678734a8b3ebe83d]::args::Error as core[48886e0605044802]::fmt::Debug>::fmt
   6:     0x7ff8f1c4add1 - std::panicking::rust_panic_with_hook::hab7bc504f96a6e6d
   7:     0x7ff8f1c4ab1d - <std::panicking::begin_panic_handler::StrPanicPayload as core::panic::BoxMeUp>::get::h2f0416eb79f13437
   8:     0x7ff8f1c47687 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h84ff87ae58cccae4
   9:     0x7ff8f1c4a799 - rust_begin_unwind
  10:     0x7ff8f1ca97a5 - core::panicking::panic_fmt::h2062231a6e23fa25
  11:     0x7ff8f1ca96c7 - core::panicking::panic_bounds_check::hc019ce8399341c08
  12:     0x7ff8d36de681 - <rustc_metadata[a4609462056f32c1]::locator::MetadataError as core[48886e0605044802]::fmt::Display>::fmt
  13:     0x7ff8d370be04 - <rustc_metadata[a4609462056f32c1]::rmeta::def_path_hash_map::DefPathHashMapRef as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_metadata[a4609462056f32c1]::rmeta::decoder::DecodeContext>>::decode
  14:     0x7ff8d376152a - <rustc_metadata[a4609462056f32c1]::creader::CrateMetadataRef>::get_visibility
  15:     0x7ff8d3f3e05f - <rustc_middle[4f2f777bb563803d]::ty::context::TyCtxt>::def_path_str
  16:     0x7ff8d32cd381 - <&[rustc_ast[64dfef4ccd76acc]::ast::InlineAsmTemplatePiece] as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_query_impl[9c08cd8a3eced3cb]::on_disk_cache::CacheDecoder>>::decode
  17:     0x7ff8d32d1e41 - <&[rustc_ast[64dfef4ccd76acc]::ast::InlineAsmTemplatePiece] as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_query_impl[9c08cd8a3eced3cb]::on_disk_cache::CacheDecoder>>::decode
  18:     0x7ff8d3340809 - <rustc_query_impl[9c08cd8a3eced3cb]::queries::diagnostic_hir_wf_check as rustc_query_system[c0f11e4dadcd7f14]::query::config::QueryDescription<rustc_query_impl[9c08cd8a3eced3cb]::plumbing::QueryCtxt>>::describe
  19:     0x7ff8d2f71346 - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  20:     0x7ff8d3186c00 - <rustc_query_impl[9c08cd8a3eced3cb]::Queries>::new
  21:     0x7ff8d32faf09 - <rustc_query_impl[9c08cd8a3eced3cb]::plumbing::QueryCtxt>::try_print_query_stack
  22:     0x7ff8cfa93d27 - rustc_interface[5c7de30ce6ef7e04]::interface::try_print_query_stack
  23:     0x7ff8cf8e4301 - rustc_driver[678734a8b3ebe83d]::report_ice
  24:     0x7ff8f1c4add1 - std::panicking::rust_panic_with_hook::hab7bc504f96a6e6d
  25:     0x7ff8f1c4aae2 - <std::panicking::begin_panic_handler::StrPanicPayload as core::panic::BoxMeUp>::get::h2f0416eb79f13437
  26:     0x7ff8f1c47687 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h84ff87ae58cccae4
  27:     0x7ff8f1c4a799 - rust_begin_unwind
  28:     0x7ff8f1ca97a5 - core::panicking::panic_fmt::h2062231a6e23fa25
  29:     0x7ff8d366dd9c - <rustc_metadata[a4609462056f32c1]::rmeta::EntryKind as rustc_serialize[cf86830acff13787]::serialize::Decodable<rustc_metadata[a4609462056f32c1]::rmeta::decoder::DecodeContext>>::decode
  30:     0x7ff8d375de15 - <rustc_metadata[a4609462056f32c1]::creader::CrateMetadataRef>::get_visibility
  31:     0x7ff8d36f93a2 - rustc_metadata[a4609462056f32c1]::rmeta::decoder::cstore_impl::provide_extern
  32:     0x7ff8d2fed914 - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  33:     0x7ff8d30d8db7 - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  34:     0x7ff8d3cd70c2 - rustc_trait_selection[6858834593185dbf]::traits::specialize::translate_substs
  35:     0x7ff8d33752c2 - rustc_query_impl[9c08cd8a3eced3cb]::profiling_support::alloc_self_profile_query_strings
  36:     0x7ff8d2f8b609 - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  37:     0x7ff8d31071bf - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  38:     0x7ff8d257bbd3 - <rustc_typeck[f743717ba92f1a9d]::coherence::inherent_impls_overlap::InherentOverlapChecker as rustc_hir[ff995cff6d0d96e9]::itemlikevisit::ItemLikeVisitor>::visit_item
  39:     0x7ff8d30309ac - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  40:     0x7ff8d30e09ec - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  41:     0x7ff8d246b050 - <rustc_typeck[f743717ba92f1a9d]::structured_errors::wrong_number_of_generic_args::WrongNumberOfGenericArgs as rustc_typeck[f743717ba92f1a9d]::structured_errors::StructuredDiagnostic>::diagnostic_common
  42:     0x7ff8d2ff091a - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  43:     0x7ff8d30e0707 - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  44:     0x7ff8d3f1c46c - <rustc_middle[4f2f777bb563803d]::ty::adt::AdtDef>::destructor
  45:     0x7ff8d3f1bc99 - <rustc_middle[4f2f777bb563803d]::ty::adt::AdtDef>::has_dtor
  46:     0x7ff8d3c423e9 - <rustc_infer[55a2c2aab3ca8699]::infer::InferCtxt as rustc_trait_selection[6858834593185dbf]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  47:     0x7ff8d3cb928d - rustc_trait_selection[6858834593185dbf]::traits::misc::can_type_implement_copy
  48:     0x7ff8d2444ee7 - <rustc_typeck[f743717ba92f1a9d]::check::method::NoMatchData>::new
  49:     0x7ff8d257bb4e - <rustc_typeck[f743717ba92f1a9d]::coherence::inherent_impls_overlap::InherentOverlapChecker as rustc_hir[ff995cff6d0d96e9]::itemlikevisit::ItemLikeVisitor>::visit_item
  50:     0x7ff8d30309ac - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  51:     0x7ff8d30e09ec - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  52:     0x7ff8d257da41 - <rustc_typeck[f743717ba92f1a9d]::coherence::inherent_impls_overlap::InherentOverlapChecker as rustc_hir[ff995cff6d0d96e9]::itemlikevisit::ItemLikeVisitor>::visit_item
  53:     0x7ff8d24c820d - <rustc_typeck[f743717ba92f1a9d]::check::dropck::SimpleEqRelation as rustc_middle[4f2f777bb563803d]::ty::relate::TypeRelation>::regions
  54:     0x7ff8d2496fab - rustc_typeck[f743717ba92f1a9d]::check_crate
  55:     0x7ff8cfa0a5af - rustc_interface[5c7de30ce6ef7e04]::passes::analysis
  56:     0x7ff8d3062a0e - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  57:     0x7ff8d311c152 - <rustc_middle[4f2f777bb563803d]::mir::ProjectionElem<rustc_middle[4f2f777bb563803d]::mir::Local, rustc_middle[4f2f777bb563803d]::ty::Ty> as rustc_mir_dataflow[a88fe586091f61ab]::move_paths::abs_domain::Lift>::lift
  58:     0x7ff8cf884554 - <rustc_driver[678734a8b3ebe83d]::args::Error as core[48886e0605044802]::fmt::Debug>::fmt
  59:     0x7ff8cf86fa39 - <rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::MsvcLinker as rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::Linker>::group_start
  60:     0x7ff8cf8789a5 - <rustc_driver[678734a8b3ebe83d]::args::Error as core[48886e0605044802]::fmt::Debug>::fmt
  61:     0x7ff8cf86e15b - <rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::MsvcLinker as rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::Linker>::group_start
  62:     0x7ff8cf84ebda - <rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::MsvcLinker as rustc_codegen_ssa[d38a77cfeef1b2f9]::back::linker::Linker>::group_start
  63:     0x7ff8cf8eec28 - rustc_driver[678734a8b3ebe83d]::pretty::print_after_hir_lowering
  64:     0x7ff8f1c5bf6c - std::sys::windows::thread::Thread::new::h0c6d31f1aa301a34
  65:     0x7ff94c837034 - BaseThreadInitThunk
  66:     0x7ff94d0c2651 - RtlUserThreadStart

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.60.0 (7737e0b5c 2022-04-04) running on x86_64-pc-windows-msvc

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

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

query stack during panic:
end of query stack
thread panicked while panicking. aborting.
error: build failed

Metadata

Assignees

Labels

C-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions