[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] documenting AndreasBackx/rustc-panic-repro against 1.91.0 for beta-1.92-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndreasBackx%2Frustc-panic-repro" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AndreasBackx/rustc-panic-repro on toolchain 1.91.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f3526b51d83d13ac5d6e5c6e0825fe1e10e3b70ec79e207dadbcf62e894c7e23
[INFO] running `Command { std: "docker" "start" "-a" "f3526b51d83d13ac5d6e5c6e0825fe1e10e3b70ec79e207dadbcf62e894c7e23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f3526b51d83d13ac5d6e5c6e0825fe1e10e3b70ec79e207dadbcf62e894c7e23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3526b51d83d13ac5d6e5c6e0825fe1e10e3b70ec79e207dadbcf62e894c7e23", kill_on_drop: false }`
[INFO] [stdout] f3526b51d83d13ac5d6e5c6e0825fe1e10e3b70ec79e207dadbcf62e894c7e23
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 96bac734fd23685b132bf810fde1a79b47ff0d257dcc60ff45e7809b9079da35
[INFO] running `Command { std: "docker" "start" "-a" "96bac734fd23685b132bf810fde1a79b47ff0d257dcc60ff45e7809b9079da35", kill_on_drop: false }`
[INFO] [stderr]  Documenting rustc-panic-repro v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] 
[INFO] [stderr] thread 'rustc' (18) panicked at compiler/rustc_span/src/lib.rs:2258:17:
[INFO] [stderr] assertion failed: bpos.to_u32() >= mbc.pos.to_u32() + mbc.bytes as u32
[INFO] [stderr] stack backtrace:
[INFO] [stderr]    0:     0x7694e1650a23 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h4e0a3aeea0f9c085
[INFO] [stderr]    1:     0x7694e1e01bd8 - core::fmt::write::hecf68a131630c74d
[INFO] [stderr]    2:     0x7694e34b57af - std::io::Write::write_fmt::h93c9a261259c931a
[INFO] [stderr]    3:     0x7694e1615ee2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621
[INFO] [stderr]    4:     0x7694e161be39 - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb
[INFO] [stderr]    5:     0x7694e161b963 - std::panicking::default_hook::h63f9bf8161c5d325
[INFO] [stderr]    6:     0x7694e06024e7 - std[752e03a6421f8218]::panicking::update_hook::<alloc[cb649fc9a76fa509]::boxed::Box<rustc_driver_impl[7060c14ee153e4be]::install_ice_hook::{closure#1}>>::{closure#0}
[INFO] [stderr]    7:     0x7694e161c25f - std::panicking::panic_with_hook::h3173740e06bd0752
[INFO] [stderr]    8:     0x7694e161bfe6 - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87
[INFO] [stderr]    9:     0x7694e1616029 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320
[INFO] [stderr]   10:     0x7694e15f698d - __rustc[de0091b922c53d7e]::rust_begin_unwind
[INFO] [stderr]   11:     0x7694ddce7940 - core::panicking::panic_fmt::h5138da2ef87be35b
[INFO] [stderr]   12:     0x7694ddd74c9c - core::panicking::panic::hb515f22c0e98143a
[INFO] [stderr]   13:     0x7694e279da2f - <rustc_span[56f068732132fb52]::source_map::SourceMap>::lookup_char_pos
[INFO] [stderr]   14:     0x7694e32fc502 - <rustc_span[56f068732132fb52]::source_map::SourceMap>::span_to_filename
[INFO] [stderr]   15:     0x7694e1192831 - <rustc_resolve[11934f9ef21e9b10]::Resolver>::undeclared_module_exists
[INFO] [stderr]   16:     0x7694e2484bc3 - <rustc_resolve[11934f9ef21e9b10]::Resolver>::resolve_path_with_ribs
[INFO] [stderr]   17:     0x7694e2b0c3c1 - <rustc_resolve[11934f9ef21e9b10]::late::LateResolutionVisitor>::smart_resolve_path_fragment
[INFO] [stderr]   18:     0x7694e2b01927 - <rustc_resolve[11934f9ef21e9b10]::late::LateResolutionVisitor>::resolve_expr
[INFO] [stderr]   19:     0x7694e2b02b0b - <rustc_resolve[11934f9ef21e9b10]::late::LateResolutionVisitor>::resolve_expr
[INFO] [stderr]   20:     0x7694e2b01ba8 - <rustc_resolve[11934f9ef21e9b10]::late::LateResolutionVisitor>::resolve_expr
[INFO] [stderr]   21:     0x7694e2b00da6 - <rustc_resolve[11934f9ef21e9b10]::late::LateResolutionVisitor>::resolve_block
[INFO] [stderr]   22:     0x7694e2b021a8 - <rustc_resolve[11934f9ef21e9b10]::late::LateResolutionVisitor>::resolve_expr
[INFO] [stderr]   23:     0x7694e2b01ba8 - <rustc_resolve[11934f9ef21e9b10]::late::LateResolutionVisitor>::resolve_expr
[INFO] [stderr]   24:     0x7694e2b00da6 - <rustc_resolve[11934f9ef21e9b10]::late::LateResolutionVisitor>::resolve_block
[INFO] [stderr]   25:     0x7694e2afe0f9 - <rustc_resolve[11934f9ef21e9b10]::late::LateResolutionVisitor as rustc_ast[7866d90374eaf1f3]::visit::Visitor>::visit_fn
[INFO] [stderr]   26:     0x7694e2ad2d96 - rustc_ast[7866d90374eaf1f3]::visit::walk_item_inner::<rustc_ast[7866d90374eaf1f3]::ast::ItemKind, rustc_resolve[11934f9ef21e9b10]::late::LateResolutionVisitor>
[INFO] [stderr]   27:     0x7694e2aebe14 - <rustc_resolve[11934f9ef21e9b10]::late::LateResolutionVisitor>::resolve_item
[INFO] [stderr]   28:     0x7694e2ae480b - rustc_ast[7866d90374eaf1f3]::visit::visit_items::<rustc_resolve[11934f9ef21e9b10]::late::LateResolutionVisitor>
[INFO] [stderr]   29:     0x7694e246e62b - <rustc_resolve[11934f9ef21e9b10]::Resolver>::resolve_crate::{closure#0}
[INFO] [stderr]   30:     0x7694e246c3ff - <rustc_resolve[11934f9ef21e9b10]::Resolver>::resolve_crate
[INFO] [stderr]   31:     0x7694e22a9ece - rustc_interface[356b87dbb86a0c69]::passes::configure_and_expand
[INFO] [stderr]   32:     0x7694e313a5ed - rustc_interface[356b87dbb86a0c69]::passes::resolver_for_lowering_raw
[INFO] [stderr]   33:     0x7694e313a34d - rustc_query_impl[105cc161e39911be]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[105cc161e39911be]::query_impl::resolver_for_lowering_raw::dynamic_query::{closure#2}::{closure#0}, rustc_middle[d4b0c03c541beb2b]::query::erase::Erased<[u8; 16usize]>>
[INFO] [stderr]   34:     0x7694e313a327 - <rustc_query_impl[105cc161e39911be]::query_impl::resolver_for_lowering_raw::dynamic_query::{closure#2} as core[23fa5c620bd8b707]::ops::function::FnOnce<(rustc_middle[d4b0c03c541beb2b]::ty::context::TyCtxt, ())>>::call_once
[INFO] [stderr]   35:     0x7694e2f30edf - rustc_query_system[eecf37c567c7c9f0]::query::plumbing::try_execute_query::<rustc_query_impl[105cc161e39911be]::DynamicConfig<rustc_query_system[eecf37c567c7c9f0]::query::caches::SingleCache<rustc_middle[d4b0c03c541beb2b]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[105cc161e39911be]::plumbing::QueryCtxt, false>
[INFO] [stderr]   36:     0x7694e2f30a3c - rustc_query_impl[105cc161e39911be]::query_impl::resolver_for_lowering_raw::get_query_non_incr::__rust_end_short_backtrace
[INFO] [stderr]   37:     0x7694dfcbf918 - <rustc_middle[d4b0c03c541beb2b]::ty::context::TyCtxt>::resolver_for_lowering
[INFO] [stderr]   38:     0x5e364a44acf3 - rustdoc[88bb29793cd87fda]::core::run_global_ctxt
[INFO] [stderr]   39:     0x5e364a348d54 - rustdoc[88bb29793cd87fda]::main_args::{closure#2}::{closure#0}
[INFO] [stderr]   40:     0x5e364a339f30 - rustc_interface[356b87dbb86a0c69]::interface::run_compiler::<(), rustdoc[88bb29793cd87fda]::main_args::{closure#2}>::{closure#1}
[INFO] [stderr]   41:     0x5e364a2783c8 - std[752e03a6421f8218]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[356b87dbb86a0c69]::util::run_in_thread_with_globals<rustc_interface[356b87dbb86a0c69]::util::run_in_thread_pool_with_globals<rustc_interface[356b87dbb86a0c69]::interface::run_compiler<(), rustdoc[88bb29793cd87fda]::main_args::{closure#2}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
[INFO] [stderr]   42:     0x5e364a370dad - <<std[752e03a6421f8218]::thread::Builder>::spawn_unchecked_<rustc_interface[356b87dbb86a0c69]::util::run_in_thread_with_globals<rustc_interface[356b87dbb86a0c69]::util::run_in_thread_pool_with_globals<rustc_interface[356b87dbb86a0c69]::interface::run_compiler<(), rustdoc[88bb29793cd87fda]::main_args::{closure#2}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[23fa5c620bd8b707]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stderr]   43:     0x7694e2fe4a6f - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2
[INFO] [stderr]   44:     0x7694dc88aaa4 - <unknown>
[INFO] [stderr]   45:     0x7694dc917a64 - clone
[INFO] [stderr]   46:                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-rustdoc&template=ice.md
[INFO] [stderr] 
[INFO] [stderr] note: rustc 1.91.0 (f8297e351 2025-10-28) running on x86_64-unknown-linux-gnu
[INFO] [stderr] 
[INFO] [stderr] note: compiler flags: --crate-type bin
[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 document `rustc-panic-repro`
[INFO] running `Command { std: "docker" "inspect" "96bac734fd23685b132bf810fde1a79b47ff0d257dcc60ff45e7809b9079da35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96bac734fd23685b132bf810fde1a79b47ff0d257dcc60ff45e7809b9079da35", kill_on_drop: false }`
[INFO] [stdout] 96bac734fd23685b132bf810fde1a79b47ff0d257dcc60ff45e7809b9079da35
