[INFO] cloning repository https://github.com/Simon-Bertrand/kmax-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Simon-Bertrand/kmax-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimon-Bertrand%2Fkmax-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimon-Bertrand%2Fkmax-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7289c1df00f37d47ecd510e9f28e90115a536d9c
[INFO] documenting Simon-Bertrand/kmax-rs against beta-2026-01-20 for beta-1.94-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimon-Bertrand%2Fkmax-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Simon-Bertrand/kmax-rs
[INFO] finished tweaking git repo https://github.com/Simon-Bertrand/kmax-rs
[INFO] tweaked toml for git repo https://github.com/Simon-Bertrand/kmax-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Simon-Bertrand/kmax-rs on toolchain beta-2026-01-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-01-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Simon-Bertrand/kmax-rs 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" "+beta-2026-01-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-01-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a0c13c54adcdc428e6b6d97ba25ad7200f4eb80198e283a4bedbafaa88bc1ad0
[INFO] running `Command { std: "docker" "start" "-a" "a0c13c54adcdc428e6b6d97ba25ad7200f4eb80198e283a4bedbafaa88bc1ad0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a0c13c54adcdc428e6b6d97ba25ad7200f4eb80198e283a4bedbafaa88bc1ad0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0c13c54adcdc428e6b6d97ba25ad7200f4eb80198e283a4bedbafaa88bc1ad0", kill_on_drop: false }`
[INFO] [stdout] a0c13c54adcdc428e6b6d97ba25ad7200f4eb80198e283a4bedbafaa88bc1ad0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-01-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 96eff05b2625c3b0344775564ce7f3c0520d26588c739543cafabf85e39a4377
[INFO] running `Command { std: "docker" "start" "-a" "96eff05b2625c3b0344775564ce7f3c0520d26588c739543cafabf85e39a4377", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling libc v0.2.170
[INFO] [stderr]    Compiling once_cell v1.20.3
[INFO] [stderr]    Compiling target-lexicon v0.12.16
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling litemap v0.7.5
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling rustls-pki-types v1.11.0
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling log v0.4.26
[INFO] [stderr]    Compiling miniz_oxide v0.8.5
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling matrixmultiply v0.3.9
[INFO] [stderr]     Checking rayon-core v1.12.1
[INFO] [stderr]    Compiling zerocopy v0.8.21
[INFO] [stderr]     Checking either v1.14.0
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking unindent v0.2.3
[INFO] [stderr]    Compiling indoc v2.0.5
[INFO] [stderr]    Compiling rustls-native-certs v0.7.3
[INFO] [stderr]     Checking inventory v0.3.19
[INFO] [stderr]     Checking rustc-hash v2.1.1
[INFO] [stderr]    Compiling kmax-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]    Compiling pyo3-build-config v0.23.5
[INFO] [stderr]    Compiling flate2 v1.1.0
[INFO] [stderr]    Compiling quote v1.0.39
[INFO] [stderr]    Compiling filetime v0.2.25
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling syn v2.0.99
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]     Checking cblas-sys v0.1.4
[INFO] [stderr]    Compiling openssl-sys v0.9.106
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling pyo3-ffi v0.23.5
[INFO] [stderr]    Compiling pyo3-macros-backend v0.23.5
[INFO] [stderr]    Compiling pyo3 v0.23.5
[INFO] [stderr]    Compiling xattr v1.4.0
[INFO] [stderr]    Compiling tar v0.4.44
[INFO] [stderr]     Checking ndarray v0.16.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]     Checking rand v0.9.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling pyo3-macros v0.23.5
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]     Checking numpy v0.23.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling ureq v2.12.1
[INFO] [stderr]    Compiling openblas-build v0.10.11
[INFO] [stderr]    Compiling openblas-src v0.10.11
[INFO] [stderr]     Checking blas-src v0.8.0
[INFO] [stderr]  Documenting kmax-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> src/lib.rs:70:29
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let row_c = row.map(|x| (*x - means.0));
[INFO] [stdout]    |                             ^            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 70 -     let row_c = row.map(|x| (*x - means.0));
[INFO] [stdout] 70 +     let row_c = row.map(|x| *x - means.0 );
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> src/lib.rs:71:25
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let y_c = y.map(|x| (*x - means.1));
[INFO] [stdout]    |                         ^            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 71 -     let y_c = y.map(|x| (*x - means.1));
[INFO] [stdout] 71 +     let y_c = y.map(|x| *x - means.1 );
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/lib.rs:162:39
[INFO] [stdout]     |
[INFO] [stdout] 162 |                         .map(|(a, b)| (a - b)),
[INFO] [stdout]     |                                       ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 162 -                         .map(|(a, b)| (a - b)),
[INFO] [stdout] 162 +                         .map(|(a, b)| a - b ),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: internal compiler error: src/librustdoc/passes/collect_intra_doc_links.rs:369:17: no resolution for "ToPyArray::to_pyarray" MacroNS DefId(36:648 ~ numpy[1080]::convert)
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/numpy-0.23.0/src/convert.rs:151:5
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn to_pyarray_bound<'py>(&self, py: Python<'py>) -> Bound<'py, PyArray<Self::Item, Self::Dim>> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stderr] thread 'rustc' (1639) panicked at src/librustdoc/passes/collect_intra_doc_links.rs:369:17:
[INFO] [stderr] Box<dyn Any>
[INFO] [stderr] stack backtrace:
[INFO] [stderr]    0:     0x77959965c5b3 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hb7e843cde1bc81a3
[INFO] [stderr]    1:     0x779599c0e408 - core::fmt::write::h952c506e2dbe9cff
[INFO] [stderr]    2:     0x77959b14c182 - std::io::Write::write_fmt::hb496f2b9b027aa16
[INFO] [stderr]    3:     0x779599629b15 - std::panicking::default_hook::{{closure}}::h85cb76b8462c00f2
[INFO] [stderr]    4:     0x779599629943 - std::panicking::default_hook::h0134d220cc034c02
[INFO] [stderr]    5:     0x779598611c4a - std[a6ffc322ab77e72b]::panicking::update_hook::<alloc[dee09189312495c1]::boxed::Box<rustc_driver_impl[ae30ea3cc38f692f]::install_ice_hook::{closure#1}>>::{closure#0}
[INFO] [stderr]    6:     0x779599629e42 - std::panicking::panic_with_hook::h8119b6db1fef734f
[INFO] [stderr]    7:     0x77959864ef81 - std[a6ffc322ab77e72b]::panicking::begin_panic::<rustc_errors[376ba38486738b83]::ExplicitBug>::{closure#0}
[INFO] [stderr]    8:     0x77959863f4d6 - std[a6ffc322ab77e72b]::sys::backtrace::__rust_end_short_backtrace::<std[a6ffc322ab77e72b]::panicking::begin_panic<rustc_errors[376ba38486738b83]::ExplicitBug>::{closure#0}, !>
[INFO] [stderr]    9:     0x77959863f03f - std[a6ffc322ab77e72b]::panicking::begin_panic::<rustc_errors[376ba38486738b83]::ExplicitBug>
[INFO] [stderr]   10:     0x77959866ccc1 - <rustc_errors[376ba38486738b83]::diagnostic::BugAbort as rustc_errors[376ba38486738b83]::diagnostic::EmissionGuarantee>::emit_producing_guarantee
[INFO] [stderr]   11:     0x779598bfe73c - <rustc_errors[376ba38486738b83]::DiagCtxtHandle>::span_bug::<rustc_span[e08c9c65e8b364a4]::span_encoding::Span, alloc[dee09189312495c1]::string::String>
[INFO] [stderr]   12:     0x779598c212b6 - rustc_middle[550e158e12b1f18e]::util::bug::opt_span_bug_fmt::<rustc_span[e08c9c65e8b364a4]::span_encoding::Span>::{closure#0}
[INFO] [stderr]   13:     0x779598c21462 - rustc_middle[550e158e12b1f18e]::ty::context::tls::with_opt::<rustc_middle[550e158e12b1f18e]::util::bug::opt_span_bug_fmt<rustc_span[e08c9c65e8b364a4]::span_encoding::Span>::{closure#0}, !>::{closure#0}
[INFO] [stderr]   14:     0x779598c1257b - rustc_middle[550e158e12b1f18e]::ty::context::tls::with_context_opt::<rustc_middle[550e158e12b1f18e]::ty::context::tls::with_opt<rustc_middle[550e158e12b1f18e]::util::bug::opt_span_bug_fmt<rustc_span[e08c9c65e8b364a4]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
[INFO] [stderr]   15:     0x7795964e9198 - rustc_middle[550e158e12b1f18e]::util::bug::span_bug_fmt::<rustc_span[e08c9c65e8b364a4]::span_encoding::Span>
[INFO] [stderr]   16:     0x5d978ad0030d - <rustdoc[9b9ab9058886d6f4]::passes::collect_intra_doc_links::LinkCollector>::resolve_path
[INFO] [stderr]   17:     0x5d978ad00a43 - <rustdoc[9b9ab9058886d6f4]::passes::collect_intra_doc_links::LinkCollector>::resolve
[INFO] [stderr]   18:     0x5d978ad164b2 - <rustdoc[9b9ab9058886d6f4]::passes::collect_intra_doc_links::LinkCollector>::resolve_link
[INFO] [stderr]   19:     0x5d978ac4bad9 - <rustdoc[9b9ab9058886d6f4]::passes::collect_intra_doc_links::LinkCollector>::resolve_links::{closure#0}
[INFO] [stderr]   20:     0x5d978ae5fd95 - <rustdoc[9b9ab9058886d6f4]::passes::collect_intra_doc_links::LinkCollector as rustdoc[9b9ab9058886d6f4]::visit::DocVisitor>::visit_item
[INFO] [stderr]   21:     0x5d978ad45b28 - rustdoc[9b9ab9058886d6f4]::core::run_global_ctxt
[INFO] [stderr]   22:     0x5d978ac36708 - rustdoc[9b9ab9058886d6f4]::main_args::{closure#2}::{closure#0}
[INFO] [stderr]   23:     0x5d978ac2e20d - rustc_interface[d1d6371790822761]::interface::run_compiler::<(), rustdoc[9b9ab9058886d6f4]::main_args::{closure#2}>::{closure#1}
[INFO] [stderr]   24:     0x5d978ab78308 - std[a6ffc322ab77e72b]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[d1d6371790822761]::util::run_in_thread_with_globals<rustc_interface[d1d6371790822761]::util::run_in_thread_pool_with_globals<rustc_interface[d1d6371790822761]::interface::run_compiler<(), rustdoc[9b9ab9058886d6f4]::main_args::{closure#2}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
[INFO] [stderr]   25:     0x5d978ac68d57 - <std[a6ffc322ab77e72b]::thread::lifecycle::spawn_unchecked<rustc_interface[d1d6371790822761]::util::run_in_thread_with_globals<rustc_interface[d1d6371790822761]::util::run_in_thread_pool_with_globals<rustc_interface[d1d6371790822761]::interface::run_compiler<(), rustdoc[9b9ab9058886d6f4]::main_args::{closure#2}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[8f63ddeb68e21f74]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stderr]   26:     0x77959acdb1b8 - std::sys::thread::unix::Thread::new::thread_start::h106a295241840d3b
[INFO] [stderr]   27:     0x77959488aaa4 - <unknown>
[INFO] [stderr]   28:     0x779594917a64 - clone
[INFO] [stderr]   29:                0x0 - <unknown>
[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.94.0-beta.1 (9b1f8ff42 2026-01-19) running on x86_64-unknown-linux-gnu
[INFO] [stderr] 
[INFO] [stderr] note: compiler flags: --crate-type cdylib
[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] end of query stack
[INFO] [stderr] error: could not document `kmax-rs`
[INFO] running `Command { std: "docker" "inspect" "96eff05b2625c3b0344775564ce7f3c0520d26588c739543cafabf85e39a4377", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96eff05b2625c3b0344775564ce7f3c0520d26588c739543cafabf85e39a4377", kill_on_drop: false }`
[INFO] [stdout] 96eff05b2625c3b0344775564ce7f3c0520d26588c739543cafabf85e39a4377
