Skip to content
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

no MIR available for DefId #111373

Closed
robertpauson opened this issue May 8, 2023 · 1 comment · Fixed by #111371
Closed

no MIR available for DefId #111373

robertpauson opened this issue May 8, 2023 · 1 comment · Fixed by #111371
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

@robertpauson
Copy link

wgpu

Code

<code>

Meta

rustc --version --verbose:

rustc 1.71.0-nightly (c4190f2d3 2023-05-07)
binary: rustc
commit-hash: c4190f2d3a46a59f435f7b42f58bc22b2f4d6917
commit-date: 2023-05-07
host: x86_64-unknown-linux-gnu
release: 1.71.0-nightly
LLVM version: 16.0.2

Error output

error: internal compiler error: compiler/rustc_monomorphize/src/collector.rs:1038:9: no MIR available for DefId(30:2916 ~ wgpu_core[d340]::track::texture::{impl#0}::any_exclusive)
Backtrace

   Compiling ramp v0.7.0
   Compiling wgpu v0.14.2
error: internal compiler error: compiler/rustc_monomorphize/src/collector.rs:1038:9: no MIR available for DefId(30:2752 ~ wgpu_core[d340]::track::buffer::{impl#0}::all_ordered)

thread 'rustc' panicked at 'Box<dyn Any>', /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/compiler/rustc_errors/src/lib.rs:1650:9
stack backtrace:
   0:     0x7fb6215e3e71 - std::backtrace_rs::backtrace::libunwind::trace::hdca2f1d760ae3bfc
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7fb6215e3e71 - std::backtrace_rs::backtrace::trace_unsynchronized::hd02181015534cc1c
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7fb6215e3e71 - std::sys_common::backtrace::_print_fmt::h027d0dd83d9c6057
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x7fb6215e3e71 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hc3454f8104aa16e4
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7fb6216441bf - core::fmt::rt::Argument::fmt::haca00ab3f8062a1f
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/core/src/fmt/rt.rs:138:9
   5:     0x7fb6216441bf - core::fmt::write::he3e34afeea0f8a6d
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/core/src/fmt/mod.rs:1094:21
   6:     0x7fb6215d7141 - std::io::Write::write_fmt::h0dda8fe866ff6ad9
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/io/mod.rs:1712:15
   7:     0x7fb6215e3c85 - std::sys_common::backtrace::_print::hdee7445a3e0bc35e
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7fb6215e3c85 - std::sys_common::backtrace::print::h88d45cc795ad4f3a
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7fb6215e6917 - std::panicking::default_hook::{{closure}}::h0c28f70af069bb4e
  10:     0x7fb6215e6704 - std::panicking::default_hook::h9d9751edb4b25952
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/panicking.rs:288:9
  11:     0x7fb624803e4b - rustc_driver_impl[dde0876b390e6a89]::install_ice_hook::{closure#0}
  12:     0x7fb6215e7037 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd829a428c0494b99
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/alloc/src/boxed.rs:1999:9
  13:     0x7fb6215e7037 - std::panicking::rust_panic_with_hook::hb6e77b312dba3d0e
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/panicking.rs:695:13
  14:     0x7fb624cc8221 - std[d48aaa48ad184f7f]::panicking::begin_panic::<rustc_errors[f0db23b40a7f92ee]::ExplicitBug>::{closure#0}
  15:     0x7fb624cc7e16 - std[d48aaa48ad184f7f]::sys_common::backtrace::__rust_end_short_backtrace::<std[d48aaa48ad184f7f]::panicking::begin_panic<rustc_errors[f0db23b40a7f92ee]::ExplicitBug>::{closure#0}, !>
  16:     0x7fb624cf1ac6 - std[d48aaa48ad184f7f]::panicking::begin_panic::<rustc_errors[f0db23b40a7f92ee]::ExplicitBug>
  17:     0x7fb624cebec4 - <rustc_errors[f0db23b40a7f92ee]::HandlerInner>::bug::<alloc[f90fa24b258e2697]::string::String>
  18:     0x7fb624cebbf6 - <rustc_errors[f0db23b40a7f92ee]::Handler>::bug::<alloc[f90fa24b258e2697]::string::String>
  19:     0x7fb624d73aac - rustc_middle[f12e14326fcb6d37]::util::bug::opt_span_bug_fmt::<rustc_span[3e163d59592952e6]::span_encoding::Span>::{closure#0}
  20:     0x7fb624d732da - rustc_middle[f12e14326fcb6d37]::ty::context::tls::with_opt::<rustc_middle[f12e14326fcb6d37]::util::bug::opt_span_bug_fmt<rustc_span[3e163d59592952e6]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  21:     0x7fb624d732aa - rustc_middle[f12e14326fcb6d37]::ty::context::tls::with_context_opt::<rustc_middle[f12e14326fcb6d37]::ty::context::tls::with_opt<rustc_middle[f12e14326fcb6d37]::util::bug::opt_span_bug_fmt<rustc_span[3e163d59592952e6]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  22:     0x7fb622a15ecd - rustc_middle[f12e14326fcb6d37]::util::bug::bug_fmt
  23:     0x7fb62366cc5e - rustc_monomorphize[cbdbc32531e69938]::collector::collect_neighbours
  24:     0x7fb62365c980 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_items_rec
  25:     0x7fb62365ce30 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_items_rec
  26:     0x7fb62365ce30 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_items_rec
  27:     0x7fb62365ce30 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_items_rec
  28:     0x7fb623c65c13 - <rustc_session[ed834786aaef6aa]::session::Session>::time::<(), rustc_monomorphize[cbdbc32531e69938]::collector::collect_crate_mono_items::{closure#1}>
  29:     0x7fb623c645f0 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_crate_mono_items
  30:     0x7fb623c62e57 - rustc_monomorphize[cbdbc32531e69938]::partitioning::collect_and_partition_mono_items
  31:     0x7fb624030a9c - rustc_query_system[284fc37ba8dbaa13]::query::plumbing::try_execute_query::<rustc_query_impl[14a35b422f4e9e94]::queries::collect_and_partition_mono_items, rustc_query_impl[14a35b422f4e9e94]::plumbing::QueryCtxt>
  32:     0x7fb62403077d - rustc_query_impl[14a35b422f4e9e94]::get_query::collect_and_partition_mono_items
  33:     0x7fb623d43ccb - rustc_codegen_ssa[4fe01baa5c138594]::base::codegen_crate::<rustc_codegen_llvm[d2c4cb38c8b71de1]::LlvmCodegenBackend>
  34:     0x7fb623d43ab2 - <rustc_codegen_llvm[d2c4cb38c8b71de1]::LlvmCodegenBackend as rustc_codegen_ssa[4fe01baa5c138594]::traits::backend::CodegenBackend>::codegen_crate
  35:     0x7fb623a36eb0 - rustc_interface[5dd728079daf5b2f]::passes::start_codegen
  36:     0x7fb623a31ec7 - <rustc_middle[f12e14326fcb6d37]::ty::context::GlobalCtxt>::enter::<<rustc_interface[5dd728079daf5b2f]::queries::Queries>::ongoing_codegen::{closure#0}::{closure#0}, core[1a45016e46435943]::result::Result<alloc[f90fa24b258e2697]::boxed::Box<dyn core[1a45016e46435943]::any::Any>, rustc_span[3e163d59592952e6]::ErrorGuaranteed>>
  37:     0x7fb623a3154d - <rustc_interface[5dd728079daf5b2f]::queries::Queries>::ongoing_codegen
  38:     0x7fb623a30b03 - <rustc_interface[5dd728079daf5b2f]::interface::Compiler>::enter::<rustc_driver_impl[dde0876b390e6a89]::run_compiler::{closure#1}::{closure#2}, core[1a45016e46435943]::result::Result<core[1a45016e46435943]::option::Option<rustc_interface[5dd728079daf5b2f]::queries::Linker>, rustc_span[3e163d59592952e6]::ErrorGuaranteed>>
  39:     0x7fb623a2eb71 - rustc_span[3e163d59592952e6]::set_source_map::<core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>, rustc_interface[5dd728079daf5b2f]::interface::run_compiler<core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>, rustc_driver_impl[dde0876b390e6a89]::run_compiler::{closure#1}>::{closure#0}::{closure#0}>
  40:     0x7fb623a2e220 - std[d48aaa48ad184f7f]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[5dd728079daf5b2f]::util::run_in_thread_pool_with_globals<rustc_interface[5dd728079daf5b2f]::interface::run_compiler<core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>, rustc_driver_impl[dde0876b390e6a89]::run_compiler::{closure#1}>::{closure#0}, core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>>
  41:     0x7fb6240eceb5 - <<std[d48aaa48ad184f7f]::thread::Builder>::spawn_unchecked_<rustc_interface[5dd728079daf5b2f]::util::run_in_thread_pool_with_globals<rustc_interface[5dd728079daf5b2f]::interface::run_compiler<core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>, rustc_driver_impl[dde0876b390e6a89]::run_compiler::{closure#1}>::{closure#0}, core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>>::{closure#1} as core[1a45016e46435943]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  42:     0x7fb6215f14d5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hf9d590878bec4a84
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/alloc/src/boxed.rs:1985:9
  43:     0x7fb6215f14d5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h3b901df10d727b47
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/alloc/src/boxed.rs:1985:9
  44:     0x7fb6215f14d5 - std::sys::unix::thread::Thread::new::thread_start::hbbc99806fcfda4ba
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/sys/unix/thread.rs:108:17
  45:     0x7fb621338b43 - start_thread
                               at ./nptl/pthread_create.c:442:8
  46:     0x7fb6213caa00 - clone3
                               at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
  47:                0x0 - <unknown>

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.71.0-nightly (c4190f2d3 2023-05-07) running on x86_64-unknown-linux-gnu

note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no

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

query stack during panic:
#0 [collect_and_partition_mono_items] collect_and_partition_mono_items
end of query stack
error: internal compiler error: compiler/rustc_monomorphize/src/collector.rs:1038:9: no MIR available for DefId(30:2915 ~ wgpu_core[d340]::track::texture::{impl#0}::all_ordered)

thread 'rustc' panicked at 'Box<dyn Any>', /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/compiler/rustc_errors/src/lib.rs:1650:9
stack backtrace:
   0:     0x7fb6215e3e71 - std::backtrace_rs::backtrace::libunwind::trace::hdca2f1d760ae3bfc
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7fb6215e3e71 - std::backtrace_rs::backtrace::trace_unsynchronized::hd02181015534cc1c
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7fb6215e3e71 - std::sys_common::backtrace::_print_fmt::h027d0dd83d9c6057
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x7fb6215e3e71 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hc3454f8104aa16e4
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7fb6216441bf - core::fmt::rt::Argument::fmt::haca00ab3f8062a1f
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/core/src/fmt/rt.rs:138:9
   5:     0x7fb6216441bf - core::fmt::write::he3e34afeea0f8a6d
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/core/src/fmt/mod.rs:1094:21
   6:     0x7fb6215d7141 - std::io::Write::write_fmt::h0dda8fe866ff6ad9
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/io/mod.rs:1712:15
   7:     0x7fb6215e3c85 - std::sys_common::backtrace::_print::hdee7445a3e0bc35e
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7fb6215e3c85 - std::sys_common::backtrace::print::h88d45cc795ad4f3a
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7fb6215e6917 - std::panicking::default_hook::{{closure}}::h0c28f70af069bb4e
  10:     0x7fb6215e6704 - std::panicking::default_hook::h9d9751edb4b25952
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/panicking.rs:288:9
  11:     0x7fb624803e4b - rustc_driver_impl[dde0876b390e6a89]::install_ice_hook::{closure#0}
  12:     0x7fb6215e7037 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd829a428c0494b99
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/alloc/src/boxed.rs:1999:9
  13:     0x7fb6215e7037 - std::panicking::rust_panic_with_hook::hb6e77b312dba3d0e
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/panicking.rs:695:13
  14:     0x7fb624cc8221 - std[d48aaa48ad184f7f]::panicking::begin_panic::<rustc_errors[f0db23b40a7f92ee]::ExplicitBug>::{closure#0}
  15:     0x7fb624cc7e16 - std[d48aaa48ad184f7f]::sys_common::backtrace::__rust_end_short_backtrace::<std[d48aaa48ad184f7f]::panicking::begin_panic<rustc_errors[f0db23b40a7f92ee]::ExplicitBug>::{closure#0}, !>
  16:     0x7fb624cf1ac6 - std[d48aaa48ad184f7f]::panicking::begin_panic::<rustc_errors[f0db23b40a7f92ee]::ExplicitBug>
  17:     0x7fb624cebec4 - <rustc_errors[f0db23b40a7f92ee]::HandlerInner>::bug::<alloc[f90fa24b258e2697]::string::String>
  18:     0x7fb624cebbf6 - <rustc_errors[f0db23b40a7f92ee]::Handler>::bug::<alloc[f90fa24b258e2697]::string::String>
  19:     0x7fb624d73aac - rustc_middle[f12e14326fcb6d37]::util::bug::opt_span_bug_fmt::<rustc_span[3e163d59592952e6]::span_encoding::Span>::{closure#0}
  20:     0x7fb624d732da - rustc_middle[f12e14326fcb6d37]::ty::context::tls::with_opt::<rustc_middle[f12e14326fcb6d37]::util::bug::opt_span_bug_fmt<rustc_span[3e163d59592952e6]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  21:     0x7fb624d732aa - rustc_middle[f12e14326fcb6d37]::ty::context::tls::with_context_opt::<rustc_middle[f12e14326fcb6d37]::ty::context::tls::with_opt<rustc_middle[f12e14326fcb6d37]::util::bug::opt_span_bug_fmt<rustc_span[3e163d59592952e6]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  22:     0x7fb622a15ecd - rustc_middle[f12e14326fcb6d37]::util::bug::bug_fmt
  23:     0x7fb62366cc5e - rustc_monomorphize[cbdbc32531e69938]::collector::collect_neighbours
  24:     0x7fb62365c980 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_items_rec
  25:     0x7fb62365ce30 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_items_rec
  26:     0x7fb62365ce30 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_items_rec
  27:     0x7fb62365ce30 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_items_rec
  28:     0x7fb62365ce30 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_items_rec
  29:     0x7fb62365ce30 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_items_rec
  30:     0x7fb62365ce30 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_items_rec
  31:     0x7fb623c65c13 - <rustc_session[ed834786aaef6aa]::session::Session>::time::<(), rustc_monomorphize[cbdbc32531e69938]::collector::collect_crate_mono_items::{closure#1}>
  32:     0x7fb623c645f0 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_crate_mono_items
  33:     0x7fb623c62e57 - rustc_monomorphize[cbdbc32531e69938]::partitioning::collect_and_partition_mono_items
  34:     0x7fb624030a9c - rustc_query_system[284fc37ba8dbaa13]::query::plumbing::try_execute_query::<rustc_query_impl[14a35b422f4e9e94]::queries::collect_and_partition_mono_items, rustc_query_impl[14a35b422f4e9e94]::plumbing::QueryCtxt>
  35:     0x7fb62403077d - rustc_query_impl[14a35b422f4e9e94]::get_query::collect_and_partition_mono_items
  36:     0x7fb623d43ccb - rustc_codegen_ssa[4fe01baa5c138594]::base::codegen_crate::<rustc_codegen_llvm[d2c4cb38c8b71de1]::LlvmCodegenBackend>
  37:     0x7fb623d43ab2 - <rustc_codegen_llvm[d2c4cb38c8b71de1]::LlvmCodegenBackend as rustc_codegen_ssa[4fe01baa5c138594]::traits::backend::CodegenBackend>::codegen_crate
  38:     0x7fb623a36eb0 - rustc_interface[5dd728079daf5b2f]::passes::start_codegen
  39:     0x7fb623a31ec7 - <rustc_middle[f12e14326fcb6d37]::ty::context::GlobalCtxt>::enter::<<rustc_interface[5dd728079daf5b2f]::queries::Queries>::ongoing_codegen::{closure#0}::{closure#0}, core[1a45016e46435943]::result::Result<alloc[f90fa24b258e2697]::boxed::Box<dyn core[1a45016e46435943]::any::Any>, rustc_span[3e163d59592952e6]::ErrorGuaranteed>>
  40:     0x7fb623a3154d - <rustc_interface[5dd728079daf5b2f]::queries::Queries>::ongoing_codegen
  41:     0x7fb623a30b03 - <rustc_interface[5dd728079daf5b2f]::interface::Compiler>::enter::<rustc_driver_impl[dde0876b390e6a89]::run_compiler::{closure#1}::{closure#2}, core[1a45016e46435943]::result::Result<core[1a45016e46435943]::option::Option<rustc_interface[5dd728079daf5b2f]::queries::Linker>, rustc_span[3e163d59592952e6]::ErrorGuaranteed>>
  42:     0x7fb623a2eb71 - rustc_span[3e163d59592952e6]::set_source_map::<core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>, rustc_interface[5dd728079daf5b2f]::interface::run_compiler<core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>, rustc_driver_impl[dde0876b390e6a89]::run_compiler::{closure#1}>::{closure#0}::{closure#0}>
  43:     0x7fb623a2e220 - std[d48aaa48ad184f7f]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[5dd728079daf5b2f]::util::run_in_thread_pool_with_globals<rustc_interface[5dd728079daf5b2f]::interface::run_compiler<core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>, rustc_driver_impl[dde0876b390e6a89]::run_compiler::{closure#1}>::{closure#0}, core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>>
  44:     0x7fb6240eceb5 - <<std[d48aaa48ad184f7f]::thread::Builder>::spawn_unchecked_<rustc_interface[5dd728079daf5b2f]::util::run_in_thread_pool_with_globals<rustc_interface[5dd728079daf5b2f]::interface::run_compiler<core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>, rustc_driver_impl[dde0876b390e6a89]::run_compiler::{closure#1}>::{closure#0}, core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>>::{closure#1} as core[1a45016e46435943]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  45:     0x7fb6215f14d5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hf9d590878bec4a84
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/alloc/src/boxed.rs:1985:9
  46:     0x7fb6215f14d5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h3b901df10d727b47
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/alloc/src/boxed.rs:1985:9
  47:     0x7fb6215f14d5 - std::sys::unix::thread::Thread::new::thread_start::hbbc99806fcfda4ba
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/sys/unix/thread.rs:108:17
  48:     0x7fb621338b43 - start_thread
                               at ./nptl/pthread_create.c:442:8
  49:     0x7fb6213caa00 - clone3
                               at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
  50:                0x0 - <unknown>

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.71.0-nightly (c4190f2d3 2023-05-07) running on x86_64-unknown-linux-gnu

note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no

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

query stack during panic:
#0 [collect_and_partition_mono_items] collect_and_partition_mono_items
end of query stack
error: internal compiler error: compiler/rustc_monomorphize/src/collector.rs:1038:9: no MIR available for DefId(30:2753 ~ wgpu_core[d340]::track::buffer::{impl#0}::any_exclusive)

thread 'rustc' panicked at 'Box<dyn Any>', /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/compiler/rustc_errors/src/lib.rs:1650:9
stack backtrace:
   0:     0x7fb6215e3e71 - std::backtrace_rs::backtrace::libunwind::trace::hdca2f1d760ae3bfc
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7fb6215e3e71 - std::backtrace_rs::backtrace::trace_unsynchronized::hd02181015534cc1c
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7fb6215e3e71 - std::sys_common::backtrace::_print_fmt::h027d0dd83d9c6057
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x7fb6215e3e71 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hc3454f8104aa16e4
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7fb6216441bf - core::fmt::rt::Argument::fmt::haca00ab3f8062a1f
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/core/src/fmt/rt.rs:138:9
   5:     0x7fb6216441bf - core::fmt::write::he3e34afeea0f8a6d
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/core/src/fmt/mod.rs:1094:21
   6:     0x7fb6215d7141 - std::io::Write::write_fmt::h0dda8fe866ff6ad9
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/io/mod.rs:1712:15
   7:     0x7fb6215e3c85 - std::sys_common::backtrace::_print::hdee7445a3e0bc35e
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7fb6215e3c85 - std::sys_common::backtrace::print::h88d45cc795ad4f3a
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7fb6215e6917 - std::panicking::default_hook::{{closure}}::h0c28f70af069bb4e
  10:     0x7fb6215e6704 - std::panicking::default_hook::h9d9751edb4b25952
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/panicking.rs:288:9
  11:     0x7fb624803e4b - rustc_driver_impl[dde0876b390e6a89]::install_ice_hook::{closure#0}
  12:     0x7fb6215e7037 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd829a428c0494b99
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/alloc/src/boxed.rs:1999:9
  13:     0x7fb6215e7037 - std::panicking::rust_panic_with_hook::hb6e77b312dba3d0e
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/panicking.rs:695:13
  14:     0x7fb624cc8221 - std[d48aaa48ad184f7f]::panicking::begin_panic::<rustc_errors[f0db23b40a7f92ee]::ExplicitBug>::{closure#0}
  15:     0x7fb624cc7e16 - std[d48aaa48ad184f7f]::sys_common::backtrace::__rust_end_short_backtrace::<std[d48aaa48ad184f7f]::panicking::begin_panic<rustc_errors[f0db23b40a7f92ee]::ExplicitBug>::{closure#0}, !>
  16:     0x7fb624cf1ac6 - std[d48aaa48ad184f7f]::panicking::begin_panic::<rustc_errors[f0db23b40a7f92ee]::ExplicitBug>
  17:     0x7fb624cebec4 - <rustc_errors[f0db23b40a7f92ee]::HandlerInner>::bug::<alloc[f90fa24b258e2697]::string::String>
  18:     0x7fb624cebbf6 - <rustc_errors[f0db23b40a7f92ee]::Handler>::bug::<alloc[f90fa24b258e2697]::string::String>
  19:     0x7fb624d73aac - rustc_middle[f12e14326fcb6d37]::util::bug::opt_span_bug_fmt::<rustc_span[3e163d59592952e6]::span_encoding::Span>::{closure#0}
  20:     0x7fb624d732da - rustc_middle[f12e14326fcb6d37]::ty::context::tls::with_opt::<rustc_middle[f12e14326fcb6d37]::util::bug::opt_span_bug_fmt<rustc_span[3e163d59592952e6]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  21:     0x7fb624d732aa - rustc_middle[f12e14326fcb6d37]::ty::context::tls::with_context_opt::<rustc_middle[f12e14326fcb6d37]::ty::context::tls::with_opt<rustc_middle[f12e14326fcb6d37]::util::bug::opt_span_bug_fmt<rustc_span[3e163d59592952e6]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  22:     0x7fb622a15ecd - rustc_middle[f12e14326fcb6d37]::util::bug::bug_fmt
  23:     0x7fb62366cc5e - rustc_monomorphize[cbdbc32531e69938]::collector::collect_neighbours
  24:     0x7fb62365c980 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_items_rec
  25:     0x7fb62365ce30 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_items_rec
  26:     0x7fb62365ce30 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_items_rec
  27:     0x7fb62365ce30 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_items_rec
  28:     0x7fb62365ce30 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_items_rec
  29:     0x7fb62365ce30 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_items_rec
  30:     0x7fb623c65c13 - <rustc_session[ed834786aaef6aa]::session::Session>::time::<(), rustc_monomorphize[cbdbc32531e69938]::collector::collect_crate_mono_items::{closure#1}>
  31:     0x7fb623c645f0 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_crate_mono_items
  32:     0x7fb623c62e57 - rustc_monomorphize[cbdbc32531e69938]::partitioning::collect_and_partition_mono_items
  33:     0x7fb624030a9c - rustc_query_system[284fc37ba8dbaa13]::query::plumbing::try_execute_query::<rustc_query_impl[14a35b422f4e9e94]::queries::collect_and_partition_mono_items, rustc_query_impl[14a35b422f4e9e94]::plumbing::QueryCtxt>
  34:     0x7fb62403077d - rustc_query_impl[14a35b422f4e9e94]::get_query::collect_and_partition_mono_items
  35:     0x7fb623d43ccb - rustc_codegen_ssa[4fe01baa5c138594]::base::codegen_crate::<rustc_codegen_llvm[d2c4cb38c8b71de1]::LlvmCodegenBackend>
  36:     0x7fb623d43ab2 - <rustc_codegen_llvm[d2c4cb38c8b71de1]::LlvmCodegenBackend as rustc_codegen_ssa[4fe01baa5c138594]::traits::backend::CodegenBackend>::codegen_crate
  37:     0x7fb623a36eb0 - rustc_interface[5dd728079daf5b2f]::passes::start_codegen
  38:     0x7fb623a31ec7 - <rustc_middle[f12e14326fcb6d37]::ty::context::GlobalCtxt>::enter::<<rustc_interface[5dd728079daf5b2f]::queries::Queries>::ongoing_codegen::{closure#0}::{closure#0}, core[1a45016e46435943]::result::Result<alloc[f90fa24b258e2697]::boxed::Box<dyn core[1a45016e46435943]::any::Any>, rustc_span[3e163d59592952e6]::ErrorGuaranteed>>
  39:     0x7fb623a3154d - <rustc_interface[5dd728079daf5b2f]::queries::Queries>::ongoing_codegen
  40:     0x7fb623a30b03 - <rustc_interface[5dd728079daf5b2f]::interface::Compiler>::enter::<rustc_driver_impl[dde0876b390e6a89]::run_compiler::{closure#1}::{closure#2}, core[1a45016e46435943]::result::Result<core[1a45016e46435943]::option::Option<rustc_interface[5dd728079daf5b2f]::queries::Linker>, rustc_span[3e163d59592952e6]::ErrorGuaranteed>>
  41:     0x7fb623a2eb71 - rustc_span[3e163d59592952e6]::set_source_map::<core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>, rustc_interface[5dd728079daf5b2f]::interface::run_compiler<core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>, rustc_driver_impl[dde0876b390e6a89]::run_compiler::{closure#1}>::{closure#0}::{closure#0}>
  42:     0x7fb623a2e220 - std[d48aaa48ad184f7f]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[5dd728079daf5b2f]::util::run_in_thread_pool_with_globals<rustc_interface[5dd728079daf5b2f]::interface::run_compiler<core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>, rustc_driver_impl[dde0876b390e6a89]::run_compiler::{closure#1}>::{closure#0}, core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>>
  43:     0x7fb6240eceb5 - <<std[d48aaa48ad184f7f]::thread::Builder>::spawn_unchecked_<rustc_interface[5dd728079daf5b2f]::util::run_in_thread_pool_with_globals<rustc_interface[5dd728079daf5b2f]::interface::run_compiler<core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>, rustc_driver_impl[dde0876b390e6a89]::run_compiler::{closure#1}>::{closure#0}, core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>>::{closure#1} as core[1a45016e46435943]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  44:     0x7fb6215f14d5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hf9d590878bec4a84
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/alloc/src/boxed.rs:1985:9
  45:     0x7fb6215f14d5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h3b901df10d727b47
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/alloc/src/boxed.rs:1985:9
  46:     0x7fb6215f14d5 - std::sys::unix::thread::Thread::new::thread_start::hbbc99806fcfda4ba
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/sys/unix/thread.rs:108:17
  47:     0x7fb621338b43 - start_thread
                               at ./nptl/pthread_create.c:442:8
  48:     0x7fb6213caa00 - clone3
                               at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
  49:                0x0 - <unknown>

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.71.0-nightly (c4190f2d3 2023-05-07) running on x86_64-unknown-linux-gnu

note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no

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

query stack during panic:
#0 [collect_and_partition_mono_items] collect_and_partition_mono_items
end of query stack
error: internal compiler error: compiler/rustc_monomorphize/src/collector.rs:1038:9: no MIR available for DefId(30:2916 ~ wgpu_core[d340]::track::texture::{impl#0}::any_exclusive)

thread 'rustc' panicked at 'Box<dyn Any>', /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/compiler/rustc_errors/src/lib.rs:1650:9
stack backtrace:
   0:     0x7fb6215e3e71 - std::backtrace_rs::backtrace::libunwind::trace::hdca2f1d760ae3bfc
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7fb6215e3e71 - std::backtrace_rs::backtrace::trace_unsynchronized::hd02181015534cc1c
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7fb6215e3e71 - std::sys_common::backtrace::_print_fmt::h027d0dd83d9c6057
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x7fb6215e3e71 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hc3454f8104aa16e4
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7fb6216441bf - core::fmt::rt::Argument::fmt::haca00ab3f8062a1f
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/core/src/fmt/rt.rs:138:9
   5:     0x7fb6216441bf - core::fmt::write::he3e34afeea0f8a6d
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/core/src/fmt/mod.rs:1094:21
   6:     0x7fb6215d7141 - std::io::Write::write_fmt::h0dda8fe866ff6ad9
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/io/mod.rs:1712:15
   7:     0x7fb6215e3c85 - std::sys_common::backtrace::_print::hdee7445a3e0bc35e
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7fb6215e3c85 - std::sys_common::backtrace::print::h88d45cc795ad4f3a
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7fb6215e6917 - std::panicking::default_hook::{{closure}}::h0c28f70af069bb4e
  10:     0x7fb6215e6704 - std::panicking::default_hook::h9d9751edb4b25952
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/panicking.rs:288:9
  11:     0x7fb624803e4b - rustc_driver_impl[dde0876b390e6a89]::install_ice_hook::{closure#0}
  12:     0x7fb6215e7037 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd829a428c0494b99
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/alloc/src/boxed.rs:1999:9
  13:     0x7fb6215e7037 - std::panicking::rust_panic_with_hook::hb6e77b312dba3d0e
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/panicking.rs:695:13
  14:     0x7fb624cc8221 - std[d48aaa48ad184f7f]::panicking::begin_panic::<rustc_errors[f0db23b40a7f92ee]::ExplicitBug>::{closure#0}
  15:     0x7fb624cc7e16 - std[d48aaa48ad184f7f]::sys_common::backtrace::__rust_end_short_backtrace::<std[d48aaa48ad184f7f]::panicking::begin_panic<rustc_errors[f0db23b40a7f92ee]::ExplicitBug>::{closure#0}, !>
  16:     0x7fb624cf1ac6 - std[d48aaa48ad184f7f]::panicking::begin_panic::<rustc_errors[f0db23b40a7f92ee]::ExplicitBug>
  17:     0x7fb624cebec4 - <rustc_errors[f0db23b40a7f92ee]::HandlerInner>::bug::<alloc[f90fa24b258e2697]::string::String>
  18:     0x7fb624cebbf6 - <rustc_errors[f0db23b40a7f92ee]::Handler>::bug::<alloc[f90fa24b258e2697]::string::String>
  19:     0x7fb624d73aac - rustc_middle[f12e14326fcb6d37]::util::bug::opt_span_bug_fmt::<rustc_span[3e163d59592952e6]::span_encoding::Span>::{closure#0}
  20:     0x7fb624d732da - rustc_middle[f12e14326fcb6d37]::ty::context::tls::with_opt::<rustc_middle[f12e14326fcb6d37]::util::bug::opt_span_bug_fmt<rustc_span[3e163d59592952e6]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  21:     0x7fb624d732aa - rustc_middle[f12e14326fcb6d37]::ty::context::tls::with_context_opt::<rustc_middle[f12e14326fcb6d37]::ty::context::tls::with_opt<rustc_middle[f12e14326fcb6d37]::util::bug::opt_span_bug_fmt<rustc_span[3e163d59592952e6]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  22:     0x7fb622a15ecd - rustc_middle[f12e14326fcb6d37]::util::bug::bug_fmt
  23:     0x7fb62366cc5e - rustc_monomorphize[cbdbc32531e69938]::collector::collect_neighbours
  24:     0x7fb62365c980 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_items_rec
  25:     0x7fb62365ce30 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_items_rec
  26:     0x7fb62365ce30 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_items_rec
  27:     0x7fb62365ce30 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_items_rec
  28:     0x7fb62365ce30 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_items_rec
  29:     0x7fb62365ce30 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_items_rec
  30:     0x7fb623c65c13 - <rustc_session[ed834786aaef6aa]::session::Session>::time::<(), rustc_monomorphize[cbdbc32531e69938]::collector::collect_crate_mono_items::{closure#1}>
  31:     0x7fb623c645f0 - rustc_monomorphize[cbdbc32531e69938]::collector::collect_crate_mono_items
  32:     0x7fb623c62e57 - rustc_monomorphize[cbdbc32531e69938]::partitioning::collect_and_partition_mono_items
  33:     0x7fb624030a9c - rustc_query_system[284fc37ba8dbaa13]::query::plumbing::try_execute_query::<rustc_query_impl[14a35b422f4e9e94]::queries::collect_and_partition_mono_items, rustc_query_impl[14a35b422f4e9e94]::plumbing::QueryCtxt>
  34:     0x7fb62403077d - rustc_query_impl[14a35b422f4e9e94]::get_query::collect_and_partition_mono_items
  35:     0x7fb623d43ccb - rustc_codegen_ssa[4fe01baa5c138594]::base::codegen_crate::<rustc_codegen_llvm[d2c4cb38c8b71de1]::LlvmCodegenBackend>
  36:     0x7fb623d43ab2 - <rustc_codegen_llvm[d2c4cb38c8b71de1]::LlvmCodegenBackend as rustc_codegen_ssa[4fe01baa5c138594]::traits::backend::CodegenBackend>::codegen_crate
  37:     0x7fb623a36eb0 - rustc_interface[5dd728079daf5b2f]::passes::start_codegen
  38:     0x7fb623a31ec7 - <rustc_middle[f12e14326fcb6d37]::ty::context::GlobalCtxt>::enter::<<rustc_interface[5dd728079daf5b2f]::queries::Queries>::ongoing_codegen::{closure#0}::{closure#0}, core[1a45016e46435943]::result::Result<alloc[f90fa24b258e2697]::boxed::Box<dyn core[1a45016e46435943]::any::Any>, rustc_span[3e163d59592952e6]::ErrorGuaranteed>>
  39:     0x7fb623a3154d - <rustc_interface[5dd728079daf5b2f]::queries::Queries>::ongoing_codegen
  40:     0x7fb623a30b03 - <rustc_interface[5dd728079daf5b2f]::interface::Compiler>::enter::<rustc_driver_impl[dde0876b390e6a89]::run_compiler::{closure#1}::{closure#2}, core[1a45016e46435943]::result::Result<core[1a45016e46435943]::option::Option<rustc_interface[5dd728079daf5b2f]::queries::Linker>, rustc_span[3e163d59592952e6]::ErrorGuaranteed>>
  41:     0x7fb623a2eb71 - rustc_span[3e163d59592952e6]::set_source_map::<core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>, rustc_interface[5dd728079daf5b2f]::interface::run_compiler<core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>, rustc_driver_impl[dde0876b390e6a89]::run_compiler::{closure#1}>::{closure#0}::{closure#0}>
  42:     0x7fb623a2e220 - std[d48aaa48ad184f7f]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[5dd728079daf5b2f]::util::run_in_thread_pool_with_globals<rustc_interface[5dd728079daf5b2f]::interface::run_compiler<core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>, rustc_driver_impl[dde0876b390e6a89]::run_compiler::{closure#1}>::{closure#0}, core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>>
  43:     0x7fb6240eceb5 - <<std[d48aaa48ad184f7f]::thread::Builder>::spawn_unchecked_<rustc_interface[5dd728079daf5b2f]::util::run_in_thread_pool_with_globals<rustc_interface[5dd728079daf5b2f]::interface::run_compiler<core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>, rustc_driver_impl[dde0876b390e6a89]::run_compiler::{closure#1}>::{closure#0}, core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[1a45016e46435943]::result::Result<(), rustc_span[3e163d59592952e6]::ErrorGuaranteed>>::{closure#1} as core[1a45016e46435943]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  44:     0x7fb6215f14d5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hf9d590878bec4a84
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/alloc/src/boxed.rs:1985:9
  45:     0x7fb6215f14d5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h3b901df10d727b47
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/alloc/src/boxed.rs:1985:9
  46:     0x7fb6215f14d5 - std::sys::unix::thread::Thread::new::thread_start::hbbc99806fcfda4ba
                               at /rustc/c4190f2d3a46a59f435f7b42f58bc22b2f4d6917/library/std/src/sys/unix/thread.rs:108:17
  47:     0x7fb621338b43 - start_thread
                               at ./nptl/pthread_create.c:442:8
  48:     0x7fb6213caa00 - clone3
                               at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
  49:                0x0 - <unknown>

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.71.0-nightly (c4190f2d3 2023-05-07) running on x86_64-unknown-linux-gnu

note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no

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

query stack during panic:
#0 [collect_and_partition_mono_items] collect_and_partition_mono_items
end of query stack
error: could not compile `wgpu` (lib)

@robertpauson robertpauson 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 May 8, 2023
@kpreid
Copy link
Contributor

kpreid commented May 9, 2023

I believe this is a duplicate of #111368.

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) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants