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 get_optimized_mir: missing MIR for DefId(...) #6588

Closed
Vlad-Shcherbina opened this issue Jan 14, 2021 · 5 comments
Closed

ICE get_optimized_mir: missing MIR for DefId(...) #6588

Vlad-Shcherbina opened this issue Jan 14, 2021 · 5 comments
Labels
C-bug Category: Clippy is not doing the correct thing I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️

Comments

@Vlad-Shcherbina
Copy link
Contributor

To reproduce

Run cargo clippy on the following library:

// [dependencies]
// reqwest = { version = "0.11", default-features = false }

pub async fn f(client: &reqwest::Client) -> reqwest::Result<String> {
    let resp = client.get("http://example.com").send().await?;
    Ok(resp.text().await?)
}

Version info

> cargo clippy -V
clippy 0.1.51 (a62a7604 2021-01-13)

> rustc -Vv
rustc 1.51.0-nightly (a62a76047 2021-01-13)
binary: rustc
commit-hash: a62a76047ea24aad7639f14eb3ce0e620b77bdb7
commit-date: 2021-01-13
host: x86_64-pc-windows-msvc
release: 1.51.0-nightly

This started happening after I updated to the recent nightly.
The nightly from two weeks ago was fine.

Error output

error: internal compiler error: compiler\rustc_metadata\src\rmeta\decoder.rs:1189:17: get_optimized_mir: missing MIR for `DefId(13:598 ~ reqwest[c76c]::async_impl::response::{impl#0}::text::{closure#0})`

thread 'rustc' panicked at 'Box<Any>', compiler\rustc_errors\src\lib.rs:958:9
With backtrace

error: internal compiler error: compiler\rustc_metadata\src\rmeta\decoder.rs:1189:17: get_optimized_mir: missing MIR for `DefId(13:598 ~ reqwest[c76c]::async_impl::response::{impl#0}::text::{closure#0})`

thread 'rustc' panicked at 'Box<Any>', compiler\rustc_errors\src\lib.rs:958:9
stack backtrace:
 0:     0x7ffea38dbd65 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h07eb7c6246901ad5
 1:     0x7ffea390856b - core::fmt::write::ha3ea633b18d2da75
 2:     0x7ffea38cd6ed - <std::io::IoSliceMut as core::fmt::Debug>::fmt::h6d135953c295e8fa
 3:     0x7ffea38dff3d - std::panicking::take_hook::h462942ea222a8ec2
 4:     0x7ffea38dfa43 - std::panicking::take_hook::h462942ea222a8ec2
 5:     0x7ff6902d9eba - <unknown>
 6:     0x7ffea38e0a1f - std::panicking::rust_panic_with_hook::h18985e2f09a20bf1
 7:     0x7ffe935aee90 - <rustc_errors::emitter::FileWithAnnotatedLines as core::fmt::Debug>::fmt::hb372a07d1ae2ed55
 8:     0x7ffe935ae3c9 - <rustc_errors::emitter::FileWithAnnotatedLines as core::fmt::Debug>::fmt::hb372a07d1ae2ed55
 9:     0x7ffe9358bcf1 - <rustc_errors::snippet::Style as core::fmt::Debug>::fmt::he134d6500f510bdf
