[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] testing SBeausoleil/Rusty-KMeans against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSBeausoleil%2FRusty-KMeans" "/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/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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SBeausoleil/Rusty-KMeans on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36f45466c1f1574d74c1aa65592bc23b7306d1c25c73f9b64268e6c19816323c [INFO] running `Command { std: "docker" "start" "-a" "36f45466c1f1574d74c1aa65592bc23b7306d1c25c73f9b64268e6c19816323c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36f45466c1f1574d74c1aa65592bc23b7306d1c25c73f9b64268e6c19816323c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36f45466c1f1574d74c1aa65592bc23b7306d1c25c73f9b64268e6c19816323c", kill_on_drop: false }` [INFO] [stdout] 36f45466c1f1574d74c1aa65592bc23b7306d1c25c73f9b64268e6c19816323c [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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d84d9ba1870aa2d6575565465d1628eee55dcf53c250515c98641941aa3b43bf [INFO] running `Command { std: "docker" "start" "-a" "d84d9ba1870aa2d6575565465d1628eee55dcf53c250515c98641941aa3b43bf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling bytemuck v1.5.0 [INFO] [stderr] Compiling rgb v0.8.25 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.2 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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] --> src/kmeans_clustering.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Cluster<'a, A: Centroid> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Ord` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/cmp.rs:961: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] | ^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Eq` is not implemented for `Cluster<'_, A>` [INFO] [stdout] --> src/kmeans_clustering.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Cluster<'a, A: Centroid> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Ord` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/cmp.rs:961: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)]` (part of `#[warn(unused)]`) on by default [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") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d84d9ba1870aa2d6575565465d1628eee55dcf53c250515c98641941aa3b43bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d84d9ba1870aa2d6575565465d1628eee55dcf53c250515c98641941aa3b43bf", kill_on_drop: false }` [INFO] [stdout] d84d9ba1870aa2d6575565465d1628eee55dcf53c250515c98641941aa3b43bf