[INFO] cloning repository https://github.com/SBeausoleil/Rusty-KMeans [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SBeausoleil/Rusty-KMeans" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSBeausoleil%2FRusty-KMeans", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSBeausoleil%2FRusty-KMeans'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8b7aa0d8323db3887e9de47eb9140fc7c612494 [INFO] checking SBeausoleil/Rusty-KMeans/a8b7aa0d8323db3887e9de47eb9140fc7c612494 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSBeausoleil%2FRusty-KMeans" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SBeausoleil/Rusty-KMeans on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SBeausoleil/Rusty-KMeans [INFO] finished tweaking git repo https://github.com/SBeausoleil/Rusty-KMeans [INFO] tweaked toml for git repo https://github.com/SBeausoleil/Rusty-KMeans written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SBeausoleil/Rusty-KMeans 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rgb v0.8.25 [INFO] [stderr] Downloaded bytemuck v1.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5f8db51d13df8845c00c97822b20ce82e8433bd21944c26b831b494a048da4e [INFO] running `Command { std: "docker" "start" "-a" "c5f8db51d13df8845c00c97822b20ce82e8433bd21944c26b831b494a048da4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5f8db51d13df8845c00c97822b20ce82e8433bd21944c26b831b494a048da4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5f8db51d13df8845c00c97822b20ce82e8433bd21944c26b831b494a048da4e", kill_on_drop: false }` [INFO] [stdout] c5f8db51d13df8845c00c97822b20ce82e8433bd21944c26b831b494a048da4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 452be4a7dfd4ae251b0f017cb379f90fd6e35fa2af95a3c16b15725fcd998fd8 [INFO] running `Command { std: "docker" "start" "-a" "452be4a7dfd4ae251b0f017cb379f90fd6e35fa2af95a3c16b15725fcd998fd8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking bytemuck v1.5.0 [INFO] [stderr] Checking rgb v0.8.25 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.2 [INFO] [stderr] Checking KMeans v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rgb::RGB` [INFO] [stdout] --> src/kmeans_clustering.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rgb::RGB; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rgb::RGB` [INFO] [stdout] --> src/kmeans_clustering.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rgb::RGB; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `Cluster<'_, A>` with `Cluster<'_, A>` [INFO] [stdout] --> src/kmeans_clustering.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | impl Ord for Cluster<'_, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^ no implementation for `Cluster<'_, A> < Cluster<'_, A>` and `Cluster<'_, A> > Cluster<'_, A>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialOrd` is not implemented for `Cluster<'_, A>` [INFO] [stdout] note: required by a bound in `Ord` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/cmp.rs:820:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `Cluster<'_, A>` with `Cluster<'_, A>` [INFO] [stdout] --> src/kmeans_clustering.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | impl Ord for Cluster<'_, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^ no implementation for `Cluster<'_, A> < Cluster<'_, A>` and `Cluster<'_, A> > Cluster<'_, A>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialOrd` is not implemented for `Cluster<'_, A>` [INFO] [stdout] note: required by a bound in `Ord` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/cmp.rs:820:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Cluster<'_, A>: Eq` is not satisfied [INFO] [stdout] --> src/kmeans_clustering.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | impl Ord for Cluster<'_, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Eq` is not implemented for `Cluster<'_, A>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Ord` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/cmp.rs:820:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Cluster<'_, A>: Eq` is not satisfied [INFO] [stdout] --> src/kmeans_clustering.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | impl Ord for Cluster<'_, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Eq` is not implemented for `Cluster<'_, A>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Ord` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/cmp.rs:820:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/kmeans_clustering.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | fn add(&mut self, other: &A) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/kmeans_clustering.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | fn add(&mut self, other: &A) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `KMeans` (bin "KMeans" test) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `KMeans` (bin "KMeans") due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "452be4a7dfd4ae251b0f017cb379f90fd6e35fa2af95a3c16b15725fcd998fd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "452be4a7dfd4ae251b0f017cb379f90fd6e35fa2af95a3c16b15725fcd998fd8", kill_on_drop: false }` [INFO] [stdout] 452be4a7dfd4ae251b0f017cb379f90fd6e35fa2af95a3c16b15725fcd998fd8