10:     0x7ffe935bfa6b - rustc_errors::HandlerInner::err_count::hb825b5f710191ee1
11:     0x7ffe935bdbb2 - rustc_errors::Handler::bug::h06be2ef1e6f93ca1
12:     0x7ffe93116bcf - rustc_middle::util::bug::bug_fmt::h9bbf292f93712137
13:     0x7ffe93116330 - rustc_middle::ty::walk::<impl rustc_middle::ty::subst::GenericArg>::walk_shallow::h00be8ec8c0aca82f
14:     0x7ffe931162d3 - rustc_middle::ty::walk::<impl rustc_middle::ty::subst::GenericArg>::walk_shallow::h00be8ec8c0aca82f
15:     0x7ffe93116af9 - rustc_middle::util::bug::bug_fmt::h9bbf292f93712137
16:     0x7ffe93116a67 - rustc_middle::util::bug::bug_fmt::h9bbf292f93712137
17:     0x7ffe926e34c0 - <(&rustc_metadata::creader::CrateMetadataRef,rustc_middle::ty::context::TyCtxt) as rustc_metadata::rmeta::decoder::Metadata>::raw_bytes::h6e6ab89b27782b2a
18:     0x7ffe9259b54f - rustc_metadata::rmeta::decoder::cstore_impl::provide_extern::h711d7e8c7e8f25a9
19:     0x7ffe933cea7f - rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::debug_node::h8f6af1dc1c83d185
20:     0x7ffe933916de - ZN12rustc_middle2ty111_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_middle_ich_StableHashingContext_ctx_FOR_SymbolName159_$LT$impl$u20$rustc_data_structures..stable_hasher..HashStable$LT$rustc_middle..ich..hcx..StableHashingContext$GT$$u20$
21:     0x7ffe92f82b0c - rustc_middle::ty::query::on_disk_cache::<impl rustc_serialize::serialize::Decodable<rustc_middle::ty::query::on_disk_cache::CacheDecoder> for alloc::vec::Vec<u8>>::decode::h05b770ce736eacb7
22:     0x7ffe93282d78 - <rustc_middle::traits::query::type_op::AscribeUserType as core::fmt::Debug>::fmt::hc790ff1080e927d9
23:     0x7ffe9317f2da - <rustc_middle::traits::query::type_op::AscribeUserType as core::fmt::Debug>::fmt::hc790ff1080e927d9
24:     0x7ffe93005b64 - rustc_middle::ty::layout::provide::h272b0573b3dc73b1
25:     0x7ffe93002dae - <rustc_middle::ty::layout::LayoutError as core::fmt::Display>::fmt::h86b89493ffbfb15a
26:     0x7ffe930313ee - rustc_middle::ty::print::pretty::<impl core::fmt::Display for &rustc_middle::ty::consts::Const>::fmt::h5d79b89cdfe35411
27:     0x7ffe933d104f - rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::debug_node::h8f6af1dc1c83d185
28:     0x7ffe9339eaad - ZN12rustc_middle2ty111_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_middle_ich_StableHashingContext_ctx_FOR_SymbolName159_$LT$impl$u20$rustc_data_structures..stable_hasher..HashStable$LT$rustc_middle..ich..hcx..StableHashingContext$GT$$u20$
29:     0x7ffe92f8a309 - rustc_middle::ty::query::on_disk_cache::<impl rustc_serialize::serialize::Decodable<rustc_middle::ty::query::on_disk_cache::CacheDecoder> for alloc::vec::Vec<u8>>::decode::h05b770ce736eacb7
30:     0x7ffe93273a1b - <rustc_middle::traits::query::type_op::AscribeUserType as core::fmt::Debug>::fmt::hc790ff1080e927d9
31:     0x7ffe931db439 - <rustc_middle::traits::query::type_op::AscribeUserType as core::fmt::Debug>::fmt::hc790ff1080e927d9
32:     0x7ffe93012605 - <rustc_middle::ty::layout::LayoutCx<rustc_middle::ty::context::TyCtxt> as rustc_target::abi::LayoutOf>::layout_of::h6a12661d237243cd
33:     0x7ffe92f62e77 - <rustc_infer::infer::error_reporting::nice_region_error::find_anon_type::TyPathVisitor as rustc_hir::intravisit::Visitor>::visit_lifetime::h25247d894a9f9ff9
34:     0x7ffe933bdc54 - ZN12rustc_middle2ty111_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_middle_ich_StableHashingContext_ctx_FOR_SymbolName159_$LT$impl$u20$rustc_data_structures..stable_hasher..HashStable$LT$rustc_middle..ich..hcx..StableHashingContext$GT$$u20$
35:     0x7ffe92f69dce - <rustc_infer::infer::error_reporting::nice_region_error::find_anon_type::TyPathVisitor as rustc_hir::intravisit::Visitor>::visit_lifetime::h25247d894a9f9ff9
36:     0x7ffe93006348 - rustc_middle::ty::layout::provide::h272b0573b3dc73b1
37:     0x7ffe93002dae - <rustc_middle::ty::layout::LayoutError as core::fmt::Display>::fmt::h86b89493ffbfb15a
38:     0x7ffe930313ee - rustc_middle::ty::print::pretty::<impl core::fmt::Display for &rustc_middle::ty::consts::Const>::fmt::h5d79b89cdfe35411
39:     0x7ffe933d104f - rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::debug_node::h8f6af1dc1c83d185
40:     0x7ffe9339eaad - ZN12rustc_middle2ty111_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_middle_ich_StableHashingContext_ctx_FOR_SymbolName159_$LT$impl$u20$rustc_data_structures..stable_hasher..HashStable$LT$rustc_middle..ich..hcx..StableHashingContext$GT$$u20$
41:     0x7ffe92f8a309 - rustc_middle::ty::query::on_disk_cache::<impl rustc_serialize::serialize::Decodable<rustc_middle::ty::query::on_disk_cache::CacheDecoder> for alloc::vec::Vec<u8>>::decode::h05b770ce736eacb7
42:     0x7ffe93273a1b - <rustc_middle::traits::query::type_op::AscribeUserType as core::fmt::Debug>::fmt::hc790ff1080e927d9
43:     0x7ffe931db439 - <rustc_middle::traits::query::type_op::AscribeUserType as core::fmt::Debug>::fmt::hc790ff1080e927d9
44:     0x7ffe93012605 - <rustc_middle::ty::layout::LayoutCx<rustc_middle::ty::context::TyCtxt> as rustc_target::abi::LayoutOf>::layout_of::h6a12661d237243cd
45:     0x7ffe933be59d - ZN12rustc_middle2ty111_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_middle_ich_StableHashingContext_ctx_FOR_SymbolName159_$LT$impl$u20$rustc_data_structures..stable_hasher..HashStable$LT$rustc_middle..ich..hcx..StableHashingContext$GT$$u20$
46:     0x7ffe92f72162 - <rustc_infer::infer::error_reporting::nice_region_error::find_anon_type::TyPathVisitor as rustc_hir::intravisit::Visitor>::visit_lifetime::h25247d894a9f9ff9
47:     0x7ffe933bc24c - ZN12rustc_middle2ty111_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_middle_ich_StableHashingContext_ctx_FOR_SymbolName159_$LT$impl$u20$rustc_data_structures..stable_hasher..HashStable$LT$rustc_middle..ich..hcx..StableHashingContext$GT$$u20$
48:     0x7ffe92f6f9d8 - <rustc_infer::infer::error_reporting::nice_region_error::find_anon_type::TyPathVisitor as rustc_hir::intravisit::Visitor>::visit_lifetime::h25247d894a9f9ff9
49:     0x7ffe930d4f81 - <rustc_middle::mir::MirSource as core::fmt::Debug>::fmt::h4ba2b67ae567f86a
50:     0x7ffe93009214 - rustc_middle::ty::layout::provide::h272b0573b3dc73b1
51:     0x7ffe93002dae - <rustc_middle::ty::layout::LayoutError as core::fmt::Display>::fmt::h86b89493ffbfb15a
52:     0x7ffe930313ee - rustc_middle::ty::print::pretty::<impl core::fmt::Display for &rustc_middle::ty::consts::Const>::fmt::h5d79b89cdfe35411
53:     0x7ffe933d104f - rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::debug_node::h8f6af1dc1c83d185
54:     0x7ffe9339eaad - ZN12rustc_middle2ty111_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_middle_ich_StableHashingContext_ctx_FOR_SymbolName159_$LT$impl$u20$rustc_data_structures..stable_hasher..HashStable$LT$rustc_middle..ich..hcx..StableHashingContext$GT$$u20$
55:     0x7ffe92f8a309 - rustc_middle::ty::query::on_disk_cache::<impl rustc_serialize::serialize::Decodable<rustc_middle::ty::query::on_disk_cache::CacheDecoder> for alloc::vec::Vec<u8>>::decode::h05b770ce736eacb7
56:     0x7ffe93273a1b - <rustc_middle::traits::query::type_op::AscribeUserType as core::fmt::Debug>::fmt::hc790ff1080e927d9
57:     0x7ffe931db439 - <rustc_middle::traits::query::type_op::AscribeUserType as core::fmt::Debug>::fmt::hc790ff1080e927d9
58:     0x7ffe93012605 - <rustc_middle::ty::layout::LayoutCx<rustc_middle::ty::context::TyCtxt> as rustc_target::abi::LayoutOf>::layout_of::h6a12661d237243cd
59:     0x7ffe92f62e77 - <rustc_infer::infer::error_reporting::nice_region_error::find_anon_type::TyPathVisitor as rustc_hir::intravisit::Visitor>::visit_lifetime::h25247d894a9f9ff9
60:     0x7ffe933bdc54 - ZN12rustc_middle2ty111_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_middle_ich_StableHashingContext_ctx_FOR_SymbolName159_$LT$impl$u20$rustc_data_structures..stable_hasher..HashStable$LT$rustc_middle..ich..hcx..StableHashingContext$GT$$u20$
61:     0x7ffe92f69dce - <rustc_infer::infer::error_reporting::nice_region_error::find_anon_type::TyPathVisitor as rustc_hir::intravisit::Visitor>::visit_lifetime::h25247d894a9f9ff9
62:     0x7ffe93006348 - rustc_middle::ty::layout::provide::h272b0573b3dc73b1
63:     0x7ffe93002dae - <rustc_middle::ty::layout::LayoutError as core::fmt::Display>::fmt::h86b89493ffbfb15a
64:     0x7ffe930313ee - rustc_middle::ty::print::pretty::<impl core::fmt::Display for &rustc_middle::ty::consts::Const>::fmt::h5d79b89cdfe35411
65:     0x7ffe933d104f - rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::debug_node::h8f6af1dc1c83d185
66:     0x7ffe9339eaad - ZN12rustc_middle2ty111_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_middle_ich_StableHashingContext_ctx_FOR_SymbolName159_$LT$impl$u20$rustc_data_structures..stable_hasher..HashStable$LT$rustc_middle..ich..hcx..StableHashingContext$GT$$u20$
67:     0x7ffe92f8a309 - rustc_middle::ty::query::on_disk_cache::<impl rustc_serialize::serialize::Decodable<rustc_middle::ty::query::on_disk_cache::CacheDecoder> for alloc::vec::Vec<u8>>::decode::h05b770ce736eacb7
68:     0x7ffe93273a1b - <rustc_middle::traits::query::type_op::AscribeUserType as core::fmt::Debug>::fmt::hc790ff1080e927d9
69:     0x7ffe931db439 - <rustc_middle::traits::query::type_op::AscribeUserType as core::fmt::Debug>::fmt::hc790ff1080e927d9
70:     0x7ffe93012605 - <rustc_middle::ty::layout::LayoutCx<rustc_middle::ty::context::TyCtxt> as rustc_target::abi::LayoutOf>::layout_of::h6a12661d237243cd
71:     0x7ffe9209b029 - <rustc_mir::transform::const_prop::ConstProp as rustc_mir::transform::MirPass>::run_pass::hf3c65639a2b000a2
72:     0x7ffe91fdfe96 - rustc_mir::transform::run_passes::h5d9585ee9601459a
73:     0x7ffe91fe2529 - rustc_mir::transform::run_passes::h5d9585ee9601459a
74:     0x7ff6905ca4a8 - <unknown>
75:     0x7ff69040dbf3 - <unknown>
76:     0x7ff6905633ee - <unknown>
77:     0x7ff69034962d - <unknown>
78:     0x7ff6904c3d5b - <unknown>
79:     0x7ff6904b3833 - <unknown>
80:     0x7ff6905e583c - <unknown>
81:     0x7ff6905e522a - <unknown>
82:     0x7ffe92b4d940 - <rustc_lint::late::LateLintPassObjects as rustc_lint::passes::LateLintPass>::check_item::hd3b037e20aeaf1a1
83:     0x7ffe8f0f2678 - rustc_interface::interface::parse_cfgspecs::hba8897bda4980b77
84:     0x7ffe8f0bbf1e - rustc_interface::util::commit_date_str::h992d14e83243a596
85:     0x7ffe8f0dcf6e - rustc_interface::interface::parse_cfgspecs::hba8897bda4980b77
86:     0x7ffe8f0e4e6f - rustc_interface::interface::parse_cfgspecs::hba8897bda4980b77
87:     0x7ffe8f095c75 - rustc_interface::callbacks::setup_callbacks::hb08e7c922d255f23
88:     0x7ffe8f0e4791 - rustc_interface::interface::parse_cfgspecs::hba8897bda4980b77
89:     0x7ffe8f11821f - rustc_interface::passes::QueryContext::print_stats::h6a4276cc06302e85
90:     0x7ffe8ef6230b - rustc_ast::util::parser::prec_let_scrutinee_needs_par::h0da38a96661182e5
91:     0x7ffe8ef64936 - rustc_ast::util::parser::prec_let_scrutinee_needs_par::h0da38a96661182e5
92:     0x7ffe8eee789f - <tracing_subscriber::util::TryInitError as core::fmt::Display>::fmt::h9f271cb85bcd455c
93:     0x7ffe8ef3ec81 - <rustc_driver::Compilation as core::fmt::Debug>::fmt::hb1f057422d1cd8be
94:     0x7ffe8eed0455 - <rustc_codegen_ssa::back::linker::MsvcLinker as rustc_codegen_ssa::back::linker::Linker>::partial_relro::h3b67a382b9b56b12
95:     0x7ffe8eecc5e5 - <rustc_codegen_ssa::back::linker::MsvcLinker as rustc_codegen_ssa::back::linker::Linker>::partial_relro::h3b67a382b9b56b12
96:     0x7ffe8ef654d5 - rustc_ast::util::parser::prec_let_scrutinee_needs_par::h0da38a96661182e5
97:     0x7ffe8ef30405 - <rustc_driver::Compilation as core::fmt::Debug>::fmt::hb1f057422d1cd8be
98:     0x7ffe8ef6764c - rustc_ast::util::parser::prec_let_scrutinee_needs_par::h0da38a96661182e5
99:     0x7ffe8ef322b5 - <rustc_driver::Compilation as core::fmt::Debug>::fmt::hb1f057422d1cd8be
100:     0x7ffe8ef5a4d5 - rustc_ast::util::parser::prec_let_scrutinee_needs_par::h0da38a96661182e5
101:     0x7ffe8eed39dd - <rustc_codegen_ssa::back::linker::MsvcLinker as rustc_codegen_ssa::back::linker::Linker>::partial_relro::h3b67a382b9b56b12
102:     0x7ffea38f0043 - std::sys::windows::thread::Thread::new::ha39cc759d7fbecd8
103:     0x7ffed6827c24 - BaseThreadInitThunk
104:     0x7ffed736d4d1 - RtlUserThreadStart

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new

