rust-lang / rust-lang/rust

`cargo install cargo-binstall` panics on Raspberry Pi 3

Open
#139,559 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-bug I-ICE O-Arm S-needs-info T-compiler
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

Ran this command on a Raspberry Pi 3

cargo install -j 1 cargo-binstall

Linux raspberrypi3b 6.6.74+rpt-rpi-v7 #1 SMP Raspbian 1:6.6.74-1+rpt1 (2025-01-27) armv7l GNU/Linux
Meta

rustc --version --verbose:

rustc 1.86.0 (05f9846f8 2025-03-31)
binary: rustc
commit-hash: 05f9846f893b09a1be1fc8560e33fc3c815cfecb
commit-date: 2025-03-31
host: armv7-unknown-linux-gnueabihf
release: 1.86.0
LLVM version: 19.1.7
Error output
[<output>](error: could not compile `proc-macro2` (build script))
Backtrace

    Updating crates.io index
  Installing cargo-binstall v1.12.3
    Updating crates.io index
     Locking 521 packages to latest compatible versions
      Adding async-compression v0.4.19 (available: v0.4.22)
      Adding vergen v8.3.2 (available: v9.0.4)
   Compiling proc-macro2 v1.0.94

thread 'rustc' panicked at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/compiler/rustc_serialize/src/serialize.rs:123:9:
assertion failed: bytes[len] == STR_SENTINEL
stack backtrace:
   0: 0x73edbfe8 - std::backtrace_rs::backtrace::libunwind::trace::h7227ad942f0aa2e9
                       at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
   1: 0x73edbfe8 - std::backtrace_rs::backtrace::trace_unsynchronized::h24aeaa216bd272d6
                       at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
   2: 0x73edbfe8 - std::sys::backtrace::_print_fmt::ha0a8e4aaf030ea60
                       at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:66:9
   3: 0x73edbfe8 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h5646a1117fcb1a51
                       at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:39:26
   4: 0x73f329e4 - core::fmt::rt::Argument::fmt::h2bcd028f059e0216
                       at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/rt.rs:177:76
   5: 0x73f329e4 - core::fmt::write::h10d4daf2b11270e8
                       at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/mod.rs:1449:21
   6: 0x73ecf9c0 - std::io::Write::write_fmt::h23750257814b9ca4
                       at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/io/mod.rs:1890:15
   7: 0x73edbe7c - std::sys::backtrace::BacktraceLock::print::hf5746374451d78d8
                       at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:42:9
   8: 0x73ede478 - std::panicking::default_hook::{{closure}}::h959ca1a80a80ff26
                       at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:298:22
   9: 0x73ede274 - std::panicking::default_hook::h199ceac1b31353a6
                       at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:325:9
  10: 0x6e3dc934 - <alloc[c4a6c86e7380488a]::boxed::Box<rustc_driver_impl[7bd472cfce558624]::install_ice_hook::{closure#1}> as core[34b55e8784abe384]::ops::function::Fn<(&dyn for<'a, 'b> core[34b55e8784abe384]::ops::function::Fn<(&'a std[4bec29cb5aeec26c]::panic::PanicHookInfo<'b>,), Output = ()> + core[34b55e8784abe384]::marker::Sync + core[34b55e8784abe384]::marker::Send, &std[4bec29cb5aeec26c]::panic::PanicHookInfo)>>::call
  11: 0x73edf080 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h2970e079fd7ca382
                       at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1990:9
  12: 0x73edf080 - std::panicking::rust_panic_with_hook::h3a5e2e2714290513
                       at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:839:13
  13: 0x73edec98 - std::panicking::begin_panic_handler::{{closure}}::h377b6644ba93eca0
                       at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:697:13
  14: 0x73edc598 - std::sys::backtrace::__rust_end_short_backtrace::hf08acc292e4942ee
                       at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:168:18
  15: 0x73ede974 - rust_begin_unwind
                       at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
  16: 0x6e25d7a0 - core::panicking::panic_fmt::hfce16ab50e8dfa40
                       at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
  17: 0x6e25d824 - core::panicking::panic::h649046e84bdbb134
                       at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:145:5
  18: 0x732c0070 - <rustc_metadata[8325bf35f67700f1]::rmeta::decoder::DecodeContext as rustc_span[d90f4dd379d964eb]::SpanDecoder>::decode_symbol
  19: 0x7325c0b4 - <rustc_middle[7c365fc98dd0e7d0]::ty::FieldDef as rustc_serialize[f65f21b753ab49d8]::serialize::Decodable<rustc_metadata[8325bf35f67700f1]::rmeta::decoder::DecodeContext>>::decode
  20: 0x7331a280 - <alloc[c4a6c86e7380488a]::vec::Vec<rustc_middle[7c365fc98dd0e7d0]::ty::FieldDef> as rustc_serialize[f65f21b753ab49d8]::serialize::Decodable<rustc_metadata[8325bf35f67700f1]::rmeta::decoder::DecodeContext>>::decode
  21: 0x7325c688 - <rustc_middle[7c365fc98dd0e7d0]::ty::VariantDef as rustc_serialize[f65f21b753ab49d8]::serialize::Decodable<rustc_metadata[8325bf35f67700f1]::rmeta::decoder::DecodeContext>>::decode
  22: 0x7331a0f4 - <alloc[c4a6c86e7380488a]::vec::Vec<rustc_middle[7c365fc98dd0e7d0]::ty::VariantDef> as rustc_serialize[f65f21b753ab49d8]::serialize::Decodable<rustc_metadata[8325bf35f67700f1]::rmeta::decoder::DecodeContext>>::decode
  23: 0x73257298 - <rustc_middle[7c365fc98dd0e7d0]::ty::adt::AdtDef as rustc_serialize[f65f21b753ab49d8]::serialize::Decodable<rustc_metadata[8325bf35f67700f1]::rmeta::decoder::DecodeContext>>::decode
  24: 0x732a1dc0 - <rustc_type_ir[330aeb004f1e80dd]::ty_kind::TyKind<rustc_middle[7c365fc98dd0e7d0]::ty::context::TyCtxt> as rustc_serialize[f65f21b753ab49d8]::serialize::Decodable<rustc_metadata[8325bf35f67700f1]::rmeta::decoder::DecodeContext>>::decode
  25: 0x7325e95c - <rustc_middle[7c365fc98dd0e7d0]::ty::Ty as rustc_serialize[f65f21b753ab49d8]::serialize::Decodable<rustc_metadata[8325bf35f67700f1]::rmeta::decoder::DecodeContext>>::decode
  26: 0x7325bd84 - <rustc_type_ir[330aeb004f1e80dd]::generic_arg::GenericArgKind<rustc_middle[7c365fc98dd0e7d0]::ty::context::TyCtxt> as rustc_serialize[f65f21b753ab49d8]::serialize::Decodable<rustc_metadata[8325bf35f67700f1]::rmeta::decoder::DecodeContext>>::decode
  27: 0x731d3c2c - <smallvec[a923362902c164c0]::SmallVec<[rustc_middle[7c365fc98dd0e7d0]::ty::generic_args::GenericArg; 8usize]> as core[34b55e8784abe384]::iter::traits::collect::Extend<rustc_middle[7c365fc98dd0e7d0]::ty::generic_args::GenericArg>>::extend::<core[34b55e8784abe384]::iter::adapters::map::Map<core[34b55e8784abe384]::ops::range::Range<usize>, <&rustc_middle[7c365fc98dd0e7d0]::ty::list::RawList<(), rustc_middle[7c365fc98dd0e7d0]::ty::generic_args::GenericArg> as rustc_serialize[f65f21b753ab49d8]::serialize::Decodable<rustc_metadata[8325bf35f67700f1]::rmeta::decoder::DecodeContext>>::decode::{closure#0}>>
  28: 0x732ef960 - <rustc_middle[7c365fc98dd0e7d0]::ty::context::TyCtxt>::mk_args_from_iter::<core[34b55e8784abe384]::iter::adapters::map::Map<core[34b55e8784abe384]::ops::range::Range<usize>, <&rustc_middle[7c365fc98dd0e7d0]::ty::list::RawList<(), rustc_middle[7c365fc98dd0e7d0]::ty::generic_args::GenericArg> as rustc_serialize[f65f21b753ab49d8]::serialize::Decodable<rustc_metadata[8325bf35f67700f1]::rmeta::decoder::DecodeContext>>::decode::{closure#0}>, rustc_middle[7c365fc98dd0e7d0]::ty::generic_args::GenericArg>
  29: 0x73256968 - <&rustc_middle[7c365fc98dd0e7d0]::ty::list::RawList<(), rustc_middle[7c365fc98dd0e7d0]::ty::generic_args::GenericArg> as rustc_serialize[f65f21b753ab49d8]::serialize::Decodable<rustc_metadata[8325bf35f67700f1]::rmeta::decoder::DecodeContext>>::decode
  30: 0x7325dc60 - <(rustc_middle[7c365fc98dd0e7d0]::middle::exported_symbols::ExportedSymbol, rustc_middle[7c365fc98dd0e7d0]::middle::exported_symbols::SymbolExportInfo) as rustc_serialize[f65f21b753ab49d8]::serialize::Decodable<rustc_metadata[8325bf35f67700f1]::rmeta::decoder::DecodeContext>>::decode
  31: 0x7320b568 - <rustc_metadata[8325bf35f67700f1]::creader::CrateMetadataRef>::exported_symbols
  32: 0x73200024 - rustc_metadata[8325bf35f67700f1]::rmeta::decoder::cstore_impl::provide_extern::exported_symbols
  33: 0x726f5004 - rustc_query_impl[1ac73fa23c58483e]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[1ac73fa23c58483e]::query_impl::exported_symbols::dynamic_query::{closure#2}::{closure#0}, rustc_middle[7c365fc98dd0e7d0]::query::erase::Erased<[u8; 8usize]>>
  34: 0x72774698 - <rustc_query_impl[1ac73fa23c58483e]::query_impl::exported_symbols::dynamic_query::{closure#2} as core[34b55e8784abe384]::ops::function::FnOnce<(rustc_middle[7c365fc98dd0e7d0]::ty::context::TyCtxt, rustc_span[d90f4dd379d964eb]::def_id::CrateNum)>>::call_once
  35: 0x726a9204 - rustc_query_system[ae24b20cf7e416b]::query::plumbing::try_execute_query::<rustc_query_impl[1ac73fa23c58483e]::DynamicConfig<rustc_data_structures[7c1d439588473de]::vec_cache::VecCache<rustc_span[d90f4dd379d964eb]::def_id::CrateNum, rustc_middle[7c365fc98dd0e7d0]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[ae24b20cf7e416b]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1ac73fa23c58483e]::plumbing::QueryCtxt, false>
  36: 0x72836720 - rustc_query_impl[1ac73fa23c58483e]::query_impl::exported_symbols::get_query_non_incr::__rust_end_short_backtrace
  37: 0x72beec98 - rustc_codegen_ssa[1cfa8b54519640fc]::back::symbol_export::upstream_monomorphizations_provider
  38: 0x726f8b34 - rustc_query_impl[1ac73fa23c58483e]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[1ac73fa23c58483e]::query_impl::upstream_monomorphizations::dynamic_query::{closure#2}::{closure#0}, rustc_middle[7c365fc98dd0e7d0]::query::erase::Erased<[u8; 4usize]>>
  39: 0x72783df8 - <rustc_query_impl[1ac73fa23c58483e]::query_impl::upstream_monomorphizations::dynamic_query::{closure#2} as core[34b55e8784abe384]::ops::function::FnOnce<(rustc_middle[7c365fc98dd0e7d0]::ty::context::TyCtxt, ())>>::call_once
  40: 0x72622150 - rustc_query_system[ae24b20cf7e416b]::query::plumbing::try_execute_query::<rustc_query_impl[1ac73fa23c58483e]::DynamicConfig<rustc_query_system[ae24b20cf7e416b]::query::caches::SingleCache<rustc_middle[7c365fc98dd0e7d0]::query::erase::Erased<[u8; 4usize]>>, false, false, false>, rustc_query_impl[1ac73fa23c58483e]::plumbing::QueryCtxt, false>
  41: 0x7282b62c - rustc_query_impl[1ac73fa23c58483e]::query_impl::upstream_monomorphizations::get_query_non_incr::__rust_end_short_backtrace
  42: 0x72bef66c - rustc_codegen_ssa[1cfa8b54519640fc]::back::symbol_export::upstream_monomorphizations_for_provider
  43: 0x726f924c - rustc_query_impl[1ac73fa23c58483e]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[1ac73fa23c58483e]::query_impl::upstream_monomorphizations_for::dynamic_query::{closure#2}::{closure#0}, rustc_middle[7c365fc98dd0e7d0]::query::erase::Erased<[u8; 4usize]>>
  44: 0x72785374 - <rustc_query_impl[1ac73fa23c58483e]::query_impl::upstream_monomorphizations_for::dynamic_query::{closure#2} as core[34b55e8784abe384]::ops::function::FnOnce<(rustc_middle[7c365fc98dd0e7d0]::ty::context::TyCtxt, rustc_span[d90f4dd379d964eb]::def_id::DefId)>>::call_once
  45: 0x72617f84 - rustc_query_system[ae24b20cf7e416b]::query::plumbing::try_execute_query::<rustc_query_impl[1ac73fa23c58483e]::DynamicConfig<rustc_query_system[ae24b20cf7e416b]::query::caches::DefIdCache<rustc_middle[7c365fc98dd0e7d0]::query::erase::Erased<[u8; 4usize]>>, false, false, false>, rustc_query_impl[1ac73fa23c58483e]::plumbing::QueryCtxt, false>
  46: 0x7282bb20 - rustc_query_impl[1ac73fa23c58483e]::query_impl::upstream_monomorphizations_for::get_query_non_incr::__rust_end_short_backtrace
  47: 0x737e4b08 - rustc_middle[7c365fc98dd0e7d0]::query::plumbing::query_get_at::<rustc_query_system[ae24b20cf7e416b]::query::caches::DefIdCache<rustc_middle[7c365fc98dd0e7d0]::query::erase::Erased<[u8; 4usize]>>>
  48: 0x737e1ba8 - <rustc_middle[7c365fc98dd0e7d0]::ty::instance::Instance>::upstream_monomorphization
  49: 0x715c0030 - rustc_monomorphize[2bc7734145b784cc]::collector::should_codegen_locally
  50: 0x715bf820 - rustc_monomorphize[2bc7734145b784cc]::collector::visit_instance_use
  51: 0x715befdc - <rustc_monomorphize[2bc7734145b784cc]::collector::MirUsedCollector as rustc_middle[7c365fc98dd0e7d0]::mir::visit::Visitor>::visit_terminator
  52: 0x715c24e8 - rustc_monomorphize[2bc7734145b784cc]::collector::items_of_instance
  53: 0x726f5aa0 - rustc_query_impl[1ac73fa23c58483e]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[1ac73fa23c58483e]::query_impl::items_of_instance::dynamic_query::{closure#2}::{closure#0}, rustc_middle[7c365fc98dd0e7d0]::query::erase::Erased<[u8; 16usize]>>
  54: 0x7277713c - <rustc_query_impl[1ac73fa23c58483e]::query_impl::items_of_instance::dynamic_query::{closure#2} as core[34b55e8784abe384]::ops::function::FnOnce<(rustc_middle[7c365fc98dd0e7d0]::ty::context::TyCtxt, (rustc_middle[7c365fc98dd0e7d0]::ty::instance::Instance, rustc_middle[7c365fc98dd0e7d0]::mir::mono::CollectionMode))>>::call_once
  55: 0x7269037c - rustc_query_system[ae24b20cf7e416b]::query::plumbing::try_execute_query::<rustc_query_impl[1ac73fa23c58483e]::DynamicConfig<rustc_query_system[ae24b20cf7e416b]::query::caches::DefaultCache<(rustc_middle[7c365fc98dd0e7d0]::ty::instance::Instance, rustc_middle[7c365fc98dd0e7d0]::mir::mono::CollectionMode), rustc_middle[7c365fc98dd0e7d0]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[1ac73fa23c58483e]::plumbing::QueryCtxt, false>
  56: 0x7283f1d4 - rustc_query_impl[1ac73fa23c58483e]::query_impl::items_of_instance::get_query_non_incr::__rust_end_short_backtrace
  57: 0x715c3740 - rustc_monomorphize[2bc7734145b784cc]::collector::collect_items_rec
  58: 0x715ebf0c - <rustc_data_structures[7c1d439588473de]::sync::parallel::ParallelGuard>::run::<(), rustc_data_structures[7c1d439588473de]::sync::parallel::par_for_each_in<rustc_middle[7c365fc98dd0e7d0]::mir::mono::MonoItem, alloc[c4a6c86e7380488a]::vec::Vec<rustc_middle[7c365fc98dd0e7d0]::mir::mono::MonoItem>, rustc_monomorphize[2bc7734145b784cc]::collector::collect_crate_mono_items::{closure#1}::{closure#0}>::{closure#0}::{closure#1}::{closure#0}>
  59: 0x716057e0 - <rustc_session[9c3cf516b5c5e83d]::session::Session>::time::<(), rustc_monomorphize[2bc7734145b784cc]::collector::collect_crate_mono_items::{closure#1}>
  60: 0x715c6488 - rustc_monomorphize[2bc7734145b784cc]::collector::collect_crate_mono_items
  61: 0x715cc174 - rustc_monomorphize[2bc7734145b784cc]::partitioning::collect_and_partition_mono_items
  62: 0x726f93e4 - rustc_query_impl[1ac73fa23c58483e]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[1ac73fa23c58483e]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2}::{closure#0}, rustc_middle[7c365fc98dd0e7d0]::query::erase::Erased<[u8; 20usize]>>
  63: 0x727857f8 - <rustc_query_impl[1ac73fa23c58483e]::query_impl::collect_and_partition_mono_items::dynamic_query::{closure#2} as core[34b55e8784abe384]::ops::function::FnOnce<(rustc_middle[7c365fc98dd0e7d0]::ty::context::TyCtxt, ())>>::call_once
  64: 0x7261f504 - rustc_query_system[ae24b20cf7e416b]::query::plumbing::try_execute_query::<rustc_query_impl[1ac73fa23c58483e]::DynamicConfig<rustc_query_system[ae24b20cf7e416b]::query::caches::SingleCache<rustc_middle[7c365fc98dd0e7d0]::query::erase::Erased<[u8; 20usize]>>, false, false, false>, rustc_query_impl[1ac73fa23c58483e]::plumbing::QueryCtxt, false>
  65: 0x72836c14 - rustc_query_impl[1ac73fa23c58483e]::query_impl::collect_and_partition_mono_items::get_query_non_incr::__rust_end_short_backtrace
  66: 0x6e70a28c - rustc_codegen_ssa[1cfa8b54519640fc]::base::codegen_crate::<rustc_codegen_llvm[997e18e6c2bc78bd]::LlvmCodegenBackend>
  67: 0x6e6c22f4 - <rustc_codegen_llvm[997e18e6c2bc78bd]::LlvmCodegenBackend as rustc_codegen_ssa[1cfa8b54519640fc]::traits::backend::CodegenBackend>::codegen_crate
  68: 0x6e579284 - <rustc_session[9c3cf516b5c5e83d]::session::Session>::time::<alloc[c4a6c86e7380488a]::boxed::Box<dyn core[34b55e8784abe384]::any::Any>, rustc_interface[908743e3ad0344a4]::passes::start_codegen::{closure#0}>
  69: 0x6e5d2888 - rustc_interface[908743e3ad0344a4]::passes::start_codegen
  70: 0x6e5903e8 - <rustc_interface[908743e3ad0344a4]::queries::Linker>::codegen_and_build_linker
  71: 0x6e3649fc - <std[4bec29cb5aeec26c]::thread::local::LocalKey<core[34b55e8784abe384]::cell::Cell<*const ()>>>::with::<rustc_middle[7c365fc98dd0e7d0]::ty::context::tls::enter_context<<rustc_middle[7c365fc98dd0e7d0]::ty::context::GlobalCtxt>::enter<rustc_interface[908743e3ad0344a4]::passes::create_and_enter_global_ctxt<core[34b55e8784abe384]::option::Option<rustc_interface[908743e3ad0344a4]::queries::Linker>, rustc_driver_impl[7bd472cfce558624]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}, core[34b55e8784abe384]::option::Option<rustc_interface[908743e3ad0344a4]::queries::Linker>>::{closure#1}, core[34b55e8784abe384]::option::Option<rustc_interface[908743e3ad0344a4]::queries::Linker>>::{closure#0}, core[34b55e8784abe384]::option::Option<rustc_interface[908743e3ad0344a4]::queries::Linker>>
  72: 0x6e349d68 - <rustc_middle[7c365fc98dd0e7d0]::ty::context::TyCtxt>::create_global_ctxt::<core[34b55e8784abe384]::option::Option<rustc_interface[908743e3ad0344a4]::queries::Linker>, rustc_interface[908743e3ad0344a4]::passes::create_and_enter_global_ctxt<core[34b55e8784abe384]::option::Option<rustc_interface[908743e3ad0344a4]::queries::Linker>, rustc_driver_impl[7bd472cfce558624]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}>
  73: 0x6e346e7c - <rustc_interface[908743e3ad0344a4]::passes::create_and_enter_global_ctxt<core[34b55e8784abe384]::option::Option<rustc_interface[908743e3ad0344a4]::queries::Linker>, rustc_driver_impl[7bd472cfce558624]::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core[34b55e8784abe384]::ops::function::FnOnce<(&rustc_session[9c3cf516b5c5e83d]::session::Session, rustc_middle[7c365fc98dd0e7d0]::ty::context::CurrentGcx, &std[4bec29cb5aeec26c]::sync::once_lock::OnceLock<rustc_middle[7c365fc98dd0e7d0]::ty::context::GlobalCtxt>, &rustc_data_structures[7c1d439588473de]::sync::worker_local::WorkerLocal<rustc_middle[7c365fc98dd0e7d0]::arena::Arena>, &rustc_data_structures[7c1d439588473de]::sync::worker_local::WorkerLocal<rustc_hir[73849646f72f5a33]::Arena>, rustc_driver_impl[7bd472cfce558624]::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0}
  74: 0x6e345fdc - rustc_interface[908743e3ad0344a4]::passes::create_and_enter_global_ctxt::<core[34b55e8784abe384]::option::Option<rustc_interface[908743e3ad0344a4]::queries::Linker>, rustc_driver_impl[7bd472cfce558624]::run_compiler::{closure#0}::{closure#2}>
  75: 0x6e394b8c - rustc_interface[908743e3ad0344a4]::interface::run_compiler::<(), rustc_driver_impl[7bd472cfce558624]::run_compiler::{closure#0}>::{closure#1}
  76: 0x6e389adc - <scoped_tls[b7e72800990a946b]::ScopedKey<rustc_span[d90f4dd379d964eb]::SessionGlobals>>::set::<rustc_interface[908743e3ad0344a4]::util::run_in_thread_with_globals<rustc_interface[908743e3ad0344a4]::util::run_in_thread_pool_with_globals<rustc_interface[908743e3ad0344a4]::interface::run_compiler<(), rustc_driver_impl[7bd472cfce558624]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>
  77: 0x6e3c3880 - rustc_span[d90f4dd379d964eb]::create_session_globals_then::<(), rustc_interface[908743e3ad0344a4]::util::run_in_thread_with_globals<rustc_interface[908743e3ad0344a4]::util::run_in_thread_pool_with_globals<rustc_interface[908743e3ad0344a4]::interface::run_compiler<(), rustc_driver_impl[7bd472cfce558624]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}>
  78: 0x6e327058 - std[4bec29cb5aeec26c]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[908743e3ad0344a4]::util::run_in_thread_with_globals<rustc_interface[908743e3ad0344a4]::util::run_in_thread_pool_with_globals<rustc_interface[908743e3ad0344a4]::interface::run_compiler<(), rustc_driver_impl[7bd472cfce558624]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
  79: 0x6e395f94 - <<std[4bec29cb5aeec26c]::thread::Builder>::spawn_unchecked_<rustc_interface[908743e3ad0344a4]::util::run_in_thread_with_globals<rustc_interface[908743e3ad0344a4]::util::run_in_thread_pool_with_globals<rustc_interface[908743e3ad0344a4]::interface::run_compiler<(), rustc_driver_impl[7bd472cfce558624]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[34b55e8784abe384]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  80: 0x73ee93c4 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h8025d893f6b9a02e
                       at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9
  81: 0x73ee93c4 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5289b3e8e934353f
                       at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9
  82: 0x73ee93c4 - std::sys::pal::unix::thread::Thread::new::thread_start::h10d16d6dc707bd3a
                       at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/pal/unix/thread.rs:106:17

error: 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.86.0 (05f9846f8 2025-03-31) running on armv7-unknown-linux-gnueabihf

note: compiler flags: --crate-type bin -C embed-bitcode=no -C debug-assertions=off -C strip=debuginfo

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

query stack during panic:
#0 [exported_symbols] collecting exported symbols for crate `16`
#1 [upstream_monomorphizations] collecting available upstream monomorphizations
... and 3 other queries... use `env RUST_BACKTRACE=1` to see the full query stack
error: could not compile `proc-macro2` (build script)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing cargo install -j 1 cargo-binstall on the reported armv7 Raspberry Pi environment and inspect the panic at compiler/rustc_serialize/src/serialize.rs:123:9. Trace the metadata decoding frames through rustc_metadata and rustc_codegen_ssa; done means the installation no longer causes this compiler panic on the reported setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.