[INFO] cloning repository https://github.com/William-Olson/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/William-Olson/k-means" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilliam-Olson%2Fk-means", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilliam-Olson%2Fk-means'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c6e96ff15e81cb3d5b0d44f1d6132213b94c032e [INFO] checking William-Olson/k-means against try#39e1293fce4b650061e85dda88aa428f726a8444 for pr-88041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilliam-Olson%2Fk-means" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/William-Olson/k-means on toolchain 39e1293fce4b650061e85dda88aa428f726a8444 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/William-Olson/k-means [INFO] finished tweaking git repo https://github.com/William-Olson/k-means [INFO] tweaked toml for git repo https://github.com/William-Olson/k-means written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/William-Olson/k-means already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand v0.3.14 [INFO] [stderr] Downloaded libc v0.2.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8423d6778bf2a99c37c44f4aa5b7f6c6b5365d22e05f97b1342418f4a35b5ec2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8423d6778bf2a99c37c44f4aa5b7f6c6b5365d22e05f97b1342418f4a35b5ec2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8423d6778bf2a99c37c44f4aa5b7f6c6b5365d22e05f97b1342418f4a35b5ec2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8423d6778bf2a99c37c44f4aa5b7f6c6b5365d22e05f97b1342418f4a35b5ec2", kill_on_drop: false }` [INFO] [stdout] 8423d6778bf2a99c37c44f4aa5b7f6c6b5365d22e05f97b1342418f4a35b5ec2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2270f656483f9b3b433ffc5feaf66e16054e954bd54226258de3c1c46608ddc7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2270f656483f9b3b433ffc5feaf66e16054e954bd54226258de3c1c46608ddc7", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.7 [INFO] [stderr] Checking rand v0.3.14 [INFO] [stderr] Checking k-means v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/worker/data_object.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 63 | ( diff1.powi(2).sqrt() + diff2.powi(2).sqrt() ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/worker/data_object.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 63 | ( diff1.powi(2).sqrt() + diff2.powi(2).sqrt() ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util.rs:60:69 [INFO] [stdout] | [INFO] [stdout] 60 | Err(e) => { println!("\nError parsing k argument: {}", Error::description(&e)); 0 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util.rs:67:62 [INFO] [stdout] | [INFO] [stdout] 67 | Err(er) => println!("\nError reading file: {}", Error::description(&er)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util.rs:94:68 [INFO] [stdout] | [INFO] [stdout] 94 | Err(er) => panic!("Error: couldn't open {}: {}", dsp, Error::description(&er)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util.rs:142:62 [INFO] [stdout] | [INFO] [stdout] 142 | Err(er) => panic!("Error creating {}: {}", dsp, Error::description(&er)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util.rs:157:63 [INFO] [stdout] | [INFO] [stdout] 157 | Err(reason) => panic!("Error writing to file: {}", Error::description(&reason)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util.rs:60:69 [INFO] [stdout] | [INFO] [stdout] 60 | Err(e) => { println!("\nError parsing k argument: {}", Error::description(&e)); 0 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util.rs:67:62 [INFO] [stdout] | [INFO] [stdout] 67 | Err(er) => println!("\nError reading file: {}", Error::description(&er)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util.rs:94:68 [INFO] [stdout] | [INFO] [stdout] 94 | Err(er) => panic!("Error: couldn't open {}: {}", dsp, Error::description(&er)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util.rs:142:62 [INFO] [stdout] | [INFO] [stdout] 142 | Err(er) => panic!("Error creating {}: {}", dsp, Error::description(&er)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/util.rs:157:63 [INFO] [stdout] | [INFO] [stdout] 157 | Err(reason) => panic!("Error writing to file: {}", Error::description(&reason)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.02s [INFO] running `Command { std: "docker" "inspect" "2270f656483f9b3b433ffc5feaf66e16054e954bd54226258de3c1c46608ddc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2270f656483f9b3b433ffc5feaf66e16054e954bd54226258de3c1c46608ddc7", kill_on_drop: false }` [INFO] [stdout] 2270f656483f9b3b433ffc5feaf66e16054e954bd54226258de3c1c46608ddc7