note: Clippy version: clippy 0.1.51 (a62a7604 2021-01-13)

query stack during panic:
#0 [optimized_mir] optimizing MIR for `reqwest::Response::text::{closure#0}`
#1 [layout_raw] computing layout of `[static generator@reqwest::Response::text::{closure#0} for<'r, 's> {std::future::ResumeTy, reqwest::Response, &'r str, impl std::future::Future, ()}]`
#2 [layout_raw] computing layout of `std::future::from_generator::GenFuture<[static generator@reqwest::Response::text::{closure#0} for<'r, 's> {std::future::ResumeTy, reqwest::Response, &'r str, impl std::future::Future, ()}]>`
#3 [layout_raw] computing layout of `[static generator@src\lib.rs:4:69: 7:2 for<'r, 's> {std::future::ResumeTy, &'r reqwest::Client, &'s str, reqwest::RequestBuilder, reqwest::async_impl::client::Pending, (), reqwest::Response, std::future::from_generator::GenFuture<[static generator@reqwest::Response::text::{closure#0} for<'t0, 't1> {std::future::ResumeTy, reqwest::Response, &'t0 str, impl std::future::Future, ()}]>}]`
#4 [layout_raw] computing layout of `std::future::from_generator::GenFuture<[static generator@src\lib.rs:4:69: 7:2 for<'r, 's> {std::future::ResumeTy, &'r reqwest::Client, &'s str, reqwest::RequestBuilder, reqwest::async_impl::client::Pending, (), reqwest::Response, std::future::from_generator::GenFuture<[static generator@reqwest::Response::text::{closure#0} for<'t0, 't1> {std::future::ResumeTy, reqwest::Response, &'t0 str, impl std::future::Future, ()}]>}]>`
#5 [optimized_mir] optimizing MIR for `f`
#6 [analysis] running analysis passes on this crate
end of query stack
error: aborting due to previous error

error: could not compile `clippy_crash_2`

To learn more, run the command again with --verbose.

@Vlad-Shcherbina Vlad-Shcherbina added C-bug Category: Clippy is not doing the correct thing I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️ labels Jan 14, 2021
@Herschel
Copy link
Contributor

Another case stemming from wgpu, if it's at all helpful:
https://github.com/ruffle-rs/ruffle/runs/1701749440?check_suite_focus=true
rustc 1.51.0-nightly (a62a760 2021-01-13)

