Build results for nightly-2023-03-17 target x86_64-apple-tvos core

Home
error
   Compiling compiler_builtins v0.1.87
   Compiling core v0.0.0 (/var/lib/does-it-build/.rustup/toolchains/nightly-2023-03-17-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
   Compiling rustc-std-workspace-core v1.99.0 (/var/lib/does-it-build/.rustup/toolchains/nightly-2023-03-17-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core)
error: internal compiler error: compiler/rustc_codegen_llvm/src/context.rs:188:13: data-layout for target `x86_64-apple-tvos`, `e-m:o-i64:64-f80:128-n8:16:32:64-S128`, differs from LLVM target's `x86_64-apple-tvos` default layout, `e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128`

thread 'rustc' panicked at 'Box<dyn Any>', /rustc/511364e7874dba9649a264100407e4bffe7b5425/compiler/rustc_errors/src/lib.rs:1644:9
stack backtrace:
   0:     0x7f4b4d51650a - std::backtrace_rs::backtrace::libunwind::trace::h245cf0f2a6c541d3
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7f4b4d51650a - std::backtrace_rs::backtrace::trace_unsynchronized::hb9c09f0c27ccd9c2
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7f4b4d51650a - std::sys_common::backtrace::_print_fmt::h80542a6be873a587
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x7f4b4d51650a - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h173aa0e4922bf51c
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7f4b4d579b3e - core::fmt::write::ha8661072c4235e29
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/core/src/fmt/mod.rs:1254:17
   5:     0x7f4b4d509375 - std::io::Write::write_fmt::hf0bf0ac3e42e8a7e
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/io/mod.rs:1684:15
   6:     0x7f4b4d5162d5 - std::sys_common::backtrace::_print::h4af6a629a9994a8b
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/sys_common/backtrace.rs:47:5
   7:     0x7f4b4d5162d5 - std::sys_common::backtrace::print::hdccd3478dffb762f
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/sys_common/backtrace.rs:34:9
   8:     0x7f4b4d51904f - std::panicking::default_hook::{{closure}}::heabec2697510ca4b
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/panicking.rs:271:22
   9:     0x7f4b4d518d8b - std::panicking::default_hook::hf7d16e5638b7d15e
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/panicking.rs:290:9
  10:     0x7f4b508001c5 - rustc_driver_impl[1234c7df5b953713]::DEFAULT_HOOK::{closure#0}::{closure#0}
  11:     0x7f4b4d51988d - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hfc618573a7a4ac85
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/alloc/src/boxed.rs:2002:9
  12:     0x7f4b4d51988d - std::panicking::rust_panic_with_hook::hcbf73c2ba2c5f60a
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/panicking.rs:696:13
  13:     0x7f4b50d35261 - std[8d8990c2ba4fc99a]::panicking::begin_panic::<rustc_errors[116146ae72f5b2a5]::ExplicitBug>::{closure#0}
  14:     0x7f4b50d32ce6 - std[8d8990c2ba4fc99a]::sys_common::backtrace::__rust_end_short_backtrace::<std[8d8990c2ba4fc99a]::panicking::begin_panic<rustc_errors[116146ae72f5b2a5]::ExplicitBug>::{closure#0}, !>
  15:     0x7f4b50d480d6 - std[8d8990c2ba4fc99a]::panicking::begin_panic::<rustc_errors[116146ae72f5b2a5]::ExplicitBug>
  16:     0x7f4b50daa366 - std[8d8990c2ba4fc99a]::panic::panic_any::<rustc_errors[116146ae72f5b2a5]::ExplicitBug>
  17:     0x7f4b50da8e06 - <rustc_errors[116146ae72f5b2a5]::HandlerInner>::bug::<&alloc[d45f47a36059466c]::string::String>
  18:     0x7f4b50da8ad0 - <rustc_errors[116146ae72f5b2a5]::Handler>::bug::<&alloc[d45f47a36059466c]::string::String>
  19:     0x7f4b50da0e3b - rustc_middle[fef03dd4a87f24e7]::util::bug::opt_span_bug_fmt::<rustc_span[a41f956c2bae68ea]::span_encoding::Span>::{closure#0}
  20:     0x7f4b50d9f87a - rustc_middle[fef03dd4a87f24e7]::ty::context::tls::with_opt::<rustc_middle[fef03dd4a87f24e7]::util::bug::opt_span_bug_fmt<rustc_span[a41f956c2bae68ea]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  21:     0x7f4b50d9f846 - rustc_middle[fef03dd4a87f24e7]::ty::context::tls::with_context_opt::<rustc_middle[fef03dd4a87f24e7]::ty::context::tls::with_opt<rustc_middle[fef03dd4a87f24e7]::util::bug::opt_span_bug_fmt<rustc_span[a41f956c2bae68ea]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  22:     0x7f4b50da0d86 - rustc_middle[fef03dd4a87f24e7]::util::bug::opt_span_bug_fmt::<rustc_span[a41f956c2bae68ea]::span_encoding::Span>
  23:     0x7f4b4ee95463 - rustc_middle[fef03dd4a87f24e7]::util::bug::bug_fmt
  24:     0x7f4b4fd2ce83 - rustc_codegen_llvm[6c307de377b81c98]::context::create_module
  25:     0x7f4b4fd2704b - rustc_codegen_llvm[6c307de377b81c98]::base::compile_codegen_unit::module_codegen
  26:     0x7f4b4fd2518f - <rustc_codegen_llvm[6c307de377b81c98]::LlvmCodegenBackend as rustc_codegen_ssa[53a52b46c108c806]::traits::backend::ExtraBackendMethods>::compile_codegen_unit
  27:     0x7f4b4fd23844 - rustc_codegen_ssa[53a52b46c108c806]::base::codegen_crate::<rustc_codegen_llvm[6c307de377b81c98]::LlvmCodegenBackend>
  28:     0x7f4b4fd2316e - <rustc_codegen_llvm[6c307de377b81c98]::LlvmCodegenBackend as rustc_codegen_ssa[53a52b46c108c806]::traits::backend::CodegenBackend>::codegen_crate
  29:     0x7f4b4fa0fa41 - <rustc_session[b62839d35778be9]::session::Session>::time::<alloc[d45f47a36059466c]::boxed::Box<dyn core[f4906066c81ab25f]::any::Any>, rustc_interface[fc89f7f2ae9d232a]::passes::start_codegen::{closure#0}>
  30:     0x7f4b4fa0f569 - rustc_interface[fc89f7f2ae9d232a]::passes::start_codegen
  31:     0x7f4b4fa0c2a8 - <rustc_middle[fef03dd4a87f24e7]::ty::context::GlobalCtxt>::enter::<<rustc_interface[fc89f7f2ae9d232a]::queries::Queries>::ongoing_codegen::{closure#0}::{closure#0}, core[f4906066c81ab25f]::result::Result<alloc[d45f47a36059466c]::boxed::Box<dyn core[f4906066c81ab25f]::any::Any>, rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>>
  32:     0x7f4b4fa0a8d4 - <rustc_interface[fc89f7f2ae9d232a]::queries::Queries>::ongoing_codegen
  33:     0x7f4b4fa09ea1 - <rustc_interface[fc89f7f2ae9d232a]::interface::Compiler>::enter::<rustc_driver_impl[1234c7df5b953713]::run_compiler::{closure#1}::{closure#2}, core[f4906066c81ab25f]::result::Result<core[f4906066c81ab25f]::option::Option<rustc_interface[fc89f7f2ae9d232a]::queries::Linker>, rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>>
  34:     0x7f4b4fa07f56 - rustc_span[a41f956c2bae68ea]::with_source_map::<core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>, rustc_interface[fc89f7f2ae9d232a]::interface::run_compiler<core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>, rustc_driver_impl[1234c7df5b953713]::run_compiler::{closure#1}>::{closure#0}::{closure#0}>
  35:     0x7f4b4fa074e9 - std[8d8990c2ba4fc99a]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[fc89f7f2ae9d232a]::util::run_in_thread_pool_with_globals<rustc_interface[fc89f7f2ae9d232a]::interface::run_compiler<core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>, rustc_driver_impl[1234c7df5b953713]::run_compiler::{closure#1}>::{closure#0}, core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>>
  36:     0x7f4b500efe8a - <<std[8d8990c2ba4fc99a]::thread::Builder>::spawn_unchecked_<rustc_interface[fc89f7f2ae9d232a]::util::run_in_thread_pool_with_globals<rustc_interface[fc89f7f2ae9d232a]::interface::run_compiler<core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>, rustc_driver_impl[1234c7df5b953713]::run_compiler::{closure#1}>::{closure#0}, core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>>::{closure#1} as core[f4906066c81ab25f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  37:     0x7f4b4d523783 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h255d5b0757ca4703
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/alloc/src/boxed.rs:1988:9
  38:     0x7f4b4d523783 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h93c5eec9856fe0a3
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/alloc/src/boxed.rs:1988:9
  39:     0x7f4b4d523783 - std::sys::unix::thread::Thread::new::thread_start::h28a60d678ab940df
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/sys/unix/thread.rs:108:17
  40:     0x7f4b4d2afaf3 - start_thread
  41:     0x7f4b4d32ef4c - __clone3
  42:                0x0 - <unknown>

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

note: rustc 1.70.0-nightly (511364e78 2023-03-16) running on x86_64-unknown-linux-gnu

note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -Z force-unstable-if-unmarked

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

query stack during panic:
end of query stack
error: could not compile `rustc-std-workspace-core` (lib)
warning: build failed, waiting for other jobs to finish...
thread 'rustc' panicked at 'Box<dyn Any>', /rustc/511364e7874dba9649a264100407e4bffe7b5425/compiler/rustc_errors/src/lib.rs:1644:9
stack backtrace:
   0:     0x7ff61791650a - std::backtrace_rs::backtrace::libunwind::trace::h245cf0f2a6c541d3
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7ff61791650a - std::backtrace_rs::backtrace::trace_unsynchronized::hb9c09f0c27ccd9c2
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7ff61791650a - std::sys_common::backtrace::_print_fmt::h80542a6be873a587
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x7ff61791650a - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h173aa0e4922bf51c
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7ff617979b3e - core::fmt::write::ha8661072c4235e29
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/core/src/fmt/mod.rs:1254:17
   5:     0x7ff617909375 - std::io::Write::write_fmt::hf0bf0ac3e42e8a7e
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/io/mod.rs:1684:15
   6:     0x7ff6179162d5 - std::sys_common::backtrace::_print::h4af6a629a9994a8b
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/sys_common/backtrace.rs:47:5
   7:     0x7ff6179162d5 - std::sys_common::backtrace::print::hdccd3478dffb762f
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/sys_common/backtrace.rs:34:9
   8:     0x7ff61791904f - std::panicking::default_hook::{{closure}}::heabec2697510ca4b
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/panicking.rs:271:22
   9:     0x7ff617918d8b - std::panicking::default_hook::hf7d16e5638b7d15e
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/panicking.rs:290:9
  10:     0x7ff61ac001c5 - rustc_driver_impl[1234c7df5b953713]::DEFAULT_HOOK::{closure#0}::{closure#0}
  11:     0x7ff61791988d - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hfc618573a7a4ac85
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/alloc/src/boxed.rs:2002:9
  12:     0x7ff61791988d - std::panicking::rust_panic_with_hook::hcbf73c2ba2c5f60a
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/panicking.rs:696:13
  13:     0x7ff61b135261 - std[8d8990c2ba4fc99a]::panicking::begin_panic::<rustc_errors[116146ae72f5b2a5]::ExplicitBug>::{closure#0}
  14:     0x7ff61b132ce6 - std[8d8990c2ba4fc99a]::sys_common::backtrace::__rust_end_short_backtrace::<std[8d8990c2ba4fc99a]::panicking::begin_panic<rustc_errors[116146ae72f5b2a5]::ExplicitBug>::{closure#0}, !>
  15:     0x7ff61b1480d6 - std[8d8990c2ba4fc99a]::panicking::begin_panic::<rustc_errors[116146ae72f5b2a5]::ExplicitBug>
  16:     0x7ff61b1aa366 - std[8d8990c2ba4fc99a]::panic::panic_any::<rustc_errors[116146ae72f5b2a5]::ExplicitBug>
  17:     0x7ff61b1a8e06 - <rustc_errors[116146ae72f5b2a5]::HandlerInner>::bug::<&alloc[d45f47a36059466c]::string::String>
  18:     0x7ff61b1a8ad0 - <rustc_errors[116146ae72f5b2a5]::Handler>::bug::<&alloc[d45f47a36059466c]::string::String>
  19:     0x7ff61b1a0e3b - rustc_middle[fef03dd4a87f24e7]::util::bug::opt_span_bug_fmt::<rustc_span[a41f956c2bae68ea]::span_encoding::Span>::{closure#0}
  20:     0x7ff61b19f87a - rustc_middle[fef03dd4a87f24e7]::ty::context::tls::with_opt::<rustc_middle[fef03dd4a87f24e7]::util::bug::opt_span_bug_fmt<rustc_span[a41f956c2bae68ea]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  21:     0x7ff61b19f846 - rustc_middle[fef03dd4a87f24e7]::ty::context::tls::with_context_opt::<rustc_middle[fef03dd4a87f24e7]::ty::context::tls::with_opt<rustc_middle[fef03dd4a87f24e7]::util::bug::opt_span_bug_fmt<rustc_span[a41f956c2bae68ea]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  22:     0x7ff61b1a0d86 - rustc_middle[fef03dd4a87f24e7]::util::bug::opt_span_bug_fmt::<rustc_span[a41f956c2bae68ea]::span_encoding::Span>
  23:     0x7ff619295463 - rustc_middle[fef03dd4a87f24e7]::util::bug::bug_fmt
  24:     0x7ff61a12ce83 - rustc_codegen_llvm[6c307de377b81c98]::context::create_module
  25:     0x7ff61a12704b - rustc_codegen_llvm[6c307de377b81c98]::base::compile_codegen_unit::module_codegen
  26:     0x7ff61a12518f - <rustc_codegen_llvm[6c307de377b81c98]::LlvmCodegenBackend as rustc_codegen_ssa[53a52b46c108c806]::traits::backend::ExtraBackendMethods>::compile_codegen_unit
  27:     0x7ff61a123844 - rustc_codegen_ssa[53a52b46c108c806]::base::codegen_crate::<rustc_codegen_llvm[6c307de377b81c98]::LlvmCodegenBackend>
  28:     0x7ff61a12316e - <rustc_codegen_llvm[6c307de377b81c98]::LlvmCodegenBackend as rustc_codegen_ssa[53a52b46c108c806]::traits::backend::CodegenBackend>::codegen_crate
  29:     0x7ff619e0fa41 - <rustc_session[b62839d35778be9]::session::Session>::time::<alloc[d45f47a36059466c]::boxed::Box<dyn core[f4906066c81ab25f]::any::Any>, rustc_interface[fc89f7f2ae9d232a]::passes::start_codegen::{closure#0}>
  30:     0x7ff619e0f569 - rustc_interface[fc89f7f2ae9d232a]::passes::start_codegen
  31:     0x7ff619e0c2a8 - <rustc_middle[fef03dd4a87f24e7]::ty::context::GlobalCtxt>::enter::<<rustc_interface[fc89f7f2ae9d232a]::queries::Queries>::ongoing_codegen::{closure#0}::{closure#0}, core[f4906066c81ab25f]::result::Result<alloc[d45f47a36059466c]::boxed::Box<dyn core[f4906066c81ab25f]::any::Any>, rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>>
  32:     0x7ff619e0a8d4 - <rustc_interface[fc89f7f2ae9d232a]::queries::Queries>::ongoing_codegen
  33:     0x7ff619e09ea1 - <rustc_interface[fc89f7f2ae9d232a]::interface::Compiler>::enter::<rustc_driver_impl[1234c7df5b953713]::run_compiler::{closure#1}::{closure#2}, core[f4906066c81ab25f]::result::Result<core[f4906066c81ab25f]::option::Option<rustc_interface[fc89f7f2ae9d232a]::queries::Linker>, rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>>
  34:     0x7ff619e07f56 - rustc_span[a41f956c2bae68ea]::with_source_map::<core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>, rustc_interface[fc89f7f2ae9d232a]::interface::run_compiler<core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>, rustc_driver_impl[1234c7df5b953713]::run_compiler::{closure#1}>::{closure#0}::{closure#0}>
  35:     0x7ff619e074e9 - std[8d8990c2ba4fc99a]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[fc89f7f2ae9d232a]::util::run_in_thread_pool_with_globals<rustc_interface[fc89f7f2ae9d232a]::interface::run_compiler<core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>, rustc_driver_impl[1234c7df5b953713]::run_compiler::{closure#1}>::{closure#0}, core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>>
  36:     0x7ff61a4efe8a - <<std[8d8990c2ba4fc99a]::thread::Builder>::spawn_unchecked_<rustc_interface[fc89f7f2ae9d232a]::util::run_in_thread_pool_with_globals<rustc_interface[fc89f7f2ae9d232a]::interface::run_compiler<core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>, rustc_driver_impl[1234c7df5b953713]::run_compiler::{closure#1}>::{closure#0}, core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>>::{closure#1} as core[f4906066c81ab25f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  37:     0x7ff617923783 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h255d5b0757ca4703
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/alloc/src/boxed.rs:1988:9
  38:     0x7ff617923783 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h93c5eec9856fe0a3
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/alloc/src/boxed.rs:1988:9
  39:     0x7ff617923783 - std::sys::unix::thread::Thread::new::thread_start::h28a60d678ab940df
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/sys/unix/thread.rs:108:17
  40:     0x7ff6176afaf3 - start_thread
  41:     0x7ff61772ef4c - __clone3
  42:                0x0 - <unknown>

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

note: rustc 1.70.0-nightly (511364e78 2023-03-16) running on x86_64-unknown-linux-gnu

note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -Z force-unstable-if-unmarked

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

query stack during panic:
end of query stack
error: could not compile `core` (lib)
thread 'rustc' panicked at 'Box<dyn Any>', /rustc/511364e7874dba9649a264100407e4bffe7b5425/compiler/rustc_errors/src/lib.rs:1644:9
stack backtrace:
   0:     0x7f532651650a - std::backtrace_rs::backtrace::libunwind::trace::h245cf0f2a6c541d3
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7f532651650a - std::backtrace_rs::backtrace::trace_unsynchronized::hb9c09f0c27ccd9c2
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7f532651650a - std::sys_common::backtrace::_print_fmt::h80542a6be873a587
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x7f532651650a - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h173aa0e4922bf51c
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7f5326579b3e - core::fmt::write::ha8661072c4235e29
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/core/src/fmt/mod.rs:1254:17
   5:     0x7f5326509375 - std::io::Write::write_fmt::hf0bf0ac3e42e8a7e
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/io/mod.rs:1684:15
   6:     0x7f53265162d5 - std::sys_common::backtrace::_print::h4af6a629a9994a8b
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/sys_common/backtrace.rs:47:5
   7:     0x7f53265162d5 - std::sys_common::backtrace::print::hdccd3478dffb762f
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/sys_common/backtrace.rs:34:9
   8:     0x7f532651904f - std::panicking::default_hook::{{closure}}::heabec2697510ca4b
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/panicking.rs:271:22
   9:     0x7f5326518d8b - std::panicking::default_hook::hf7d16e5638b7d15e
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/panicking.rs:290:9
  10:     0x7f53298001c5 - rustc_driver_impl[1234c7df5b953713]::DEFAULT_HOOK::{closure#0}::{closure#0}
  11:     0x7f532651988d - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hfc618573a7a4ac85
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/alloc/src/boxed.rs:2002:9
  12:     0x7f532651988d - std::panicking::rust_panic_with_hook::hcbf73c2ba2c5f60a
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/panicking.rs:696:13
  13:     0x7f5329d35261 - std[8d8990c2ba4fc99a]::panicking::begin_panic::<rustc_errors[116146ae72f5b2a5]::ExplicitBug>::{closure#0}
  14:     0x7f5329d32ce6 - std[8d8990c2ba4fc99a]::sys_common::backtrace::__rust_end_short_backtrace::<std[8d8990c2ba4fc99a]::panicking::begin_panic<rustc_errors[116146ae72f5b2a5]::ExplicitBug>::{closure#0}, !>
  15:     0x7f5329d480d6 - std[8d8990c2ba4fc99a]::panicking::begin_panic::<rustc_errors[116146ae72f5b2a5]::ExplicitBug>
  16:     0x7f5329daa366 - std[8d8990c2ba4fc99a]::panic::panic_any::<rustc_errors[116146ae72f5b2a5]::ExplicitBug>
  17:     0x7f5329da8e06 - <rustc_errors[116146ae72f5b2a5]::HandlerInner>::bug::<&alloc[d45f47a36059466c]::string::String>
  18:     0x7f5329da8ad0 - <rustc_errors[116146ae72f5b2a5]::Handler>::bug::<&alloc[d45f47a36059466c]::string::String>
  19:     0x7f5329da0e3b - rustc_middle[fef03dd4a87f24e7]::util::bug::opt_span_bug_fmt::<rustc_span[a41f956c2bae68ea]::span_encoding::Span>::{closure#0}
  20:     0x7f5329d9f87a - rustc_middle[fef03dd4a87f24e7]::ty::context::tls::with_opt::<rustc_middle[fef03dd4a87f24e7]::util::bug::opt_span_bug_fmt<rustc_span[a41f956c2bae68ea]::span_encoding::Span>::{closure#0}, !>::{closure#0}
  21:     0x7f5329d9f846 - rustc_middle[fef03dd4a87f24e7]::ty::context::tls::with_context_opt::<rustc_middle[fef03dd4a87f24e7]::ty::context::tls::with_opt<rustc_middle[fef03dd4a87f24e7]::util::bug::opt_span_bug_fmt<rustc_span[a41f956c2bae68ea]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
  22:     0x7f5329da0d86 - rustc_middle[fef03dd4a87f24e7]::util::bug::opt_span_bug_fmt::<rustc_span[a41f956c2bae68ea]::span_encoding::Span>
  23:     0x7f5327e95463 - rustc_middle[fef03dd4a87f24e7]::util::bug::bug_fmt
  24:     0x7f5328d2ce83 - rustc_codegen_llvm[6c307de377b81c98]::context::create_module
  25:     0x7f5328d2704b - rustc_codegen_llvm[6c307de377b81c98]::base::compile_codegen_unit::module_codegen
  26:     0x7f5328d2518f - <rustc_codegen_llvm[6c307de377b81c98]::LlvmCodegenBackend as rustc_codegen_ssa[53a52b46c108c806]::traits::backend::ExtraBackendMethods>::compile_codegen_unit
  27:     0x7f5328d23844 - rustc_codegen_ssa[53a52b46c108c806]::base::codegen_crate::<rustc_codegen_llvm[6c307de377b81c98]::LlvmCodegenBackend>
  28:     0x7f5328d2316e - <rustc_codegen_llvm[6c307de377b81c98]::LlvmCodegenBackend as rustc_codegen_ssa[53a52b46c108c806]::traits::backend::CodegenBackend>::codegen_crate
  29:     0x7f5328a0fa41 - <rustc_session[b62839d35778be9]::session::Session>::time::<alloc[d45f47a36059466c]::boxed::Box<dyn core[f4906066c81ab25f]::any::Any>, rustc_interface[fc89f7f2ae9d232a]::passes::start_codegen::{closure#0}>
  30:     0x7f5328a0f569 - rustc_interface[fc89f7f2ae9d232a]::passes::start_codegen
  31:     0x7f5328a0c2a8 - <rustc_middle[fef03dd4a87f24e7]::ty::context::GlobalCtxt>::enter::<<rustc_interface[fc89f7f2ae9d232a]::queries::Queries>::ongoing_codegen::{closure#0}::{closure#0}, core[f4906066c81ab25f]::result::Result<alloc[d45f47a36059466c]::boxed::Box<dyn core[f4906066c81ab25f]::any::Any>, rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>>
  32:     0x7f5328a0a8d4 - <rustc_interface[fc89f7f2ae9d232a]::queries::Queries>::ongoing_codegen
  33:     0x7f5328a09ea1 - <rustc_interface[fc89f7f2ae9d232a]::interface::Compiler>::enter::<rustc_driver_impl[1234c7df5b953713]::run_compiler::{closure#1}::{closure#2}, core[f4906066c81ab25f]::result::Result<core[f4906066c81ab25f]::option::Option<rustc_interface[fc89f7f2ae9d232a]::queries::Linker>, rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>>
  34:     0x7f5328a07f56 - rustc_span[a41f956c2bae68ea]::with_source_map::<core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>, rustc_interface[fc89f7f2ae9d232a]::interface::run_compiler<core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>, rustc_driver_impl[1234c7df5b953713]::run_compiler::{closure#1}>::{closure#0}::{closure#0}>
  35:     0x7f5328a074e9 - std[8d8990c2ba4fc99a]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[fc89f7f2ae9d232a]::util::run_in_thread_pool_with_globals<rustc_interface[fc89f7f2ae9d232a]::interface::run_compiler<core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>, rustc_driver_impl[1234c7df5b953713]::run_compiler::{closure#1}>::{closure#0}, core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>>
  36:     0x7f53290efe8a - <<std[8d8990c2ba4fc99a]::thread::Builder>::spawn_unchecked_<rustc_interface[fc89f7f2ae9d232a]::util::run_in_thread_pool_with_globals<rustc_interface[fc89f7f2ae9d232a]::interface::run_compiler<core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>, rustc_driver_impl[1234c7df5b953713]::run_compiler::{closure#1}>::{closure#0}, core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[f4906066c81ab25f]::result::Result<(), rustc_span[a41f956c2bae68ea]::ErrorGuaranteed>>::{closure#1} as core[f4906066c81ab25f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  37:     0x7f5326523783 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h255d5b0757ca4703
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/alloc/src/boxed.rs:1988:9
  38:     0x7f5326523783 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h93c5eec9856fe0a3
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/alloc/src/boxed.rs:1988:9
  39:     0x7f5326523783 - std::sys::unix::thread::Thread::new::thread_start::h28a60d678ab940df
                               at /rustc/511364e7874dba9649a264100407e4bffe7b5425/library/std/src/sys/unix/thread.rs:108:17
  40:     0x7f53262afaf3 - start_thread
  41:     0x7f532632ef4c - __clone3
  42:                0x0 - <unknown>

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

note: rustc 1.70.0-nightly (511364e78 2023-03-16) running on x86_64-unknown-linux-gnu

note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -Z force-unstable-if-unmarked

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

query stack during panic:
end of query stack
error: could not compile `compiler_builtins` (lib)

    

Build history for target x86_64-apple-tvos

Build state for nightly 2023-03-17