Closed
Description
Code
Just create a new project with cargo new --lib example
and add wgpu = 0.15
to Cargo.toml
. You don't need any code in the lib.rs
, just adding the create is enough.
Meta
rustc 1.71.0-nightly (c4190f2d3 2023-05-07)
binary: rustc
commit-hash: c4190f2d3a46a59f435f7b42f58bc22b2f4d6917
commit-date: 2023-05-07
host: x86_64-pc-windows-msvc
release: 1.71.0-nightly
LLVM version: 16.0.2
Error output
Compiling wgpu v0.15.1
error: internal compiler error: compiler\rustc_monomorphize\src\collector.rs:1038:9: no MIR available for DefId(24:3011 ~ wgpu_core[3156]::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: 0x7ffe2be7618c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h589fff291caad0e9
1: 0x7ffe2beaed9b - core::fmt::write::h2171a44e38cedecb
2: 0x7ffe2be6b879 - <std::io::IoSlice as core::fmt::Debug>::fmt::h061f4aa272b6ea31
3: 0x7ffe2be75f3b - std::sys::common::alloc::realloc_fallback::hcfa014c00a26eca2
4: 0x7ffe2be79759 - std::panicking::default_hook::h47e91f5308fe81c9
5: 0x7ffe2be7940f - std::panicking::default_hook::h47e91f5308fe81c9
6: 0x7ffdfc978e46 - rustc_driver_impl[d78d41273699e6fd]::install_ice_hook
7: 0x7ffe2be79e5b - std::panicking::rust_panic_with_hook::h5aa5099f5e4d9bb1
8: 0x7ffdfee030a3 - <rustc_infer[a65e2b8346eabc11]::traits::project::ProjectionCacheEntry as core[208341b000719f40]::fmt::Debug>::fmt
9: 0x7ffdfee00b19 - <rustc_infer[a65e2b8346eabc11]::traits::project::ProjectionCacheEntry as core[208341b000719f40]::fmt::Debug>::fmt
10: 0x7ffdfee00ab9 - <rustc_infer[a65e2b8346eabc11]::traits::project::ProjectionCacheEntry as core[208341b000719f40]::fmt::Debug>::fmt
11: 0x7ffdfedf94e0 - <rustc_infer[a65e2b8346eabc11]::traits::project::ProjectionCacheEntry as core[208341b000719f40]::fmt::Debug>::fmt
12: 0x7ffdfedf909c - <rustc_infer[a65e2b8346eabc11]::traits::project::ProjectionCacheEntry as core[208341b000719f40]::fmt::Debug>::fmt
13: 0x7ffdfee30a1d - rustc_middle[38bc2b5443285d88]::util::bug::bug_fmt
14: 0x7ffdfee2ffdd - <rustc_middle[38bc2b5443285d88]::ty::assoc::AssocItems>::find_by_name_and_kinds
15: 0x7ffdfee2ff9f - <rustc_middle[38bc2b5443285d88]::ty::assoc::AssocItems>::find_by_name_and_kinds
16: 0x7ffdfee3090f - rustc_middle[38bc2b5443285d88]::util::bug::bug_fmt
17: 0x7ffdfbc90658 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_constant
18: 0x7ffdfbc873b0 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
19: 0x7ffdfbc877c8 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
20: 0x7ffdfbc877c8 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
21: 0x7ffdfbc877c8 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
22: 0x7ffdfbc877c8 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
23: 0x7ffdfa93f811 - <rustc_hir_analysis[3d1752039b41016e]::collect::resolve_bound_vars::BoundVarContext as rustc_hir[4af8980b68494400]::intravisit::Visitor>::visit_trait_item
24: 0x7ffdfa947262 - <rustc_monomorphize[71ab258f76e48289]::partitioning::default::DefaultPartitioning as rustc_monomorphize[71ab258f76e48289]::partitioning::Partition>::merge_codegen_units
25: 0x7ffdfa946aef - <rustc_monomorphize[71ab258f76e48289]::partitioning::default::DefaultPartitioning as rustc_monomorphize[71ab258f76e48289]::partitioning::Partition>::merge_codegen_units
26: 0x7ffdfa942481 - <rustc_monomorphize[71ab258f76e48289]::partitioning::default::DefaultPartitioning as rustc_monomorphize[71ab258f76e48289]::partitioning::Partition>::merge_codegen_units
27: 0x7ffdfacaf6be - rustc_query_impl[c5cf013de40e4b1]::plumbing::loadable_from_disk
28: 0x7ffdfab7cd16 - rustc_query_impl[c5cf013de40e4b1]::query_system_fns
29: 0x7ffdfc3b2045 - rustc_codegen_ssa[f99ce3f7c2c1bf9e]::debuginfo::wants_c_like_enum_debuginfo
30: 0x7ffdfac235af - rustc_query_impl[c5cf013de40e4b1]::plumbing::loadable_from_disk
31: 0x7ffdfab7cbaa - rustc_query_impl[c5cf013de40e4b1]::query_system_fns
32: 0x7ffdfc3f44d7 - <rustc_metadata[ff44d38fe982060f]::rmeta::encoder::EncodeContext as rustc_type_ir[6c5130269c2587c]::codec::TyEncoder>::predicate_shorthands
33: 0x7ffdfad745a0 - rustc_metadata[ff44d38fe982060f]::rmeta::encoder::encode_metadata
34: 0x7ffdfad7399e - rustc_metadata[ff44d38fe982060f]::rmeta::encoder::encode_metadata
35: 0x7ffdfad79d32 - rustc_metadata[ff44d38fe982060f]::fs::encode_and_write_metadata
36: 0x7ffdfa1a4803 - rustc_interface[924d4f64a1bf3a2a]::passes::start_codegen
37: 0x7ffdfa1a6429 - rustc_interface[924d4f64a1bf3a2a]::passes::start_codegen
38: 0x7ffdfa194185 - <rustc_interface[924d4f64a1bf3a2a]::queries::Queries>::ongoing_codegen
39: 0x7ffdfa15971a - rustc_driver_impl[d78d41273699e6fd]::args::arg_expand_all
40: 0x7ffdfa17a98b - <rustc_middle[38bc2b5443285d88]::ty::SymbolName as core[208341b000719f40]::fmt::Debug>::fmt
41: 0x7ffdfa158c59 - rustc_driver_impl[d78d41273699e6fd]::main
42: 0x7ffdfa179bc6 - <rustc_middle[38bc2b5443285d88]::ty::SymbolName as core[208341b000719f40]::fmt::Debug>::fmt
43: 0x7ffe2be8cf6c - std::sys::windows::thread::Thread::new::hcb1bee3f60360344
44: 0x7ffe78b9244d - BaseThreadInitThunk
45: 0x7ffe79a4df78 - RtlUserThreadStart
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-pc-windows-msvc
note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#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(24:2795 ~ wgpu_core[3156]::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: 0x7ffe2be7618c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h589fff291caad0e9
1: 0x7ffe2beaed9b - core::fmt::write::h2171a44e38cedecb
2: 0x7ffe2be6b879 - <std::io::IoSlice as core::fmt::Debug>::fmt::h061f4aa272b6ea31
3: 0x7ffe2be75f3b - std::sys::common::alloc::realloc_fallback::hcfa014c00a26eca2
4: 0x7ffe2be79759 - std::panicking::default_hook::h47e91f5308fe81c9
5: 0x7ffe2be7940f - std::panicking::default_hook::h47e91f5308fe81c9
6: 0x7ffdfc978e46 - rustc_driver_impl[d78d41273699e6fd]::install_ice_hook
7: 0x7ffe2be79e5b - std::panicking::rust_panic_with_hook::h5aa5099f5e4d9bb1
8: 0x7ffdfee030a3 - <rustc_infer[a65e2b8346eabc11]::traits::project::ProjectionCacheEntry as core[208341b000719f40]::fmt::Debug>::fmt
9: 0x7ffdfee00b19 - <rustc_infer[a65e2b8346eabc11]::traits::project::ProjectionCacheEntry as core[208341b000719f40]::fmt::Debug>::fmt
10: 0x7ffdfee00ab9 - <rustc_infer[a65e2b8346eabc11]::traits::project::ProjectionCacheEntry as core[208341b000719f40]::fmt::Debug>::fmt
11: 0x7ffdfedf94e0 - <rustc_infer[a65e2b8346eabc11]::traits::project::ProjectionCacheEntry as core[208341b000719f40]::fmt::Debug>::fmt
12: 0x7ffdfedf909c - <rustc_infer[a65e2b8346eabc11]::traits::project::ProjectionCacheEntry as core[208341b000719f40]::fmt::Debug>::fmt
13: 0x7ffdfee30a1d - rustc_middle[38bc2b5443285d88]::util::bug::bug_fmt
14: 0x7ffdfee2ffdd - <rustc_middle[38bc2b5443285d88]::ty::assoc::AssocItems>::find_by_name_and_kinds
15: 0x7ffdfee2ff9f - <rustc_middle[38bc2b5443285d88]::ty::assoc::AssocItems>::find_by_name_and_kinds
16: 0x7ffdfee3090f - rustc_middle[38bc2b5443285d88]::util::bug::bug_fmt
17: 0x7ffdfbc90658 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_constant
18: 0x7ffdfbc873b0 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
19: 0x7ffdfbc877c8 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
20: 0x7ffdfbc877c8 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
21: 0x7ffdfbc877c8 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
22: 0x7ffdfbc877c8 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
23: 0x7ffdfa93f811 - <rustc_hir_analysis[3d1752039b41016e]::collect::resolve_bound_vars::BoundVarContext as rustc_hir[4af8980b68494400]::intravisit::Visitor>::visit_trait_item
24: 0x7ffdfa947262 - <rustc_monomorphize[71ab258f76e48289]::partitioning::default::DefaultPartitioning as rustc_monomorphize[71ab258f76e48289]::partitioning::Partition>::merge_codegen_units
25: 0x7ffdfa946aef - <rustc_monomorphize[71ab258f76e48289]::partitioning::default::DefaultPartitioning as rustc_monomorphize[71ab258f76e48289]::partitioning::Partition>::merge_codegen_units
26: 0x7ffdfa942481 - <rustc_monomorphize[71ab258f76e48289]::partitioning::default::DefaultPartitioning as rustc_monomorphize[71ab258f76e48289]::partitioning::Partition>::merge_codegen_units
27: 0x7ffdfacaf6be - rustc_query_impl[c5cf013de40e4b1]::plumbing::loadable_from_disk
28: 0x7ffdfab7cd16 - rustc_query_impl[c5cf013de40e4b1]::query_system_fns
29: 0x7ffdfc3b2045 - rustc_codegen_ssa[f99ce3f7c2c1bf9e]::debuginfo::wants_c_like_enum_debuginfo
30: 0x7ffdfac235af - rustc_query_impl[c5cf013de40e4b1]::plumbing::loadable_from_disk
31: 0x7ffdfab7cbaa - rustc_query_impl[c5cf013de40e4b1]::query_system_fns
32: 0x7ffdfc3f44d7 - <rustc_metadata[ff44d38fe982060f]::rmeta::encoder::EncodeContext as rustc_type_ir[6c5130269c2587c]::codec::TyEncoder>::predicate_shorthands
33: 0x7ffdfad745a0 - rustc_metadata[ff44d38fe982060f]::rmeta::encoder::encode_metadata
34: 0x7ffdfad7399e - rustc_metadata[ff44d38fe982060f]::rmeta::encoder::encode_metadata
35: 0x7ffdfad79d32 - rustc_metadata[ff44d38fe982060f]::fs::encode_and_write_metadata
36: 0x7ffdfa1a4803 - rustc_interface[924d4f64a1bf3a2a]::passes::start_codegen
37: 0x7ffdfa1a6429 - rustc_interface[924d4f64a1bf3a2a]::passes::start_codegen
38: 0x7ffdfa194185 - <rustc_interface[924d4f64a1bf3a2a]::queries::Queries>::ongoing_codegen
39: 0x7ffdfa15971a - rustc_driver_impl[d78d41273699e6fd]::args::arg_expand_all
40: 0x7ffdfa17a98b - <rustc_middle[38bc2b5443285d88]::ty::SymbolName as core[208341b000719f40]::fmt::Debug>::fmt
41: 0x7ffdfa158c59 - rustc_driver_impl[d78d41273699e6fd]::main
42: 0x7ffdfa179bc6 - <rustc_middle[38bc2b5443285d88]::ty::SymbolName as core[208341b000719f40]::fmt::Debug>::fmt
43: 0x7ffe2be8cf6c - std::sys::windows::thread::Thread::new::hcb1bee3f60360344
44: 0x7ffe78b9244d - BaseThreadInitThunk
45: 0x7ffe79a4df78 - RtlUserThreadStart
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-pc-windows-msvc
note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#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(24:2794 ~ wgpu_core[3156]::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: 0x7ffe2be7618c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h589fff291caad0e9
1: 0x7ffe2beaed9b - core::fmt::write::h2171a44e38cedecb
2: 0x7ffe2be6b879 - <std::io::IoSlice as core::fmt::Debug>::fmt::h061f4aa272b6ea31
3: 0x7ffe2be75f3b - std::sys::common::alloc::realloc_fallback::hcfa014c00a26eca2
4: 0x7ffe2be79759 - std::panicking::default_hook::h47e91f5308fe81c9
5: 0x7ffe2be7940f - std::panicking::default_hook::h47e91f5308fe81c9
6: 0x7ffdfc978e46 - rustc_driver_impl[d78d41273699e6fd]::install_ice_hook
7: 0x7ffe2be79e5b - std::panicking::rust_panic_with_hook::h5aa5099f5e4d9bb1
8: 0x7ffdfee030a3 - <rustc_infer[a65e2b8346eabc11]::traits::project::ProjectionCacheEntry as core[208341b000719f40]::fmt::Debug>::fmt
9: 0x7ffdfee00b19 - <rustc_infer[a65e2b8346eabc11]::traits::project::ProjectionCacheEntry as core[208341b000719f40]::fmt::Debug>::fmt
10: 0x7ffdfee00ab9 - <rustc_infer[a65e2b8346eabc11]::traits::project::ProjectionCacheEntry as core[208341b000719f40]::fmt::Debug>::fmt
11: 0x7ffdfedf94e0 - <rustc_infer[a65e2b8346eabc11]::traits::project::ProjectionCacheEntry as core[208341b000719f40]::fmt::Debug>::fmt
12: 0x7ffdfedf909c - <rustc_infer[a65e2b8346eabc11]::traits::project::ProjectionCacheEntry as core[208341b000719f40]::fmt::Debug>::fmt
13: 0x7ffdfee30a1d - rustc_middle[38bc2b5443285d88]::util::bug::bug_fmt
14: 0x7ffdfee2ffdd - <rustc_middle[38bc2b5443285d88]::ty::assoc::AssocItems>::find_by_name_and_kinds
15: 0x7ffdfee2ff9f - <rustc_middle[38bc2b5443285d88]::ty::assoc::AssocItems>::find_by_name_and_kinds
16: 0x7ffdfee3090f - rustc_middle[38bc2b5443285d88]::util::bug::bug_fmt
17: 0x7ffdfbc90658 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_constant
18: 0x7ffdfbc873b0 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
19: 0x7ffdfbc877c8 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
20: 0x7ffdfbc877c8 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
21: 0x7ffdfbc877c8 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
22: 0x7ffdfbc877c8 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
23: 0x7ffdfbc877c8 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
24: 0x7ffdfbc877c8 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
25: 0x7ffdfa93f811 - <rustc_hir_analysis[3d1752039b41016e]::collect::resolve_bound_vars::BoundVarContext as rustc_hir[4af8980b68494400]::intravisit::Visitor>::visit_trait_item
26: 0x7ffdfa947262 - <rustc_monomorphize[71ab258f76e48289]::partitioning::default::DefaultPartitioning as rustc_monomorphize[71ab258f76e48289]::partitioning::Partition>::merge_codegen_units
27: 0x7ffdfa946aef - <rustc_monomorphize[71ab258f76e48289]::partitioning::default::DefaultPartitioning as rustc_monomorphize[71ab258f76e48289]::partitioning::Partition>::merge_codegen_units
28: 0x7ffdfa942481 - <rustc_monomorphize[71ab258f76e48289]::partitioning::default::DefaultPartitioning as rustc_monomorphize[71ab258f76e48289]::partitioning::Partition>::merge_codegen_units
29: 0x7ffdfacaf6be - rustc_query_impl[c5cf013de40e4b1]::plumbing::loadable_from_disk
30: 0x7ffdfab7cd16 - rustc_query_impl[c5cf013de40e4b1]::query_system_fns
31: 0x7ffdfc3b2045 - rustc_codegen_ssa[f99ce3f7c2c1bf9e]::debuginfo::wants_c_like_enum_debuginfo
32: 0x7ffdfac235af - rustc_query_impl[c5cf013de40e4b1]::plumbing::loadable_from_disk
33: 0x7ffdfab7cbaa - rustc_query_impl[c5cf013de40e4b1]::query_system_fns
34: 0x7ffdfc3f44d7 - <rustc_metadata[ff44d38fe982060f]::rmeta::encoder::EncodeContext as rustc_type_ir[6c5130269c2587c]::codec::TyEncoder>::predicate_shorthands
35: 0x7ffdfad745a0 - rustc_metadata[ff44d38fe982060f]::rmeta::encoder::encode_metadata
36: 0x7ffdfad7399e - rustc_metadata[ff44d38fe982060f]::rmeta::encoder::encode_metadata
37: 0x7ffdfad79d32 - rustc_metadata[ff44d38fe982060f]::fs::encode_and_write_metadata
38: 0x7ffdfa1a4803 - rustc_interface[924d4f64a1bf3a2a]::passes::start_codegen
39: 0x7ffdfa1a6429 - rustc_interface[924d4f64a1bf3a2a]::passes::start_codegen
40: 0x7ffdfa194185 - <rustc_interface[924d4f64a1bf3a2a]::queries::Queries>::ongoing_codegen
41: 0x7ffdfa15971a - rustc_driver_impl[d78d41273699e6fd]::args::arg_expand_all
42: 0x7ffdfa17a98b - <rustc_middle[38bc2b5443285d88]::ty::SymbolName as core[208341b000719f40]::fmt::Debug>::fmt
43: 0x7ffdfa158c59 - rustc_driver_impl[d78d41273699e6fd]::main
44: 0x7ffdfa179bc6 - <rustc_middle[38bc2b5443285d88]::ty::SymbolName as core[208341b000719f40]::fmt::Debug>::fmt
45: 0x7ffe2be8cf6c - std::sys::windows::thread::Thread::new::hcb1bee3f60360344
46: 0x7ffe78b9244d - BaseThreadInitThunk
47: 0x7ffe79a4df78 - RtlUserThreadStart
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-pc-windows-msvc
note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#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(24:3010 ~ wgpu_core[3156]::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: 0x7ffe2be7618c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h589fff291caad0e9
1: 0x7ffe2beaed9b - core::fmt::write::h2171a44e38cedecb
2: 0x7ffe2be6b879 - <std::io::IoSlice as core::fmt::Debug>::fmt::h061f4aa272b6ea31
3: 0x7ffe2be75f3b - std::sys::common::alloc::realloc_fallback::hcfa014c00a26eca2
4: 0x7ffe2be79759 - std::panicking::default_hook::h47e91f5308fe81c9
5: 0x7ffe2be7940f - std::panicking::default_hook::h47e91f5308fe81c9
6: 0x7ffdfc978e46 - rustc_driver_impl[d78d41273699e6fd]::install_ice_hook
7: 0x7ffe2be79e5b - std::panicking::rust_panic_with_hook::h5aa5099f5e4d9bb1
8: 0x7ffdfee030a3 - <rustc_infer[a65e2b8346eabc11]::traits::project::ProjectionCacheEntry as core[208341b000719f40]::fmt::Debug>::fmt
9: 0x7ffdfee00b19 - <rustc_infer[a65e2b8346eabc11]::traits::project::ProjectionCacheEntry as core[208341b000719f40]::fmt::Debug>::fmt
10: 0x7ffdfee00ab9 - <rustc_infer[a65e2b8346eabc11]::traits::project::ProjectionCacheEntry as core[208341b000719f40]::fmt::Debug>::fmt
11: 0x7ffdfedf94e0 - <rustc_infer[a65e2b8346eabc11]::traits::project::ProjectionCacheEntry as core[208341b000719f40]::fmt::Debug>::fmt
12: 0x7ffdfedf909c - <rustc_infer[a65e2b8346eabc11]::traits::project::ProjectionCacheEntry as core[208341b000719f40]::fmt::Debug>::fmt
13: 0x7ffdfee30a1d - rustc_middle[38bc2b5443285d88]::util::bug::bug_fmt
14: 0x7ffdfee2ffdd - <rustc_middle[38bc2b5443285d88]::ty::assoc::AssocItems>::find_by_name_and_kinds
15: 0x7ffdfee2ff9f - <rustc_middle[38bc2b5443285d88]::ty::assoc::AssocItems>::find_by_name_and_kinds
16: 0x7ffdfee3090f - rustc_middle[38bc2b5443285d88]::util::bug::bug_fmt
17: 0x7ffdfbc90658 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_constant
18: 0x7ffdfbc873b0 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
19: 0x7ffdfbc877c8 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
20: 0x7ffdfbc877c8 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
21: 0x7ffdfbc877c8 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
22: 0x7ffdfbc877c8 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
23: 0x7ffdfbc877c8 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
24: 0x7ffdfbc877c8 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
25: 0x7ffdfbc877c8 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
26: 0x7ffdfbc877c8 - <rustc_monomorphize[71ab258f76e48289]::collector::MirNeighborCollector as rustc_middle[38bc2b5443285d88]::mir::visit::Visitor>::visit_operand
27: 0x7ffdfa93f811 - <rustc_hir_analysis[3d1752039b41016e]::collect::resolve_bound_vars::BoundVarContext as rustc_hir[4af8980b68494400]::intravisit::Visitor>::visit_trait_item
28: 0x7ffdfa947262 - <rustc_monomorphize[71ab258f76e48289]::partitioning::default::DefaultPartitioning as rustc_monomorphize[71ab258f76e48289]::partitioning::Partition>::merge_codegen_units
29: 0x7ffdfa946aef - <rustc_monomorphize[71ab258f76e48289]::partitioning::default::DefaultPartitioning as rustc_monomorphize[71ab258f76e48289]::partitioning::Partition>::merge_codegen_units
30: 0x7ffdfa942481 - <rustc_monomorphize[71ab258f76e48289]::partitioning::default::DefaultPartitioning as rustc_monomorphize[71ab258f76e48289]::partitioning::Partition>::merge_codegen_units
31: 0x7ffdfacaf6be - rustc_query_impl[c5cf013de40e4b1]::plumbing::loadable_from_disk
32: 0x7ffdfab7cd16 - rustc_query_impl[c5cf013de40e4b1]::query_system_fns
33: 0x7ffdfc3b2045 - rustc_codegen_ssa[f99ce3f7c2c1bf9e]::debuginfo::wants_c_like_enum_debuginfo
34: 0x7ffdfac235af - rustc_query_impl[c5cf013de40e4b1]::plumbing::loadable_from_disk
35: 0x7ffdfab7cbaa - rustc_query_impl[c5cf013de40e4b1]::query_system_fns
36: 0x7ffdfc3f44d7 - <rustc_metadata[ff44d38fe982060f]::rmeta::encoder::EncodeContext as rustc_type_ir[6c5130269c2587c]::codec::TyEncoder>::predicate_shorthands
37: 0x7ffdfad745a0 - rustc_metadata[ff44d38fe982060f]::rmeta::encoder::encode_metadata
38: 0x7ffdfad7399e - rustc_metadata[ff44d38fe982060f]::rmeta::encoder::encode_metadata
39: 0x7ffdfad79d32 - rustc_metadata[ff44d38fe982060f]::fs::encode_and_write_metadata
40: 0x7ffdfa1a4803 - rustc_interface[924d4f64a1bf3a2a]::passes::start_codegen
41: 0x7ffdfa1a6429 - rustc_interface[924d4f64a1bf3a2a]::passes::start_codegen
42: 0x7ffdfa194185 - <rustc_interface[924d4f64a1bf3a2a]::queries::Queries>::ongoing_codegen
43: 0x7ffdfa15971a - rustc_driver_impl[d78d41273699e6fd]::args::arg_expand_all
44: 0x7ffdfa17a98b - <rustc_middle[38bc2b5443285d88]::ty::SymbolName as core[208341b000719f40]::fmt::Debug>::fmt
45: 0x7ffdfa158c59 - rustc_driver_impl[d78d41273699e6fd]::main
46: 0x7ffdfa179bc6 - <rustc_middle[38bc2b5443285d88]::ty::SymbolName as core[208341b000719f40]::fmt::Debug>::fmt
47: 0x7ffe2be8cf6c - std::sys::windows::thread::Thread::new::hcb1bee3f60360344
48: 0x7ffe78b9244d - BaseThreadInitThunk
49: 0x7ffe79a4df78 - RtlUserThreadStart
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-pc-windows-msvc
note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#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)
Backtrace