rustc 1.90.0-nightly (4b55fe199 2025-08-01)
binary: rustc
commit-hash: 4b55fe199cfe9c710555a5af7f2a49491ad38254
commit-date: 2025-08-01
host: x86_64-unknown-linux-gnu
release: 1.90.0-nightly
LLVM version: 20.1.8
$ cargo br
Compiling umya-spreadsheet v2.3.0
thread 'rustc' panicked at compiler/rustc_borrowck/src/region_infer/mod.rs:1816:10:
called `Option::unwrap()` on a `None` value
stack backtrace:
0: 0x7fdb895febc3 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h74e15c3c620ea92d
1: 0x7fdb89e028f7 - core::fmt::write::h4093c6b0e39594d5
2: 0x7fdb895f47a3 - std::io::Write::write_fmt::h10e556a4fea2195d
3: 0x7fdb895fea22 - std::sys::backtrace::BacktraceLock::print::hba29129df26d9d61
4: 0x7fdb896024c7 - std::panicking::default_hook::{{closure}}::he74027f13df6109c
5: 0x7fdb8960202b - std::panicking::default_hook::hf97973d9add36672
6: 0x7fdb8866e353 - std[c99812c31766f35d]::panicking::update_hook::<alloc[765ab2c1afe1ca91]::boxed::Box<rustc_driver_impl[2d56b2114394e5be]::install_ice_hook::{closure#1}>>::{closure#0}
7: 0x7fdb89602d0e - std::panicking::rust_panic_with_hook::hd14694cac78b969f
8: 0x7fdb896029d6 - std::panicking::begin_panic_handler::{{closure}}::h319162b8a5c86ae4
9: 0x7fdb895ff089 - std::sys::backtrace::__rust_end_short_backtrace::hc111f5542ac4d4f9
10: 0x7fdb896026ed - __rustc[79a240ffca3c5d2f]::rust_begin_unwind
11: 0x7fdb85ccf9a0 - core::panicking::panic_fmt::h71bde16da510c503
12: 0x7fdb85ce9d3c - core::panicking::panic::ha9ffb8bae407f3c8
13: 0x7fdb85cd17e9 - core::option::unwrap_failed::ha49f64d21ef0b425
14: 0x7fdb8842be8c - <rustc_borrowck[d11a3b9cba0b7b85]::region_infer::RegionInferenceContext>::find_sub_region_live_at
15: 0x7fdb87e60787 - <rustc_borrowck[d11a3b9cba0b7b85]::MirBorrowckCtxt>::explain_why_borrow_contains_point
16: 0x7fdb87b6f63f - <rustc_borrowck[d11a3b9cba0b7b85]::MirBorrowckCtxt>::report_borrowed_value_does_not_live_long_enough
17: 0x7fdb8b069726 - rustc_borrowck[d11a3b9cba0b7b85]::do_mir_borrowck
18: 0x7fdb8b027bc9 - rustc_borrowck[d11a3b9cba0b7b85]::mir_borrowck
19: 0x7fdb8b0278d9 - rustc_query_impl[b670d831f6ea89e9]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[b670d831f6ea89e9]::query_impl::mir_borrowck::dynamic_query::{closure#2}::{closure#0}, rustc_middle[d917d7baed941a01]::query::erase::Erased<[u8; 8usize]>>
20: 0x7fdb8a53372e - rustc_query_system[fa54dbd9029b4428]::query::plumbing::try_execute_query::<rustc_query_impl[b670d831f6ea89e9]::DynamicConfig<rustc_data_structures[97f14c3cfa8c52b3]::vec_cache::VecCache<rustc_span[6e0424fd52571587]::def_id::LocalDefId, rustc_middle[d917d7baed941a01]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[fa54dbd9029b4428]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[b670d831f6ea89e9]::plumbing::QueryCtxt, false>
21: 0x7fdb8a533009 - rustc_query_impl[b670d831f6ea89e9]::query_impl::mir_borrowck::get_query_non_incr::__rust_end_short_backtrace
22: 0x7fdb8a532317 - <rustc_middle[d917d7baed941a01]::ty::context::TyCtxt>::par_hir_body_owners::<rustc_interface[a0b42b9455148bd7]::passes::run_required_analyses::{closure#1}::{closure#0}>::{closure#0}
23: 0x7fdb8a52fe95 - rustc_interface[a0b42b9455148bd7]::passes::analysis
24: 0x7fdb8a52f407 - rustc_query_impl[b670d831f6ea89e9]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[b670d831f6ea89e9]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[d917d7baed941a01]::query::erase::Erased<[u8; 0usize]>>
25: 0x7fdb8ae9d83c - rustc_query_system[fa54dbd9029b4428]::query::plumbing::try_execute_query::<rustc_query_impl[b670d831f6ea89e9]::DynamicConfig<rustc_query_system[fa54dbd9029b4428]::query::caches::SingleCache<rustc_middle[d917d7baed941a01]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[b670d831f6ea89e9]::plumbing::QueryCtxt, false>
26: 0x7fdb8ae9d404 - rustc_query_impl[b670d831f6ea89e9]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
27: 0x7fdb8b277ecb - rustc_interface[a0b42b9455148bd7]::passes::create_and_enter_global_ctxt::<core[28d256f7e4a200ac]::option::Option<rustc_interface[a0b42b9455148bd7]::queries::Linker>, rustc_driver_impl[2d56b2114394e5be]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}
28: 0x7fdb8b0ae8f1 - rustc_interface[a0b42b9455148bd7]::interface::run_compiler::<(), rustc_driver_impl[2d56b2114394e5be]::run_compiler::{closure#0}>::{closure#1}
29: 0x7fdb8af90dc1 - std[c99812c31766f35d]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[a0b42b9455148bd7]::util::run_in_thread_with_globals<rustc_interface[a0b42b9455148bd7]::util::run_in_thread_pool_with_globals<rustc_interface[a0b42b9455148bd7]::interface::run_compiler<(), rustc_driver_impl[2d56b2114394e5be]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
30: 0x7fdb8af90aa2 - <<std[c99812c31766f35d]::thread::Builder>::spawn_unchecked_<rustc_interface[a0b42b9455148bd7]::util::run_in_thread_with_globals<rustc_interface[a0b42b9455148bd7]::util::run_in_thread_pool_with_globals<rustc_interface[a0b42b9455148bd7]::interface::run_compiler<(), rustc_driver_impl[2d56b2114394e5be]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[28d256f7e4a200ac]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
31: 0x7fdb8af96b85 - std::sys::pal::unix::thread::Thread::new::thread_start::h8df8579a1e38806e
32: 0x7fdb848a57eb - <unknown>
33: 0x7fdb8492918c - <unknown>
34: 0x0 - <unknown>
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: please make sure that you have updated to the latest nightly
note: please attach the file at `/me/fakehome/.cargo/registry/src/mirrors.ustc.edu.cn-38d0e5eb5da2abae/umya-spreadsheet-2.3.0/rustc-ice-2025-08-02T11_20_09-3402913.txt` to your bug report
note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C strip=symbols -C link-arg=-fuse-ld=mold -C target-cpu=native -Z polonius=next
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [mir_borrowck] borrow-checking `structs::drawing::spreadsheet::worksheet_drawing::<impl at /home/neutron/.cargo/registry/src/mirrors.ustc.edu.cn-38d0e5eb5da2abae/umya-spreadsheet-2.3.0/src/structs/drawing/spreadsheet/worksheet_drawing.rs:367:1: 367:47>::adjustment_remove_coordinate`
#1 [analysis] running analysis passes on this crate
end of query stack
thread 'rustc' panicked at compiler/rustc_borrowck/src/region_infer/mod.rs:1816:10:
called `Option::unwrap()` on a `None` value
stack backtrace:
0: 0x7fdb895febc3 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h74e15c3c620ea92d
1: 0x7fdb89e028f7 - core::fmt::write::h4093c6b0e39594d5
2: 0x7fdb895f47a3 - std::io::Write::write_fmt::h10e556a4fea2195d
3: 0x7fdb895fea22 - std::sys::backtrace::BacktraceLock::print::hba29129df26d9d61
4: 0x7fdb896024c7 - std::panicking::default_hook::{{closure}}::he74027f13df6109c
5: 0x7fdb8960202b - std::panicking::default_hook::hf97973d9add36672
6: 0x7fdb8866e353 - std[c99812c31766f35d]::panicking::update_hook::<alloc[765ab2c1afe1ca91]::boxed::Box<rustc_driver_impl[2d56b2114394e5be]::install_ice_hook::{closure#1}>>::{closure#0}
7: 0x7fdb89602d0e - std::panicking::rust_panic_with_hook::hd14694cac78b969f
8: 0x7fdb896029d6 - std::panicking::begin_panic_handler::{{closure}}::h319162b8a5c86ae4
9: 0x7fdb895ff089 - std::sys::backtrace::__rust_end_short_backtrace::hc111f5542ac4d4f9
10: 0x7fdb896026ed - __rustc[79a240ffca3c5d2f]::rust_begin_unwind
11: 0x7fdb85ccf9a0 - core::panicking::panic_fmt::h71bde16da510c503
12: 0x7fdb85ce9d3c - core::panicking::panic::ha9ffb8bae407f3c8
13: 0x7fdb85cd17e9 - core::option::unwrap_failed::ha49f64d21ef0b425
14: 0x7fdb8842be8c - <rustc_borrowck[d11a3b9cba0b7b85]::region_infer::RegionInferenceContext>::find_sub_region_live_at
15: 0x7fdb87e60787 - <rustc_borrowck[d11a3b9cba0b7b85]::MirBorrowckCtxt>::explain_why_borrow_contains_point
16: 0x7fdb87b6f63f - <rustc_borrowck[d11a3b9cba0b7b85]::MirBorrowckCtxt>::report_borrowed_value_does_not_live_long_enough
17: 0x7fdb8b069726 - rustc_borrowck[d11a3b9cba0b7b85]::do_mir_borrowck
18: 0x7fdb8b027bc9 - rustc_borrowck[d11a3b9cba0b7b85]::mir_borrowck
19: 0x7fdb8b0278d9 - rustc_query_impl[b670d831f6ea89e9]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[b670d831f6ea89e9]::query_impl::mir_borrowck::dynamic_query::{closure#2}::{closure#0}, rustc_middle[d917d7baed941a01]::query::erase::Erased<[u8; 8usize]>>
20: 0x7fdb8a53372e - rustc_query_system[fa54dbd9029b4428]::query::plumbing::try_execute_query::<rustc_query_impl[b670d831f6ea89e9]::DynamicConfig<rustc_data_structures[97f14c3cfa8c52b3]::vec_cache::VecCache<rustc_span[6e0424fd52571587]::def_id::LocalDefId, rustc_middle[d917d7baed941a01]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[fa54dbd9029b4428]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[b670d831f6ea89e9]::plumbing::QueryCtxt, false>
21: 0x7fdb8a533009 - rustc_query_impl[b670d831f6ea89e9]::query_impl::mir_borrowck::get_query_non_incr::__rust_end_short_backtrace
22: 0x7fdb8a532317 - <rustc_middle[d917d7baed941a01]::ty::context::TyCtxt>::par_hir_body_owners::<rustc_interface[a0b42b9455148bd7]::passes::run_required_analyses::{closure#1}::{closure#0}>::{closure#0}
23: 0x7fdb8a52fe95 - rustc_interface[a0b42b9455148bd7]::passes::analysis
24: 0x7fdb8a52f407 - rustc_query_impl[b670d831f6ea89e9]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[b670d831f6ea89e9]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[d917d7baed941a01]::query::erase::Erased<[u8; 0usize]>>
25: 0x7fdb8ae9d83c - rustc_query_system[fa54dbd9029b4428]::query::plumbing::try_execute_query::<rustc_query_impl[b670d831f6ea89e9]::DynamicConfig<rustc_query_system[fa54dbd9029b4428]::query::caches::SingleCache<rustc_middle[d917d7baed941a01]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[b670d831f6ea89e9]::plumbing::QueryCtxt, false>
26: 0x7fdb8ae9d404 - rustc_query_impl[b670d831f6ea89e9]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
27: 0x7fdb8b277ecb - rustc_interface[a0b42b9455148bd7]::passes::create_and_enter_global_ctxt::<core[28d256f7e4a200ac]::option::Option<rustc_interface[a0b42b9455148bd7]::queries::Linker>, rustc_driver_impl[2d56b2114394e5be]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}
28: 0x7fdb8b0ae8f1 - rustc_interface[a0b42b9455148bd7]::interface::run_compiler::<(), rustc_driver_impl[2d56b2114394e5be]::run_compiler::{closure#0}>::{closure#1}
29: 0x7fdb8af90dc1 - std[c99812c31766f35d]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[a0b42b9455148bd7]::util::run_in_thread_with_globals<rustc_interface[a0b42b9455148bd7]::util::run_in_thread_pool_with_globals<rustc_interface[a0b42b9455148bd7]::interface::run_compiler<(), rustc_driver_impl[2d56b2114394e5be]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
30: 0x7fdb8af90aa2 - <<std[c99812c31766f35d]::thread::Builder>::spawn_unchecked_<rustc_interface[a0b42b9455148bd7]::util::run_in_thread_with_globals<rustc_interface[a0b42b9455148bd7]::util::run_in_thread_pool_with_globals<rustc_interface[a0b42b9455148bd7]::interface::run_compiler<(), rustc_driver_impl[2d56b2114394e5be]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[28d256f7e4a200ac]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
31: 0x7fdb8af96b85 - std::sys::pal::unix::thread::Thread::new::thread_start::h8df8579a1e38806e
32: 0x7fdb848a57eb - <unknown>
33: 0x7fdb8492918c - <unknown>
34: 0x0 - <unknown>
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: please make sure that you have updated to the latest nightly
note: please attach the file at `/me/fakehome/.cargo/registry/src/mirrors.ustc.edu.cn-38d0e5eb5da2abae/umya-spreadsheet-2.3.0/rustc-ice-2025-08-02T11_20_09-3402913.txt` to your bug report
note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C strip=symbols -C link-arg=-fuse-ld=mold -C target-cpu=native -Z polonius=next
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [mir_borrowck] borrow-checking `structs::drawing::spreadsheet::group_shape::<impl at /home/neutron/.cargo/registry/src/mirrors.ustc.edu.cn-38d0e5eb5da2abae/umya-spreadsheet-2.3.0/src/structs/drawing/spreadsheet/group_shape.rs:23:1: 23:16>::write_to`
#1 [analysis] running analysis passes on this crate
end of query stack
thread 'rustc' panicked at compiler/rustc_borrowck/src/region_infer/mod.rs:1816:10:
called `Option::unwrap()` on a `None` value
stack backtrace:
0: 0x7fdb895febc3 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h74e15c3c620ea92d
1: 0x7fdb89e028f7 - core::fmt::write::h4093c6b0e39594d5
2: 0x7fdb895f47a3 - std::io::Write::write_fmt::h10e556a4fea2195d
3: 0x7fdb895fea22 - std::sys::backtrace::BacktraceLock::print::hba29129df26d9d61
4: 0x7fdb896024c7 - std::panicking::default_hook::{{closure}}::he74027f13df6109c
5: 0x7fdb8960202b - std::panicking::default_hook::hf97973d9add36672
6: 0x7fdb8866e353 - std[c99812c31766f35d]::panicking::update_hook::<alloc[765ab2c1afe1ca91]::boxed::Box<rustc_driver_impl[2d56b2114394e5be]::install_ice_hook::{closure#1}>>::{closure#0}
7: 0x7fdb89602d0e - std::panicking::rust_panic_with_hook::hd14694cac78b969f
8: 0x7fdb896029d6 - std::panicking::begin_panic_handler::{{closure}}::h319162b8a5c86ae4
9: 0x7fdb895ff089 - std::sys::backtrace::__rust_end_short_backtrace::hc111f5542ac4d4f9
10: 0x7fdb896026ed - __rustc[79a240ffca3c5d2f]::rust_begin_unwind
11: 0x7fdb85ccf9a0 - core::panicking::panic_fmt::h71bde16da510c503
12: 0x7fdb85ce9d3c - core::panicking::panic::ha9ffb8bae407f3c8
13: 0x7fdb85cd17e9 - core::option::unwrap_failed::ha49f64d21ef0b425
14: 0x7fdb8842be8c - <rustc_borrowck[d11a3b9cba0b7b85]::region_infer::RegionInferenceContext>::find_sub_region_live_at
15: 0x7fdb87e60787 - <rustc_borrowck[d11a3b9cba0b7b85]::MirBorrowckCtxt>::explain_why_borrow_contains_point
16: 0x7fdb87b6f63f - <rustc_borrowck[d11a3b9cba0b7b85]::MirBorrowckCtxt>::report_borrowed_value_does_not_live_long_enough
17: 0x7fdb8b069726 - rustc_borrowck[d11a3b9cba0b7b85]::do_mir_borrowck
18: 0x7fdb8b027bc9 - rustc_borrowck[d11a3b9cba0b7b85]::mir_borrowck
19: 0x7fdb8b0278d9 - rustc_query_impl[b670d831f6ea89e9]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[b670d831f6ea89e9]::query_impl::mir_borrowck::dynamic_query::{closure#2}::{closure#0}, rustc_middle[d917d7baed941a01]::query::erase::Erased<[u8; 8usize]>>
20: 0x7fdb8a53372e - rustc_query_system[fa54dbd9029b4428]::query::plumbing::try_execute_query::<rustc_query_impl[b670d831f6ea89e9]::DynamicConfig<rustc_data_structures[97f14c3cfa8c52b3]::vec_cache::VecCache<rustc_span[6e0424fd52571587]::def_id::LocalDefId, rustc_middle[d917d7baed941a01]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[fa54dbd9029b4428]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[b670d831f6ea89e9]::plumbing::QueryCtxt, false>
21: 0x7fdb8a533009 - rustc_query_impl[b670d831f6ea89e9]::query_impl::mir_borrowck::get_query_non_incr::__rust_end_short_backtrace
22: 0x7fdb8a532317 - <rustc_middle[d917d7baed941a01]::ty::context::TyCtxt>::par_hir_body_owners::<rustc_interface[a0b42b9455148bd7]::passes::run_required_analyses::{closure#1}::{closure#0}>::{closure#0}
23: 0x7fdb8a52fe95 - rustc_interface[a0b42b9455148bd7]::passes::analysis
24: 0x7fdb8a52f407 - rustc_query_impl[b670d831f6ea89e9]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[b670d831f6ea89e9]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[d917d7baed941a01]::query::erase::Erased<[u8; 0usize]>>
25: 0x7fdb8ae9d83c - rustc_query_system[fa54dbd9029b4428]::query::plumbing::try_execute_query::<rustc_query_impl[b670d831f6ea89e9]::DynamicConfig<rustc_query_system[fa54dbd9029b4428]::query::caches::SingleCache<rustc_middle[d917d7baed941a01]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[b670d831f6ea89e9]::plumbing::QueryCtxt, false>
26: 0x7fdb8ae9d404 - rustc_query_impl[b670d831f6ea89e9]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
27: 0x7fdb8b277ecb - rustc_interface[a0b42b9455148bd7]::passes::create_and_enter_global_ctxt::<core[28d256f7e4a200ac]::option::Option<rustc_interface[a0b42b9455148bd7]::queries::Linker>, rustc_driver_impl[2d56b2114394e5be]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}
28: 0x7fdb8b0ae8f1 - rustc_interface[a0b42b9455148bd7]::interface::run_compiler::<(), rustc_driver_impl[2d56b2114394e5be]::run_compiler::{closure#0}>::{closure#1}
29: 0x7fdb8af90dc1 - std[c99812c31766f35d]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[a0b42b9455148bd7]::util::run_in_thread_with_globals<rustc_interface[a0b42b9455148bd7]::util::run_in_thread_pool_with_globals<rustc_interface[a0b42b9455148bd7]::interface::run_compiler<(), rustc_driver_impl[2d56b2114394e5be]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
30: 0x7fdb8af90aa2 - <<std[c99812c31766f35d]::thread::Builder>::spawn_unchecked_<rustc_interface[a0b42b9455148bd7]::util::run_in_thread_with_globals<rustc_interface[a0b42b9455148bd7]::util::run_in_thread_pool_with_globals<rustc_interface[a0b42b9455148bd7]::interface::run_compiler<(), rustc_driver_impl[2d56b2114394e5be]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[28d256f7e4a200ac]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
31: 0x7fdb8af96b85 - std::sys::pal::unix::thread::Thread::new::thread_start::h8df8579a1e38806e
32: 0x7fdb848a57eb - <unknown>
33: 0x7fdb8492918c - <unknown>
34: 0x0 - <unknown>
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: please make sure that you have updated to the latest nightly
note: please attach the file at `/me/fakehome/.cargo/registry/src/mirrors.ustc.edu.cn-38d0e5eb5da2abae/umya-spreadsheet-2.3.0/rustc-ice-2025-08-02T11_20_09-3402913.txt` to your bug report
note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C strip=symbols -C link-arg=-fuse-ld=mold -C target-cpu=native -Z polonius=next
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [mir_borrowck] borrow-checking `structs::office2010::excel::data_validation_forumla1::<impl at /home/neutron/.cargo/registry/src/mirrors.ustc.edu.cn-38d0e5eb5da2abae/umya-spreadsheet-2.3.0/src/structs/office2010/excel/data_validation_forumla1.rs:16:1: 16:28>::write_to`
#1 [analysis] running analysis passes on this crate
end of query stack
thread 'rustc' panicked at compiler/rustc_borrowck/src/region_infer/mod.rs:1816:10:
called `Option::unwrap()` on a `None` value
stack backtrace:
0: 0x7fdb895febc3 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h74e15c3c620ea92d
1: 0x7fdb89e028f7 - core::fmt::write::h4093c6b0e39594d5
2: 0x7fdb895f47a3 - std::io::Write::write_fmt::h10e556a4fea2195d
3: 0x7fdb895fea22 - std::sys::backtrace::BacktraceLock::print::hba29129df26d9d61
4: 0x7fdb896024c7 - std::panicking::default_hook::{{closure}}::he74027f13df6109c
5: 0x7fdb8960202b - std::panicking::default_hook::hf97973d9add36672
6: 0x7fdb8866e353 - std[c99812c31766f35d]::panicking::update_hook::<alloc[765ab2c1afe1ca91]::boxed::Box<rustc_driver_impl[2d56b2114394e5be]::install_ice_hook::{closure#1}>>::{closure#0}
7: 0x7fdb89602d0e - std::panicking::rust_panic_with_hook::hd14694cac78b969f
8: 0x7fdb896029d6 - std::panicking::begin_panic_handler::{{closure}}::h319162b8a5c86ae4
9: 0x7fdb895ff089 - std::sys::backtrace::__rust_end_short_backtrace::hc111f5542ac4d4f9
10: 0x7fdb896026ed - __rustc[79a240ffca3c5d2f]::rust_begin_unwind
11: 0x7fdb85ccf9a0 - core::panicking::panic_fmt::h71bde16da510c503
12: 0x7fdb85ce9d3c - core::panicking::panic::ha9ffb8bae407f3c8
13: 0x7fdb85cd17e9 - core::option::unwrap_failed::ha49f64d21ef0b425
14: 0x7fdb8842be8c - <rustc_borrowck[d11a3b9cba0b7b85]::region_infer::RegionInferenceContext>::find_sub_region_live_at
15: 0x7fdb87e60787 - <rustc_borrowck[d11a3b9cba0b7b85]::MirBorrowckCtxt>::explain_why_borrow_contains_point
16: 0x7fdb87b6f63f - <rustc_borrowck[d11a3b9cba0b7b85]::MirBorrowckCtxt>::report_borrowed_value_does_not_live_long_enough
17: 0x7fdb8b069726 - rustc_borrowck[d11a3b9cba0b7b85]::do_mir_borrowck
18: 0x7fdb8b027bc9 - rustc_borrowck[d11a3b9cba0b7b85]::mir_borrowck
19: 0x7fdb8b0278d9 - rustc_query_impl[b670d831f6ea89e9]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[b670d831f6ea89e9]::query_impl::mir_borrowck::dynamic_query::{closure#2}::{closure#0}, rustc_middle[d917d7baed941a01]::query::erase::Erased<[u8; 8usize]>>
20: 0x7fdb8a53372e - rustc_query_system[fa54dbd9029b4428]::query::plumbing::try_execute_query::<rustc_query_impl[b670d831f6ea89e9]::DynamicConfig<rustc_data_structures[97f14c3cfa8c52b3]::vec_cache::VecCache<rustc_span[6e0424fd52571587]::def_id::LocalDefId, rustc_middle[d917d7baed941a01]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[fa54dbd9029b4428]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[b670d831f6ea89e9]::plumbing::QueryCtxt, false>
21: 0x7fdb8a533009 - rustc_query_impl[b670d831f6ea89e9]::query_impl::mir_borrowck::get_query_non_incr::__rust_end_short_backtrace
22: 0x7fdb8a532317 - <rustc_middle[d917d7baed941a01]::ty::context::TyCtxt>::par_hir_body_owners::<rustc_interface[a0b42b9455148bd7]::passes::run_required_analyses::{closure#1}::{closure#0}>::{closure#0}
23: 0x7fdb8a52fe95 - rustc_interface[a0b42b9455148bd7]::passes::analysis
24: 0x7fdb8a52f407 - rustc_query_impl[b670d831f6ea89e9]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[b670d831f6ea89e9]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[d917d7baed941a01]::query::erase::Erased<[u8; 0usize]>>
25: 0x7fdb8ae9d83c - rustc_query_system[fa54dbd9029b4428]::query::plumbing::try_execute_query::<rustc_query_impl[b670d831f6ea89e9]::DynamicConfig<rustc_query_system[fa54dbd9029b4428]::query::caches::SingleCache<rustc_middle[d917d7baed941a01]::query::erase::Erased<[u8; 0usize]>>, false, false, false>, rustc_query_impl[b670d831f6ea89e9]::plumbing::QueryCtxt, false>
26: 0x7fdb8ae9d404 - rustc_query_impl[b670d831f6ea89e9]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
27: 0x7fdb8b277ecb - rustc_interface[a0b42b9455148bd7]::passes::create_and_enter_global_ctxt::<core[28d256f7e4a200ac]::option::Option<rustc_interface[a0b42b9455148bd7]::queries::Linker>, rustc_driver_impl[2d56b2114394e5be]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}
28: 0x7fdb8b0ae8f1 - rustc_interface[a0b42b9455148bd7]::interface::run_compiler::<(), rustc_driver_impl[2d56b2114394e5be]::run_compiler::{closure#0}>::{closure#1}
29: 0x7fdb8af90dc1 - std[c99812c31766f35d]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[a0b42b9455148bd7]::util::run_in_thread_with_globals<rustc_interface[a0b42b9455148bd7]::util::run_in_thread_pool_with_globals<rustc_interface[a0b42b9455148bd7]::interface::run_compiler<(), rustc_driver_impl[2d56b2114394e5be]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
30: 0x7fdb8af90aa2 - <<std[c99812c31766f35d]::thread::Builder>::spawn_unchecked_<rustc_interface[a0b42b9455148bd7]::util::run_in_thread_with_globals<rustc_interface[a0b42b9455148bd7]::util::run_in_thread_pool_with_globals<rustc_interface[a0b42b9455148bd7]::interface::run_compiler<(), rustc_driver_impl[2d56b2114394e5be]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[28d256f7e4a200ac]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
31: 0x7fdb8af96b85 - std::sys::pal::unix::thread::Thread::new::thread_start::h8df8579a1e38806e
32: 0x7fdb848a57eb - <unknown>
33: 0x7fdb8492918c - <unknown>
34: 0x0 - <unknown>
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: please make sure that you have updated to the latest nightly
note: please attach the file at `/me/fakehome/.cargo/registry/src/mirrors.ustc.edu.cn-38d0e5eb5da2abae/umya-spreadsheet-2.3.0/rustc-ice-2025-08-02T11_20_09-3402913.txt` to your bug report
note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C strip=symbols -C link-arg=-fuse-ld=mold -C target-cpu=native -Z polonius=next
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [mir_borrowck] borrow-checking `structs::office2010::excel::data_validation_forumla2::<impl at /home/neutron/.cargo/registry/src/mirrors.ustc.edu.cn-38d0e5eb5da2abae/umya-spreadsheet-2.3.0/src/structs/office2010/excel/data_validation_forumla2.rs:16:1: 16:28>::write_to`
#1 [analysis] running analysis passes on this crate
end of query stack
error: could not compile `umya-spreadsheet` (lib)
Caused by:
process didn't exit successfully: `/home/neutron/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc --crate-name umya_spreadsheet --edition=2021 /home/neutron/.cargo/registry/src/mirrors.ustc.edu.cn-38d0e5eb5da2abae/umya-spreadsheet-2.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=208 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("js"))' -C metadata=70bf180728f81802 -C extra-filename=-253c2643cd4c9364 --out-dir /me/read-xlsx/target/release/deps -C strip=symbols -L dependency=/me/read-xlsx/target/release/deps --extern aes=/me/read-xlsx/target/release/deps/libaes-69aaf3256d374f9d.rmeta --extern ahash=/me/read-xlsx/target/release/deps/libahash-4a756849e1140a6b.rmeta --extern base64=/me/read-xlsx/target/release/deps/libbase64-10e8bfbc9738c1ac.rmeta --extern byteorder=/me/read-xlsx/target/release/deps/libbyteorder-5a1dfd687a80d823.rmeta --extern cbc=/me/read-xlsx/target/release/deps/libcbc-5f1f176422037eb7.rmeta --extern cfb=/me/read-xlsx/target/release/deps/libcfb-178042b499eadabf.rmeta --extern chrono=/me/read-xlsx/target/release/deps/libchrono-10e241e2c53bd669.rmeta --extern encoding_rs=/me/read-xlsx/target/release/deps/libencoding_rs-164cde661efa6607.rmeta --extern fancy_regex=/me/read-xlsx/target/release/deps/libfancy_regex-9afe1b465a23c7e5.rmeta --extern getrandom=/me/read-xlsx/target/release/deps/libgetrandom-e3d9ca2243ff9fad.rmeta --extern hmac=/me/read-xlsx/target/release/deps/libhmac-5786daa7708cec70.rmeta --extern html_parser=/me/read-xlsx/target/release/deps/libhtml_parser-72ce8ac58b9fa088.rmeta --extern imagesize=/me/read-xlsx/target/release/deps/libimagesize-e9f7b8287020e996.rmeta --extern lazy_static=/me/read-xlsx/target/release/deps/liblazy_static-9ca0b2b47a5a9aa9.rmeta --extern md5=/me/read-xlsx/target/release/deps/libmd5-d2110dfa3d4994ca.rmeta --extern quick_xml=/me/read-xlsx/target/release/deps/libquick_xml-3dc0ced0e980c75d.rmeta --extern regex=/me/read-xlsx/target/release/deps/libregex-aee91e2a0454e878.rmeta --extern sha2=/me/read-xlsx/target/release/deps/libsha2-eb728a3fc13af64d.rmeta --extern thin_vec=/me/read-xlsx/target/release/deps/libthin_vec-cde859a496b7e5db.rmeta --extern thousands=/me/read-xlsx/target/release/deps/libthousands-6612a6ae23726a8c.rmeta --extern zip=/me/read-xlsx/target/release/deps/libzip-7943021ad175f444.rmeta --cap-lints allow -Clink-arg=-fuse-ld=mold -Ctarget-cpu=native -Zpolonius=next` (exit status: 101)
Code
Meta
rustc --version --verbose:Error output
(Sorry for that I tried a lower version and didn't went back.)
(What's more, without polonius the error does not exist.)
Backtrace
rustc-ice-2025-08-02T11_20_47-3404840.txt