[INFO] cloning repository https://github.com/EParedez/rust-kmeans [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EParedez/rust-kmeans" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEParedez%2Frust-kmeans", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEParedez%2Frust-kmeans'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75f5583c2ad145b831b89ca1f07be7400201c3e8 [INFO] checking EParedez/rust-kmeans against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEParedez%2Frust-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] started tweaking git repo https://github.com/EParedez/rust-kmeans [INFO] finished tweaking git repo https://github.com/EParedez/rust-kmeans [INFO] tweaked toml for git repo https://github.com/EParedez/rust-kmeans written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/EParedez/rust-kmeans on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/EParedez/rust-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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 16 packages to latest compatible versions [INFO] [stderr] Adding ansi_term v0.12.1 [INFO] [stderr] Adding atty v0.2.14 [INFO] [stderr] Adding bitflags v1.3.2 [INFO] [stderr] Adding clap v2.34.0 [INFO] [stderr] Adding heck v0.3.3 [INFO] [stderr] Adding hermit-abi v0.1.19 [INFO] [stderr] Adding proc-macro-error v1.0.4 [INFO] [stderr] Adding proc-macro-error-attr v1.0.4 [INFO] [stderr] Adding strsim v0.8.0 [INFO] [stderr] Adding structopt v0.3.26 [INFO] [stderr] Adding structopt-derive v0.4.18 [INFO] [stderr] Adding textwrap v0.11.0 [INFO] [stderr] Adding unicode-segmentation v1.12.0 [INFO] [stderr] Adding unicode-width v0.1.14 [INFO] [stderr] Adding vec_map v0.8.2 [INFO] [stderr] Adding version_check v0.9.5 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml v0.5.6 [INFO] [stderr] Downloaded rawpointer v0.1.0 [INFO] [stderr] Downloaded quote v1.0.7 [INFO] [stderr] Downloaded matrixmultiply v0.1.15 [INFO] [stderr] Downloaded num-iter v0.1.40 [INFO] [stderr] Downloaded itoa v0.4.5 [INFO] [stderr] Downloaded getrandom v0.1.14 [INFO] [stderr] Downloaded ppv-lite86 v0.2.8 [INFO] [stderr] Downloaded rusty-machine v0.5.4 [INFO] [stderr] Downloaded rand_distr v0.2.2 [INFO] [stderr] Downloaded serde v1.0.111 [INFO] [stderr] Downloaded structopt v0.3.26 [INFO] [stderr] Downloaded syn v1.0.33 [INFO] [stderr] Downloaded rulinalg v0.3.7 [INFO] [stderr] Downloaded serde_derive v1.0.111 [INFO] [stderr] Downloaded regex-automata v0.1.9 [INFO] [stderr] Downloaded num-integer v0.1.42 [INFO] [stderr] Downloaded num-traits v0.2.11 [INFO] [stderr] Downloaded proc-macro2 v1.0.18 [INFO] [stderr] Downloaded unicode-xid v0.2.1 [INFO] [stderr] Downloaded num v0.1.42 [INFO] [stderr] Downloaded csv v1.1.3 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8af83da8a182c1de79c376a99f8aa80fc35a19caa823dd4edba716e6bd72860a [INFO] running `Command { std: "docker" "start" "-a" "8af83da8a182c1de79c376a99f8aa80fc35a19caa823dd4edba716e6bd72860a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8af83da8a182c1de79c376a99f8aa80fc35a19caa823dd4edba716e6bd72860a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8af83da8a182c1de79c376a99f8aa80fc35a19caa823dd4edba716e6bd72860a", kill_on_drop: false }` [INFO] [stdout] 8af83da8a182c1de79c376a99f8aa80fc35a19caa823dd4edba716e6bd72860a [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45bf6e57fd230e4edb0b6d18c3edcbc9f3d99a6d0f1cec3896a39224848fd878 [INFO] running `Command { std: "docker" "start" "-a" "45bf6e57fd230e4edb0b6d18c3edcbc9f3d99a6d0f1cec3896a39224848fd878", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rulinalg v0.3.7 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking rusty-machine v0.5.4 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking rust-kmeans v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `centroid` [INFO] [stdout] --> src/bin/generate.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | for centroid in centroids.iter_rows() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_centroid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/generate.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] 26 | struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `centroid` [INFO] [stdout] --> src/bin/generate.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | for centroid in centroids.iter_rows() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_centroid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/generate.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] 26 | struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/generate.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | writer.write_record(&["height", "length"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 71 | let _ = writer.write_record(&["height", "length"]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/generate.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | writer.write_record(&["height", "length"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 71 | let _ = writer.write_record(&["height", "length"]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.54s [INFO] running `Command { std: "docker" "inspect" "45bf6e57fd230e4edb0b6d18c3edcbc9f3d99a6d0f1cec3896a39224848fd878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45bf6e57fd230e4edb0b6d18c3edcbc9f3d99a6d0f1cec3896a39224848fd878", kill_on_drop: false }` [INFO] [stdout] 45bf6e57fd230e4edb0b6d18c3edcbc9f3d99a6d0f1cec3896a39224848fd878