[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#2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimon-Bertrand%2Fkmax-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Simon-Bertrand/kmax-rs on toolchain 2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [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" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-macros v0.23.5 [INFO] [stderr] Downloaded openblas-build v0.10.11 [INFO] [stderr] Downloaded openblas-src v0.10.11 [INFO] [stderr] Downloaded inventory v0.3.19 [INFO] [stderr] Downloaded pyo3-macros-backend v0.23.5 [INFO] [stderr] Downloaded blas-src v0.8.0 [INFO] [stderr] Downloaded pyo3-ffi v0.23.5 [INFO] [stderr] Downloaded numpy v0.23.0 [INFO] [stderr] Downloaded pyo3-build-config v0.23.5 [INFO] [stderr] Downloaded pyo3 v0.23.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 268851f08a516b5afec56b162ecf77c2f901d0ad404d96ad6b3a38319768f052 [INFO] running `Command { std: "docker" "start" "-a" "268851f08a516b5afec56b162ecf77c2f901d0ad404d96ad6b3a38319768f052", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "268851f08a516b5afec56b162ecf77c2f901d0ad404d96ad6b3a38319768f052", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "268851f08a516b5afec56b162ecf77c2f901d0ad404d96ad6b3a38319768f052", kill_on_drop: false }` [INFO] [stdout] 268851f08a516b5afec56b162ecf77c2f901d0ad404d96ad6b3a38319768f052 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] beab65fe24f8af3c87e8b9f2320aa8e8b84fffbb41d66da861244fa160582981 [INFO] running `Command { std: "docker" "start" "-a" "beab65fe24f8af3c87e8b9f2320aa8e8b84fffbb41d66da861244fa160582981", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling pyo3-build-config v0.23.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling zerocopy v0.8.21 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Checking either v1.14.0 [INFO] [stderr] Checking inventory v0.3.19 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling kmax-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking cblas-sys v0.1.4 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling openssl-sys v0.9.106 [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 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-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [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] 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 icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling pyo3-macros v0.23.5 [INFO] [stderr] Compiling icu_properties v1.5.1 [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] Checking numpy v0.23.0 [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)]` 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: use of deprecated constant `kmax_rs::__pyfunction_kmax::SIGNATURE`: this function has implicit defaults for the trailing `Option` 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: 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)]` 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: use of deprecated constant `kmax_rs::__pyfunction_kmax::SIGNATURE`: this function has implicit defaults for the trailing `Option` 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 { [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 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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: method `safe_divide` is never used [INFO] [stdout] --> src/lib.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 16 | trait ClampMin: Real + Borrow { [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 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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 40.97s [INFO] running `Command { std: "docker" "inspect" "beab65fe24f8af3c87e8b9f2320aa8e8b84fffbb41d66da861244fa160582981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "beab65fe24f8af3c87e8b9f2320aa8e8b84fffbb41d66da861244fa160582981", kill_on_drop: false }` [INFO] [stdout] beab65fe24f8af3c87e8b9f2320aa8e8b84fffbb41d66da861244fa160582981