Skip to content

With -Zpolonius=next, (latest nightly) cargo failed to compile umya-spreadsheet #144819

@Neutron3529

Description

@Neutron3529

Code

(just adding `umya-spreadsheet = "2.3.1"` in `[dependencies]` is enough)

Meta

rustc --version --verbose:

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

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.)

$ 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)
Backtrace

$ RUST_BACKTRACE=1 cargo build
   Compiling proc-macro2 v1.0.95
   Compiling unicode-ident v1.0.18
   Compiling version_check v0.9.5
   Compiling typenum v1.18.0
   Compiling memchr v2.7.5
   Compiling cfg-if v1.0.1
   Compiling thiserror v2.0.12
   Compiling ucd-trie v0.1.7
   Compiling crc32fast v1.5.0
   Compiling libc v0.2.174
   Compiling serde v1.0.219
   Compiling subtle v2.6.1
   Compiling autocfg v1.5.0
   Compiling thiserror v1.0.69
   Compiling regex-syntax v0.8.5
   Compiling serde_json v1.0.142
   Compiling doc-comment v0.3.3
   Compiling adler2 v2.0.1
   Compiling zerocopy v0.8.26
   Compiling getrandom v0.3.3
   Compiling bit-vec v0.8.0
   Compiling itoa v1.0.15
   Compiling bumpalo v3.19.0
   Compiling simd-adler32 v0.3.7
   Compiling equivalent v1.0.2
   Compiling cpufeatures v0.2.17
   Compiling ryu v1.0.20
   Compiling zip v2.4.2
   Compiling log v0.4.27
   Compiling hashbrown v0.15.4
   Compiling iana-time-zone v0.1.63
   Compiling fnv v1.0.7
   Compiling once_cell v1.21.3
   Compiling byteorder v1.5.0
   Compiling uuid v1.17.0
   Compiling encoding_rs v0.8.35
   Compiling lazy_static v1.5.0
   Compiling miniz_oxide v0.8.9
   Compiling thin-vec v0.2.14
   Compiling thousands v0.2.0
   Compiling base64 v0.22.1
   Compiling imagesize v0.14.0
   Compiling bit-set v0.8.0
   Compiling generic-array v0.14.7
   Compiling ahash v0.8.12
   Compiling num-traits v0.2.19
   Compiling cfb v0.10.0
   Compiling zopfli v0.8.2
   Compiling aho-corasick v1.1.3
   Compiling indexmap v2.10.0
   Compiling flate2 v1.1.2
   Compiling quote v1.0.40
   Compiling getrandom v0.2.16
   Compiling syn v2.0.104
   Compiling chrono v0.4.41
   Compiling crypto-common v0.1.6
   Compiling block-buffer v0.10.4
   Compiling block-padding v0.3.3
   Compiling inout v0.1.4
   Compiling digest v0.10.7
   Compiling cipher v0.4.4
   Compiling md-5 v0.10.6
   Compiling hmac v0.12.1
   Compiling sha2 v0.10.9
   Compiling cbc v0.1.2
   Compiling aes v0.8.4
   Compiling regex-automata v0.4.9
   Compiling thiserror-impl v2.0.12
   Compiling serde_derive v1.0.219
   Compiling thiserror-impl v1.0.69
   Compiling displaydoc v0.2.5
   Compiling pest v2.8.1
   Compiling pest_meta v2.8.1
   Compiling regex v1.11.1
   Compiling fancy-regex v0.14.0
   Compiling pest_generator v2.8.1
   Compiling pest_derive v2.8.1
   Compiling quick-xml v0.37.5
   Compiling html_parser v0.7.0
   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: __rustc::rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::panic
   3: core::option::unwrap_failed
   4: <rustc_borrowck::region_infer::RegionInferenceContext>::find_sub_region_live_at
   5: <rustc_borrowck::MirBorrowckCtxt>::explain_why_borrow_contains_point
   6: <rustc_borrowck::MirBorrowckCtxt>::report_borrowed_value_does_not_live_long_enough
   7: rustc_borrowck::do_mir_borrowck
   8: rustc_borrowck::mir_borrowck
      [... omitted 1 frame ...]
   9: <rustc_middle::ty::context::TyCtxt>::par_hir_body_owners::<rustc_interface::passes::run_required_analyses::{closure#1}::{closure#0}>::{closure#0}
  10: rustc_interface::passes::analysis
      [... omitted 1 frame ...]
  11: rustc_interface::passes::create_and_enter_global_ctxt::<core::option::Option<rustc_interface::queries::Linker>, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}
  12: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

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_47-3404840.txt` to your bug report

note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -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: __rustc::rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::panic
   3: core::option::unwrap_failed
   4: <rustc_borrowck::region_infer::RegionInferenceContext>::find_sub_region_live_at
   5: <rustc_borrowck::MirBorrowckCtxt>::explain_why_borrow_contains_point
   6: <rustc_borrowck::MirBorrowckCtxt>::report_borrowed_value_does_not_live_long_enough
   7: rustc_borrowck::do_mir_borrowck
   8: rustc_borrowck::mir_borrowck
      [... omitted 1 frame ...]
   9: <rustc_middle::ty::context::TyCtxt>::par_hir_body_owners::<rustc_interface::passes::run_required_analyses::{closure#1}::{closure#0}>::{closure#0}
  10: rustc_interface::passes::analysis
      [... omitted 1 frame ...]
  11: rustc_interface::passes::create_and_enter_global_ctxt::<core::option::Option<rustc_interface::queries::Linker>, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}
  12: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

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_47-3404840.txt` to your bug report

