[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] b71aabb0557216b6797d332786c0fd9816cdf37c [INFO] testing talis-fb/kmeans_rust against master#9e297bf54d31eb3b30067208ff9af4416945a2ed for pr-125507 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftalis-fb%2Fkmeans_rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/talis-fb/kmeans_rust on toolchain 9e297bf54d31eb3b30067208ff9af4416945a2ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [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" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing talis-fb/kmeans_rust against try#61a9ac64344e91d62f5496627ff363d177f9daab for pr-125507 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftalis-fb%2Fkmeans_rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/talis-fb/kmeans_rust on toolchain 61a9ac64344e91d62f5496627ff363d177f9daab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+61a9ac64344e91d62f5496627ff363d177f9daab" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67c3ce3c3ad11e44c5f5a04e1e05705accf3c4a1421658ce4819863fe3e02063 [INFO] running `Command { std: "docker" "start" "-a" "67c3ce3c3ad11e44c5f5a04e1e05705accf3c4a1421658ce4819863fe3e02063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67c3ce3c3ad11e44c5f5a04e1e05705accf3c4a1421658ce4819863fe3e02063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67c3ce3c3ad11e44c5f5a04e1e05705accf3c4a1421658ce4819863fe3e02063", kill_on_drop: false }` [INFO] [stdout] 67c3ce3c3ad11e44c5f5a04e1e05705accf3c4a1421658ce4819863fe3e02063 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64eab256859025e4cd5f7b50bc879dbaa529814e8b81dedb1b07a21b1cf90a8e [INFO] running `Command { std: "docker" "start" "-a" "64eab256859025e4cd5f7b50bc879dbaa529814e8b81dedb1b07a21b1cf90a8e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [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 utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling kmeans1 v0.1.0 (/opt/rustwide/workdir) [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.37s [INFO] running `Command { std: "docker" "inspect" "64eab256859025e4cd5f7b50bc879dbaa529814e8b81dedb1b07a21b1cf90a8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64eab256859025e4cd5f7b50bc879dbaa529814e8b81dedb1b07a21b1cf90a8e", kill_on_drop: false }` [INFO] [stdout] 64eab256859025e4cd5f7b50bc879dbaa529814e8b81dedb1b07a21b1cf90a8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a673569b1696fb8f6ced04bd06cdf0f554ed24f467a44a03e522d626beda4e3 [INFO] running `Command { std: "docker" "start" "-a" "8a673569b1696fb8f6ced04bd06cdf0f554ed24f467a44a03e522d626beda4e3", kill_on_drop: false }` [INFO] [stderr] Compiling 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`, which is required by `{integer}: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [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`, which is required by `{integer}: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [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`, which is required by `{integer}: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [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`, which is required by `{integer}: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [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`, which is required by `{integer}: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [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`, which is required by `{integer}: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [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`, which is required by `{float}: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [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`, which is required by `{float}: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [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`, which is required by `{float}: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [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`, which is required by `{float}: Into` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 1 warning 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 `kmeans1` (bin "kmeans1" test) due to 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "8a673569b1696fb8f6ced04bd06cdf0f554ed24f467a44a03e522d626beda4e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a673569b1696fb8f6ced04bd06cdf0f554ed24f467a44a03e522d626beda4e3", kill_on_drop: false }` [INFO] [stdout] 8a673569b1696fb8f6ced04bd06cdf0f554ed24f467a44a03e522d626beda4e3