[INFO] fetching crate injection 0.1.1...
[INFO] documenting injection-0.1.1 against 1.98.0-beta.1 for beta-rustdoc-1.98-1
[INFO] extracting crate injection 0.1.1 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate injection 0.1.1
[INFO] finished tweaking crates.io crate injection 0.1.1
[INFO] tweaked toml for crates.io crate injection 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate injection 0.1.1 on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate injection 0.1.1 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.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a133748351dd64d63b394c19cdc5c82cb519987440b07f3b62d6e6e10b5535aa
[INFO] running `Command { std: "docker" "start" "a133748351dd64d63b394c19cdc5c82cb519987440b07f3b62d6e6e10b5535aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a133748351dd64d63b394c19cdc5c82cb519987440b07f3b62d6e6e10b5535aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a133748351dd64d63b394c19cdc5c82cb519987440b07f3b62d6e6e10b5535aa" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a133748351dd64d63b394c19cdc5c82cb519987440b07f3b62d6e6e10b5535aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a133748351dd64d63b394c19cdc5c82cb519987440b07f3b62d6e6e10b5535aa" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling typeid v1.0.3
[INFO] [stderr]    Compiling erased-serde v0.4.10
[INFO] [stderr]     Checking winnow v1.0.0
[INFO] [stderr]     Checking arraydeque v0.5.1
[INFO] [stderr]     Checking unicode-segmentation v1.13.1
[INFO] [stderr]     Checking unicode-ident v1.0.24
[INFO] [stderr]     Checking tokio v1.50.0
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]     Checking inventory v0.3.22
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]     Checking yaml-rust2 v0.10.4
[INFO] [stderr]    Compiling pest v2.8.6
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking toml_parser v1.1.0+spec-1.1.0
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling pest_meta v2.8.6
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking rust-ini v0.21.3
[INFO] [stderr]     Checking bitflags v2.11.0
[INFO] [stderr]     Checking serde_spanned v1.1.0
[INFO] [stderr]     Checking toml_datetime v1.1.0+spec-1.1.0
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking toml v1.1.0+spec-1.1.0
[INFO] [stderr]    Compiling pest_generator v2.8.6
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling clap_derive v4.6.0
[INFO] [stderr]    Compiling injection-macros v0.1.1
[INFO] [stderr]     Checking serde-untagged v0.1.9
[INFO] [stderr]    Compiling pest_derive v2.8.6
[INFO] [stderr]     Checking clap v4.6.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking ron v0.12.0
[INFO] [stderr]     Checking config v0.15.22
[INFO] [stderr]  Documenting injection v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/definition.rs:78:1
[INFO] [stdout]    |
[INFO] [stdout] 78 | / /// 使用 inventory 宏收集所有 Bean 定义
[INFO] [stdout] 79 | | /// 这使得容器可以在启动时自动发现并注册所有 Bean
[INFO] [stdout]    | |_------------------------------------------------^
[INFO] [stdout]    |   |
[INFO] [stdout]    |   rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stderr] thread 'rustc' (742) panicked at /rustc-dev/6b3fa26749ab40e159b2dd5cf577acaaf5902772/compiler/rustc_metadata/src/rmeta/decoder.rs:1404:17:
[INFO] [stderr] assertion `left == right` failed
[INFO] [stderr]   left: TypeNs("core")
[INFO] [stderr]  right: Ctor
[INFO] [stderr] stack backtrace:
[INFO] [stderr]    0:     0x7b1e3c6d1746 - <<std[73adb7dc35730857]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[6883ba1bc0fe4ed1]::fmt::Display>::fmt
[INFO] [stderr]    1:     0x7b1e3ce0ec88 - core[6883ba1bc0fe4ed1]::fmt::write
[INFO] [stderr]    2:     0x7b1e3e1d31ec - <std[73adb7dc35730857]::sys::stdio::unix::Stderr as std[73adb7dc35730857]::io::Write>::write_fmt
[INFO] [stderr]    3:     0x7b1e3c6a5bba - std[73adb7dc35730857]::panicking::default_hook::{closure#0}
[INFO] [stderr]    4:     0x7b1e3c6c3e93 - std[73adb7dc35730857]::panicking::default_hook
[INFO] [stderr]    5:     0x7b1e3b6ad618 - std[73adb7dc35730857]::panicking::update_hook::<alloc[55a36b64bcbf2c0d]::boxed::Box<rustc_driver_impl[cdc09f3dcfdb493d]::install_ice_hook::{closure#1}>>::{closure#0}
[INFO] [stderr]    6:     0x7b1e3c6c4332 - std[73adb7dc35730857]::panicking::panic_with_hook
[INFO] [stderr]    7:     0x7b1e3c6a5c72 - std[73adb7dc35730857]::panicking::panic_handler::{closure#0}
[INFO] [stderr]    8:     0x7b1e3c69c939 - std[73adb7dc35730857]::sys::backtrace::__rust_end_short_backtrace::<std[73adb7dc35730857]::panicking::panic_handler::{closure#0}, !>
[INFO] [stderr]    9:     0x7b1e3c6a75dd - __rustc[a7b7b02e776dd976]::rust_begin_unwind
[INFO] [stderr]   10:     0x7b1e3971503c - core[6883ba1bc0fe4ed1]::panicking::panic_fmt
[INFO] [stderr]   11:     0x7b1e3b05fbb3 - core[6883ba1bc0fe4ed1]::panicking::assert_failed_inner
[INFO] [stderr]   12:     0x7b1e3bbeb5b6 - core[6883ba1bc0fe4ed1]::panicking::assert_failed::<rustc_hir[683e3481e3429972]::definitions::DefPathData, rustc_hir[683e3481e3429972]::definitions::DefPathData>
[INFO] [stderr]   13:     0x7b1e3d463601 - rustc_metadata[b3b5b184ac7e76b]::rmeta::decoder::cstore_impl::provide_extern::attrs_for_def
[INFO] [stderr]   14:     0x7b1e3d45d95c - rustc_query_impl[6beb63dc98d10cf8]::query_impl::attrs_for_def::invoke_provider_fn::__rust_begin_short_backtrace
[INFO] [stderr]   15:     0x7b1e3d147805 - rustc_query_impl[6beb63dc98d10cf8]::execution::try_execute_query::<rustc_middle[1ca177a2b874f02a]::query::caches::DefIdCache<rustc_middle[1ca177a2b874f02a]::query::erase::ErasedData<[u8; 16usize]>>, false>
[INFO] [stderr]   16:     0x7b1e3d14704d - rustc_query_impl[6beb63dc98d10cf8]::query_impl::attrs_for_def::execute_query_non_incr::__rust_end_short_backtrace
[INFO] [stderr]   17:     0x644c883b87b1 - <rustc_middle[1ca177a2b874f02a]::ty::context::TyCtxt>::get_all_attrs::<rustc_span[c8e1fef47fc97b5f]::def_id::DefId>
[INFO] [stderr]   18:     0x644c88631259 - rustdoc[77f8a3d7b12a7417]::clean::inline::build_module_items
[INFO] [stderr]   19:     0x644c885f2d9f - rustdoc[77f8a3d7b12a7417]::clean::clean_use_statement_inner
[INFO] [stderr]   20:     0x644c885ec6e1 - rustdoc[77f8a3d7b12a7417]::clean::clean_use_statement
[INFO] [stderr]   21:     0x644c885e7fd3 - rustdoc[77f8a3d7b12a7417]::clean::clean_doc_module
[INFO] [stderr]   22:     0x644c885d8b01 - rustdoc[77f8a3d7b12a7417]::core::run_global_ctxt
[INFO] [stderr]   23:     0x644c88511251 - rustdoc[77f8a3d7b12a7417]::main_args::{closure#2}::{closure#0}
[INFO] [stderr]   24:     0x644c8850957a - rustc_interface[af4456b456e7b115]::interface::run_compiler::<(), rustdoc[77f8a3d7b12a7417]::main_args::{closure#2}>::{closure#1}
[INFO] [stderr]   25:     0x644c88459708 - std[73adb7dc35730857]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[af4456b456e7b115]::util::run_in_thread_with_globals<rustc_interface[af4456b456e7b115]::util::run_in_thread_pool_with_globals<rustc_interface[af4456b456e7b115]::interface::run_compiler<(), rustdoc[77f8a3d7b12a7417]::main_args::{closure#2}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
[INFO] [stderr]   26:     0x644c8854748d - <std[73adb7dc35730857]::thread::lifecycle::spawn_unchecked<rustc_interface[af4456b456e7b115]::util::run_in_thread_with_globals<rustc_interface[af4456b456e7b115]::util::run_in_thread_pool_with_globals<rustc_interface[af4456b456e7b115]::interface::run_compiler<(), rustdoc[77f8a3d7b12a7417]::main_args::{closure#2}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[6883ba1bc0fe4ed1]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stderr]   27:     0x7b1e3df38f90 - <std[73adb7dc35730857]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stderr]   28:     0x7b1e37a8aaa4 - <unknown>
[INFO] [stderr]   29:     0x7b1e37b17a64 - clone
[INFO] [stderr]   30:                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.98.0-beta.1 (6b3fa2674 2026-07-06) running on x86_64-unknown-linux-gnu
[INFO] [stderr] 
[INFO] [stderr] note: compiler flags: --crate-type lib
[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 [attrs_for_def] collecting attributes of `inventory::core`
[INFO] [stderr] end of query stack
[INFO] [stderr] error: could not document `injection`
[INFO] running `Command { std: "docker" "inspect" "a133748351dd64d63b394c19cdc5c82cb519987440b07f3b62d6e6e10b5535aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a133748351dd64d63b394c19cdc5c82cb519987440b07f3b62d6e6e10b5535aa", kill_on_drop: false }`
[INFO] [stdout] a133748351dd64d63b394c19cdc5c82cb519987440b07f3b62d6e6e10b5535aa
