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

cargo +nightly fix panicked #91708

Closed
kyfk opened this issue Dec 9, 2021 · 3 comments
Closed

cargo +nightly fix panicked #91708

kyfk opened this issue Dec 9, 2021 · 3 comments
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

@kyfk
Copy link

kyfk commented Dec 9, 2021

I've tried cargo +nightly fix it's panicked.

Meta

rustc --version --verbose:

rustc 1.57.0 (f1edd0429 2021-11-29)
binary: rustc
commit-hash: f1edd0429582dd29cccacaf50fd134b05593bd9c
commit-date: 2021-11-29
host: x86_64-apple-darwin
release: 1.57.0
LLVM version: 13.0.0

OS:

macOS Montery Version12.0.1

Hardware:

Hardware Overview:

  Model Name:	MacBook Pro
  Model Identifier:	MacBookPro16,2
  Processor Name:	Quad-Core Intel Core i7
  Processor Speed:	2.3 GHz
  Number of Processors:	1
  Total Number of Cores:	4
  L2 Cache (per Core):	512 KB
  L3 Cache:	8 MB
  Hyper-Threading Technology:	Enabled
  Memory:	32 GB
  System Firmware Version:	1715.40.15.0.0 (iBridge: 19.16.10549.0.0,0)
  OS Loader Version:	540.40.4~45
  Serial Number (system):	C02DW0XRML86
  Hardware UUID:	988BE683-325B-5AFC-AB89-F45878A584C7
  Provisioning UDID:	988BE683-325B-5AFC-AB89-F45878A584C7
  Activation Lock Status:	Enabled

Dependencies:

[dependencies]
tokio = { version = "1.13", features = ["full"] }
lambda_http = "0.4.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["json", "env-filter", "tracing-log"] }
diesel = { version = "1.4", features = ["mysql", "chrono"] }
once_cell = "1.8"
chrono = "0.4"
bcrypt = "0.10"
rand = "0.8"
uuid = { version = "0.8", features = ["v4"] }
aws_lambda_events = "0.5"
envconfig = "0.10"
reqwest = { version = "0.11", features = ["json"] }
dotenv = "0.15"
diesel-derive-enum = { version = "1", features = ["mysql"] }
strum = "0.23"
strum_macros = "0.23"
aws-config = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.26-alpha"}
aws-types = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.26-alpha"}
aws-sdk-s3 = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.26-alpha"}
bytes = "1.1.0"
base64 = "0.13.0"
hmac = "0.12.0"
sha2 = "0.10.0"
thiserror = "1.0"
anyhow = "1.0"

[dev-dependencies]
criterion = "0.3"

Error output

    Checking bytes v1.1.0
    Checking serde_json v1.0.72
    Checking tracing-error v0.1.2
    Checking chrono v0.4.19
    Checking serde_urlencoded v0.7.0
    Checking tracing-serde v0.1.2
    Checking bstr v0.2.17
    Checking serde_cbor v0.11.2
thread 'rustc' panicked at 'assertion failed: sentinel == STR_SENTINEL', /rustc/e6b883c74f49f32cb5d1cbad3457f2b8805a4a38/compiler/rustc_serialize/src/opaque.rs:669:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

error: internal compiler error: unexpected panic

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

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.59.0-nightly (e6b883c74 2021-12-08) running on x86_64-apple-darwin

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

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

query stack during panic:
end of query stack
error: could not compile `tracing-serde`
warning: build failed, waiting for other jobs to finish...
thread 'rustc' panicked at 'assertion failed: sentinel == STR_SENTINEL', /rustc/e6b883c74f49f32cb5d1cbad3457f2b8805a4a38/compiler/rustc_serialize/src/opaque.rs:669:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

error: internal compiler error: unexpected panic

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

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.59.0-nightly (e6b883c74 2021-12-08) running on x86_64-apple-darwin

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

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

query stack during panic:
end of query stack
thread 'rustc' panicked at 'assertion failed: sentinel == STR_SENTINEL', /rustc/e6b883c74f49f32cb5d1cbad3457f2b8805a4a38/compiler/rustc_serialize/src/opaque.rs:669:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

error: internal compiler error: unexpected panic

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

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.59.0-nightly (e6b883c74 2021-12-08) running on x86_64-apple-darwin

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

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

query stack during panic:
end of query stack
thread 'rustc' panicked at 'assertion failed: sentinel == STR_SENTINEL', /rustc/e6b883c74f49f32cb5d1cbad3457f2b8805a4a38/compiler/rustc_serialize/src/opaque.rs:669:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

error: internal compiler error: unexpected panic

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

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.59.0-nightly (e6b883c74 2021-12-08) running on x86_64-apple-darwin

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

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

query stack during panic:
end of query stack
thread 'rustc' panicked at 'assertion failed: sentinel == STR_SENTINEL', /rustc/e6b883c74f49f32cb5d1cbad3457f2b8805a4a38/compiler/rustc_serialize/src/opaque.rs:669:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

error: internal compiler error: unexpected panic

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

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.59.0-nightly (e6b883c74 2021-12-08) running on x86_64-apple-darwin

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

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

query stack during panic:
end of query stack
thread 'rustc' panicked at 'assertion failed: sentinel == STR_SENTINEL', /rustc/e6b883c74f49f32cb5d1cbad3457f2b8805a4a38/compiler/rustc_serialize/src/opaque.rs:669:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

error: internal compiler error: unexpected panic

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

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.59.0-nightly (e6b883c74 2021-12-08) running on x86_64-apple-darwin

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

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

query stack during panic:
end of query stack
thread 'rustc' panicked at 'assertion failed: sentinel == STR_SENTINEL', /rustc/e6b883c74f49f32cb5d1cbad3457f2b8805a4a38/compiler/rustc_serialize/src/opaque.rs:669:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

error: internal compiler error: unexpected panic

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

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.59.0-nightly (e6b883c74 2021-12-08) running on x86_64-apple-darwin

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

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

query stack during panic:
end of query stack
thread 'rustc' panicked at 'assertion failed: sentinel == STR_SENTINEL', /rustc/e6b883c74f49f32cb5d1cbad3457f2b8805a4a38/compiler/rustc_serialize/src/opaque.rs:669:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

error: internal compiler error: unexpected panic

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

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.59.0-nightly (e6b883c74 2021-12-08) running on x86_64-apple-darwin

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

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

