thread 'rustc' panicked at compiler/rustc_mir_build/src/builder/scope.rs:1724:17: Box stack backtrace: 0: 0x16ce8d8686d5 - std::backtrace_rs::backtrace::libunwind::trace::h904121e00a845c7f at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 1: 0x16ce8d8686d5 - std::backtrace_rs::backtrace::trace_unsynchronized::h1aae34ad510d6147 at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: 0x16ce8d8686d5 - std::backtrace::Backtrace::create::h3be366f4f51f7ab7 at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/backtrace.rs:331:13 3: 0x16ce8d868625 - std::backtrace::Backtrace::force_capture::h8b259855fc4325a0 at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/backtrace.rs:312:9 4: 0x16ce8786e0f7 - as core[6d384c12ead5b233]::ops::function::Fn<(&dyn for<'a, 'b> core[6d384c12ead5b233]::ops::function::Fn<(&'a std[b76d46389e1f9dbc]::panic::PanicHookInfo<'b>,), Output = ()> + core[6d384c12ead5b233]::marker::Sync + core[6d384c12ead5b233]::marker::Send, &std[b76d46389e1f9dbc]::panic::PanicHookInfo)>>::call 5: 0x16ce8d8825a8 - as core::ops::function::Fn>::call::h6f789b09f8bd1e4d at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1984:9 6: 0x16ce8d8825a8 - std::panicking::rust_panic_with_hook::hab98cdbe75c377da at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:825:13 7: 0x16ce8d499c33 - std[b76d46389e1f9dbc]::panicking::begin_panic::::{closure#0} 8: 0x16ce8d4998f6 - std[b76d46389e1f9dbc]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> 9: 0x16ce8778122a - std[b76d46389e1f9dbc]::panicking::begin_panic:: 10: 0x16ce8d475432 - ::emit_producing_guarantee 11: 0x16ce8d1b2440 - ::span_bug:: 12: 0x16ce8d331974 - rustc_middle[6744e703aaf52f6c]::util::bug::opt_span_bug_fmt::::{closure#0} 13: 0x16ce8d322b7a - rustc_middle[6744e703aaf52f6c]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} 14: 0x16ce8d322b24 - rustc_middle[6744e703aaf52f6c]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> 15: 0x16ce8777537a - rustc_middle[6744e703aaf52f6c]::util::bug::span_bug_fmt:: 16: 0x16ce8b1eb49d - ::build_mir:: 17: 0x16ce8b1dbcb8 - ::build_unwind_tree 18: 0x16ce8b1db7ff - ::build_drop_trees 19: 0x16ce8b1bc94a - rustc_mir_build[8ea580628f1f669]::builder::mir_build 20: 0x16ce8b1603b9 - rustc_mir_transform[7265790942f01996]::mir_built 21: 0x16ce8c070b00 - rustc_query_impl[ef4c64899dc0034b]::plumbing::__rust_begin_short_backtrace::> 22: 0x16ce8c0fe81c - >::call_once 23: 0x16ce8c005668 - rustc_query_system[be8b6bfc93c0cc71]::query::plumbing::try_execute_query::, rustc_query_system[be8b6bfc93c0cc71]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[ef4c64899dc0034b]::plumbing::QueryCtxt, false> 24: 0x16ce8c1082cd - rustc_query_impl[ef4c64899dc0034b]::query_impl::mir_built::get_query_non_incr::__rust_end_short_backtrace 25: 0x16ce8b1fdb73 - rustc_mir_build[8ea580628f1f669]::check_unsafety::check_unsafety 26: 0x16ce8c0697fc - rustc_query_impl[ef4c64899dc0034b]::plumbing::__rust_begin_short_backtrace::> 27: 0x16ce8c20091c - >::call_once 28: 0x16ce8bff64e8 - rustc_query_system[be8b6bfc93c0cc71]::query::plumbing::try_execute_query::, rustc_query_system[be8b6bfc93c0cc71]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[ef4c64899dc0034b]::plumbing::QueryCtxt, false> 29: 0x16ce8c112ff4 - rustc_query_impl[ef4c64899dc0034b]::query_impl::check_unsafety::get_query_non_incr::__rust_end_short_backtrace 30: 0x16ce87a649e6 - ::par_body_owners::::{closure#0} 31: 0x16ce87a532bb - ::time::<(), rustc_interface[70fa2feb797d2dde]::passes::run_required_analyses::{closure#2}> 32: 0x16ce87a21bd7 - rustc_interface[70fa2feb797d2dde]::passes::analysis 33: 0x16ce8c0705da - rustc_query_impl[ef4c64899dc0034b]::plumbing::__rust_begin_short_backtrace::> 34: 0x16ce8c204458 - >::call_once 35: 0x16ce8bf55a0e - rustc_query_system[be8b6bfc93c0cc71]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[ef4c64899dc0034b]::plumbing::QueryCtxt, false> 36: 0x16ce8c1038aa - rustc_query_impl[ef4c64899dc0034b]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace 37: 0x16ce8783b95e - ::create_global_ctxt::, rustc_interface[70fa2feb797d2dde]::passes::create_and_enter_global_ctxt, rustc_driver_impl[4cb7f679d55ee709]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}> 38: 0x16ce878023bb - , rustc_driver_impl[4cb7f679d55ee709]::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core[6d384c12ead5b233]::ops::function::FnOnce<(&rustc_interface[70fa2feb797d2dde]::interface::Compiler, &std[b76d46389e1f9dbc]::sync::once_lock::OnceLock, &rustc_data_structures[4c21fa878d2a2e33]::sync::worker_local::WorkerLocal, &rustc_data_structures[4c21fa878d2a2e33]::sync::worker_local::WorkerLocal, rustc_driver_impl[4cb7f679d55ee709]::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0} 39: 0x16ce877e87e0 - rustc_interface[70fa2feb797d2dde]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[4cb7f679d55ee709]::run_compiler::{closure#0}::{closure#2}> 40: 0x16ce8780b660 - >::set::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}, ()> 41: 0x16ce87854f6c - rustc_span[b1dfbefceb83f0d4]::create_session_globals_then::<(), rustc_interface[70fa2feb797d2dde]::util::run_in_thread_with_globals::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}::{closure#0}> 42: 0x16ce87873f02 - std[b76d46389e1f9dbc]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> 43: 0x16ce87813ef3 - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[6d384c12ead5b233]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} 44: 0x16ce8d88b36b - as core::ops::function::FnOnce>::call_once::h3da1b2c2e3f72616 at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1970:9 45: 0x16ce8d88b36b - as core::ops::function::FnOnce>::call_once::ha3ec4c9b3186a532 at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1970:9 46: 0x16ce8d88b36b - std::sys::pal::unix::thread::Thread::new::thread_start::hd7b6bc191a3bbea6 at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/pal/unix/thread.rs:105:17 47: 0x16ce938dab05 - thread_start at /usr/src/lib/libthr/thread/thr_create.c:289:16 rustc version: 1.85.0-nightly (9e136a30a 2024-12-19) platform: x86_64-unknown-freebsd query stack during panic: #0 [mir_built] building MIR for `secure::_::::deserialize::::visit_enum` #1 [check_unsafety] unsafety-checking `secure::_::::deserialize::::visit_enum` #2 [analysis] running analysis passes on this crate end of query stack