[INFO] cloning repository https://github.com/csaben/k-means
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/csaben/k-means" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsaben%2Fk-means", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsaben%2Fk-means'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bd1500d49247c8ca2e9913659899d8699e4d8ca3
[INFO] checking csaben/k-means against try#4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7 for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsaben%2Fk-means" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/csaben/k-means
[INFO] finished tweaking git repo https://github.com/csaben/k-means
[INFO] tweaked toml for git repo https://github.com/csaben/k-means written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/csaben/k-means on toolchain 4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/csaben/k-means 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" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking csaben/k-means against try#4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7 for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsaben%2Fk-means" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/csaben/k-means
[INFO] finished tweaking git repo https://github.com/csaben/k-means
[INFO] tweaked toml for git repo https://github.com/csaben/k-means written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/csaben/k-means on toolchain 4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/csaben/k-means 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" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded plotters-svg v0.3.6
[INFO] [stderr]   Downloaded plotters-backend v0.3.6
[INFO] [stderr]   Downloaded plotters-bitmap v0.3.6
[INFO] [stderr]   Downloaded float-ord v0.3.2
[INFO] [stderr]   Downloaded yeslogic-fontconfig-sys v5.0.0
[INFO] [stderr]   Downloaded cstr v0.2.12
[INFO] [stderr]   Downloaded pathfinder_geometry v0.5.1
[INFO] [stderr]   Downloaded winapi-util v0.1.8
[INFO] [stderr]   Downloaded core-text v20.1.0
[INFO] [stderr]   Downloaded libloading v0.8.5
[INFO] [stderr]   Downloaded pathfinder_simd v0.5.3
[INFO] [stderr]   Downloaded bytemuck v1.16.1
[INFO] [stderr]   Downloaded font-kit v0.13.2
[INFO] [stderr]   Downloaded cc v1.1.6
[INFO] [stderr]   Downloaded syn v2.0.71
[INFO] [stderr]   Downloaded gif v0.12.0
[INFO] [stderr]   Downloaded freetype-sys v0.20.1
[INFO] [stderr]   Downloaded image v0.24.9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7f490eb16c3c0ad9ba511bc7fda26ba9f2ff4f47e5b8b1b7947ae51b91197227
[INFO] running `Command { std: "docker" "start" "7f490eb16c3c0ad9ba511bc7fda26ba9f2ff4f47e5b8b1b7947ae51b91197227", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7f490eb16c3c0ad9ba511bc7fda26ba9f2ff4f47e5b8b1b7947ae51b91197227", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7f490eb16c3c0ad9ba511bc7fda26ba9f2ff4f47e5b8b1b7947ae51b91197227" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7f490eb16c3c0ad9ba511bc7fda26ba9f2ff4f47e5b8b1b7947ae51b91197227", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7f490eb16c3c0ad9ba511bc7fda26ba9f2ff4f47e5b8b1b7947ae51b91197227" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling cc v1.1.6
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking miniz_oxide v0.7.4
[INFO] [stderr]    Compiling yeslogic-fontconfig-sys v5.0.0
[INFO] [stderr]     Checking libloading v0.8.5
[INFO] [stderr]     Checking plotters-backend v0.3.6
[INFO] [stderr]    Compiling font-kit v0.13.2
[INFO] [stderr]     Checking bytemuck v1.16.1
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking gif v0.12.0
[INFO] [stderr]     Checking float-ord v0.3.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking ttf-parser v0.20.0
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]     Checking plotters-svg v0.3.6
[INFO] [stderr]    Compiling cstr v0.2.12
[INFO] [stderr]     Checking flate2 v1.0.30
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking png v0.17.13
[INFO] [stderr]    Compiling pathfinder_simd v0.5.3
[INFO] [stderr]     Checking dirs-sys-next v0.1.2
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking dirs-next v2.0.0
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling freetype-sys v0.20.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking pathfinder_geometry v0.5.1
[INFO] [stderr]     Checking plotters-bitmap v0.3.6
[INFO] [stderr]     Checking plotters v0.3.6
[INFO] [stderr]     Checking k-means v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `points`
[INFO] [stdout]  --> src/plotting/mod.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn plot_clusters(points: &[Point], clusters: &[Vec<Point>], centroids: &[Centroid], filename: &str) -> Result<(), Box<dyn std::er...
[INFO] [stdout]   |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_points`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/tests/mod.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let mut rng = StdRng::seed_from_u64(seed);
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]   --> src/tests/mod.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let mut rng = StdRng::seed_from_u64(seed);
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `total_distance` is assigned to, but never used
[INFO] [stdout]    --> src/lib.rs:104:17
[INFO] [stdout]     |
[INFO] [stdout] 104 |             let mut total_distance = 0.0;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_total_distance` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `total_distance` is never read
[INFO] [stdout]    --> src/lib.rs:112:17
[INFO] [stdout]     |
[INFO] [stdout] 112 |                 total_distance += distances[i] * distances[i];
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `points`
[INFO] [stdout]  --> src/plotting/mod.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn plot_clusters(points: &[Point], clusters: &[Vec<Point>], centroids: &[Centroid], filename: &str) -> Result<(), Box<dyn std::er...
[INFO] [stdout]   |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_points`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `total_distance` is assigned to, but never used
[INFO] [stdout]    --> src/lib.rs:104:17
[INFO] [stdout]     |
[INFO] [stdout] 104 |             let mut total_distance = 0.0;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_total_distance` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `total_distance` is never read
[INFO] [stdout]    --> src/lib.rs:112:17
[INFO] [stdout]     |
[INFO] [stdout] 112 |                 total_distance += distances[i] * distances[i];
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Rng` and `distributions::Uniform`
[INFO] [stdout]  --> src/main.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::{distributions::Uniform, Rng}; // 0.8.0
[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: `Point`
[INFO] [stdout]  --> src/main.rs:4:73
[INFO] [stdout]   |
[INFO] [stdout] 4 | use k_means::{Centroids, Centroid, calculate_centroid, generate_points, Point, k_means_algo};
[INFO] [stdout]   |                                                                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Rng` and `distributions::Uniform`
[INFO] [stdout]  --> src/main.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::{distributions::Uniform, Rng}; // 0.8.0
[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: `Point`
[INFO] [stdout]  --> src/main.rs:4:73
[INFO] [stdout]   |
[INFO] [stdout] 4 | use k_means::{Centroids, Centroid, calculate_centroid, generate_points, Point, k_means_algo};
[INFO] [stdout]   |                                                                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.49s
[INFO] running `Command { std: "docker" "inspect" "7f490eb16c3c0ad9ba511bc7fda26ba9f2ff4f47e5b8b1b7947ae51b91197227", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7f490eb16c3c0ad9ba511bc7fda26ba9f2ff4f47e5b8b1b7947ae51b91197227", kill_on_drop: false }`
[INFO] [stdout] 7f490eb16c3c0ad9ba511bc7fda26ba9f2ff4f47e5b8b1b7947ae51b91197227