query stack during panic:
end of query stack
error: build failed
Backtrace

    Checking bytes v1.1.0
    Checking serde_json v1.0.72
    Checking chrono v0.4.19
    Checking serde_urlencoded v0.7.0
    Checking tracing-error v0.1.2
    Checking tracing-serde v0.1.2
    Checking bstr v0.2.17
    Checking serde_cbor v0.11.2
thread 'rustc' panicked at 'assertion failed: sentinel == STR_SENTINEL', /rustc/e6b883c74f49f32cb5d1cbad3457f2b8805a4a38/compiler/rustc_serialize/src/opaque.rs:669:9
stack backtrace:
   0:        0x10f56a211 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hd97b45925762f035
   1:        0x10f5baffb - core::fmt::write::h2d5ecb4b9764759c
   2:        0x10f55b68a - std::io::Write::write_fmt::h80cfd69766515533
   3:        0x10f56d325 - std::panicking::default_hook::{{closure}}::h726902fd3b2e524f
   4:        0x10f56cf0f - std::panicking::default_hook::h8c88a86349ae0d96
thread 'rustc' panicked at 'assertion failed: sentinel == STR_SENTINEL', /rustc/e6b883c74f49f32cb5d1cbad3457f2b8805a4a38/compiler/rustc_serialize/src/opaque.rs:669:9
stack backtrace:
thread 'rustc' panicked at 'assertion failed: sentinel == STR_SENTINEL', /rustc/e6b883c74f49f32cb5d1cbad3457f2b8805a4a38/compiler/rustc_serialize/src/opaque.rs:669:9
   0:        0x107208211 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hd97b45925762f035
   1:        0x107258ffb - core::fmt::write::h2d5ecb4b9764759c
   2:        0x1071f968a - std::io::Write::write_fmt::h80cfd69766515533
   3:        0x10720b325 - std::panicking::default_hook::{{closure}}::h726902fd3b2e524f
   4:        0x10720af0f - std::panicking::default_hook::h8c88a86349ae0d96
stack backtrace:
   0:        0x104eb4211 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hd97b45925762f035
thread 'rustc' panicked at 'assertion failed: sentinel == STR_SENTINEL', /rustc/e6b883c74f49f32cb5d1cbad3457f2b8805a4a38/compiler/rustc_serialize/src/opaque.rs:669:9
stack backtrace:
   0:        0x10c4a6211 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hd97b45925762f035
   1:        0x10c4f6ffb - core::fmt::write::h2d5ecb4b9764759c
   2:        0x10c49768a - std::io::Write::write_fmt::h80cfd69766515533
   3:        0x10c4a9325 - std::panicking::default_hook::{{closure}}::h726902fd3b2e524f
   4:        0x10c4a8f0f - std::panicking::default_hook::h8c88a86349ae0d96
   1:        0x104f04ffb - core::fmt::write::h2d5ecb4b9764759c
   2:        0x104ea568a - std::io::Write::write_fmt::h80cfd69766515533
   3:        0x104eb7325 - std::panicking::default_hook::{{closure}}::h726902fd3b2e524f
   4:        0x104eb6f0f - std::panicking::default_hook::h8c88a86349ae0d96
