[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 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSBeausoleil%2FRusty-KMeans" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SBeausoleil/Rusty-KMeans on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-2-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rgb v0.8.25 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48041bc5bbb198925831f9ca7a2b7b7e9e05206e63095aedcc1d09398b13857f [INFO] running `Command { std: "docker" "start" "-a" "48041bc5bbb198925831f9ca7a2b7b7e9e05206e63095aedcc1d09398b13857f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48041bc5bbb198925831f9ca7a2b7b7e9e05206e63095aedcc1d09398b13857f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48041bc5bbb198925831f9ca7a2b7b7e9e05206e63095aedcc1d09398b13857f", kill_on_drop: false }` [INFO] [stdout] 48041bc5bbb198925831f9ca7a2b7b7e9e05206e63095aedcc1d09398b13857f [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 393eb68f00c84329f11d33796cb0bafb6a4a83d231debec8ce9a82ad4d7c6047 [INFO] running `Command { std: "docker" "start" "-a" "393eb68f00c84329f11d33796cb0bafb6a4a83d231debec8ce9a82ad4d7c6047", 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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/cmp.rs:818: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/cmp.rs:818: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/cmp.rs:818: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/cmp.rs:818: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" "393eb68f00c84329f11d33796cb0bafb6a4a83d231debec8ce9a82ad4d7c6047", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "393eb68f00c84329f11d33796cb0bafb6a4a83d231debec8ce9a82ad4d7c6047", kill_on_drop: false }` [INFO] [stdout] 393eb68f00c84329f11d33796cb0bafb6a4a83d231debec8ce9a82ad4d7c6047 [INFO] checking SBeausoleil/Rusty-KMeans against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSBeausoleil%2FRusty-KMeans" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SBeausoleil/Rusty-KMeans on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-2-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c9a59e896455ee1251eb08d6345787f065fc7eb983589f62426d75b7c3b6ea5 [INFO] running `Command { std: "docker" "start" "-a" "0c9a59e896455ee1251eb08d6345787f065fc7eb983589f62426d75b7c3b6ea5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c9a59e896455ee1251eb08d6345787f065fc7eb983589f62426d75b7c3b6ea5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c9a59e896455ee1251eb08d6345787f065fc7eb983589f62426d75b7c3b6ea5", kill_on_drop: false }` [INFO] [stdout] 0c9a59e896455ee1251eb08d6345787f065fc7eb983589f62426d75b7c3b6ea5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d01dd09876f84c2a05222e1c51c2224f5cd6e75ff0678892baea943bd3f8752 [INFO] running `Command { std: "docker" "start" "-a" "5d01dd09876f84c2a05222e1c51c2224f5cd6e75ff0678892baea943bd3f8752", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "5d01dd09876f84c2a05222e1c51c2224f5cd6e75ff0678892baea943bd3f8752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d01dd09876f84c2a05222e1c51c2224f5cd6e75ff0678892baea943bd3f8752", kill_on_drop: false }` [INFO] [stdout] 5d01dd09876f84c2a05222e1c51c2224f5cd6e75ff0678892baea943bd3f8752