[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] checking Simon-Bertrand/kmax-rs against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimon-Bertrand%2Fkmax-rs" "/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/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-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Simon-Bertrand/kmax-rs on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded openblas-build v0.10.11
[INFO] [stderr]   Downloaded openblas-src v0.10.11
[INFO] [stderr]   Downloaded pyo3-macros-backend v0.23.5
[INFO] [stderr]   Downloaded blas-src v0.8.0
[INFO] [stderr]   Downloaded inventory v0.3.19
[INFO] [stderr]   Downloaded numpy v0.23.0
[INFO] [stderr]   Downloaded pyo3-ffi v0.23.5
[INFO] [stderr]   Downloaded pyo3-build-config v0.23.5
[INFO] [stderr]   Downloaded pyo3-macros v0.23.5
[INFO] [stderr]   Downloaded pyo3 v0.23.5
[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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0a6a290c3ccb314e486f22c634df2ee89b31c2f8c225018fc46f9591b0f972ca
[INFO] running `Command { std: "docker" "start" "-a" "0a6a290c3ccb314e486f22c634df2ee89b31c2f8c225018fc46f9591b0f972ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0a6a290c3ccb314e486f22c634df2ee89b31c2f8c225018fc46f9591b0f972ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a6a290c3ccb314e486f22c634df2ee89b31c2f8c225018fc46f9591b0f972ca", kill_on_drop: false }`
[INFO] [stdout] 0a6a290c3ccb314e486f22c634df2ee89b31c2f8c225018fc46f9591b0f972ca
[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=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 810a670380899116b38fc42568bbfb271c8024d956d4ca8fc693b1e6a15da4e2
[INFO] running `Command { std: "docker" "start" "-a" "810a670380899116b38fc42568bbfb271c8024d956d4ca8fc693b1e6a15da4e2", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.17
[INFO] [stderr]    Compiling libc v0.2.170
[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 icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling pyo3-build-config v0.23.5
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling log v0.4.26
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[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 rustls-native-certs v0.7.3
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling matrixmultiply v0.3.9
[INFO] [stderr]     Checking either v1.14.0
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking unindent v0.2.3
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]    Compiling indoc v2.0.5
[INFO] [stderr]    Compiling quote v1.0.39
[INFO] [stderr]     Checking inventory v0.3.19
[INFO] [stderr]    Compiling kmax-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling flate2 v1.1.0
[INFO] [stderr]    Compiling syn v2.0.99
[INFO] [stderr]    Compiling filetime v0.2.25
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]     Checking getrandom v0.3.1
[INFO] [stderr]     Checking cblas-sys v0.1.4
[INFO] [stderr]     Checking rand_core v0.9.3
[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 openssl-sys v0.9.106
[INFO] [stderr]    Compiling xattr v1.4.0
[INFO] [stderr]    Compiling tar v0.4.44
[INFO] [stderr]     Checking ndarray v0.16.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[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]     Checking zerocopy v0.7.35
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.0
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.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]     Checking numpy v0.23.0
[INFO] [stderr]    Compiling icu_normalizer v1.5.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] [stdout] warning: unused import: `rand::rng`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use rand::rng;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::Data`
[INFO] [stdout]   --> src/lib.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 | use ndarray::Data;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[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] warning: use of deprecated constant `kmax_rs::__pyfunction_kmax::SIGNATURE`: this function has implicit defaults for the trailing `Option<T>` arguments 
[INFO] [stdout]          = note: these implicit defaults are being phased out 
[INFO] [stdout]          = help: add `#[pyo3(signature = (k_clusters, x, n_max_iter=None, inertia_eps=None))]` to this function to silence this warning and keep the current behavior
[INFO] [stdout]    --> src/lib.rs:310:8
[INFO] [stdout]     |
[INFO] [stdout] 310 |     fn kmax<'py>(
[INFO] [stdout]     |        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `safe_divide` is never used
[INFO] [stdout]   --> src/lib.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | trait ClampMin: Real + Borrow<Self> {
[INFO] [stdout]    |       -------- method in this trait
[INFO] [stdout] 17 |     fn clamp_min(self, min: Self) -> Self;
[INFO] [stdout] 18 |     fn safe_divide(self, divisor: &Self, value: &Self, eps: Option<Self>) -> Self
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `predict` is never used
[INFO] [stdout]    --> src/lib.rs:143:8
[INFO] [stdout]     |
[INFO] [stdout] 127 | impl Clustering {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 143 |     fn predict(
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::rng`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use rand::rng;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::Data`
[INFO] [stdout]   --> src/lib.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 | use ndarray::Data;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[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] warning: use of deprecated constant `kmax_rs::__pyfunction_kmax::SIGNATURE`: this function has implicit defaults for the trailing `Option<T>` arguments 
[INFO] [stdout]          = note: these implicit defaults are being phased out 
[INFO] [stdout]          = help: add `#[pyo3(signature = (k_clusters, x, n_max_iter=None, inertia_eps=None))]` to this function to silence this warning and keep the current behavior
[INFO] [stdout]    --> src/lib.rs:310:8
[INFO] [stdout]     |
[INFO] [stdout] 310 |     fn kmax<'py>(
[INFO] [stdout]     |        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `safe_divide` is never used
[INFO] [stdout]   --> src/lib.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | trait ClampMin: Real + Borrow<Self> {
[INFO] [stdout]    |       -------- method in this trait
[INFO] [stdout] 17 |     fn clamp_min(self, min: Self) -> Self;
[INFO] [stdout] 18 |     fn safe_divide(self, divisor: &Self, value: &Self, eps: Option<Self>) -> Self
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `predict` is never used
[INFO] [stdout]    --> src/lib.rs:143:8
[INFO] [stdout]     |
[INFO] [stdout] 127 | impl Clustering {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 143 |     fn predict(
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.72s
[INFO] running `Command { std: "docker" "inspect" "810a670380899116b38fc42568bbfb271c8024d956d4ca8fc693b1e6a15da4e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "810a670380899116b38fc42568bbfb271c8024d956d4ca8fc693b1e6a15da4e2", kill_on_drop: false }`
[INFO] [stdout] 810a670380899116b38fc42568bbfb271c8024d956d4ca8fc693b1e6a15da4e2