thread 'rustc' panicked at 'assertion failed: sentinel == STR_SENTINEL', /rustc/e6b883c74f49f32cb5d1cbad3457f2b8805a4a38/compiler/rustc_serialize/src/opaque.rs:669:9
stack backtrace:
   5:        0x11b9b6548 - rustc_driver[4fec26ee377fc9a5]::DEFAULT_HOOK::{closure#0}::{closure#0}
   6:        0x10f56db66 - std::panicking::rust_panic_with_hook::h5cbc51010430491b
   7:        0x10f56d5b4 - std::panicking::begin_panic_handler::{{closure}}::hf90c83b4ac2013ae
   8:        0x10f56a697 - std::sys_common::backtrace::__rust_end_short_backtrace::hca90c3f3f4640bf8
   9:        0x10f56d54a - _rust_begin_unwind
  10:        0x10f5e524f - core::panicking::panic_fmt::h88a1b6fbb9084d2c
  11:        0x10f5e51a7 - core::panicking::panic::hf0752d57e0382e6d
  12:        0x11f66ff4c - <rustc_metadata[480c0e5f6e846e06]::rmeta::decoder::DecodeContext as rustc_serialize[a1cfe703abc6342a]::serialize::Decoder>::read_str
  13:        0x11f593cd3 - <rustc_metadata[480c0e5f6e846e06]::rmeta::Lazy<alloc[6386aa62123b005f]::string::String, ()>>::decode::<&rustc_metadata[480c0e5f6e846e06]::rmeta::decoder::MetadataBlob>
  14:        0x11f677f9b - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::extract_one
  15:        0x11f677159 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::extract_lib
  16:        0x11f676435 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::find_library_crate
  17:        0x11f675a68 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::maybe_load_library_crate
  18:        0x11f5b267c - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::load
  19:        0x11f5aff1f - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::maybe_resolve_crate
  20:        0x11f5b1352 - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::maybe_resolve_crate
  21:        0x11f5b52f4 - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::maybe_process_path_extern
  22:        0x11e6d6333 - <rustc_resolve[294c68611b3a30d6]::Resolver>::extern_prelude_get
  23:        0x11e6bba85 - <rustc_resolve[294c68611b3a30d6]::Resolver>::early_resolve_ident_in_lexical_scope
  24:        0x11e6d18f4 - <rustc_resolve[294c68611b3a30d6]::Resolver>::resolve_path_with_ribs::{closure#1}
  25:        0x11e6cf3c0 - <rustc_resolve[294c68611b3a30d6]::Resolver>::resolve_path_with_ribs
  26:        0x11e659b8e - <rustc_resolve[294c68611b3a30d6]::imports::ImportResolver>::resolve_imports
  27:        0x11e6b7615 - <rustc_resolve[294c68611b3a30d6]::Resolver as rustc_expand[52293ba68794e265]::base::ResolverExpand>::resolve_imports
  28:        0x11f746468 - <rustc_expand[52293ba68794e265]::expand::MacroExpander>::fully_expand_fragment
  29:        0x11f746132 - <rustc_expand[52293ba68794e265]::expand::MacroExpander>::expand_crate
  30:        0x11bb71836 - <rustc_session[ad26800b7d022996]::session::Session>::time::<core[f4889159fda6615f]::result::Result<rustc_ast[46f8a4531dfe51ec]::ast::Crate, rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_interface[1a79e32d5a9670db]::passes::configure_and_expand::{closure#1}>
  31:        0x11baf1817 - rustc_interface[1a79e32d5a9670db]::passes::configure_and_expand
  32:        0x11baf73f4 - <rustc_interface[1a79e32d5a9670db]::queries::Queries>::expansion
  33:        0x11b9cfb4f - <rustc_interface[1a79e32d5a9670db]::interface::Compiler>::enter::<rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}::{closure#2}, core[f4889159fda6615f]::result::Result<core[f4889159fda6615f]::option::Option<rustc_interface[1a79e32d5a9670db]::queries::Linker>, rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
  34:        0x11b9c4c88 - rustc_span[8302f7994f30e4b0]::with_source_map::<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_interface[1a79e32d5a9670db]::interface::create_compiler_and_run<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#1}>
  35:        0x11b9d0cdf - <scoped_tls[504a04b5a30bb02b]::ScopedKey<rustc_span[8302f7994f30e4b0]::SessionGlobals>>::set::<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
  36:        0x11b9cd9a2 - std[a27f7c5c346650f]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
  37:        0x11ba27565 - <<std[a27f7c5c346650f]::thread::Builder>::spawn_unchecked<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#1} as core[f4889159fda6615f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  38:        0x10f577947 - std::sys::unix::thread::Thread::new::thread_start::h93c43f15232a2328
   0:        0x103bef211 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hd97b45925762f035
   1:        0x103c3fffb - core::fmt::write::h2d5ecb4b9764759c
   2:        0x103be068a - std::io::Write::write_fmt::h80cfd69766515533
   3:        0x103bf2325 - std::panicking::default_hook::{{closure}}::h726902fd3b2e524f
   4:        0x103bf1f0f - std::panicking::default_hook::h8c88a86349ae0d96
  39:     0x7ff81f396514 - __pthread_start

error: internal compiler error: unexpected panic

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

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.59.0-nightly (e6b883c74 2021-12-08) running on x86_64-apple-darwin

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

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

query stack during panic:
end of query stack
thread 'rustc' panicked at 'assertion failed: sentinel == STR_SENTINEL', /rustc/e6b883c74f49f32cb5d1cbad3457f2b8805a4a38/compiler/rustc_serialize/src/opaque.rs:669:9
stack backtrace:
   0:        0x10df3f211 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hd97b45925762f035
   1:        0x10df8fffb - core::fmt::write::h2d5ecb4b9764759c
   2:        0x10df3068a - std::io::Write::write_fmt::h80cfd69766515533
   3:        0x10df42325 - std::panicking::default_hook::{{closure}}::h726902fd3b2e524f
   4:        0x10df41f0f - std::panicking::default_hook::h8c88a86349ae0d96
   5:        0x114307548 - rustc_driver[4fec26ee377fc9a5]::DEFAULT_HOOK::{closure#0}::{closure#0}
thread 'rustc' panicked at 'assertion failed: sentinel == STR_SENTINEL', /rustc/e6b883c74f49f32cb5d1cbad3457f2b8805a4a38/compiler/rustc_serialize/src/opaque.rs:669:9
stack backtrace:
   6:        0x10720bb66 - std::panicking::rust_panic_with_hook::h5cbc51010430491b
error: could not compile `bytes`
warning: build failed, waiting for other jobs to finish...
   7:        0x10720b5b4 - std::panicking::begin_panic_handler::{{closure}}::hf90c83b4ac2013ae
   8:        0x107208697 - std::sys_common::backtrace::__rust_end_short_backtrace::hca90c3f3f4640bf8
   9:        0x10720b54a - _rust_begin_unwind
  10:        0x10728324f - core::panicking::panic_fmt::h88a1b6fbb9084d2c
  11:        0x1072831a7 - core::panicking::panic::hf0752d57e0382e6d
   0:        0x10f072211 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hd97b45925762f035
   1:        0x10f0c2ffb - core::fmt::write::h2d5ecb4b9764759c
   2:        0x10f06368a - std::io::Write::write_fmt::h80cfd69766515533
   3:        0x10f075325 - std::panicking::default_hook::{{closure}}::h726902fd3b2e524f
  12:        0x117fc0f4c - <rustc_metadata[480c0e5f6e846e06]::rmeta::decoder::DecodeContext as rustc_serialize[a1cfe703abc6342a]::serialize::Decoder>::read_str
   4:        0x10f074f0f - std::panicking::default_hook::h8c88a86349ae0d96
  13:        0x117ee4cd3 - <rustc_metadata[480c0e5f6e846e06]::rmeta::Lazy<alloc[6386aa62123b005f]::string::String, ()>>::decode::<&rustc_metadata[480c0e5f6e846e06]::rmeta::decoder::MetadataBlob>
  14:        0x117fc8f9b - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::extract_one
  15:        0x117fc8159 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::extract_lib
  16:        0x117fc7435 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::find_library_crate
  17:        0x117fc6a68 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::maybe_load_library_crate
  18:        0x117f0367c - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::load
  19:        0x117f00f1f - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::maybe_resolve_crate
  20:        0x117f02352 - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::maybe_resolve_crate
  21:        0x117f062f4 - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::maybe_process_path_extern
  22:        0x117027333 - <rustc_resolve[294c68611b3a30d6]::Resolver>::extern_prelude_get
  23:        0x11700ca85 - <rustc_resolve[294c68611b3a30d6]::Resolver>::early_resolve_ident_in_lexical_scope
  24:        0x1170228f4 - <rustc_resolve[294c68611b3a30d6]::Resolver>::resolve_path_with_ribs::{closure#1}
  25:        0x1170203c0 - <rustc_resolve[294c68611b3a30d6]::Resolver>::resolve_path_with_ribs
  26:        0x116faab8e - <rustc_resolve[294c68611b3a30d6]::imports::ImportResolver>::resolve_imports
  27:        0x117008615 - <rustc_resolve[294c68611b3a30d6]::Resolver as rustc_expand[52293ba68794e265]::base::ResolverExpand>::resolve_imports
  28:        0x118097468 - <rustc_expand[52293ba68794e265]::expand::MacroExpander>::fully_expand_fragment
  29:        0x118097132 - <rustc_expand[52293ba68794e265]::expand::MacroExpander>::expand_crate
  30:        0x1144c2836 - <rustc_session[ad26800b7d022996]::session::Session>::time::<core[f4889159fda6615f]::result::Result<rustc_ast[46f8a4531dfe51ec]::ast::Crate, rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_interface[1a79e32d5a9670db]::passes::configure_and_expand::{closure#1}>
  31:        0x114442817 - rustc_interface[1a79e32d5a9670db]::passes::configure_and_expand
  32:        0x1144483f4 - <rustc_interface[1a79e32d5a9670db]::queries::Queries>::expansion
  33:        0x114320b4f - <rustc_interface[1a79e32d5a9670db]::interface::Compiler>::enter::<rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}::{closure#2}, core[f4889159fda6615f]::result::Result<core[f4889159fda6615f]::option::Option<rustc_interface[1a79e32d5a9670db]::queries::Linker>, rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
  34:        0x114315c88 - rustc_span[8302f7994f30e4b0]::with_source_map::<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_interface[1a79e32d5a9670db]::interface::create_compiler_and_run<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#1}>
  35:        0x114321cdf - <scoped_tls[504a04b5a30bb02b]::ScopedKey<rustc_span[8302f7994f30e4b0]::SessionGlobals>>::set::<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
  36:        0x11431e9a2 - std[a27f7c5c346650f]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
  37:        0x114378565 - <<std[a27f7c5c346650f]::thread::Builder>::spawn_unchecked<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#1} as core[f4889159fda6615f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  38:        0x107215947 - std::sys::unix::thread::Thread::new::thread_start::h93c43f15232a2328
  39:     0x7ff81f396514 - __pthread_start

error: internal compiler error: unexpected panic

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

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.59.0-nightly (e6b883c74 2021-12-08) running on x86_64-apple-darwin

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

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

query stack during panic:
end of query stack
   5:        0x116c89548 - rustc_driver[4fec26ee377fc9a5]::DEFAULT_HOOK::{closure#0}::{closure#0}
   6:        0x10c4a9b66 - std::panicking::rust_panic_with_hook::h5cbc51010430491b
   7:        0x10c4a95b4 - std::panicking::begin_panic_handler::{{closure}}::hf90c83b4ac2013ae
   8:        0x10c4a6697 - std::sys_common::backtrace::__rust_end_short_backtrace::hca90c3f3f4640bf8
   9:        0x10c4a954a - _rust_begin_unwind
  10:        0x10c52124f - core::panicking::panic_fmt::h88a1b6fbb9084d2c
   5:        0x10eb32548 - rustc_driver[4fec26ee377fc9a5]::DEFAULT_HOOK::{closure#0}::{closure#0}
   6:        0x104eb7b66 - std::panicking::rust_panic_with_hook::h5cbc51010430491b
   7:        0x104eb75b4 - std::panicking::begin_panic_handler::{{closure}}::hf90c83b4ac2013ae
   8:        0x104eb4697 - std::sys_common::backtrace::__rust_end_short_backtrace::hca90c3f3f4640bf8
   9:        0x104eb754a - _rust_begin_unwind
  10:        0x104f2f24f - core::panicking::panic_fmt::h88a1b6fbb9084d2c
  11:        0x104f2f1a7 - core::panicking::panic::hf0752d57e0382e6d
  12:        0x1127ebf4c - <rustc_metadata[480c0e5f6e846e06]::rmeta::decoder::DecodeContext as rustc_serialize[a1cfe703abc6342a]::serialize::Decoder>::read_str
  11:        0x10c5211a7 - core::panicking::panic::hf0752d57e0382e6d
  12:        0x11a942f4c - <rustc_metadata[480c0e5f6e846e06]::rmeta::decoder::DecodeContext as rustc_serialize[a1cfe703abc6342a]::serialize::Decoder>::read_str
  13:        0x11a866cd3 - <rustc_metadata[480c0e5f6e846e06]::rmeta::Lazy<alloc[6386aa62123b005f]::string::String, ()>>::decode::<&rustc_metadata[480c0e5f6e846e06]::rmeta::decoder::MetadataBlob>
  14:        0x11a94af9b - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::extract_one
  15:        0x11a94a159 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::extract_lib
  16:        0x11a949435 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::find_library_crate
  17:        0x11a948a68 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::maybe_load_library_crate
  18:        0x11a88567c - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::load
  19:        0x11a882f1f - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::maybe_resolve_crate
  13:        0x11270fcd3 - <rustc_metadata[480c0e5f6e846e06]::rmeta::Lazy<alloc[6386aa62123b005f]::string::String, ()>>::decode::<&rustc_metadata[480c0e5f6e846e06]::rmeta::decoder::MetadataBlob>
  20:        0x11a884352 - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::maybe_resolve_crate
  14:        0x1127f3f9b - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::extract_one
  15:        0x1127f3159 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::extract_lib
  16:        0x1127f2435 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::find_library_crate
  17:        0x1127f1a68 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::maybe_load_library_crate
  21:        0x11a8882f4 - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::maybe_process_path_extern
  18:        0x11272e67c - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::load
  19:        0x11272bf1f - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::maybe_resolve_crate
  20:        0x11272d352 - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::maybe_resolve_crate
  21:        0x1127312f4 - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::maybe_process_path_extern
  22:        0x111852333 - <rustc_resolve[294c68611b3a30d6]::Resolver>::extern_prelude_get
  23:        0x111837a85 - <rustc_resolve[294c68611b3a30d6]::Resolver>::early_resolve_ident_in_lexical_scope
  24:        0x11184d8f4 - <rustc_resolve[294c68611b3a30d6]::Resolver>::resolve_path_with_ribs::{closure#1}
  25:        0x11184b3c0 - <rustc_resolve[294c68611b3a30d6]::Resolver>::resolve_path_with_ribs
  26:        0x1117d5b8e - <rustc_resolve[294c68611b3a30d6]::imports::ImportResolver>::resolve_imports
  27:        0x111833615 - <rustc_resolve[294c68611b3a30d6]::Resolver as rustc_expand[52293ba68794e265]::base::ResolverExpand>::resolve_imports
  22:        0x1199a9333 - <rustc_resolve[294c68611b3a30d6]::Resolver>::extern_prelude_get
  23:        0x11998ea85 - <rustc_resolve[294c68611b3a30d6]::Resolver>::early_resolve_ident_in_lexical_scope
  28:        0x1128c2468 - <rustc_expand[52293ba68794e265]::expand::MacroExpander>::fully_expand_fragment
  29:        0x1128c2132 - <rustc_expand[52293ba68794e265]::expand::MacroExpander>::expand_crate
  30:        0x10eced836 - <rustc_session[ad26800b7d022996]::session::Session>::time::<core[f4889159fda6615f]::result::Result<rustc_ast[46f8a4531dfe51ec]::ast::Crate, rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_interface[1a79e32d5a9670db]::passes::configure_and_expand::{closure#1}>
  31:        0x10ec6d817 - rustc_interface[1a79e32d5a9670db]::passes::configure_and_expand
  24:        0x1199a48f4 - <rustc_resolve[294c68611b3a30d6]::Resolver>::resolve_path_with_ribs::{closure#1}
  25:        0x1199a23c0 - <rustc_resolve[294c68611b3a30d6]::Resolver>::resolve_path_with_ribs
  26:        0x11992cb8e - <rustc_resolve[294c68611b3a30d6]::imports::ImportResolver>::resolve_imports
  27:        0x11998a615 - <rustc_resolve[294c68611b3a30d6]::Resolver as rustc_expand[52293ba68794e265]::base::ResolverExpand>::resolve_imports
  28:        0x11aa19468 - <rustc_expand[52293ba68794e265]::expand::MacroExpander>::fully_expand_fragment
  29:        0x11aa19132 - <rustc_expand[52293ba68794e265]::expand::MacroExpander>::expand_crate
  30:        0x116e44836 - <rustc_session[ad26800b7d022996]::session::Session>::time::<core[f4889159fda6615f]::result::Result<rustc_ast[46f8a4531dfe51ec]::ast::Crate, rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_interface[1a79e32d5a9670db]::passes::configure_and_expand::{closure#1}>
  31:        0x116dc4817 - rustc_interface[1a79e32d5a9670db]::passes::configure_and_expand
  32:        0x116dca3f4 - <rustc_interface[1a79e32d5a9670db]::queries::Queries>::expansion
  32:        0x10ec733f4 - <rustc_interface[1a79e32d5a9670db]::queries::Queries>::expansion
  33:        0x116ca2b4f - <rustc_interface[1a79e32d5a9670db]::interface::Compiler>::enter::<rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}::{closure#2}, core[f4889159fda6615f]::result::Result<core[f4889159fda6615f]::option::Option<rustc_interface[1a79e32d5a9670db]::queries::Linker>, rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
  33:        0x10eb4bb4f - <rustc_interface[1a79e32d5a9670db]::interface::Compiler>::enter::<rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}::{closure#2}, core[f4889159fda6615f]::result::Result<core[f4889159fda6615f]::option::Option<rustc_interface[1a79e32d5a9670db]::queries::Linker>, rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
  34:        0x116c97c88 - rustc_span[8302f7994f30e4b0]::with_source_map::<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_interface[1a79e32d5a9670db]::interface::create_compiler_and_run<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#1}>
  35:        0x116ca3cdf - <scoped_tls[504a04b5a30bb02b]::ScopedKey<rustc_span[8302f7994f30e4b0]::SessionGlobals>>::set::<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
  34:        0x10eb40c88 - rustc_span[8302f7994f30e4b0]::with_source_map::<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_interface[1a79e32d5a9670db]::interface::create_compiler_and_run<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#1}>
  35:        0x10eb4ccdf - <scoped_tls[504a04b5a30bb02b]::ScopedKey<rustc_span[8302f7994f30e4b0]::SessionGlobals>>::set::<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
  36:        0x116ca09a2 - std[a27f7c5c346650f]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
  36:        0x10eb499a2 - std[a27f7c5c346650f]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
  37:        0x10eba3565 - <<std[a27f7c5c346650f]::thread::Builder>::spawn_unchecked<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#1} as core[f4889159fda6615f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  38:        0x104ec1947 - std::sys::unix::thread::Thread::new::thread_start::h93c43f15232a2328
  37:        0x116cfa565 - <<std[a27f7c5c346650f]::thread::Builder>::spawn_unchecked<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#1} as core[f4889159fda6615f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  38:        0x10c4b3947 - std::sys::unix::thread::Thread::new::thread_start::h93c43f15232a2328
  39:     0x7ff81f396514 - __pthread_start

error: internal compiler error: unexpected panic

  39:     0x7ff81f396514 - __pthread_start
note: the compiler unexpectedly panicked. this is a bug.

error: internal compiler error: unexpected panic


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.59.0-nightly (e6b883c74 2021-12-08) running on x86_64-apple-darwin

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

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

query stack during panic:
end of query stack
note: the compiler unexpectedly panicked. this is a bug.
   5:        0x10c446548 - rustc_driver[4fec26ee377fc9a5]::DEFAULT_HOOK::{closure#0}::{closure#0}

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.59.0-nightly (e6b883c74 2021-12-08) running on x86_64-apple-darwin
   6:        0x103bf2b66 - std::panicking::rust_panic_with_hook::h5cbc51010430491b

note: compiler flags: -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 --crate-type lib
   7:        0x103bf25b4 - std::panicking::begin_panic_handler::{{closure}}::hf90c83b4ac2013ae

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

   8:        0x103bef697 - std::sys_common::backtrace::__rust_end_short_backtrace::hca90c3f3f4640bf8
query stack during panic:
end of query stack
   9:        0x103bf254a - _rust_begin_unwind
  10:        0x103c6a24f - core::panicking::panic_fmt::h88a1b6fbb9084d2c
  11:        0x103c6a1a7 - core::panicking::panic::hf0752d57e0382e6d
  12:        0x1100fff4c - <rustc_metadata[480c0e5f6e846e06]::rmeta::decoder::DecodeContext as rustc_serialize[a1cfe703abc6342a]::serialize::Decoder>::read_str
  13:        0x110023cd3 - <rustc_metadata[480c0e5f6e846e06]::rmeta::Lazy<alloc[6386aa62123b005f]::string::String, ()>>::decode::<&rustc_metadata[480c0e5f6e846e06]::rmeta::decoder::MetadataBlob>
  14:        0x110107f9b - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::extract_one
  15:        0x110107159 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::extract_lib
  16:        0x110106435 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::find_library_crate
  17:        0x110105a68 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::maybe_load_library_crate
  18:        0x11004267c - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::load
  19:        0x11003ff1f - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::maybe_resolve_crate
  20:        0x110041352 - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::maybe_resolve_crate
  21:        0x1100452f4 - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::maybe_process_path_extern
  22:        0x10f166333 - <rustc_resolve[294c68611b3a30d6]::Resolver>::extern_prelude_get
  23:        0x10f14ba85 - <rustc_resolve[294c68611b3a30d6]::Resolver>::early_resolve_ident_in_lexical_scope
  24:        0x10f1618f4 - <rustc_resolve[294c68611b3a30d6]::Resolver>::resolve_path_with_ribs::{closure#1}
  25:        0x10f15f3c0 - <rustc_resolve[294c68611b3a30d6]::Resolver>::resolve_path_with_ribs
  26:        0x10f0e9b8e - <rustc_resolve[294c68611b3a30d6]::imports::ImportResolver>::resolve_imports
  27:        0x10f147615 - <rustc_resolve[294c68611b3a30d6]::Resolver as rustc_expand[52293ba68794e265]::base::ResolverExpand>::resolve_imports
  28:        0x1101d6468 - <rustc_expand[52293ba68794e265]::expand::MacroExpander>::fully_expand_fragment
  29:        0x1101d6132 - <rustc_expand[52293ba68794e265]::expand::MacroExpander>::expand_crate
  30:        0x10c601836 - <rustc_session[ad26800b7d022996]::session::Session>::time::<core[f4889159fda6615f]::result::Result<rustc_ast[46f8a4531dfe51ec]::ast::Crate, rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_interface[1a79e32d5a9670db]::passes::configure_and_expand::{closure#1}>
  31:        0x10c581817 - rustc_interface[1a79e32d5a9670db]::passes::configure_and_expand
  32:        0x10c5873f4 - <rustc_interface[1a79e32d5a9670db]::queries::Queries>::expansion
  33:        0x10c45fb4f - <rustc_interface[1a79e32d5a9670db]::interface::Compiler>::enter::<rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}::{closure#2}, core[f4889159fda6615f]::result::Result<core[f4889159fda6615f]::option::Option<rustc_interface[1a79e32d5a9670db]::queries::Linker>, rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
  34:        0x10c454c88 - rustc_span[8302f7994f30e4b0]::with_source_map::<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_interface[1a79e32d5a9670db]::interface::create_compiler_and_run<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#1}>
  35:        0x10c460cdf - <scoped_tls[504a04b5a30bb02b]::ScopedKey<rustc_span[8302f7994f30e4b0]::SessionGlobals>>::set::<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
  36:        0x10c45d9a2 - std[a27f7c5c346650f]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
  37:        0x10c4b7565 - <<std[a27f7c5c346650f]::thread::Builder>::spawn_unchecked<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#1} as core[f4889159fda6615f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  38:        0x103bfc947 - std::sys::unix::thread::Thread::new::thread_start::h93c43f15232a2328
  39:     0x7ff81f396514 - __pthread_start

error: internal compiler error: unexpected panic

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

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.59.0-nightly (e6b883c74 2021-12-08) running on x86_64-apple-darwin

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

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

query stack during panic:
end of query stack
   5:        0x11d2f2548 - rustc_driver[4fec26ee377fc9a5]::DEFAULT_HOOK::{closure#0}::{closure#0}
   6:        0x10df42b66 - std::panicking::rust_panic_with_hook::h5cbc51010430491b
   7:        0x10df425b4 - std::panicking::begin_panic_handler::{{closure}}::hf90c83b4ac2013ae
   8:        0x10df3f697 - std::sys_common::backtrace::__rust_end_short_backtrace::hca90c3f3f4640bf8
   9:        0x10df4254a - _rust_begin_unwind
  10:        0x10dfba24f - core::panicking::panic_fmt::h88a1b6fbb9084d2c
  11:        0x10dfba1a7 - core::panicking::panic::hf0752d57e0382e6d
  12:        0x120fabf4c - <rustc_metadata[480c0e5f6e846e06]::rmeta::decoder::DecodeContext as rustc_serialize[a1cfe703abc6342a]::serialize::Decoder>::read_str
  13:        0x120ecfcd3 - <rustc_metadata[480c0e5f6e846e06]::rmeta::Lazy<alloc[6386aa62123b005f]::string::String, ()>>::decode::<&rustc_metadata[480c0e5f6e846e06]::rmeta::decoder::MetadataBlob>
  14:        0x120fb3f9b - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::extract_one
  15:        0x120fb3159 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::extract_lib
  16:        0x120fb2435 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::find_library_crate
  17:        0x120fb1a68 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::maybe_load_library_crate
  18:        0x120eee67c - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::load
  19:        0x120eebf1f - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::maybe_resolve_crate
  20:        0x120eed352 - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::maybe_resolve_crate
  21:        0x120ef12f4 - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::maybe_process_path_extern
  22:        0x120012333 - <rustc_resolve[294c68611b3a30d6]::Resolver>::extern_prelude_get
  23:        0x11fff7a85 - <rustc_resolve[294c68611b3a30d6]::Resolver>::early_resolve_ident_in_lexical_scope
  24:        0x12000d8f4 - <rustc_resolve[294c68611b3a30d6]::Resolver>::resolve_path_with_ribs::{closure#1}
  25:        0x12000b3c0 - <rustc_resolve[294c68611b3a30d6]::Resolver>::resolve_path_with_ribs
  26:        0x11ff95b8e - <rustc_resolve[294c68611b3a30d6]::imports::ImportResolver>::resolve_imports
  27:        0x11fff3615 - <rustc_resolve[294c68611b3a30d6]::Resolver as rustc_expand[52293ba68794e265]::base::ResolverExpand>::resolve_imports
  28:        0x121082468 - <rustc_expand[52293ba68794e265]::expand::MacroExpander>::fully_expand_fragment
  29:        0x121082132 - <rustc_expand[52293ba68794e265]::expand::MacroExpander>::expand_crate
  30:        0x11d4ad836 - <rustc_session[ad26800b7d022996]::session::Session>::time::<core[f4889159fda6615f]::result::Result<rustc_ast[46f8a4531dfe51ec]::ast::Crate, rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_interface[1a79e32d5a9670db]::passes::configure_and_expand::{closure#1}>
  31:        0x11d42d817 - rustc_interface[1a79e32d5a9670db]::passes::configure_and_expand
  32:        0x11d4333f4 - <rustc_interface[1a79e32d5a9670db]::queries::Queries>::expansion
  33:        0x11d30bb4f - <rustc_interface[1a79e32d5a9670db]::interface::Compiler>::enter::<rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}::{closure#2}, core[f4889159fda6615f]::result::Result<core[f4889159fda6615f]::option::Option<rustc_interface[1a79e32d5a9670db]::queries::Linker>, rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
  34:        0x11d300c88 - rustc_span[8302f7994f30e4b0]::with_source_map::<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_interface[1a79e32d5a9670db]::interface::create_compiler_and_run<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#1}>
  35:        0x11d30ccdf - <scoped_tls[504a04b5a30bb02b]::ScopedKey<rustc_span[8302f7994f30e4b0]::SessionGlobals>>::set::<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
  36:        0x11d3099a2 - std[a27f7c5c346650f]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
  37:        0x11d363565 - <<std[a27f7c5c346650f]::thread::Builder>::spawn_unchecked<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#1} as core[f4889159fda6615f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  38:        0x10df4c947 - std::sys::unix::thread::Thread::new::thread_start::h93c43f15232a2328
  39:     0x7ff81f396514 - __pthread_start

error: internal compiler error: unexpected panic

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

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.59.0-nightly (e6b883c74 2021-12-08) running on x86_64-apple-darwin

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

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

query stack during panic:
end of query stack
   5:        0x11c206548 - rustc_driver[4fec26ee377fc9a5]::DEFAULT_HOOK::{closure#0}::{closure#0}
   6:        0x10f075b66 - std::panicking::rust_panic_with_hook::h5cbc51010430491b
   7:        0x10f0755b4 - std::panicking::begin_panic_handler::{{closure}}::hf90c83b4ac2013ae
   8:        0x10f072697 - std::sys_common::backtrace::__rust_end_short_backtrace::hca90c3f3f4640bf8
   9:        0x10f07554a - _rust_begin_unwind
  10:        0x10f0ed24f - core::panicking::panic_fmt::h88a1b6fbb9084d2c
  11:        0x10f0ed1a7 - core::panicking::panic::hf0752d57e0382e6d
  12:        0x11febff4c - <rustc_metadata[480c0e5f6e846e06]::rmeta::decoder::DecodeContext as rustc_serialize[a1cfe703abc6342a]::serialize::Decoder>::read_str
  13:        0x11fde3cd3 - <rustc_metadata[480c0e5f6e846e06]::rmeta::Lazy<alloc[6386aa62123b005f]::string::String, ()>>::decode::<&rustc_metadata[480c0e5f6e846e06]::rmeta::decoder::MetadataBlob>
  14:        0x11fec7f9b - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::extract_one
  15:        0x11fec7159 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::extract_lib
  16:        0x11fec6435 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::find_library_crate
  17:        0x11fec5a68 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::maybe_load_library_crate
  18:        0x11fe0267c - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::load
  19:        0x11fdfff1f - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::maybe_resolve_crate
  20:        0x11fe01352 - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::maybe_resolve_crate
  21:        0x11fe052f4 - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::maybe_process_path_extern
  22:        0x11ef26333 - <rustc_resolve[294c68611b3a30d6]::Resolver>::extern_prelude_get
  23:        0x11ef0ba85 - <rustc_resolve[294c68611b3a30d6]::Resolver>::early_resolve_ident_in_lexical_scope
  24:        0x11ef218f4 - <rustc_resolve[294c68611b3a30d6]::Resolver>::resolve_path_with_ribs::{closure#1}
  25:        0x11ef1f3c0 - <rustc_resolve[294c68611b3a30d6]::Resolver>::resolve_path_with_ribs
  26:        0x11eea9b8e - <rustc_resolve[294c68611b3a30d6]::imports::ImportResolver>::resolve_imports
  27:        0x11ef07615 - <rustc_resolve[294c68611b3a30d6]::Resolver as rustc_expand[52293ba68794e265]::base::ResolverExpand>::resolve_imports
  28:        0x11ff96468 - <rustc_expand[52293ba68794e265]::expand::MacroExpander>::fully_expand_fragment
  29:        0x11ff96132 - <rustc_expand[52293ba68794e265]::expand::MacroExpander>::expand_crate
  30:        0x11c3c1836 - <rustc_session[ad26800b7d022996]::session::Session>::time::<core[f4889159fda6615f]::result::Result<rustc_ast[46f8a4531dfe51ec]::ast::Crate, rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_interface[1a79e32d5a9670db]::passes::configure_and_expand::{closure#1}>
  31:        0x11c341817 - rustc_interface[1a79e32d5a9670db]::passes::configure_and_expand
  32:        0x11c3473f4 - <rustc_interface[1a79e32d5a9670db]::queries::Queries>::expansion
  33:        0x11c21fb4f - <rustc_interface[1a79e32d5a9670db]::interface::Compiler>::enter::<rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}::{closure#2}, core[f4889159fda6615f]::result::Result<core[f4889159fda6615f]::option::Option<rustc_interface[1a79e32d5a9670db]::queries::Linker>, rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
  34:        0x11c214c88 - rustc_span[8302f7994f30e4b0]::with_source_map::<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_interface[1a79e32d5a9670db]::interface::create_compiler_and_run<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#1}>
  35:        0x11c220cdf - <scoped_tls[504a04b5a30bb02b]::ScopedKey<rustc_span[8302f7994f30e4b0]::SessionGlobals>>::set::<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
  36:        0x11c21d9a2 - std[a27f7c5c346650f]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
thread 'rustc' panicked at 'assertion failed: sentinel == STR_SENTINEL', /rustc/e6b883c74f49f32cb5d1cbad3457f2b8805a4a38/compiler/rustc_serialize/src/opaque.rs:669:9
  37:        0x11c277565 - <<std[a27f7c5c346650f]::thread::Builder>::spawn_unchecked<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#1} as core[f4889159fda6615f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  38:        0x10f07f947 - std::sys::unix::thread::Thread::new::thread_start::h93c43f15232a2328
stack backtrace:
  39:     0x7ff81f396514 - __pthread_start

error: internal compiler error: unexpected panic

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

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.59.0-nightly (e6b883c74 2021-12-08) running on x86_64-apple-darwin

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

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

query stack during panic:
end of query stack
   0:        0x1057b8211 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hd97b45925762f035
   1:        0x105808ffb - core::fmt::write::h2d5ecb4b9764759c
   2:        0x1057a968a - std::io::Write::write_fmt::h80cfd69766515533
   3:        0x1057bb325 - std::panicking::default_hook::{{closure}}::h726902fd3b2e524f
   4:        0x1057baf0f - std::panicking::default_hook::h8c88a86349ae0d96
   5:        0x115dab548 - rustc_driver[4fec26ee377fc9a5]::DEFAULT_HOOK::{closure#0}::{closure#0}
   6:        0x1057bbb66 - std::panicking::rust_panic_with_hook::h5cbc51010430491b
   7:        0x1057bb5b4 - std::panicking::begin_panic_handler::{{closure}}::hf90c83b4ac2013ae
   8:        0x1057b8697 - std::sys_common::backtrace::__rust_end_short_backtrace::hca90c3f3f4640bf8
   9:        0x1057bb54a - _rust_begin_unwind
  10:        0x10583324f - core::panicking::panic_fmt::h88a1b6fbb9084d2c
  11:        0x1058331a7 - core::panicking::panic::hf0752d57e0382e6d
  12:        0x119a64f4c - <rustc_metadata[480c0e5f6e846e06]::rmeta::decoder::DecodeContext as rustc_serialize[a1cfe703abc6342a]::serialize::Decoder>::read_str
  13:        0x119988cd3 - <rustc_metadata[480c0e5f6e846e06]::rmeta::Lazy<alloc[6386aa62123b005f]::string::String, ()>>::decode::<&rustc_metadata[480c0e5f6e846e06]::rmeta::decoder::MetadataBlob>
  14:        0x119a6cf9b - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::extract_one
  15:        0x119a6c159 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::extract_lib
  16:        0x119a6b435 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::find_library_crate
  17:        0x119a6aa68 - <rustc_metadata[480c0e5f6e846e06]::locator::CrateLocator>::maybe_load_library_crate
  18:        0x1199a767c - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::load
  19:        0x1199a4f1f - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::maybe_resolve_crate
  20:        0x1199a6352 - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::maybe_resolve_crate
  21:        0x1199a4644 - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::resolve_crate
  22:        0x1199aa1b1 - <rustc_metadata[480c0e5f6e846e06]::creader::CrateLoader>::process_extern_crate
  23:        0x118a73da0 - <rustc_resolve[294c68611b3a30d6]::build_reduced_graph::BuildReducedGraphVisitor as rustc_ast[46f8a4531dfe51ec]::visit::Visitor>::visit_item
  24:        0x118b387dd - <rustc_expand[52293ba68794e265]::expand::AstFragment>::visit_with::<rustc_resolve[294c68611b3a30d6]::build_reduced_graph::BuildReducedGraphVisitor>
  25:        0x118aabe77 - <rustc_resolve[294c68611b3a30d6]::Resolver as rustc_expand[52293ba68794e265]::base::ResolverExpand>::visit_ast_fragment_with_placeholders
  26:        0x119b40083 - <rustc_expand[52293ba68794e265]::expand::MacroExpander>::collect_invocations
  27:        0x119b3b410 - <rustc_expand[52293ba68794e265]::expand::MacroExpander>::fully_expand_fragment
  28:        0x119b3b132 - <rustc_expand[52293ba68794e265]::expand::MacroExpander>::expand_crate
  29:        0x115f66836 - <rustc_session[ad26800b7d022996]::session::Session>::time::<core[f4889159fda6615f]::result::Result<rustc_ast[46f8a4531dfe51ec]::ast::Crate, rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_interface[1a79e32d5a9670db]::passes::configure_and_expand::{closure#1}>
  30:        0x115ee6817 - rustc_interface[1a79e32d5a9670db]::passes::configure_and_expand
  31:        0x115eec3f4 - <rustc_interface[1a79e32d5a9670db]::queries::Queries>::expansion
  32:        0x115dc4b4f - <rustc_interface[1a79e32d5a9670db]::interface::Compiler>::enter::<rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}::{closure#2}, core[f4889159fda6615f]::result::Result<core[f4889159fda6615f]::option::Option<rustc_interface[1a79e32d5a9670db]::queries::Linker>, rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
  33:        0x115db9c88 - rustc_span[8302f7994f30e4b0]::with_source_map::<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_interface[1a79e32d5a9670db]::interface::create_compiler_and_run<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#1}>
  34:        0x115dc5cdf - <scoped_tls[504a04b5a30bb02b]::ScopedKey<rustc_span[8302f7994f30e4b0]::SessionGlobals>>::set::<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
  35:        0x115dc29a2 - std[a27f7c5c346650f]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>
  36:        0x115e1c565 - <<std[a27f7c5c346650f]::thread::Builder>::spawn_unchecked<rustc_interface[1a79e32d5a9670db]::util::setup_callbacks_and_run_in_thread_pool_with_globals<rustc_interface[1a79e32d5a9670db]::interface::run_compiler<core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>, rustc_driver[4fec26ee377fc9a5]::run_compiler::{closure#1}>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#0}, core[f4889159fda6615f]::result::Result<(), rustc_errors[ac2eba7148cbbc6a]::ErrorReported>>::{closure#1} as core[f4889159fda6615f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  37:        0x1057c5947 - std::sys::unix::thread::Thread::new::thread_start::h93c43f15232a2328
  38:     0x7ff81f396514 - __pthread_start

error: internal compiler error: unexpected panic

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

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.59.0-nightly (e6b883c74 2021-12-08) running on x86_64-apple-darwin

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

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

query stack during panic:
end of query stack
error: build failed

@kyfk kyfk 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 Dec 9, 2021
@hkratz
Copy link
Contributor

hkratz commented Dec 9, 2021

cc #91663.

@hkratz
Copy link
Contributor

hkratz commented Dec 9, 2021

@kyfk Does this issue persist after cargo clean?

@ehuss
Copy link
Contributor

ehuss commented Dec 10, 2021

Thanks for the report! I'm going to close as a duplicate of #91663, since I'm pretty certain that is the cause. As a short-term fix, running cargo clean should fix it (and avoid running older versions of rustc). The next nightly (in about 24 hours from now) should have a fix. (EDIT: fix got delayed)

@ehuss ehuss closed this as completed Dec 10, 2021
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

No branches or pull requests

3 participants