Log + Backtrace

       Fresh autocfg v1.0.1
       Fresh cfg-if v1.0.0
       Fresh jobserver v0.1.21
       Fresh byteorder v1.4.2
       Fresh scopeguard v1.1.0
       Fresh ahash v0.4.7
       Fresh smallvec v1.6.1
       Fresh ident_case v1.0.1
       Fresh build_const v0.2.1
       Fresh adler v0.2.3
       Fresh matches v0.1.8
       Fresh itoa v0.4.6
       Fresh tinyvec_macros v0.1.0
       Fresh adler32 v1.2.0
       Fresh arrayvec v0.5.2
       Fresh either v1.6.1
       Fresh weezl v0.1.3
       Fresh cfg-if v0.1.10
       Fresh percent-encoding v2.1.0
       Fresh ppv-lite86 v0.2.10
       Fresh lazy_static v1.4.0
       Fresh color_quant v1.1.0
       Fresh bumpalo v3.4.0
       Fresh fnv v1.0.7
       Fresh bitstream-io v0.8.5
       Fresh weak-table v0.3.0
       Fresh json v0.12.4
       Fresh downcast-rs v1.2.0
       Fresh bitstream-io v1.0.0
       Fresh pin-project-lite v0.2.4
       Fresh fixedbitset v0.2.0
       Fresh version_check v0.9.2
       Fresh futures-core v0.3.10
       Fresh vcpkg v0.2.11
       Fresh pkg-config v0.3.19
       Fresh futures-sink v0.3.10
       Fresh dasp_sample v0.11.0 (https://github.com/RustAudio/dasp?rev=f05a703#f05a703d)
       Fresh futures-io v0.3.10
       Fresh unicode-width v0.1.8
       Fresh once_cell v1.5.2
       Fresh cfg_aliases v0.1.1
       Fresh slab v0.4.2
       Fresh bit-vec v0.6.3
       Fresh range-alloc v0.1.1 (https://github.com/gfx-rs/gfx?rev=6b3a1e36939473f0062232baf11e1deacd6605f4#6b3a1e36)
       Fresh unicode-segmentation v1.7.1
       Fresh regex-syntax v0.6.21
       Fresh inplace_it v0.3.2
       Fresh pin-utils v0.1.0
       Fresh thunderdome v0.3.0
       Fresh copyless v0.1.5
       Fresh strsim v0.10.0
       Fresh vec_map v0.8.2
       Fresh dasp_ring_buffer v0.11.0 (https://github.com/RustAudio/dasp?rev=f05a703#f05a703d)
       Fresh os_str_bytes v2.4.0
       Fresh bytemuck v1.4.1
       Fresh typed-arena v2.0.1
       Fresh scoped_threadpool v0.1.9
       Fresh array-macro v1.0.5
       Fresh humantime v2.0.1
       Fresh encode_unicode v0.3.6
       Fresh unicode-xid v0.2.1
       Fresh svg v0.8.1
       Fresh base64 v0.13.0
       Fresh parking v2.0.0
       Fresh pin-project-lite v0.1.11
       Fresh number_prefix v0.3.0
       Fresh waker-fn v1.1.0
       Fresh bytes v0.5.6
       Fresh difference v2.0.0
       Fresh fastrand v1.4.0
       Fresh widestring v0.4.3
       Fresh path-slash v0.1.3
       Fresh mime v0.3.16
       Fresh scoped-tls v1.0.0
       Fresh cc v1.0.66
       Fresh instant v0.1.9
       Fresh generational-arena v0.2.8
       Fresh lock_api v0.4.2
       Fresh fxhash v0.2.1
       Fresh tracing-core v0.1.17
       Fresh thread_local v1.0.1
       Fresh regex-automata v0.1.9
       Fresh hashbrown v0.9.1
       Fresh tinyvec v1.1.0
       Fresh unicode-bidi v0.3.4
       Fresh miniz_oxide v0.3.7
       Fresh deflate v0.8.6
       Fresh form_urlencoded v1.0.0
       Fresh gif v0.11.1
       Fresh puremp3 v0.1.0
       Fresh futures-channel v0.3.10
       Fresh dasp_frame v0.11.0 (https://github.com/RustAudio/dasp?rev=f05a703#f05a703d)
       Fresh futures-task v0.3.10
       Fresh textwrap v0.12.1
       Fresh dasp_window v0.11.0 (https://github.com/RustAudio/dasp?rev=f05a703#f05a703d)
       Fresh bit-set v0.5.2
       Fresh heck v0.3.1
       Fresh http v0.2.1
       Fresh bitflags v1.2.1
       Fresh log v0.4.13
       Fresh libc v0.2.81
       Fresh winapi v0.3.9
       Fresh proc-macro2 v1.0.24
       Fresh memchr v2.3.4
       Fresh spinning_top v0.2.2
       Fresh const_fn v0.4.4
       Fresh crc32fast v1.2.1
       Fresh unicode-normalization v0.1.16
       Fresh getrandom v0.2.1
       Fresh ryu v1.0.5
       Fresh wasm-bindgen-shared v0.2.69
       Fresh encoding_rs v0.8.26
       Fresh proc-macro-hack v0.5.19
       Fresh proc-macro-nested v0.1.6
       Fresh dasp_rms v0.11.0 (https://github.com/RustAudio/dasp?rev=f05a703#f05a703d)
       Fresh dasp_peak v0.11.0 (https://github.com/RustAudio/dasp?rev=f05a703#f05a703d)
       Fresh dasp_interpolate v0.11.0 (https://github.com/RustAudio/dasp?rev=f05a703#f05a703d)
       Fresh sluice v0.5.3
       Fresh dasp_slice v0.11.0 (https://github.com/RustAudio/dasp?rev=f05a703#f05a703d)
       Fresh num-traits v0.2.14
       Fresh num_cpus v1.13.0
       Fresh time v0.1.44
       Fresh slice-deque v0.3.0
       Fresh raw-window-handle v0.3.3
       Fresh winapi-util v0.1.5
       Fresh libloading v0.6.6
       Fresh parking_lot_core v0.8.1
       Fresh gpu-alloc-types v0.1.0 (https://github.com/zakarumych/gpu-alloc?rev=29e761f24edc50e28d238e723503b146d55d222e#29e761f2)
       Fresh gpu-descriptor-types v0.1.0 (https://github.com/zakarumych/gpu-descriptor?rev=df74fd8c7bea03149058a41aab0e4fe04077b266#df74fd8c)
       Fresh atty v0.2.14
       Fresh wio v0.2.2
       Fresh wgpu-types v0.6.0 (https://github.com/gfx-rs/wgpu?rev=5b9cfeb9413175de366ec1e3d64ec6ee2feffa0e#5b9cfeb9)
       Fresh terminal_size v0.1.15
       Fresh output_vt100 v0.1.2
       Fresh ansi_term v0.11.0
       Fresh socket2 v0.3.17
       Fresh schannel v0.1.19
       Fresh dirs-sys v0.3.5
       Fresh clipboard-win v2.2.0
       Fresh webbrowser v0.5.5
       Fresh indexmap v1.6.1
       Fresh crossbeam-utils v0.8.1
       Fresh memoffset v0.6.1
       Fresh miniz_oxide v0.4.3
       Fresh crc v1.8.1
       Fresh png v0.16.8
       Fresh quick-xml v0.20.0
       Fresh aho-corasick v0.7.15
       Fresh winreg v0.8.0
       Fresh quote v1.0.8
       Fresh csv-core v0.1.10
       Fresh futures-lite v1.11.2
       Fresh idna v0.2.0
       Fresh rand_core v0.6.0
       Fresh dasp_envelope v0.11.0 (https://github.com/RustAudio/dasp?rev=f05a703#f05a703d)
       Fresh num-integer v0.1.44
       Fresh minimp3-sys v0.3.2
       Fresh euclid v0.22.1
       Fresh spirv_headers v1.5.0
       Fresh sid v0.6.1
       Fresh parking_lot v0.11.1
       Fresh spirv_cross v0.22.1
       Fresh proc-macro-error-attr v1.0.4
       Fresh ash v0.31.0
       Fresh termcolor v1.1.2
       Fresh d3d12 v0.3.2
       Fresh libz-sys v1.1.2
       Fresh libnghttp2-sys v0.1.5+1.42.0
       Fresh same-file v1.0.6
       Fresh approx v0.4.0
       Fresh wasm-bindgen-test-macro v0.3.19
       Fresh crossbeam-epoch v0.9.1
       Fresh crossbeam-channel v0.5.0
       Fresh lzma-rs v0.1.3
       Fresh flate2 v1.0.19
       Fresh petgraph v0.5.1
       Fresh vswhom-sys v0.1.0
       Fresh clipboard v0.5.0
       Fresh dirs v3.0.1
       Fresh serde_derive v1.0.118
       Fresh thiserror-impl v1.0.23
       Fresh darling_core v0.10.3
       Fresh synstructure v0.12.4
       Fresh num-derive v0.3.3
       Fresh wasm-bindgen-backend v0.2.69
       Fresh rand_chacha v0.3.0
       Fresh derivative v2.1.1
       Fresh url v2.2.0
       Fresh chrono v0.4.19
       Fresh lyon_geom v0.17.0
       Fresh tracing-attributes v0.1.11
       Fresh futures-macro v0.3.10
       Fresh regex v1.4.2
       Fresh enum-map-derive v0.4.6
       Fresh num-rational v0.3.2
       Fresh num-iter v0.1.42
       Fresh pin-project-internal v1.0.2
       Fresh pin-project-internal v0.4.27
       Fresh ctor v0.1.16
       Fresh dasp_signal v0.11.0 (https://github.com/RustAudio/dasp?rev=f05a703#f05a703d)
       Fresh tinyfiledialogs v3.3.10 (https://github.com/jdm/tinyfiledialogs-rs?rev=1a235d1#1a235d1b)
       Fresh syn v1.0.57
       Fresh crossbeam-deque v0.8.0
       Fresh proc-macro-error v1.0.4
       Fresh curl-sys v0.4.39+curl-7.74.0
       Fresh walkdir v2.3.1
       Fresh winit v0.24.0
       Fresh thiserror v1.0.23
       Fresh darling_macro v0.10.3
       Fresh serde v1.0.118
       Fresh gc-arena-derive v0.2.0
       Fresh rand v0.8.2
       Fresh wasm-bindgen-macro-support v0.2.69
       Fresh vswhom v0.1.0
       Fresh rayon-core v1.9.0
       Fresh lyon_path v0.17.1
       Fresh tracing v0.1.22
       Fresh clap_derive v3.0.0-beta.2
       Fresh futures-util v0.3.10
       Fresh enum-map v0.6.4
       Fresh env_logger v0.8.2
       Fresh pin-project v0.4.27
       Fresh console v0.13.0
       Fresh pin-project v1.0.2
       Fresh pretty_assertions v0.6.1
       Fresh dasp v0.11.0 (https://github.com/RustAudio/dasp?rev=f05a703#f05a703d)
       Fresh ruffle_macros v0.1.0 (D:\projects\ruffle\core\macros)
       Fresh darling v0.10.3
       Fresh rayon v1.5.0
       Fresh toml v0.5.7
       Fresh gc-arena v0.2.0
       Fresh minimp3 v0.5.1
       Fresh serde_json v1.0.61
       Fresh wasm-bindgen-macro v0.2.69
       Fresh naga v0.2.0 (https://github.com/gfx-rs/naga?tag=gfx-5#583f218c)
       Fresh lyon_tessellation v0.17.1
       Fresh lyon_algorithms v0.17.1
       Fresh gpu-descriptor v0.1.0 (https://github.com/zakarumych/gpu-descriptor?rev=df74fd8c7bea03149058a41aab0e4fe04077b266#df74fd8c)
       Fresh gpu-alloc v0.2.1 (https://github.com/zakarumych/gpu-alloc?rev=29e761f24edc50e28d238e723503b146d55d222e#29e761f2)
       Fresh clap v3.0.0-beta.2
       Fresh embed-resource v1.4.1
       Fresh bstr v0.2.14
       Fresh curl v0.4.34
       Fresh cpal v0.13.1
       Fresh enumset_derive v0.5.0
       Fresh proc-macro-crate v0.1.5
       Fresh jpeg-decoder v0.1.20
       Fresh wasm-bindgen v0.2.69
       Fresh futures-executor v0.3.10
       Fresh flume v0.10.1
       Fresh tracing-futures v0.2.4
       Fresh indicatif v0.15.0
       Fresh enumset v1.0.1
       Fresh num_enum_derive v0.5.1
       Fresh js-sys v0.3.46
       Fresh gfx-hal v0.6.0 (https://github.com/gfx-rs/gfx?rev=6b3a1e36939473f0062232baf11e1deacd6605f4#6b3a1e36)
       Fresh lyon v0.17.1
       Fresh tiff v0.6.0
       Fresh futures v0.3.10
       Fresh console_error_panic_hook v0.1.6
       Fresh csv v1.1.5
       Fresh num_enum v0.5.1
       Fresh gfx-auxil v0.5.0 (https://github.com/gfx-rs/gfx?rev=6b3a1e36939473f0062232baf11e1deacd6605f4#6b3a1e36)
       Fresh web-sys v0.3.46
       Fresh gfx-backend-empty v0.6.0 (https://github.com/gfx-rs/gfx?rev=6b3a1e36939473f0062232baf11e1deacd6605f4#6b3a1e36)
       Fresh gfx-backend-vulkan v0.6.5 (https://github.com/gfx-rs/gfx?rev=6b3a1e36939473f0062232baf11e1deacd6605f4#6b3a1e36)
       Fresh image v0.23.12
       Fresh wasm-bindgen-futures v0.4.19
       Fresh isahc v1.0.3
       Fresh swf v0.1.2 (D:\projects\ruffle\swf)
       Fresh gfx-backend-dx12 v0.6.2 (https://github.com/gfx-rs/gfx?rev=6b3a1e36939473f0062232baf11e1deacd6605f4#6b3a1e36)
       Fresh gfx-backend-dx11 v0.6.0 (https://github.com/gfx-rs/gfx?rev=6b3a1e36939473f0062232baf11e1deacd6605f4#6b3a1e36)
       Fresh wasm-bindgen-test v0.3.19
       Fresh console_log v0.2.0
       Fresh ruffle_web_common v0.1.0 (D:\projects\ruffle\web\common)
       Fresh wgpu-core v0.6.0 (https://github.com/gfx-rs/wgpu?rev=5b9cfeb9413175de366ec1e3d64ec6ee2feffa0e#5b9cfeb9)
       Fresh ruffle_render_common_tess v0.1.0 (D:\projects\ruffle\render\common_tess)
       Fresh ruffle_core v0.1.0 (D:\projects\ruffle\core)
       Fresh ruffle_render_canvas v0.1.0 (D:\projects\ruffle\render\canvas)
       Fresh ruffle_scanner v0.1.0 (D:\projects\ruffle\scanner)
       Fresh wgpu v0.6.0 (https://github.com/gfx-rs/wgpu-rs?rev=6cfd4243603b495fed568445792feed51e78aac2#6cfd4243)
       Fresh ruffle_render_webgl v0.1.0 (D:\projects\ruffle\render\webgl)
    Checking ruffle_render_wgpu v0.1.0 (D:\projects\ruffle\render\wgpu)
       Fresh ruffle_web v0.1.0 (D:\projects\ruffle\web)
     Running `C:\Users\Michael Welsh\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\bin\clippy-driver.exe rustc --crate-name ruffle_render_wgpu --edition=2018 render\wgpu\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --cfg "feature=\"clap\"" -C metadata=01f0247a33868081 -C extra-filename=-01f0247a33868081 --out-dir D:\projects\ruffle\target\debug\deps -C incremental=D:\projects\ruffle\target\debug\incremental -L dependency=D:\projects\ruffle\target\debug\deps --extern bytemuck=D:\projects\ruffle\target\debug\deps\libbytemuck-8011a6f0eee8cd96.rmeta --extern clap=D:\projects\ruffle\target\debug\deps\libclap-4a9878c85ece60e9.rmeta --extern enum_map=D:\projects\ruffle\target\debug\deps\libenum_map-bf0e49616d2918b9.rmeta --extern futures=D:\projects\ruffle\target\debug\deps\libfutures-ccb66391a974819a.rmeta --extern image=D:\projects\ruffle\target\debug\deps\libimage-9fc0fce9171f99f1.rmeta --extern jpeg_decoder=D:\projects\ruffle\target\debug\deps\libjpeg_decoder-49ab6efe55db93cd.rmeta --extern log=D:\projects\ruffle\target\debug\deps\liblog-e7901a61ccaaf907.rmeta --extern lyon=D:\projects\ruffle\target\debug\deps\liblyon-e9e31a51c07b57e5.rmeta --extern raw_window_handle=D:\projects\ruffle\target\debug\deps\libraw_window_handle-0c35d64e7757ddb9.rmeta --extern ruffle_core=D:\projects\ruffle\target\debug\deps\libruffle_core-6d179c3477735c29.rmeta --extern wgpu=D:\projects\ruffle\target\debug\deps\libwgpu-f4cb8931cc69d5cb.rmeta -L native=D:\projects\ruffle\target\debug\build\minimp3-sys-4f825ffdbfb27574\out -L native=D:\projects\ruffle\target\debug\build\spirv_cross-85a7bcbcd0e1039c\out`
     Running `C:\Users\Michael Welsh\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\bin\clippy-driver.exe rustc --crate-name ruffle_render_wgpu --edition=2018 render\wgpu\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --cfg "feature=\"clap\"" -C metadata=b4134aa67cc3180e -C extra-filename=-b4134aa67cc3180e --out-dir D:\projects\ruffle\target\debug\deps -C incremental=D:\projects\ruffle\target\debug\incremental -L dependency=D:\projects\ruffle\target\debug\deps --extern bytemuck=D:\projects\ruffle\target\debug\deps\libbytemuck-8011a6f0eee8cd96.rmeta --extern clap=D:\projects\ruffle\target\debug\deps\libclap-4a9878c85ece60e9.rmeta --extern enum_map=D:\projects\ruffle\target\debug\deps\libenum_map-bf0e49616d2918b9.rmeta --extern futures=D:\projects\ruffle\target\debug\deps\libfutures-ccb66391a974819a.rmeta --extern image=D:\projects\ruffle\target\debug\deps\libimage-9fc0fce9171f99f1.rmeta --extern jpeg_decoder=D:\projects\ruffle\target\debug\deps\libjpeg_decoder-49ab6efe55db93cd.rmeta --extern log=D:\projects\ruffle\target\debug\deps\liblog-e7901a61ccaaf907.rmeta --extern lyon=D:\projects\ruffle\target\debug\deps\liblyon-e9e31a51c07b57e5.rmeta --extern raw_window_handle=D:\projects\ruffle\target\debug\deps\libraw_window_handle-0c35d64e7757ddb9.rmeta --extern ruffle_core=D:\projects\ruffle\target\debug\deps\libruffle_core-6d179c3477735c29.rmeta --extern wgpu=D:\projects\ruffle\target\debug\deps\libwgpu-f4cb8931cc69d5cb.rmeta -L native=D:\projects\ruffle\target\debug\build\minimp3-sys-4f825ffdbfb27574\out -L native=D:\projects\ruffle\target\debug\build\spirv_cross-85a7bcbcd0e1039c\out`
error: internal compiler error: compiler\rustc_metadata\src\rmeta\decoder.rs:1189:17: get_optimized_mir: missing MIR for `DefId(121:763 ~ wgpu[c531]::{impl#19}::request_adapter::{closure#0})`

thread 'rustc' panicked at 'Box<Any>', compiler\rustc_errors\src\lib.rs:958:9
stack backtrace:
   0:     0x7ffed23dbd65 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h07eb7c6246901ad5
   1:     0x7ffed240856b - core::fmt::write::ha3ea633b18d2da75
   2:     0x7ffed23cd6ed - <std::io::IoSliceMut as core::fmt::Debug>::fmt::h6d135953c295e8fa
   3:     0x7ffed23dff3d - std::panicking::take_hook::h462942ea222a8ec2
   4:     0x7ffed23dfa43 - std::panicking::take_hook::h462942ea222a8ec2
   5:     0x7ff7cfe69eba - <unknown>
   6:     0x7ffed23e0a1f - std::panicking::rust_panic_with_hook::h18985e2f09a20bf1
error: internal compiler error: compiler\rustc_metadata\src\rmeta\decoder.rs:1189:17: get_optimized_mir: missing MIR for `DefId(121:763 ~ wgpu[c531]::{impl#19}::request_adapter::{closure#0})`

thread 'rustc' panicked at 'Box<Any>', compiler\rustc_errors\src\lib.rs:958:9
stack backtrace:
   7:     0x7ffecc50ee90 - <rustc_errors::emitter::FileWithAnnotatedLines as core::fmt::Debug>::fmt::hb372a07d1ae2ed55
   8:     0x7ffecc50e3c9 - <rustc_errors::emitter::FileWithAnnotatedLines as core::fmt::Debug>::fmt::hb372a07d1ae2ed55
   9:     0x7ffecc4ebcf1 - <rustc_errors::snippet::Style as core::fmt::Debug>::fmt::he134d6500f510bdf
  10:     0x7ffecc51fa6b - rustc_errors::HandlerInner::err_count::hb825b5f710191ee1
  11:     0x7ffecc51dbb2 - rustc_errors::Handler::bug::h06be2ef1e6f93ca1
  12:     0x7ffecc076bcf - rustc_middle::util::bug::bug_fmt::h9bbf292f93712137
  13:     0x7ffecc076330 - rustc_middle::ty::walk::<impl rustc_middle::ty::subst::GenericArg>::walk_shallow::h00be8ec8c0aca82f
  14:     0x7ffecc0762d3 - rustc_middle::ty::walk::<impl rustc_middle::ty::subst::GenericArg>::walk_shallow::h00be8ec8c0aca82f
  15:     0x7ffecc076af9 - rustc_middle::util::bug::bug_fmt::h9bbf292f93712137
  16:     0x7ffecc076a67 - rustc_middle::util::bug::bug_fmt::h9bbf292f93712137
  17:     0x7ffecb6434c0 - <(&rustc_metadata::creader::CrateMetadataRef,rustc_middle::ty::context::TyCtxt) as rustc_metadata::rmeta::decoder::Metadata>::raw_bytes::h6e6ab89b27782b2a
  18:     0x7ffecb4fb54f - rustc_metadata::rmeta::decoder::cstore_impl::provide_extern::h711d7e8c7e8f25a9
  19:     0x7ffecc32ea7f - rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::debug_node::h8f6af1dc1c83d185
  20:     0x7ffecc2f16de - ZN12rustc_middle2ty111_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_middle_ich_StableHashingContext_ctx_FOR_SymbolName159_$LT$impl$u20$rustc_data_structures..stable_hasher..HashStable$LT$rustc_middle..ich..hcx..StableHashingContext$GT$$u20$
  21:     0x7ffecbee2b0c - rustc_middle::ty::query::on_disk_cache::<impl rustc_serialize::serialize::Decodable<rustc_middle::ty::query::on_disk_cache::CacheDecoder> for alloc::vec::Vec<u8>>::decode::h05b770ce736eacb7
  22:     0x7ffecc1e2d78 - <rustc_middle::traits::query::type_op::AscribeUserType as core::fmt::Debug>::fmt::hc790ff1080e927d9
  23:     0x7ffecc0df2da - <rustc_middle::traits::query::type_op::AscribeUserType as core::fmt::Debug>::fmt::hc790ff1080e927d9
  24:     0x7ffecbf65b64 - rustc_middle::ty::layout::provide::h272b0573b3dc73b1
  25:     0x7ffecbf62dae - <rustc_middle::ty::layout::LayoutError as core::fmt::Display>::fmt::h86b89493ffbfb15a
  26:     0x7ffecbf913ee - rustc_middle::ty::print::pretty::<impl core::fmt::Display for &rustc_middle::ty::consts::Const>::fmt::h5d79b89cdfe35411
  27:     0x7ffecc33104f - rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::debug_node::h8f6af1dc1c83d185
  28:     0x7ffecc2feaad - ZN12rustc_middle2ty111_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_middle_ich_StableHashingContext_ctx_FOR_SymbolName159_$LT$impl$u20$rustc_data_structures..stable_hasher..HashStable$LT$rustc_middle..ich..hcx..StableHashingContext$GT$$u20$
  29:     0x7ffecbeea309 - rustc_middle::ty::query::on_disk_cache::<impl rustc_serialize::serialize::Decodable<rustc_middle::ty::query::on_disk_cache::CacheDecoder> for alloc::vec::Vec<u8>>::decode::h05b770ce736eacb7
  30:     0x7ffecc1d3a1b - <rustc_middle::traits::query::type_op::AscribeUserType as core::fmt::Debug>::fmt::hc790ff1080e927d9
  31:     0x7ffecc13b439 - <rustc_middle::traits::query::type_op::AscribeUserType as core::fmt::Debug>::fmt::hc790ff1080e927d9
  32:     0x7ffecbf72605 - <rustc_middle::ty::layout::LayoutCx<rustc_middle::ty::context::TyCtxt> as rustc_target::abi::LayoutOf>::layout_of::h6a12661d237243cd
  33:     0x7ffecbec2e77 - <rustc_infer::infer::error_reporting::nice_region_error::find_anon_type::TyPathVisitor as rustc_hir::intravisit::Visitor>::visit_lifetime::h25247d894a9f9ff9
  34:     0x7ffecc31dc54 - ZN12rustc_middle2ty111_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_middle_ich_StableHashingContext_ctx_FOR_SymbolName159_$LT$impl$u20$rustc_data_structures..stable_hasher..HashStable$LT$rustc_middle..ich..hcx..StableHashingContext$GT$$u20$
  35:     0x7ffecbec9dce - <rustc_infer::infer::error_reporting::nice_region_error::find_anon_type::TyPathVisitor as rustc_hir::intravisit::Visitor>::visit_lifetime::h25247d894a9f9ff9
  36:     0x7ffecbf66348 - rustc_middle::ty::layout::provide::h272b0573b3dc73b1
  37:     0x7ffecbf62dae - <rustc_middle::ty::layout::LayoutError as core::fmt::Display>::fmt::h86b89493ffbfb15a
  38:     0x7ffecbf913ee - rustc_middle::ty::print::pretty::<impl core::fmt::Display for &rustc_middle::ty::consts::Const>::fmt::h5d79b89cdfe35411
  39:     0x7ffecc33104f - rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::debug_node::h8f6af1dc1c83d185
  40:     0x7ffecc2feaad - ZN12rustc_middle2ty111_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_middle_ich_StableHashingContext_ctx_FOR_SymbolName159_$LT$impl$u20$rustc_data_structures..stable_hasher..HashStable$LT$rustc_middle..ich..hcx..StableHashingContext$GT$$u20$
  41:     0x7ffecbeea309 - rustc_middle::ty::query::on_disk_cache::<impl rustc_serialize::serialize::Decodable<rustc_middle::ty::query::on_disk_cache::CacheDecoder> for alloc::vec::Vec<u8>>::decode::h05b770ce736eacb7
  42:     0x7ffecc1d3a1b - <rustc_middle::traits::query::type_op::AscribeUserType as core::fmt::Debug>::fmt::hc790ff1080e927d9
  43:     0x7ffecc13b439 - <rustc_middle::traits::query::type_op::AscribeUserType as core::fmt::Debug>::fmt::hc790ff1080e927d9
  44:     0x7ffecbf72605 - <rustc_middle::ty::layout::LayoutCx<rustc_middle::ty::context::TyCtxt> as rustc_target::abi::LayoutOf>::layout_of::h6a12661d237243cd
  45:     0x7ffecaffb029 - <rustc_mir::transform::const_prop::ConstProp as rustc_mir::transform::MirPass>::run_pass::hf3c65639a2b000a2
  46:     0x7ffecaf3fe96 - rustc_mir::transform::run_passes::h5d9585ee9601459a
  47:     0x7ffecaf42529 - rustc_mir::transform::run_passes::h5d9585ee9601459a
  48:     0x7ff7cffc5908 - <unknown>
  49:     0x7ff7cff9dbf3 - <unknown>
  50:     0x7ff7d00f33ee - <unknown>
  51:     0x7ff7cfed962d - <unknown>
  52:     0x7ff7d0053d5b - <unknown>
  53:     0x7ff7d0043833 - <unknown>
  54:     0x7ff7cffe6a86 - <unknown>
  55:     0x7ffecbb0be9a - <rustc_lint::late::LateLintPassObjects as rustc_lint::passes::LateLintPass>::check_fn::h29c3682a9ed10532
  56:     0x7ffec804f9c3 - rustc_interface::interface::parse_cfgspecs::hba8897bda4980b77
  57:     0x7ffec801ca18 - rustc_interface::util::commit_date_str::h992d14e83243a596
  58:     0x7ffec8052c63 - rustc_interface::interface::parse_cfgspecs::hba8897bda4980b77
  59:     0x7ffec80222f5 - rustc_interface::util::commit_date_str::h992d14e83243a596
  60:     0x7ffec8052683 - rustc_interface::interface::parse_cfgspecs::hba8897bda4980b77
  61:     0x7ffec801bf1e - rustc_interface::util::commit_date_str::h992d14e83243a596
  62:     0x7ffec803cf6e - rustc_interface::interface::parse_cfgspecs::hba8897bda4980b77
  63:     0x7ffec8044e6f - rustc_interface::interface::parse_cfgspecs::hba8897bda4980b77
  64:     0x7ffec7ff5c75 - rustc_interface::callbacks::setup_callbacks::hb08e7c922d255f23
  65:     0x7ffec8044791 - rustc_interface::interface::parse_cfgspecs::hba8897bda4980b77
  66:     0x7ffec807821f - rustc_interface::passes::QueryContext::print_stats::h6a4276cc06302e85
  67:     0x7ffec7ec230b - rustc_ast::util::parser::prec_let_scrutinee_needs_par::h0da38a96661182e5
  68:     0x7ffec7ec4936 - rustc_ast::util::parser::prec_let_scrutinee_needs_par::h0da38a96661182e5
  69:     0x7ffec7e4789f - <tracing_subscriber::util::TryInitError as core::fmt::Display>::fmt::h9f271cb85bcd455c
  70:     0x7ffec7e9ec81 - <rustc_driver::Compilation as core::fmt::Debug>::fmt::hb1f057422d1cd8be
  71:     0x7ffec7e30455 - <rustc_codegen_ssa::back::linker::MsvcLinker as rustc_codegen_ssa::back::linker::Linker>::partial_relro::h3b67a382b9b56b12
  72:     0x7ffec7e2c5e5 - <rustc_codegen_ssa::back::linker::MsvcLinker as rustc_codegen_ssa::back::linker::Linker>::partial_relro::h3b67a382b9b56b12
  73:     0x7ffec7ec54d5 - rustc_ast::util::parser::prec_let_scrutinee_needs_par::h0da38a96661182e5
  74:     0x7ffec7e90405 - <rustc_driver::Compilation as core::fmt::Debug>::fmt::hb1f057422d1cd8be
  75:     0x7ffec7ec764c - rustc_ast::util::parser::prec_let_scrutinee_needs_par::h0da38a96661182e5
  76:     0x7ffec7e922b5 - <rustc_driver::Compilation as core::fmt::Debug>::fmt::hb1f057422d1cd8be
  77:     0x7ffec7eba4d5 - rustc_ast::util::parser::prec_let_scrutinee_needs_par::h0da38a96661182e5
  78:     0x7ffec7e339dd - <rustc_codegen_ssa::back::linker::MsvcLinker as rustc_codegen_ssa::back::linker::Linker>::partial_relro::h3b67a382b9b56b12
  79:     0x7ffed23f0043 - std::sys::windows::thread::Thread::new::ha39cc759d7fbecd8
  80:     0x7fff56b17034 - BaseThreadInitThunk
  81:     0x7fff5771d0d1 - RtlUserThreadStart

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new

note: Clippy version: clippy 0.1.51 (a62a7604 2021-01-13)

query stack during panic:
#0 [optimized_mir] optimizing MIR for `wgpu::Instance::request_adapter::{closure#0}`
#1 [layout_raw] computing layout of `[static generator@wgpu::Instance::request_adapter::{closure#0} {std::future::ResumeTy, std::future::Ready<std::option::Option<wgpu_core::id::Id<wgpu_core::instance::Adapter<gfx_backend_empty::Backend>>>>, ()}]`
#2 [layout_raw] computing layout of `std::future::from_generator::GenFuture<[static generator@wgpu::Instance::request_adapter::{closure#0} {std::future::ResumeTy, std::future::Ready<std::option::Option<wgpu_core::id::Id<wgpu_core::instance::Adapter<gfx_backend_empty::Backend>>>>, ()}]>`
#3 [optimized_mir] optimizing MIR for `WgpuRenderBackend::<T>::build_descriptors`
#4 [analysis] running analysis passes on this crate
end of query stack
   0:     0x7ffed23dbd65 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h07eb7c6246901ad5
   1:     0x7ffed240856b - core::fmt::write::ha3ea633b18d2da75
   2:     0x7ffed23cd6ed - <std::io::IoSliceMut as core::fmt::Debug>::fmt::h6d135953c295e8fa
   3:     0x7ffed23dff3d - std::panicking::take_hook::h462942ea222a8ec2
   4:     0x7ffed23dfa43 - std::panicking::take_hook::h462942ea222a8ec2
   5:     0x7ff7cfe69eba - <unknown>
   6:     0x7ffed23e0a1f - std::panicking::rust_panic_with_hook::h18985e2f09a20bf1
error: aborting due to previous error

   7:     0x7ffecc50ee90 - <rustc_errors::emitter::FileWithAnnotatedLines as core::fmt::Debug>::fmt::hb372a07d1ae2ed55
   8:     0x7ffecc50e3c9 - <rustc_errors::emitter::FileWithAnnotatedLines as core::fmt::Debug>::fmt::hb372a07d1ae2ed55
   9:     0x7ffecc4ebcf1 - <rustc_errors::snippet::Style as core::fmt::Debug>::fmt::he134d6500f510bdf
  10:     0x7ffecc51fa6b - rustc_errors::HandlerInner::err_count::hb825b5f710191ee1
  11:     0x7ffecc51dbb2 - rustc_errors::Handler::bug::h06be2ef1e6f93ca1
  12:     0x7ffecc076bcf - rustc_middle::util::bug::bug_fmt::h9bbf292f93712137
  13:     0x7ffecc076330 - rustc_middle::ty::walk::<impl rustc_middle::ty::subst::GenericArg>::walk_shallow::h00be8ec8c0aca82f
  14:     0x7ffecc0762d3 - rustc_middle::ty::walk::<impl rustc_middle::ty::subst::GenericArg>::walk_shallow::h00be8ec8c0aca82f
  15:     0x7ffecc076af9 - rustc_middle::util::bug::bug_fmt::h9bbf292f93712137
  16:     0x7ffecc076a67 - rustc_middle::util::bug::bug_fmt::h9bbf292f93712137
  17:     0x7ffecb6434c0 - <(&rustc_metadata::creader::CrateMetadataRef,rustc_middle::ty::context::TyCtxt) as rustc_metadata::rmeta::decoder::Metadata>::raw_bytes::h6e6ab89b27782b2a
  18:     0x7ffecb4fb54f - rustc_metadata::rmeta::decoder::cstore_impl::provide_extern::h711d7e8c7e8f25a9
  19:     0x7ffecc32ea7f - rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::debug_node::h8f6af1dc1c83d185
  20:     0x7ffecc2f16de - ZN12rustc_middle2ty111_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_middle_ich_StableHashingContext_ctx_FOR_SymbolName159_$LT$impl$u20$rustc_data_structures..stable_hasher..HashStable$LT$rustc_middle..ich..hcx..StableHashingContext$GT$$u20$
  21:     0x7ffecbee2b0c - rustc_middle::ty::query::on_disk_cache::<impl rustc_serialize::serialize::Decodable<rustc_middle::ty::query::on_disk_cache::CacheDecoder> for alloc::vec::Vec<u8>>::decode::h05b770ce736eacb7
  22:     0x7ffecc1e2d78 - <rustc_middle::traits::query::type_op::AscribeUserType as core::fmt::Debug>::fmt::hc790ff1080e927d9
  23:     0x7ffecc0df2da - <rustc_middle::traits::query::type_op::AscribeUserType as core::fmt::Debug>::fmt::hc790ff1080e927d9
  24:     0x7ffecbf65b64 - rustc_middle::ty::layout::provide::h272b0573b3dc73b1
  25:     0x7ffecbf62dae - <rustc_middle::ty::layout::LayoutError as core::fmt::Display>::fmt::h86b89493ffbfb15a
  26:     0x7ffecbf913ee - rustc_middle::ty::print::pretty::<impl core::fmt::Display for &rustc_middle::ty::consts::Const>::fmt::h5d79b89cdfe35411
  27:     0x7ffecc33104f - rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::debug_node::h8f6af1dc1c83d185
  28:     0x7ffecc2feaad - ZN12rustc_middle2ty111_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_middle_ich_StableHashingContext_ctx_FOR_SymbolName159_$LT$impl$u20$rustc_data_structures..stable_hasher..HashStable$LT$rustc_middle..ich..hcx..StableHashingContext$GT$$u20$
  29:     0x7ffecbeea309 - rustc_middle::ty::query::on_disk_cache::<impl rustc_serialize::serialize::Decodable<rustc_middle::ty::query::on_disk_cache::CacheDecoder> for alloc::vec::Vec<u8>>::decode::h05b770ce736eacb7
  30:     0x7ffecc1d3a1b - <rustc_middle::traits::query::type_op::AscribeUserType as core::fmt::Debug>::fmt::hc790ff1080e927d9
  31:     0x7ffecc13b439 - <rustc_middle::traits::query::type_op::AscribeUserType as core::fmt::Debug>::fmt::hc790ff1080e927d9
  32:     0x7ffecbf72605 - <rustc_middle::ty::layout::LayoutCx<rustc_middle::ty::context::TyCtxt> as rustc_target::abi::LayoutOf>::layout_of::h6a12661d237243cd
  33:     0x7ffecbec2e77 - <rustc_infer::infer::error_reporting::nice_region_error::find_anon_type::TyPathVisitor as rustc_hir::intravisit::Visitor>::visit_lifetime::h25247d894a9f9ff9
  34:     0x7ffecc31dc54 - ZN12rustc_middle2ty111_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_middle_ich_StableHashingContext_ctx_FOR_SymbolName159_$LT$impl$u20$rustc_data_structures..stable_hasher..HashStable$LT$rustc_middle..ich..hcx..StableHashingContext$GT$$u20$
  35:     0x7ffecbec9dce - <rustc_infer::infer::error_reporting::nice_region_error::find_anon_type::TyPathVisitor as rustc_hir::intravisit::Visitor>::visit_lifetime::h25247d894a9f9ff9
  36:     0x7ffecbf66348 - rustc_middle::ty::layout::provide::h272b0573b3dc73b1
  37:     0x7ffecbf62dae - <rustc_middle::ty::layout::LayoutError as core::fmt::Display>::fmt::h86b89493ffbfb15a
  38:     0x7ffecbf913ee - rustc_middle::ty::print::pretty::<impl core::fmt::Display for &rustc_middle::ty::consts::Const>::fmt::h5d79b89cdfe35411
  39:     0x7ffecc33104f - rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::debug_node::h8f6af1dc1c83d185
  40:     0x7ffecc2feaad - ZN12rustc_middle2ty111_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_middle_ich_StableHashingContext_ctx_FOR_SymbolName159_$LT$impl$u20$rustc_data_structures..stable_hasher..HashStable$LT$rustc_middle..ich..hcx..StableHashingContext$GT$$u20$
  41:     0x7ffecbeea309 - rustc_middle::ty::query::on_disk_cache::<impl rustc_serialize::serialize::Decodable<rustc_middle::ty::query::on_disk_cache::CacheDecoder> for alloc::vec::Vec<u8>>::decode::h05b770ce736eacb7
  42:     0x7ffecc1d3a1b - <rustc_middle::traits::query::type_op::AscribeUserType as core::fmt::Debug>::fmt::hc790ff1080e927d9
  43:     0x7ffecc13b439 - <rustc_middle::traits::query::type_op::AscribeUserType as core::fmt::Debug>::fmt::hc790ff1080e927d9
  44:     0x7ffecbf72605 - <rustc_middle::ty::layout::LayoutCx<rustc_middle::ty::context::TyCtxt> as rustc_target::abi::LayoutOf>::layout_of::h6a12661d237243cd
  45:     0x7ffecaffb029 - <rustc_mir::transform::const_prop::ConstProp as rustc_mir::transform::MirPass>::run_pass::hf3c65639a2b000a2
  46:     0x7ffecaf3fe96 - rustc_mir::transform::run_passes::h5d9585ee9601459a
  47:     0x7ffecaf42529 - rustc_mir::transform::run_passes::h5d9585ee9601459a
  48:     0x7ff7cffc5908 - <unknown>
  49:     0x7ff7cff9dbf3 - <unknown>
  50:     0x7ff7d00f33ee - <unknown>
  51:     0x7ff7cfed962d - <unknown>
  52:     0x7ff7d0053d5b - <unknown>
  53:     0x7ff7d0043833 - <unknown>
  54:     0x7ff7cffe6a86 - <unknown>
  55:     0x7ffecbb0be9a - <rustc_lint::late::LateLintPassObjects as rustc_lint::passes::LateLintPass>::check_fn::h29c3682a9ed10532
  56:     0x7ffec804f9c3 - rustc_interface::interface::parse_cfgspecs::hba8897bda4980b77
  57:     0x7ffec801ca18 - rustc_interface::util::commit_date_str::h992d14e83243a596
  58:     0x7ffec8052c63 - rustc_interface::interface::parse_cfgspecs::hba8897bda4980b77
  59:     0x7ffec80222f5 - rustc_interface::util::commit_date_str::h992d14e83243a596
  60:     0x7ffec8052683 - rustc_interface::interface::parse_cfgspecs::hba8897bda4980b77
  61:     0x7ffec801bf1e - rustc_interface::util::commit_date_str::h992d14e83243a596
  62:     0x7ffec803cf6e - rustc_interface::interface::parse_cfgspecs::hba8897bda4980b77
  63:     0x7ffec8044e6f - rustc_interface::interface::parse_cfgspecs::hba8897bda4980b77
  64:     0x7ffec7ff5c75 - rustc_interface::callbacks::setup_callbacks::hb08e7c922d255f23
  65:     0x7ffec8044791 - rustc_interface::interface::parse_cfgspecs::hba8897bda4980b77
  66:     0x7ffec807821f - rustc_interface::passes::QueryContext::print_stats::h6a4276cc06302e85
  67:     0x7ffec7ec230b - rustc_ast::util::parser::prec_let_scrutinee_needs_par::h0da38a96661182e5
  68:     0x7ffec7ec4936 - rustc_ast::util::parser::prec_let_scrutinee_needs_par::h0da38a96661182e5
  69:     0x7ffec7e4789f - <tracing_subscriber::util::TryInitError as core::fmt::Display>::fmt::h9f271cb85bcd455c
  70:     0x7ffec7e9ec81 - <rustc_driver::Compilation as core::fmt::Debug>::fmt::hb1f057422d1cd8be
  71:     0x7ffec7e30455 - <rustc_codegen_ssa::back::linker::MsvcLinker as rustc_codegen_ssa::back::linker::Linker>::partial_relro::h3b67a382b9b56b12
  72:     0x7ffec7e2c5e5 - <rustc_codegen_ssa::back::linker::MsvcLinker as rustc_codegen_ssa::back::linker::Linker>::partial_relro::h3b67a382b9b56b12
  73:     0x7ffec7ec54d5 - rustc_ast::util::parser::prec_let_scrutinee_needs_par::h0da38a96661182e5
  74:     0x7ffec7e90405 - <rustc_driver::Compilation as core::fmt::Debug>::fmt::hb1f057422d1cd8be
  75:     0x7ffec7ec764c - rustc_ast::util::parser::prec_let_scrutinee_needs_par::h0da38a96661182e5
  76:     0x7ffec7e922b5 - <rustc_driver::Compilation as core::fmt::Debug>::fmt::hb1f057422d1cd8be
  77:     0x7ffec7eba4d5 - rustc_ast::util::parser::prec_let_scrutinee_needs_par::h0da38a96661182e5
  78:     0x7ffec7e339dd - <rustc_codegen_ssa::back::linker::MsvcLinker as rustc_codegen_ssa::back::linker::Linker>::partial_relro::h3b67a382b9b56b12
  79:     0x7ffed23f0043 - std::sys::windows::thread::Thread::new::ha39cc759d7fbecd8
  80:     0x7fff56b17034 - BaseThreadInitThunk
  81:     0x7fff5771d0d1 - RtlUserThreadStart

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new

note: Clippy version: clippy 0.1.51 (a62a7604 2021-01-13)

query stack during panic:
#0 [optimized_mir] optimizing MIR for `wgpu::Instance::request_adapter::{closure#0}`
#1 [layout_raw] computing layout of `[static generator@wgpu::Instance::request_adapter::{closure#0} {std::future::ResumeTy, std::future::Ready<std::option::Option<wgpu_core::id::Id<wgpu_core::instance::Adapter<gfx_backend_empty::Backend>>>>, ()}]`
#2 [layout_raw] computing layout of `std::future::from_generator::GenFuture<[static generator@wgpu::Instance::request_adapter::{closure#0} {std::future::ResumeTy, std::future::Ready<std::option::Option<wgpu_core::id::Id<wgpu_core::instance::Adapter<gfx_backend_empty::Backend>>>>, ()}]>`
#3 [optimized_mir] optimizing MIR for `WgpuRenderBackend::<T>::build_descriptors`
#4 [analysis] running analysis passes on this crate
end of query stack
error: could not compile `ruffle_render_wgpu`

Caused by:
  process didn't exit successfully: `C:\Users\Michael Welsh\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\bin\clippy-driver.exe rustc --crate-name ruffle_render_wgpu --edition=2018 render\wgpu\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --cfg "feature=\"clap\"" -C metadata=b4134aa67cc3180e -C extra-filename=-b4134aa67cc3180e --out-dir D:\projects\ruffle\target\debug\deps -C incremental=D:\projects\ruffle\target\debug\incremental -L dependency=D:\projects\ruffle\target\debug\deps --extern bytemuck=D:\projects\ruffle\target\debug\deps\libbytemuck-8011a6f0eee8cd96.rmeta --extern clap=D:\projects\ruffle\target\debug\deps\libclap-4a9878c85ece60e9.rmeta --extern enum_map=D:\projects\ruffle\target\debug\deps\libenum_map-bf0e49616d2918b9.rmeta --extern futures=D:\projects\ruffle\target\debug\deps\libfutures-ccb66391a974819a.rmeta --extern image=D:\projects\ruffle\target\debug\deps\libimage-9fc0fce9171f99f1.rmeta --extern jpeg_decoder=D:\projects\ruffle\target\debug\deps\libjpeg_decoder-49ab6efe55db93cd.rmeta --extern log=D:\projects\ruffle\target\debug\deps\liblog-e7901a61ccaaf907.rmeta --extern lyon=D:\projects\ruffle\target\debug\deps\liblyon-e9e31a51c07b57e5.rmeta --extern raw_window_handle=D:\projects\ruffle\target\debug\deps\libraw_window_handle-0c35d64e7757ddb9.rmeta --extern ruffle_core=D:\projects\ruffle\target\debug\deps\libruffle_core-6d179c3477735c29.rmeta --extern wgpu=D:\projects\ruffle\target\debug\deps\libwgpu-f4cb8931cc69d5cb.rmeta -L native=D:\projects\ruffle\target\debug\build\minimp3-sys-4f825ffdbfb27574\out -L native=D:\projects\ruffle\target\debug\build\spirv_cross-85a7bcbcd0e1039c\out` (exit code: 101)
warning: build failed, waiting for other jobs to finish...
error: aborting due to previous error

error: build failed

@ddaws
Copy link

ddaws commented Jan 14, 2021

Also seeing

error: internal compiler error: compiler/rustc_metadata/src/rmeta/decoder.rs:1189:17: get_optimized_mir: missing MIR for `DefId(35:2152 ~ actix_web[356a]::test::call_service::{closure#0})`
thread 'rustc' panicked at 'Box<Any>', compiler/rustc_errors/src/lib.rs:958:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new
note: Clippy version: clippy 0.1.51 (a62a760 2021-01-13)
query stack during panic:
#0 [optimized_mir] optimizing MIR for `actix_web::test::call_service::{closure#0}`
#1 [layout_raw] computing layout of `[static generator@actix_web::test::call_service<actix_web::app_service::AppInitService<actix_web::app_service::AppRouting, actix_web::dev::Body>, actix_http::Request<std::pin::Pin<std::boxed::Box<dyn futures_core::stream::Stream<Item = std::result::Result<actix_web::web::Bytes, actix_web::error::PayloadError>>>>>, actix_web::dev::Body, actix_web::Error>::{closure#0} for<'r> {std::future::ResumeTy, &'r mut actix_web::app_service::AppInitService<actix_web::app_service::AppRouting, actix_web::dev::Body>, actix_http::Request<std::pin::Pin<std::boxed::Box<dyn futures_core::stream::Stream<Item = std::result::Result<actix_web::web::Bytes, actix_web::error::PayloadError>>>>>, std::pin::Pin<std::boxed::Box<dyn std::future::Future<Output = std::result::Result<actix_web::dev::ServiceResponse, actix_web::Error>>>>, ()}]`
end of query stack

@figsoda
Copy link

figsoda commented Jan 14, 2021

Got a similar error

error: internal compiler error: compiler/rustc_metadata/src/rmeta/decoder.rs:1189:17: get_optimized_mir: missing MIR for `DefId(49:291 ~ a
sync_net[980c]::tcp::{impl#9}::connect::{closure#0})`

thread 'rustc' panicked at 'Box<Any>', compiler/rustc_errors/src/lib.rs:958:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new

note: Clippy version: clippy 0.1.51 (a62a760 2021-01-13)

query stack during panic:
#0 [optimized_mir] optimizing MIR for `async_net::TcpStream::connect::{closure#0}`
#1 [layout_raw] computing layout of `[static generator@async_net::TcpStream::connect<&async_net::SocketAddr>::{closure#0} for<'r> {std::fu
ture::ResumeTy, &async_net::SocketAddr, std::option::Option<std::io::Error>, &'r &async_net::SocketAddr, async_net::addr::ToSocketAddrsFut
ure<std::option::IntoIter<async_net::SocketAddr>>, (), std::result::Result<std::option::IntoIter<async_net::SocketAddr>, std::io::Error>,
std::option::IntoIter<async_net::SocketAddr>, async_net::SocketAddr, std::future::from_generator::GenFuture<[static generator@async_io::As
ync<std::net::TcpStream>::connect<async_net::SocketAddr>::{closure#0} for<'s, 't0> {std::future::ResumeTy, async_net::SocketAddr, async_io
::Async<std::net::TcpStream>, &'s async_io::Async<std::net::TcpStream>, impl futures_lite::Future, ()}]>}]`
end of query stack
error: aborting due to previous error

@giraffate
Copy link
Contributor

Thanks for your reports!

It seems to be related with rust-lang/rust#81000.

@giraffate
Copy link
Contributor

It seems to be fixed, so I closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: Clippy is not doing the correct thing I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
Projects
None yet
Development

No branches or pull requests

5 participants