[INFO] cloning repository https://github.com/talis-fb/kmeans_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/talis-fb/kmeans_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftalis-fb%2Fkmeans_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftalis-fb%2Fkmeans_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0373ad4b9b46e901b160afa91cd59875c3561d73 [INFO] checking talis-fb/kmeans_rust against try#3fada14ee01d755dc8076e611f11bf65b28ffd21 for pr-154971 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftalis-fb%2Fkmeans_rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/talis-fb/kmeans_rust [INFO] finished tweaking git repo https://github.com/talis-fb/kmeans_rust [INFO] tweaked toml for git repo https://github.com/talis-fb/kmeans_rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/talis-fb/kmeans_rust on toolchain 3fada14ee01d755dc8076e611f11bf65b28ffd21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/talis-fb/kmeans_rust 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" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "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 syn v2.0.55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 448936249e6f02aedf28ef05bf767a7c9adcc59686974ae78da0c0eaeaf49002 [INFO] running `Command { std: "docker" "start" "-a" "448936249e6f02aedf28ef05bf767a7c9adcc59686974ae78da0c0eaeaf49002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "448936249e6f02aedf28ef05bf767a7c9adcc59686974ae78da0c0eaeaf49002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "448936249e6f02aedf28ef05bf767a7c9adcc59686974ae78da0c0eaeaf49002", kill_on_drop: false }` [INFO] [stdout] 448936249e6f02aedf28ef05bf767a7c9adcc59686974ae78da0c0eaeaf49002 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6553ec31ed5604d7ec6b178ca6e1f713ed5e4b31f4efba05219143896173c74f [INFO] running `Command { std: "docker" "start" "-a" "6553ec31ed5604d7ec6b178ca6e1f713ed5e4b31f4efba05219143896173c74f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking kmeans1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `u32: From` is not satisfied [INFO] [stdout] --> src/main.rs:138:37 [INFO] [stdout] | [INFO] [stdout] 138 | let data = vec![Point::from([1, 2]), Point::from([5, 8])]; [INFO] [stdout] | ----------- ^^^^^^ the trait `From` is not implemented for `u32` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: `u32` implements trait `From`: [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] note: required by a bound in `Point::from` [INFO] [stdout] --> src/entities.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn from(arr: [T; N]) -> Self [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 13 | where [INFO] [stdout] 14 | T: Into, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Point::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u32: From` is not satisfied [INFO] [stdout] --> src/main.rs:138:58 [INFO] [stdout] | [INFO] [stdout] 138 | let data = vec![Point::from([1, 2]), Point::from([5, 8])]; [INFO] [stdout] | ----------- ^^^^^^ the trait `From` is not implemented for `u32` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: `u32` implements trait `From`: [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] note: required by a bound in `Point::from` [INFO] [stdout] --> src/entities.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn from(arr: [T; N]) -> Self [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 13 | where [INFO] [stdout] 14 | T: Into, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Point::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u32: From` is not satisfied [INFO] [stdout] --> src/main.rs:150:34 [INFO] [stdout] | [INFO] [stdout] 150 | let center = Point::from([1, 2]); [INFO] [stdout] | ----------- ^^^^^^ the trait `From` is not implemented for `u32` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: `u32` implements trait `From`: [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] note: required by a bound in `Point::from` [INFO] [stdout] --> src/entities.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn from(arr: [T; N]) -> Self [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 13 | where [INFO] [stdout] 14 | T: Into, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Point::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u32: From` is not satisfied [INFO] [stdout] --> src/main.rs:151:39 [INFO] [stdout] | [INFO] [stdout] 151 | let points = vec![Point::from([1, 2])]; [INFO] [stdout] | ----------- ^^^^^^ the trait `From` is not implemented for `u32` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: `u32` implements trait `From`: [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] note: required by a bound in `Point::from` [INFO] [stdout] --> src/entities.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn from(arr: [T; N]) -> Self [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 13 | where [INFO] [stdout] 14 | T: Into, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Point::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u32: From` is not satisfied [INFO] [stdout] --> src/main.rs:158:34 [INFO] [stdout] | [INFO] [stdout] 158 | let center = Point::from([5, 8]); [INFO] [stdout] | ----------- ^^^^^^ the trait `From` is not implemented for `u32` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: `u32` implements trait `From`: [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] note: required by a bound in `Point::from` [INFO] [stdout] --> src/entities.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn from(arr: [T; N]) -> Self [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 13 | where [INFO] [stdout] 14 | T: Into, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Point::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u32: From` is not satisfied [INFO] [stdout] --> src/main.rs:159:39 [INFO] [stdout] | [INFO] [stdout] 159 | let points = vec![Point::from([5, 8])]; [INFO] [stdout] | ----------- ^^^^^^ the trait `From` is not implemented for `u32` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: `u32` implements trait `From`: [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] = note: required for `i32` to implement `Into` [INFO] [stdout] note: required by a bound in `Point::from` [INFO] [stdout] --> src/entities.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn from(arr: [T; N]) -> Self [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 13 | where [INFO] [stdout] 14 | T: Into, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Point::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u32: From<{float}>` is not satisfied [INFO] [stdout] --> src/main.rs:183:34 [INFO] [stdout] | [INFO] [stdout] 183 | let center = Point::from([1.5, 2.5]); [INFO] [stdout] | ----------- ^^^^^^^^^^ the trait `From<{float}>` is not implemented for `u32` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: `u32` implements trait `From`: [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] = note: required for `{float}` to implement `Into` [INFO] [stdout] note: required by a bound in `Point::from` [INFO] [stdout] --> src/entities.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn from(arr: [T; N]) -> Self [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 13 | where [INFO] [stdout] 14 | T: Into, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Point::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u32: From<{float}>` is not satisfied [INFO] [stdout] --> src/main.rs:220:34 [INFO] [stdout] | [INFO] [stdout] 220 | let center = Point::from([1.5, 1.5]); [INFO] [stdout] | ----------- ^^^^^^^^^^ the trait `From<{float}>` is not implemented for `u32` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: `u32` implements trait `From`: [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] = note: required for `{float}` to implement `Into` [INFO] [stdout] note: required by a bound in `Point::from` [INFO] [stdout] --> src/entities.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn from(arr: [T; N]) -> Self [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 13 | where [INFO] [stdout] 14 | T: Into, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Point::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u32: From<{float}>` is not satisfied [INFO] [stdout] --> src/main.rs:228:34 [INFO] [stdout] | [INFO] [stdout] 228 | let center = Point::from([8.5, 8.5]); [INFO] [stdout] | ----------- ^^^^^^^^^^ the trait `From<{float}>` is not implemented for `u32` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: `u32` implements trait `From`: [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] = note: required for `{float}` to implement `Into` [INFO] [stdout] note: required by a bound in `Point::from` [INFO] [stdout] --> src/entities.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn from(arr: [T; N]) -> Self [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 13 | where [INFO] [stdout] 14 | T: Into, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Point::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u32: From<{float}>` is not satisfied [INFO] [stdout] --> src/main.rs:236:34 [INFO] [stdout] | [INFO] [stdout] 236 | let center = Point::from([20.5, 20.5]); [INFO] [stdout] | ----------- ^^^^^^^^^^^^ the trait `From<{float}>` is not implemented for `u32` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: `u32` implements trait `From`: [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] From [INFO] [stdout] = note: required for `{float}` to implement `Into` [INFO] [stdout] note: required by a bound in `Point::from` [INFO] [stdout] --> src/entities.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn from(arr: [T; N]) -> Self [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] 13 | where [INFO] [stdout] 14 | T: Into, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Point::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/kmeans/parallel_mutex.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | k: u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/kmeans/parallel_mutex.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | k: u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [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 `kmeans1` (bin "kmeans1" test) due to 10 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6553ec31ed5604d7ec6b178ca6e1f713ed5e4b31f4efba05219143896173c74f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6553ec31ed5604d7ec6b178ca6e1f713ed5e4b31f4efba05219143896173c74f", kill_on_drop: false }` [INFO] [stdout] 6553ec31ed5604d7ec6b178ca6e1f713ed5e4b31f4efba05219143896173c74f