[INFO] cloning repository https://github.com/AndreasBackx/rustc-panic-repro
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AndreasBackx/rustc-panic-repro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndreasBackx%2Frustc-panic-repro", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndreasBackx%2Frustc-panic-repro'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b0e597027914096888d56f4b0611d8ab9e109cd1
[INFO] testing AndreasBackx/rustc-panic-repro against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndreasBackx%2Frustc-panic-repro" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AndreasBackx/rustc-panic-repro
[INFO] finished tweaking git repo https://github.com/AndreasBackx/rustc-panic-repro
[INFO] tweaked toml for git repo https://github.com/AndreasBackx/rustc-panic-repro written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AndreasBackx/rustc-panic-repro on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AndreasBackx/rustc-panic-repro already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 68ed17afa9831b95857ca1f5617b8f08df0e84ab70e7e147ff50f22dbe79737c
[INFO] running `Command { std: "docker" "start" "-a" "68ed17afa9831b95857ca1f5617b8f08df0e84ab70e7e147ff50f22dbe79737c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "68ed17afa9831b95857ca1f5617b8f08df0e84ab70e7e147ff50f22dbe79737c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68ed17afa9831b95857ca1f5617b8f08df0e84ab70e7e147ff50f22dbe79737c", kill_on_drop: false }`
[INFO] [stdout] 68ed17afa9831b95857ca1f5617b8f08df0e84ab70e7e147ff50f22dbe79737c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e7aaaefbe804f7e741438c4688c59986b430585dab6cfe8983e1f0da8765d0df
[INFO] running `Command { std: "docker" "start" "-a" "e7aaaefbe804f7e741438c4688c59986b430585dab6cfe8983e1f0da8765d0df", kill_on_drop: false }`
[INFO] [stderr]    Compiling indoc v2.0.5
[INFO] [stderr]    Compiling rustc-panic-repro v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] 
[INFO] [stderr] thread 'rustc' panicked at compiler/rustc_span/src/lib.rs:2246:17:
[INFO] [stderr] assertion failed: bpos.to_u32() >= mbc.pos.to_u32() + mbc.bytes as u32
[INFO] [stderr] stack backtrace:
[INFO] [stderr]    0:     0x7f6345736883 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha2e7e3a01df69042
[INFO] [stderr]    1:     0x7f6345e0273f - core::fmt::write::h7cb8f63788cd01d2
[INFO] [stderr]    2:     0x7f634572c4c3 - std::io::Write::write_fmt::h5ebaf381f8338068
[INFO] [stderr]    3:     0x7f63457366e2 - std::sys::backtrace::BacktraceLock::print::h3ec4d7883eb25e61
[INFO] [stderr]    4:     0x7f634573a17a - std::panicking::default_hook::{{closure}}::h29548987efd832cb
[INFO] [stderr]    5:     0x7f6345739cff - std::panicking::default_hook::ha25170a15c643514
[INFO] [stderr]    6:     0x7f63448056a3 - std[d534d36ffd607ff3]::panicking::update_hook::<alloc[756c202a2770bd7e]::boxed::Box<rustc_driver_impl[4ab48184b7847074]::install_ice_hook::{closure#1}>>::{closure#0}
[INFO] [stderr]    7:     0x7f634573a9cb - std::panicking::rust_panic_with_hook::h0d81afcd829aa24b
[INFO] [stderr]    8:     0x7f634573a696 - std::panicking::begin_panic_handler::{{closure}}::hc84a33f1202346cf
[INFO] [stderr]    9:     0x7f6345736d49 - std::sys::backtrace::__rust_end_short_backtrace::h373067a14f6c59aa
[INFO] [stderr]   10:     0x7f634573a3ad - __rustc[beb0385846a06d21]::rust_begin_unwind
[INFO] [stderr]   11:     0x7f6341ea8530 - core::panicking::panic_fmt::ha33fa2ae772efba9
[INFO] [stderr]   12:     0x7f634222e21c - core::panicking::panic::hd2a569f4f37f7e10
[INFO] [stderr]   13:     0x7f6346c18fcf - <rustc_span[439cc0b179e5ffc0]::source_map::SourceMap>::lookup_char_pos
[INFO] [stderr]   14:     0x7f634743a284 - <rustc_span[439cc0b179e5ffc0]::source_map::SourceMap>::span_to_filename
[INFO] [stderr]   15:     0x7f63452c0931 - <rustc_resolve[2948cb85f71c49a9]::Resolver>::undeclared_module_exists
[INFO] [stderr]   16:     0x7f6346938174 - <rustc_resolve[2948cb85f71c49a9]::Resolver>::resolve_path_with_ribs
[INFO] [stderr]   17:     0x7f6346aa61a4 - <rustc_resolve[2948cb85f71c49a9]::late::LateResolutionVisitor>::smart_resolve_path_fragment
[INFO] [stderr]   18:     0x7f6346a9a1f8 - <rustc_resolve[2948cb85f71c49a9]::late::LateResolutionVisitor>::resolve_expr
[INFO] [stderr]   19:     0x7f6346a9c119 - <rustc_resolve[2948cb85f71c49a9]::late::LateResolutionVisitor>::resolve_expr
[INFO] [stderr]   20:     0x7f6346a9a415 - <rustc_resolve[2948cb85f71c49a9]::late::LateResolutionVisitor>::resolve_expr
[INFO] [stderr]   21:     0x7f6346a995ce - <rustc_resolve[2948cb85f71c49a9]::late::LateResolutionVisitor>::resolve_block
[INFO] [stderr]   22:     0x7f6346a9aee5 - <rustc_resolve[2948cb85f71c49a9]::late::LateResolutionVisitor>::resolve_expr
[INFO] [stderr]   23:     0x7f6346a9a415 - <rustc_resolve[2948cb85f71c49a9]::late::LateResolutionVisitor>::resolve_expr
[INFO] [stderr]   24:     0x7f6346a995ce - <rustc_resolve[2948cb85f71c49a9]::late::LateResolutionVisitor>::resolve_block
[INFO] [stderr]   25:     0x7f6346a967da - <rustc_resolve[2948cb85f71c49a9]::late::LateResolutionVisitor as rustc_ast[85f4ee3107c6ed36]::visit::Visitor>::visit_fn
[INFO] [stderr]   26:     0x7f6346a803d5 - rustc_ast[85f4ee3107c6ed36]::visit::walk_item_ctxt::<rustc_resolve[2948cb85f71c49a9]::late::LateResolutionVisitor, rustc_ast[85f4ee3107c6ed36]::ast::ItemKind>
[INFO] [stderr]   27:     0x7f6346a8768c - <rustc_resolve[2948cb85f71c49a9]::late::LateResolutionVisitor as rustc_ast[85f4ee3107c6ed36]::visit::Visitor>::visit_item
[INFO] [stderr]   28:     0x7f634693dda7 - <rustc_resolve[2948cb85f71c49a9]::Resolver>::resolve_crate::{closure#0}
[INFO] [stderr]   29:     0x7f634693a915 - <rustc_resolve[2948cb85f71c49a9]::Resolver>::resolve_crate
[INFO] [stderr]   30:     0x7f6346a2e731 - rustc_interface[331c37c46c9c8d25]::passes::configure_and_expand
[INFO] [stderr]   31:     0x7f6346fb2183 - rustc_interface[331c37c46c9c8d25]::passes::resolver_for_lowering_raw
[INFO] [stderr]   32:     0x7f6346fb1f0d - rustc_query_impl[65f50324650e1fa3]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[65f50324650e1fa3]::query_impl::resolver_for_lowering_raw::dynamic_query::{closure#2}::{closure#0}, rustc_middle[1c3bc8d0cdd03ead]::query::erase::Erased<[u8; 16usize]>>
[INFO] [stderr]   33:     0x7f6346fb1ee7 - <rustc_query_impl[65f50324650e1fa3]::query_impl::resolver_for_lowering_raw::dynamic_query::{closure#2} as core[a1c5ac6c25c163e6]::ops::function::FnOnce<(rustc_middle[1c3bc8d0cdd03ead]::ty::context::TyCtxt, ())>>::call_once
[INFO] [stderr]   34:     0x7f6346e88207 - rustc_query_system[2bb68dc6eee57125]::query::plumbing::try_execute_query::<rustc_query_impl[65f50324650e1fa3]::DynamicConfig<rustc_query_system[2bb68dc6eee57125]::query::caches::SingleCache<rustc_middle[1c3bc8d0cdd03ead]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[65f50324650e1fa3]::plumbing::QueryCtxt, false>
[INFO] [stderr]   35:     0x7f6346e87d7c - rustc_query_impl[65f50324650e1fa3]::query_impl::resolver_for_lowering_raw::get_query_non_incr::__rust_end_short_backtrace
[INFO] [stderr]   36:     0x7f634708a900 - rustc_interface[331c37c46c9c8d25]::passes::create_and_enter_global_ctxt::<core[a1c5ac6c25c163e6]::option::Option<rustc_interface[331c37c46c9c8d25]::queries::Linker>, rustc_driver_impl[4ab48184b7847074]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0}
[INFO] [stderr]   37:     0x7f6347058c03 - rustc_interface[331c37c46c9c8d25]::interface::run_compiler::<(), rustc_driver_impl[4ab48184b7847074]::run_compiler::{closure#0}>::{closure#1}
[INFO] [stderr]   38:     0x7f6346ff19f8 - std[d534d36ffd607ff3]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[331c37c46c9c8d25]::util::run_in_thread_with_globals<rustc_interface[331c37c46c9c8d25]::util::run_in_thread_pool_with_globals<rustc_interface[331c37c46c9c8d25]::interface::run_compiler<(), rustc_driver_impl[4ab48184b7847074]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
[INFO] [stderr]   39:     0x7f6346ff16d6 - <<std[d534d36ffd607ff3]::thread::Builder>::spawn_unchecked_<rustc_interface[331c37c46c9c8d25]::util::run_in_thread_with_globals<rustc_interface[331c37c46c9c8d25]::util::run_in_thread_pool_with_globals<rustc_interface[331c37c46c9c8d25]::interface::run_compiler<(), rustc_driver_impl[4ab48184b7847074]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[a1c5ac6c25c163e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stderr]   40:     0x7f6346fefd3d - std::sys::pal::unix::thread::Thread::new::thread_start::h1a22ded422ce395b
[INFO] [stderr]   41:     0x7f6340a8aaa4 - <unknown>
[INFO] [stderr]   42:     0x7f6340b17a34 - clone
[INFO] [stderr]   43:                0x0 - <unknown>
[INFO] [stderr] 
[INFO] [stderr] error: the compiler unexpectedly panicked. this is a bug.
[INFO] [stderr] 
[INFO] [stderr] 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
[INFO] [stderr] 
[INFO] [stderr] note: please make sure that you have updated to the latest nightly
[INFO] [stderr] 
[INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2025-10-11T06_08_37-60.txt`: Read-only file system (os error 30)
[INFO] [stderr] 
[INFO] [stderr] note: rustc 1.90.0-nightly (733b47ea4 2025-07-05) running on x86_64-unknown-linux-gnu
[INFO] [stderr] 
[INFO] [stderr] note: compiler flags: --crate-type bin -C embed-bitcode=no -C debuginfo=2 -C opt-level=3
[INFO] [stderr] 
[INFO] [stderr] note: some of the compiler flags provided by cargo are hidden
[INFO] [stderr] 
[INFO] [stderr] query stack during panic:
[INFO] [stderr] #0 [resolver_for_lowering_raw] getting the resolver for lowering
[INFO] [stderr] end of query stack
[INFO] [stderr] error: could not compile `rustc-panic-repro` (bin "rustc-panic-repro")
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/733b47ea4b1b86216f14ef56e49440c33933f230/bin/rustc --crate-name rustc_panic_repro --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=f735376ba99fc112 -C extra-filename=-8b0f44b4c139baa3 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern indoc=/opt/rustwide/target/debug/deps/libindoc-ac8a2e98fc4c11a9.so --cap-lints=forbid -Copt-level=3` (exit status: 101)
[INFO] running `Command { std: "docker" "inspect" "e7aaaefbe804f7e741438c4688c59986b430585dab6cfe8983e1f0da8765d0df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7aaaefbe804f7e741438c4688c59986b430585dab6cfe8983e1f0da8765d0df", kill_on_drop: false }`
[INFO] [stdout] e7aaaefbe804f7e741438c4688c59986b430585dab6cfe8983e1f0da8765d0df
