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

ICE: no MIR available for DefId #111321

Closed
foresterre opened this issue May 7, 2023 · 2 comments · Fixed by #111371
Closed

ICE: no MIR available for DefId #111321

foresterre opened this issue May 7, 2023 · 2 comments · 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

@foresterre
Copy link
Contributor

foresterre commented May 7, 2023

Code

TBD: Compile failed on dependency

<code>

Meta

rustc --version --verbose:

rustc 1.71.0-nightly (a77c55248 2023-05-06) running on x86_64-unknown-linux-gnu

Error output

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

and

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

and

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

  Compiling textwrap v0.11.0
     Running `/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc --crate-name textwrap /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/textwrap-0.11.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=3c48c42533d1b059 -C extra-filename=-3c48c42533d1b059 --out-dir /home/runner/work/miniview/miniview/target/debug/deps -L dependency=/home/runner/work/miniview/miniview/target/debug/deps --extern unicode_width=/home/runner/work/miniview/miniview/target/debug/deps/libunicode_width-0007ff8a2df2d4fc.rmeta --cap-lints allow`
error: internal compiler error: compiler/rustc_monomorphize/src/collector.rs:1038:9: no MIR available for DefId(30:2883 ~ wgpu_core[ad53]::track::texture::{impl#0}::any_exclusive)

thread 'rustc' panicked at 'Box<dyn Any>', /rustc/a77c552485a19245a266bc03c450676c666b605f/compiler/rustc_errors/src/lib.rs:1650:9
stack backtrace:
   0:     0x7fe0a460a0d1 - std::backtrace_rs::backtrace::libunwind::trace::h748efa8d196594ea
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7fe0a460a0d1 - std::backtrace_rs::backtrace::trace_unsynchronized::hba1b195853d9d394
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7fe0a460a0d1 - std::sys_common::backtrace::_print_fmt::hf5baf2e14c45ba0c
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x7fe0a460a0d1 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hbf761e313ca3ada9
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7fe0a466ad9f - core::fmt::rt::Argument::fmt::h9a4b2d89a60be8da
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/core/src/fmt/rt.rs:138:9
   5:     0x7fe0a466ad9f - core::fmt::write::h66441248ae33813a
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/core/src/fmt/mod.rs:1094:21
   6:     0x7fe0a45fd1b1 - std::io::Write::write_fmt::ha691d967a2ddc69c
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/io/mod.rs:1712:15
   7:     0x7fe0a4609ee5 - std::sys_common::backtrace::_print::hdcec4f4c10a19269
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7fe0a4609ee5 - std::sys_common::backtrace::print::ha30bc382982a7953
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7fe0a460cb77 - std::panicking::default_hook::{{closure}}::hcc3f39fea9e4a023
  10:     0x7fe0a460c964 - std::panicking::default_hook::h126f3b7e37854051
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/panicking.rs:288:9
  11:     0x7fe0a781950b - <rustc_driver_impl[aec4a7513f090b1c]::install_ice_hook::{closure#0} as core[f726735fcfc4c81f]::ops::function::FnOnce<(&core[f726735fcfc4c81f]::panic::panic_info::PanicInfo,)>>::call_once::{shim:vtable#0}
  12:     0x7fe0a460d297 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h6b1f581dc385c03f
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/alloc/src/boxed.rs:1999:9
  13:     0x7fe0a460d297 - std::panicking::rust_panic_with_hook::ha3a27ba12ace114b
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/panicking.rs:695:13
  14:     0x7fe0a7cdb631 - std[e4b786b2c1bf012e]::panicking::begin_panic::<rustc_errors[f0f4f283a457f9d8]::ExplicitBug>::{closure#0}
  15:     0x7fe0a7cdafd6 - std[e4b786b2c1bf012e]::sys_common::backtrace::__rust_end_short_backtrace::<std[e4b786b2c1bf012e]::panicking::begin_panic<rustc_errors[f0f4f283a457f9d8]::ExplicitBug>::{closure#0}, !>
  16:     0x7fe0a7d01d96 - std[e4b786b2c1bf012e]::panicking::begin_panic::<rustc_errors[f0f4f283a457f9d8]::ExplicitBug>
  17:     0x7fe0a7cff204 - <rustc_errors[f0f4f283a457f9d8]::HandlerInner>::bug::<alloc[77130ea3736d3316]::string::String>
  18:     0x7fe0a7cfef36 - <rustc_errors[f0f4f283a457f9d8]::Handler>::bug::<alloc[77130ea3736d3316]::string::String>
  19:     0x7fe0a7d86edc - rustc_middle[3ab9e3af7de3f1b4]::util::bug::opt_span_bug_fmt::<rustc_span[bfe87b81068afb7a]::span_encoding::Span>::{closure#0}
  20:     0x7fe0a7d8670a - rustc_middle[3ab9e3af7de3f1b4]::ty::context::tls::with_opt::<rustc_middle[3ab9e3af7de3f1b4]::util::bug::opt_span_bug_fmt<rustc_span[bfe87b81068afb7a]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  21:     0x7fe0a7d866da - rustc_middle[3ab9e3af7de3f1b4]::ty::context::tls::with_context_opt::<rustc_middle[3ab9e3af7de3f1b4]::ty::context::tls::with_opt<rustc_middle[3ab9e3af7de3f1b4]::util::bug::opt_span_bug_fmt<rustc_span[bfe87b81068afb7a]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  22:     0x7fe0a5ac0f2d - rustc_middle[3ab9e3af7de3f1b4]::util::bug::bug_fmt
  23:     0x7fe0a66af365 - rustc_monomorphize[43c3319028fe3522]::collector::collect_neighbours
  24:     0x7fe0a669f1e0 - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  25:     0x7fe0a669f68f - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  26:     0x7fe0a669f68f - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  27:     0x7fe0a669f68f - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  28:     0x7fe0a669f68f - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  29:     0x7fe0a6c85d43 - <rustc_session[a7eb9f8fd634435]::session::Session>::time::<(), rustc_monomorphize[43c3319028fe3522]::collector::collect_crate_mono_items::{closure#1}>
  30:     0x7fe0a6c84720 - rustc_monomorphize[43c3319028fe3522]::collector::collect_crate_mono_items
  31:     0x7fe0a6c82f87 - rustc_monomorphize[43c3319028fe3522]::partitioning::collect_and_partition_mono_items
  32:     0x7fe0a705350c - rustc_query_system[917e91cab306a717]::query::plumbing::try_execute_query::<rustc_query_impl[43a49a3d2918852e]::queries::collect_and_partition_mono_items, rustc_query_impl[43a49a3d2918852e]::plumbing::QueryCtxt>
  33:     0x7fe0a70531ed - rustc_query_impl[43a49a3d2918852e]::get_query::collect_and_partition_mono_items
  34:     0x7fe0a702e6d5 - rustc_codegen_ssa[b485fc4033f4517d]::back::symbol_export::exported_symbols_provider_local
  35:     0x7fe0a6f6c508 - rustc_query_system[917e91cab306a717]::query::plumbing::try_execute_query::<rustc_query_impl[43a49a3d2918852e]::queries::exported_symbols, rustc_query_impl[43a49a3d2918852e]::plumbing::QueryCtxt>
  36:     0x7fe0a6f6bdb5 - rustc_query_impl[43a49a3d2918852e]::get_query::exported_symbols
  37:     0x7fe0a6ad7850 - <rustc_metadata[722736a946d055d0]::rmeta::encoder::EncodeContext>::encode_crate_root
  38:     0x7fe0a6a5f4fc - rustc_metadata[722736a946d055d0]::rmeta::encoder::encode_metadata_impl
  39:     0x7fe0a6a5a506 - rustc_metadata[722736a946d055d0]::rmeta::encoder::encode_metadata
  40:     0x7fe0a6a58ece - rustc_metadata[722736a946d055d0]::fs::encode_and_write_metadata
  41:     0x7fe0a6a4e58f - rustc_interface[8020cbc989be0ea1]::passes::start_codegen
  42:     0x7fe0a6a49b27 - <rustc_middle[3ab9e3af7de3f1b4]::ty::context::GlobalCtxt>::enter::<<rustc_interface[8020cbc989be0ea1]::queries::Queries>::ongoing_codegen::{closure#0}::{closure#0}, core[f726735fcfc4c81f]::result::Result<alloc[77130ea3736d3316]::boxed::Box<dyn core[f726735fcfc4c81f]::any::Any>, rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>
  43:     0x7fe0a6a49108 - <rustc_interface[8020cbc989be0ea1]::queries::Queries>::ongoing_codegen
  44:     0x7fe0a6a48843 - <rustc_interface[8020cbc989be0ea1]::interface::Compiler>::enter::<rustc_driver_impl[aec4a7513f090b1c]::run_compiler::{closure#1}::{closure#2}, core[f726735fcfc4c81f]::result::Result<core[f726735fcfc4c81f]::option::Option<rustc_interface[8020cbc989be0ea1]::queries::Linker>, rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>
  45:     0x7fe0a6a468b1 - rustc_span[bfe87b81068afb7a]::set_source_map::<core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>, rustc_interface[8020cbc989be0ea1]::interface::run_compiler<core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>, rustc_driver_impl[aec4a7513f090b1c]::run_compiler::{closure#1}>::{closure#0}::{closure#0}>
  46:     0x7fe0a6a45f60 - std[e4b786b2c1bf012e]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[8020cbc989be0ea1]::util::run_in_thread_pool_with_globals<rustc_interface[8020cbc989be0ea1]::interface::run_compiler<core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>, rustc_driver_impl[aec4a7513f090b1c]::run_compiler::{closure#1}>::{closure#0}, core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>
  47:     0x7fe0a710c3e5 - <<std[e4b786b2c1bf012e]::thread::Builder>::spawn_unchecked_<rustc_interface[8020cbc989be0ea1]::util::run_in_thread_pool_with_globals<rustc_interface[8020cbc989be0ea1]::interface::run_compiler<core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>, rustc_driver_impl[aec4a7513f090b1c]::run_compiler::{closure#1}>::{closure#0}, core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>::{closure#1} as core[f726735fcfc4c81f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  48:     0x7fe0a4617775 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hcf250329e90c3f77
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/alloc/src/boxed.rs:1985:9
  49:     0x7fe0a4617775 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h3a648c216d9fc25d
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/alloc/src/boxed.rs:1985:9
  50:     0x7fe0a4617775 - std::sys::unix::thread::Thread::new::thread_start::ha9800a047bb8dea3
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/sys/unix/thread.rs:108:17
  51:     0x7fe0a4363b43 - <unknown>
  52:     0x7fe0a43f5a00 - <unknown>
  53:                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 (a77c55248 2023-05-06) running on x86_64-unknown-linux-gnu

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:
#0 [collect_and_partition_mono_items] collect_and_partition_mono_items
#1 [exported_symbols] collecting exported symbols for crate `0`
end of query stack
error: internal compiler error: compiler/rustc_monomorphize/src/collector.rs:1038:9: no MIR available for DefId(30:2720 ~ wgpu_core[ad53]::track::buffer::{impl#0}::any_exclusive)

thread 'rustc' panicked at 'Box<dyn Any>', /rustc/a77c552485a19245a266bc03c450676c666b605f/compiler/rustc_errors/src/lib.rs:1650:9
stack backtrace:
   0:     0x7fe0a460a0d1 - std::backtrace_rs::backtrace::libunwind::trace::h748efa8d196594ea
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7fe0a460a0d1 - std::backtrace_rs::backtrace::trace_unsynchronized::hba1b195853d9d394
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7fe0a460a0d1 - std::sys_common::backtrace::_print_fmt::hf5baf2e14c45ba0c
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x7fe0a460a0d1 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hbf761e313ca3ada9
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7fe0a466ad9f - core::fmt::rt::Argument::fmt::h9a4b2d89a60be8da
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/core/src/fmt/rt.rs:138:9
   5:     0x7fe0a466ad9f - core::fmt::write::h66441248ae33813a
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/core/src/fmt/mod.rs:1094:21
   6:     0x7fe0a45fd1b1 - std::io::Write::write_fmt::ha691d967a2ddc69c
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/io/mod.rs:1712:15
   7:     0x7fe0a4609ee5 - std::sys_common::backtrace::_print::hdcec4f4c10a19269
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7fe0a4609ee5 - std::sys_common::backtrace::print::ha30bc382982a7953
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7fe0a460cb77 - std::panicking::default_hook::{{closure}}::hcc3f39fea9e4a023
  10:     0x7fe0a460c964 - std::panicking::default_hook::h126f3b7e37854051
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/panicking.rs:288:9
  11:     0x7fe0a781950b - <rustc_driver_impl[aec4a7513f090b1c]::install_ice_hook::{closure#0} as core[f726735fcfc4c81f]::ops::function::FnOnce<(&core[f726735fcfc4c81f]::panic::panic_info::PanicInfo,)>>::call_once::{shim:vtable#0}
  12:     0x7fe0a460d297 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h6b1f581dc385c03f
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/alloc/src/boxed.rs:1999:9
  13:     0x7fe0a460d297 - std::panicking::rust_panic_with_hook::ha3a27ba12ace114b
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/panicking.rs:695:13
  14:     0x7fe0a7cdb631 - std[e4b786b2c1bf012e]::panicking::begin_panic::<rustc_errors[f0f4f283a457f9d8]::ExplicitBug>::{closure#0}
  15:     0x7fe0a7cdafd6 - std[e4b786b2c1bf012e]::sys_common::backtrace::__rust_end_short_backtrace::<std[e4b786b2c1bf012e]::panicking::begin_panic<rustc_errors[f0f4f283a457f9d8]::ExplicitBug>::{closure#0}, !>
  16:     0x7fe0a7d01d96 - std[e4b786b2c1bf012e]::panicking::begin_panic::<rustc_errors[f0f4f283a457f9d8]::ExplicitBug>
  17:     0x7fe0a7cff204 - <rustc_errors[f0f4f283a457f9d8]::HandlerInner>::bug::<alloc[77130ea3736d3316]::string::String>
  18:     0x7fe0a7cfef36 - <rustc_errors[f0f4f283a457f9d8]::Handler>::bug::<alloc[77130ea3736d3316]::string::String>
  19:     0x7fe0a7d86edc - rustc_middle[3ab9e3af7de3f1b4]::util::bug::opt_span_bug_fmt::<rustc_span[bfe87b81068afb7a]::span_encoding::Span>::{closure#0}
  20:     0x7fe0a7d8670a - rustc_middle[3ab9e3af7de3f1b4]::ty::context::tls::with_opt::<rustc_middle[3ab9e3af7de3f1b4]::util::bug::opt_span_bug_fmt<rustc_span[bfe87b81068afb7a]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  21:     0x7fe0a7d866da - rustc_middle[3ab9e3af7de3f1b4]::ty::context::tls::with_context_opt::<rustc_middle[3ab9e3af7de3f1b4]::ty::context::tls::with_opt<rustc_middle[3ab9e3af7de3f1b4]::util::bug::opt_span_bug_fmt<rustc_span[bfe87b81068afb7a]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  22:     0x7fe0a5ac0f2d - rustc_middle[3ab9e3af7de3f1b4]::util::bug::bug_fmt
  23:     0x7fe0a66af365 - rustc_monomorphize[43c3319028fe3522]::collector::collect_neighbours
  24:     0x7fe0a669f1e0 - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  25:     0x7fe0a669f68f - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  26:     0x7fe0a669f68f - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  27:     0x7fe0a669f68f - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  28:     0x7fe0a669f68f - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  29:     0x7fe0a6c85d43 - <rustc_session[a7eb9f8fd634435]::session::Session>::time::<(), rustc_monomorphize[43c3319028fe3522]::collector::collect_crate_mono_items::{closure#1}>
  30:     0x7fe0a6c84720 - rustc_monomorphize[43c3319028fe3522]::collector::collect_crate_mono_items
  31:     0x7fe0a6c82f87 - rustc_monomorphize[43c3319028fe3522]::partitioning::collect_and_partition_mono_items
  32:     0x7fe0a705350c - rustc_query_system[917e91cab306a717]::query::plumbing::try_execute_query::<rustc_query_impl[43a49a3d2918852e]::queries::collect_and_partition_mono_items, rustc_query_impl[43a49a3d2918852e]::plumbing::QueryCtxt>
  33:     0x7fe0a70531ed - rustc_query_impl[43a49a3d2918852e]::get_query::collect_and_partition_mono_items
  34:     0x7fe0a702e6d5 - rustc_codegen_ssa[b485fc4033f4517d]::back::symbol_export::exported_symbols_provider_local
  35:     0x7fe0a6f6c508 - rustc_query_system[917e91cab306a717]::query::plumbing::try_execute_query::<rustc_query_impl[43a49a3d2918852e]::queries::exported_symbols, rustc_query_impl[43a49a3d2918852e]::plumbing::QueryCtxt>
  36:     0x7fe0a6f6bdb5 - rustc_query_impl[43a49a3d2918852e]::get_query::exported_symbols
  37:     0x7fe0a6ad7850 - <rustc_metadata[722736a946d055d0]::rmeta::encoder::EncodeContext>::encode_crate_root
  38:     0x7fe0a6a5f4fc - rustc_metadata[722736a946d055d0]::rmeta::encoder::encode_metadata_impl
  39:     0x7fe0a6a5a506 - rustc_metadata[722736a946d055d0]::rmeta::encoder::encode_metadata
  40:     0x7fe0a6a58ece - rustc_metadata[722736a946d055d0]::fs::encode_and_write_metadata
  41:     0x7fe0a6a4e58f - rustc_interface[8020cbc989be0ea1]::passes::start_codegen
  42:     0x7fe0a6a49b27 - <rustc_middle[3ab9e3af7de3f1b4]::ty::context::GlobalCtxt>::enter::<<rustc_interface[8020cbc989be0ea1]::queries::Queries>::ongoing_codegen::{closure#0}::{closure#0}, core[f726735fcfc4c81f]::result::Result<alloc[77130ea3736d3316]::boxed::Box<dyn core[f726735fcfc4c81f]::any::Any>, rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>
  43:     0x7fe0a6a49108 - <rustc_interface[8020cbc989be0ea1]::queries::Queries>::ongoing_codegen
  44:     0x7fe0a6a48843 - <rustc_interface[8020cbc989be0ea1]::interface::Compiler>::enter::<rustc_driver_impl[aec4a7513f090b1c]::run_compiler::{closure#1}::{closure#2}, core[f726735fcfc4c81f]::result::Result<core[f726735fcfc4c81f]::option::Option<rustc_interface[8020cbc989be0ea1]::queries::Linker>, rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>
  45:     0x7fe0a6a468b1 - rustc_span[bfe87b81068afb7a]::set_source_map::<core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>, rustc_interface[8020cbc989be0ea1]::interface::run_compiler<core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>, rustc_driver_impl[aec4a7513f090b1c]::run_compiler::{closure#1}>::{closure#0}::{closure#0}>
  46:     0x7fe0a6a45f60 - std[e4b786b2c1bf012e]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[8020cbc989be0ea1]::util::run_in_thread_pool_with_globals<rustc_interface[8020cbc989be0ea1]::interface::run_compiler<core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>, rustc_driver_impl[aec4a7513f090b1c]::run_compiler::{closure#1}>::{closure#0}, core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>
  47:     0x7fe0a710c3e5 - <<std[e4b786b2c1bf012e]::thread::Builder>::spawn_unchecked_<rustc_interface[8020cbc989be0ea1]::util::run_in_thread_pool_with_globals<rustc_interface[8020cbc989be0ea1]::interface::run_compiler<core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>, rustc_driver_impl[aec4a7513f090b1c]::run_compiler::{closure#1}>::{closure#0}, core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>::{closure#1} as core[f726735fcfc4c81f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  48:     0x7fe0a4617775 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hcf250329e90c3f77
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/alloc/src/boxed.rs:1985:9
  49:     0x7fe0a4617775 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h3a648c216d9fc25d
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/alloc/src/boxed.rs:1985:9
  50:     0x7fe0a4617775 - std::sys::unix::thread::Thread::new::thread_start::ha9800a047bb8dea3
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/sys/unix/thread.rs:108:17
  51:     0x7fe0a4363b43 - <unknown>
  52:     0x7fe0a43f5a00 - <unknown>
  53:                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 (a77c55248 2023-05-06) running on x86_64-unknown-linux-gnu

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:
#0 [collect_and_partition_mono_items] collect_and_partition_mono_items
#1 [exported_symbols] collecting exported symbols for crate `0`
end of query stack
error: internal compiler error: compiler/rustc_monomorphize/src/collector.rs:1038:9: no MIR available for DefId(30:2719 ~ wgpu_core[ad53]::track::buffer::{impl#0}::all_ordered)

thread 'rustc' panicked at 'Box<dyn Any>', /rustc/a77c552485a19245a266bc03c450676c666b605f/compiler/rustc_errors/src/lib.rs:1650:9
stack backtrace:
   0:     0x7fe0a460a0d1 - std::backtrace_rs::backtrace::libunwind::trace::h748efa8d196594ea
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7fe0a460a0d1 - std::backtrace_rs::backtrace::trace_unsynchronized::hba1b195853d9d394
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7fe0a460a0d1 - std::sys_common::backtrace::_print_fmt::hf5baf2e14c45ba0c
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x7fe0a460a0d1 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hbf761e313ca3ada9
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7fe0a466ad9f - core::fmt::rt::Argument::fmt::h9a4b2d89a60be8da
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/core/src/fmt/rt.rs:138:9
   5:     0x7fe0a466ad9f - core::fmt::write::h66441248ae33813a
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/core/src/fmt/mod.rs:1094:21
   6:     0x7fe0a45fd1b1 - std::io::Write::write_fmt::ha691d967a2ddc69c
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/io/mod.rs:1712:15
   7:     0x7fe0a4609ee5 - std::sys_common::backtrace::_print::hdcec4f4c10a19269
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7fe0a4609ee5 - std::sys_common::backtrace::print::ha30bc382982a7953
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7fe0a460cb77 - std::panicking::default_hook::{{closure}}::hcc3f39fea9e4a023
  10:     0x7fe0a460c964 - std::panicking::default_hook::h126f3b7e37854051
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/panicking.rs:288:9
  11:     0x7fe0a781950b - <rustc_driver_impl[aec4a7513f090b1c]::install_ice_hook::{closure#0} as core[f726735fcfc4c81f]::ops::function::FnOnce<(&core[f726735fcfc4c81f]::panic::panic_info::PanicInfo,)>>::call_once::{shim:vtable#0}
  12:     0x7fe0a460d297 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h6b1f581dc385c03f
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/alloc/src/boxed.rs:1999:9
  13:     0x7fe0a460d297 - std::panicking::rust_panic_with_hook::ha3a27ba12ace114b
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/panicking.rs:695:13
  14:     0x7fe0a7cdb631 - std[e4b786b2c1bf012e]::panicking::begin_panic::<rustc_errors[f0f4f283a457f9d8]::ExplicitBug>::{closure#0}
  15:     0x7fe0a7cdafd6 - std[e4b786b2c1bf012e]::sys_common::backtrace::__rust_end_short_backtrace::<std[e4b786b2c1bf012e]::panicking::begin_panic<rustc_errors[f0f4f283a457f9d8]::ExplicitBug>::{closure#0}, !>
  16:     0x7fe0a7d01d96 - std[e4b786b2c1bf012e]::panicking::begin_panic::<rustc_errors[f0f4f283a457f9d8]::ExplicitBug>
  17:     0x7fe0a7cff204 - <rustc_errors[f0f4f283a457f9d8]::HandlerInner>::bug::<alloc[77130ea3736d3316]::string::String>
  18:     0x7fe0a7cfef36 - <rustc_errors[f0f4f283a457f9d8]::Handler>::bug::<alloc[77130ea3736d3316]::string::String>
  19:     0x7fe0a7d86edc - rustc_middle[3ab9e3af7de3f1b4]::util::bug::opt_span_bug_fmt::<rustc_span[bfe87b81068afb7a]::span_encoding::Span>::{closure#0}
  20:     0x7fe0a7d8670a - rustc_middle[3ab9e3af7de3f1b4]::ty::context::tls::with_opt::<rustc_middle[3ab9e3af7de3f1b4]::util::bug::opt_span_bug_fmt<rustc_span[bfe87b81068afb7a]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  21:     0x7fe0a7d866da - rustc_middle[3ab9e3af7de3f1b4]::ty::context::tls::with_context_opt::<rustc_middle[3ab9e3af7de3f1b4]::ty::context::tls::with_opt<rustc_middle[3ab9e3af7de3f1b4]::util::bug::opt_span_bug_fmt<rustc_span[bfe87b81068afb7a]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  22:     0x7fe0a5ac0f2d - rustc_middle[3ab9e3af7de3f1b4]::util::bug::bug_fmt
  23:     0x7fe0a66af365 - rustc_monomorphize[43c3319028fe3522]::collector::collect_neighbours
  24:     0x7fe0a669f1e0 - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  25:     0x7fe0a669f68f - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  26:     0x7fe0a669f68f - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  27:     0x7fe0a669f68f - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  28:     0x7fe0a669f68f - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  29:     0x7fe0a669f68f - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  30:     0x7fe0a6c85d43 - <rustc_session[a7eb9f8fd634435]::session::Session>::time::<(), rustc_monomorphize[43c3319028fe3522]::collector::collect_crate_mono_items::{closure#1}>
  31:     0x7fe0a6c84720 - rustc_monomorphize[43c3319028fe3522]::collector::collect_crate_mono_items
  32:     0x7fe0a6c82f87 - rustc_monomorphize[43c3319028fe3522]::partitioning::collect_and_partition_mono_items
  33:     0x7fe0a705350c - rustc_query_system[917e91cab306a717]::query::plumbing::try_execute_query::<rustc_query_impl[43a49a3d2918852e]::queries::collect_and_partition_mono_items, rustc_query_impl[43a49a3d2918852e]::plumbing::QueryCtxt>
  34:     0x7fe0a70531ed - rustc_query_impl[43a49a3d2918852e]::get_query::collect_and_partition_mono_items
  35:     0x7fe0a702e6d5 - rustc_codegen_ssa[b485fc4033f4517d]::back::symbol_export::exported_symbols_provider_local
  36:     0x7fe0a6f6c508 - rustc_query_system[917e91cab306a717]::query::plumbing::try_execute_query::<rustc_query_impl[43a49a3d2918852e]::queries::exported_symbols, rustc_query_impl[43a49a3d2918852e]::plumbing::QueryCtxt>
  37:     0x7fe0a6f6bdb5 - rustc_query_impl[43a49a3d2918852e]::get_query::exported_symbols
  38:     0x7fe0a6ad7850 - <rustc_metadata[722736a946d055d0]::rmeta::encoder::EncodeContext>::encode_crate_root
  39:     0x7fe0a6a5f4fc - rustc_metadata[722736a946d055d0]::rmeta::encoder::encode_metadata_impl
  40:     0x7fe0a6a5a506 - rustc_metadata[722736a946d055d0]::rmeta::encoder::encode_metadata
  41:     0x7fe0a6a58ece - rustc_metadata[722736a946d055d0]::fs::encode_and_write_metadata
  42:     0x7fe0a6a4e58f - rustc_interface[8020cbc989be0ea1]::passes::start_codegen
  43:     0x7fe0a6a49b27 - <rustc_middle[3ab9e3af7de3f1b4]::ty::context::GlobalCtxt>::enter::<<rustc_interface[8020cbc989be0ea1]::queries::Queries>::ongoing_codegen::{closure#0}::{closure#0}, core[f726735fcfc4c81f]::result::Result<alloc[77130ea3736d3316]::boxed::Box<dyn core[f726735fcfc4c81f]::any::Any>, rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>
  44:     0x7fe0a6a49108 - <rustc_interface[8020cbc989be0ea1]::queries::Queries>::ongoing_codegen
  45:     0x7fe0a6a48843 - <rustc_interface[8020cbc989be0ea1]::interface::Compiler>::enter::<rustc_driver_impl[aec4a7513f090b1c]::run_compiler::{closure#1}::{closure#2}, core[f726735fcfc4c81f]::result::Result<core[f726735fcfc4c81f]::option::Option<rustc_interface[8020cbc989be0ea1]::queries::Linker>, rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>
  46:     0x7fe0a6a468b1 - rustc_span[bfe87b81068afb7a]::set_source_map::<core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>, rustc_interface[8020cbc989be0ea1]::interface::run_compiler<core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>, rustc_driver_impl[aec4a7513f090b1c]::run_compiler::{closure#1}>::{closure#0}::{closure#0}>
  47:     0x7fe0a6a45f60 - std[e4b786b2c1bf012e]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[8020cbc989be0ea1]::util::run_in_thread_pool_with_globals<rustc_interface[8020cbc989be0ea1]::interface::run_compiler<core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>, rustc_driver_impl[aec4a7513f090b1c]::run_compiler::{closure#1}>::{closure#0}, core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>
  48:     0x7fe0a710c3e5 - <<std[e4b786b2c1bf012e]::thread::Builder>::spawn_unchecked_<rustc_interface[8020cbc989be0ea1]::util::run_in_thread_pool_with_globals<rustc_interface[8020cbc989be0ea1]::interface::run_compiler<core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>, rustc_driver_impl[aec4a7513f090b1c]::run_compiler::{closure#1}>::{closure#0}, core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>::{closure#1} as core[f726735fcfc4c81f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
   Compiling qoi v0.4.1
     Running `/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc --crate-name qoi --edition=2021 /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/qoi-0.4.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=ccdc5884f9b3ea00 -C extra-filename=-ccdc5884f9b3ea00 --out-dir /home/runner/work/miniview/miniview/target/debug/deps -L dependency=/home/runner/work/miniview/miniview/target/debug/deps --extern bytemuck=/home/runner/work/miniview/miniview/target/debug/deps/libbytemuck-32a333c46e16c861.rmeta --cap-lints allow`
  49:     0x7fe0a4617775 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hcf250329e90c3f77
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/alloc/src/boxed.rs:1985:9
  50:     0x7fe0a4617775 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h3a648c216d9fc25d
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/alloc/src/boxed.rs:1985:9
  51:     0x7fe0a4617775 - std::sys::unix::thread::Thread::new::thread_start::ha9800a047bb8dea3
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/sys/unix/thread.rs:108:17
  52:     0x7fe0a4363b43 - <unknown>
  53:     0x7fe0a43f5a00 - <unknown>
  54:                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 (a77c55248 2023-05-06) running on x86_64-unknown-linux-gnu

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:
#0 [collect_and_partition_mono_items] collect_and_partition_mono_items
#1 [exported_symbols] collecting exported symbols for crate `0`
end of query stack
error: internal compiler error: compiler/rustc_monomorphize/src/collector.rs:1038:9: no MIR available for DefId(30:2882 ~ wgpu_core[ad53]::track::texture::{impl#0}::all_ordered)

thread 'rustc' panicked at 'Box<dyn Any>', /rustc/a77c552485a19245a266bc03c450676c666b605f/compiler/rustc_errors/src/lib.rs:1650:9
stack backtrace:
   0:     0x7fe0a460a0d1 - std::backtrace_rs::backtrace::libunwind::trace::h748efa8d196594ea
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7fe0a460a0d1 - std::backtrace_rs::backtrace::trace_unsynchronized::hba1b195853d9d394
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7fe0a460a0d1 - std::sys_common::backtrace::_print_fmt::hf5baf2e14c45ba0c
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x7fe0a460a0d1 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hbf761e313ca3ada9
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7fe0a466ad9f - core::fmt::rt::Argument::fmt::h9a4b2d89a60be8da
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/core/src/fmt/rt.rs:138:9
   5:     0x7fe0a466ad9f - core::fmt::write::h66441248ae33813a
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/core/src/fmt/mod.rs:1094:21
   6:     0x7fe0a45fd1b1 - std::io::Write::write_fmt::ha691d967a2ddc69c
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/io/mod.rs:1712:15
   7:     0x7fe0a4609ee5 - std::sys_common::backtrace::_print::hdcec4f4c10a19269
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7fe0a4609ee5 - std::sys_common::backtrace::print::ha30bc382982a7953
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7fe0a460cb77 - std::panicking::default_hook::{{closure}}::hcc3f39fea9e4a023
  10:     0x7fe0a460c964 - std::panicking::default_hook::h126f3b7e37854051
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/panicking.rs:288:9
  11:     0x7fe0a781950b - <rustc_driver_impl[aec4a7513f090b1c]::install_ice_hook::{closure#0} as core[f726735fcfc4c81f]::ops::function::FnOnce<(&core[f726735fcfc4c81f]::panic::panic_info::PanicInfo,)>>::call_once::{shim:vtable#0}
  12:     0x7fe0a460d297 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h6b1f581dc385c03f
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/alloc/src/boxed.rs:1999:9
  13:     0x7fe0a460d297 - std::panicking::rust_panic_with_hook::ha3a27ba12ace114b
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/panicking.rs:695:13
  14:     0x7fe0a7cdb631 - std[e4b786b2c1bf012e]::panicking::begin_panic::<rustc_errors[f0f4f283a457f9d8]::ExplicitBug>::{closure#0}
  15:     0x7fe0a7cdafd6 - std[e4b786b2c1bf012e]::sys_common::backtrace::__rust_end_short_backtrace::<std[e4b786b2c1bf012e]::panicking::begin_panic<rustc_errors[f0f4f283a457f9d8]::ExplicitBug>::{closure#0}, !>
  16:     0x7fe0a7d01d96 - std[e4b786b2c1bf012e]::panicking::begin_panic::<rustc_errors[f0f4f283a457f9d8]::ExplicitBug>
  17:     0x7fe0a7cff204 - <rustc_errors[f0f4f283a457f9d8]::HandlerInner>::bug::<alloc[77130ea3736d3316]::string::String>
  18:     0x7fe0a7cfef36 - <rustc_errors[f0f4f283a457f9d8]::Handler>::bug::<alloc[77130ea3736d3316]::string::String>
  19:     0x7fe0a7d86edc - rustc_middle[3ab9e3af7de3f1b4]::util::bug::opt_span_bug_fmt::<rustc_span[bfe87b81068afb7a]::span_encoding::Span>::{closure#0}
  20:     0x7fe0a7d8670a - rustc_middle[3ab9e3af7de3f1b4]::ty::context::tls::with_opt::<rustc_middle[3ab9e3af7de3f1b4]::util::bug::opt_span_bug_fmt<rustc_span[bfe87b81068afb7a]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  21:     0x7fe0a7d866da - rustc_middle[3ab9e3af7de3f1b4]::ty::context::tls::with_context_opt::<rustc_middle[3ab9e3af7de3f1b4]::ty::context::tls::with_opt<rustc_middle[3ab9e3af7de3f1b4]::util::bug::opt_span_bug_fmt<rustc_span[bfe87b81068afb7a]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  22:     0x7fe0a5ac0f2d - rustc_middle[3ab9e3af7de3f1b4]::util::bug::bug_fmt
  23:     0x7fe0a66af365 - rustc_monomorphize[43c3319028fe3522]::collector::collect_neighbours
  24:     0x7fe0a669f1e0 - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  25:     0x7fe0a669f68f - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  26:     0x7fe0a669f68f - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  27:     0x7fe0a669f68f - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  28:     0x7fe0a669f68f - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  29:     0x7fe0a669f68f - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  30:     0x7fe0a669f68f - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  31:     0x7fe0a669f68f - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  32:     0x7fe0a669f68f - rustc_monomorphize[43c3319028fe3522]::collector::collect_items_rec
  33:     0x7fe0a6c85d43 - <rustc_session[a7eb9f8fd634435]::session::Session>::time::<(), rustc_monomorphize[43c3319028fe3522]::collector::collect_crate_mono_items::{closure#1}>
  34:     0x7fe0a6c84720 - rustc_monomorphize[43c3319028fe3522]::collector::collect_crate_mono_items
  35:     0x7fe0a6c82f87 - rustc_monomorphize[43c3319028fe3522]::partitioning::collect_and_partition_mono_items
  36:     0x7fe0a705350c - rustc_query_system[917e91cab306a717]::query::plumbing::try_execute_query::<rustc_query_impl[43a49a3d2918852e]::queries::collect_and_partition_mono_items, rustc_query_impl[43a49a3d2918852e]::plumbing::QueryCtxt>
  37:     0x7fe0a70531ed - rustc_query_impl[43a49a3d2918852e]::get_query::collect_and_partition_mono_items
  38:     0x7fe0a702e6d5 - rustc_codegen_ssa[b485fc4033f4517d]::back::symbol_export::exported_symbols_provider_local
  39:     0x7fe0a6f6c508 - rustc_query_system[917e91cab306a717]::query::plumbing::try_execute_query::<rustc_query_impl[43a49a3d2918852e]::queries::exported_symbols, rustc_query_impl[43a49a3d2918852e]::plumbing::QueryCtxt>
  40:     0x7fe0a6f6bdb5 - rustc_query_impl[43a49a3d2918852e]::get_query::exported_symbols
  41:     0x7fe0a6ad7850 - <rustc_metadata[722736a946d055d0]::rmeta::encoder::EncodeContext>::encode_crate_root
  42:     0x7fe0a6a5f4fc - rustc_metadata[722736a946d055d0]::rmeta::encoder::encode_metadata_impl
  43:     0x7fe0a6a5a506 - rustc_metadata[722736a946d055d0]::rmeta::encoder::encode_metadata
  44:     0x7fe0a6a58ece - rustc_metadata[722736a946d055d0]::fs::encode_and_write_metadata
  45:     0x7fe0a6a4e58f - rustc_interface[8020cbc989be0ea1]::passes::start_codegen
  46:     0x7fe0a6a49b27 - <rustc_middle[3ab9e3af7de3f1b4]::ty::context::GlobalCtxt>::enter::<<rustc_interface[8020cbc989be0ea1]::queries::Queries>::ongoing_codegen::{closure#0}::{closure#0}, core[f726735fcfc4c81f]::result::Result<alloc[77130ea3736d3316]::boxed::Box<dyn core[f726735fcfc4c81f]::any::Any>, rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>
  47:     0x7fe0a6a49108 - <rustc_interface[8020cbc989be0ea1]::queries::Queries>::ongoing_codegen
  48:     0x7fe0a6a48843 - <rustc_interface[8020cbc989be0ea1]::interface::Compiler>::enter::<rustc_driver_impl[aec4a7513f090b1c]::run_compiler::{closure#1}::{closure#2}, core[f726735fcfc4c81f]::result::Result<core[f726735fcfc4c81f]::option::Option<rustc_interface[8020cbc989be0ea1]::queries::Linker>, rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>
  49:     0x7fe0a6a468b1 - rustc_span[bfe87b81068afb7a]::set_source_map::<core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>, rustc_interface[8020cbc989be0ea1]::interface::run_compiler<core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>, rustc_driver_impl[aec4a7513f090b1c]::run_compiler::{closure#1}>::{closure#0}::{closure#0}>
  50:     0x7fe0a6a45f60 - std[e4b786b2c1bf012e]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[8020cbc989be0ea1]::util::run_in_thread_pool_with_globals<rustc_interface[8020cbc989be0ea1]::interface::run_compiler<core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>, rustc_driver_impl[aec4a7513f090b1c]::run_compiler::{closure#1}>::{closure#0}, core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>
  51:     0x7fe0a710c3e5 - <<std[e4b786b2c1bf012e]::thread::Builder>::spawn_unchecked_<rustc_interface[8020cbc989be0ea1]::util::run_in_thread_pool_with_globals<rustc_interface[8020cbc989be0ea1]::interface::run_compiler<core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>, rustc_driver_impl[aec4a7513f090b1c]::run_compiler::{closure#1}>::{closure#0}, core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[f726735fcfc4c81f]::result::Result<(), rustc_span[bfe87b81068afb7a]::ErrorGuaranteed>>::{closure#1} as core[f726735fcfc4c81f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  52:     0x7fe0a4617775 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hcf250329e90c3f77
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/alloc/src/boxed.rs:1985:9
  53:     0x7fe0a4617775 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h3a648c216d9fc25d
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/alloc/src/boxed.rs:1985:9
  54:     0x7fe0a4617775 - std::sys::unix::thread::Thread::new::thread_start::ha9800a047bb8dea3
                               at /rustc/a77c552485a19245a266bc03c450676c666b605f/library/std/src/sys/unix/thread.rs:108:17
  55:     0x7fe0a4363b43 - <unknown>
  56:     0x7fe0a43f5a00 - <unknown>
  57:                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 (a77c55248 2023-05-06) running on x86_64-unknown-linux-gnu

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:
#0 [collect_and_partition_mono_items] collect_and_partition_mono_items
#1 [exported_symbols] collecting exported symbols for crate `0`
end of query stack
error: could not compile `wgpu` (lib)

Caused by:
  process didn't exit successfully: `/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc --crate-name wgpu --edition=2021 /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.13.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' -C metadata=c3e392c657ccbc74 -C extra-filename=-c3e392c657ccbc74 --out-dir /home/runner/work/miniview/miniview/target/debug/deps -L dependency=/home/runner/work/miniview/miniview/target/debug/deps --extern arrayvec=/home/runner/work/miniview/miniview/target/debug/deps/libarrayvec-0c207f55fa823a1a.rmeta --extern log=/home/runner/work/miniview/miniview/target/debug/deps/liblog-f3828053725d5a4e.rmeta --extern parking_lot=/home/runner/work/miniview/miniview/target/debug/deps/libparking_lot-c0f8d9e59db561fc.rmeta --extern raw_window_handle=/home/runner/work/miniview/miniview/target/debug/deps/libraw_window_handle-e367eaac96e0bdf7.rmeta --extern smallvec=/home/runner/work/miniview/miniview/target/debug/deps/libsmallvec-22279d7319a9db92.rmeta --extern wgc=/home/runner/work/miniview/miniview/target/debug/deps/libwgpu_core-1cbcab69f7a41830.rmeta --extern hal=/home/runner/work/miniview/miniview/target/debug/deps/libwgpu_hal-64fbd49395e6c1e5.rmeta --extern wgt=/home/runner/work/miniview/miniview/target/debug/deps/libwgpu_types-7d13a705b5a841bc.rmeta --cap-lints allow` (exit status: 101)
warning: build failed, waiting for other jobs to finish...

Full log: rust-1.71-nightly-panic.log

@foresterre foresterre 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 7, 2023
@y21
Copy link
Member

y21 commented May 7, 2023

This is probably the same issue I've run into in #111320 ?

@foresterre
Copy link
Contributor Author

Likely yes!

bors added a commit to rust-lang-ci/rust that referenced this issue May 9, 2023
…rochenkov

Revert "Populate effective visibilities in `rustc_privacy`"

This reverts commit cff85f2, cc rust-lang#110907. It needs to be fixed, but there are too many issues being reported that I wanted to put up a revert until a proper fix can be committed.

Fixes a ton of issues where private but still reachable impls were missing during codegen:
Fixes rust-lang#111320
Fixes rust-lang#111321
Fixes rust-lang#111334
Fixes rust-lang#111357
Fixes rust-lang#111368
Fixes rust-lang#111373
Fixes rust-lang#111377
Fixes rust-lang#111386
Fixes rust-lang#111387

`@bors` p=1

r? `@petrochenkov`
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