note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -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: __rustc::rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::panic
   3: core::option::unwrap_failed
   4: <rustc_borrowck::region_infer::RegionInferenceContext>::find_sub_region_live_at
   5: <rustc_borrowck::MirBorrowckCtxt>::explain_why_borrow_contains_point
   6: <rustc_borrowck::MirBorrowckCtxt>::report_borrowed_value_does_not_live_long_enough
   7: rustc_borrowck::do_mir_borrowck
   8: rustc_borrowck::mir_borrowck
      [... omitted 1 frame ...]
   9: <rustc_middle::ty::context::TyCtxt>::par_hir_body_owners::<rustc_interface::passes::run_required_analyses::{closure#1}::{closure#0}>::{closure#0}
  10: rustc_interface::passes::analysis
      [... omitted 1 frame ...]
  11: rustc_interface::passes::create_and_enter_global_ctxt::<core::option::Option<rustc_interface::queries::Linker>, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}
  12: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

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_47-3404840.txt` to your bug report

note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -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: __rustc::rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::panic
   3: core::option::unwrap_failed
   4: <rustc_borrowck::region_infer::RegionInferenceContext>::find_sub_region_live_at
   5: <rustc_borrowck::MirBorrowckCtxt>::explain_why_borrow_contains_point
   6: <rustc_borrowck::MirBorrowckCtxt>::report_borrowed_value_does_not_live_long_enough
   7: rustc_borrowck::do_mir_borrowck
   8: rustc_borrowck::mir_borrowck
      [... omitted 1 frame ...]
   9: <rustc_middle::ty::context::TyCtxt>::par_hir_body_owners::<rustc_interface::passes::run_required_analyses::{closure#1}::{closure#0}>::{closure#0}
  10: rustc_interface::passes::analysis
      [... omitted 1 frame ...]
  11: rustc_interface::passes::create_and_enter_global_ctxt::<core::option::Option<rustc_interface::queries::Linker>, rustc_driver_impl::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}
  12: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

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_47-3404840.txt` to your bug report

note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -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 embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("js"))' -C metadata=e51b6a24183dfcfe -C extra-filename=-afdd637cc62c9f92 --out-dir /me/read-xlsx/target/debug/deps -L dependency=/me/read-xlsx/target/debug/deps --extern aes=/me/read-xlsx/target/debug/deps/libaes-aadbcff3bd4a758d.rmeta --extern ahash=/me/read-xlsx/target/debug/deps/libahash-7f785dcee8122832.rmeta --extern base64=/me/read-xlsx/target/debug/deps/libbase64-a318c1630953baa1.rmeta --extern byteorder=/me/read-xlsx/target/debug/deps/libbyteorder-dd83d0f9906073b5.rmeta --extern cbc=/me/read-xlsx/target/debug/deps/libcbc-93942230d465216e.rmeta --extern cfb=/me/read-xlsx/target/debug/deps/libcfb-c9f982288e4f3db1.rmeta --extern chrono=/me/read-xlsx/target/debug/deps/libchrono-f89052dff56db6d7.rmeta --extern encoding_rs=/me/read-xlsx/target/debug/deps/libencoding_rs-0d38d3f2f75ff974.rmeta --extern fancy_regex=/me/read-xlsx/target/debug/deps/libfancy_regex-189717b019d14ca1.rmeta --extern getrandom=/me/read-xlsx/target/debug/deps/libgetrandom-ac79e03884f8569f.rmeta --extern hmac=/me/read-xlsx/target/debug/deps/libhmac-60426c924865faf8.rmeta --extern html_parser=/me/read-xlsx/target/debug/deps/libhtml_parser-3f9c67c337fa79d2.rmeta --extern imagesize=/me/read-xlsx/target/debug/deps/libimagesize-80e794f4c286b53e.rmeta --extern lazy_static=/me/read-xlsx/target/debug/deps/liblazy_static-919dfde43736d6f7.rmeta --extern md5=/me/read-xlsx/target/debug/deps/libmd5-81850ff49306cdf2.rmeta --extern quick_xml=/me/read-xlsx/target/debug/deps/libquick_xml-9a697087efe27eb0.rmeta --extern regex=/me/read-xlsx/target/debug/deps/libregex-15742a97be265e32.rmeta --extern sha2=/me/read-xlsx/target/debug/deps/libsha2-e34ab9dff9f79efb.rmeta --extern thin_vec=/me/read-xlsx/target/debug/deps/libthin_vec-2b0824814153c329.rmeta --extern thousands=/me/read-xlsx/target/debug/deps/libthousands-1ee2a9c39a84aa0b.rmeta --extern zip=/me/read-xlsx/target/debug/deps/libzip-7ca917b27dfc6d21.rmeta --cap-lints allow -Clink-arg=-fuse-ld=mold -Ctarget-cpu=native -Zpolonius=next` (exit status: 101)

rustc-ice-2025-08-02T11_20_47-3404840.txt

Metadata

Metadata

Assignees

Labels

C-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions