[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] testing William-Olson/k-means against 1.60.0 for beta-1.61-1 [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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e424b0fcf8e24d39464a34b84265eaa9192e08c5e5bde34581cee8b2e7c9b04 [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" "2e424b0fcf8e24d39464a34b84265eaa9192e08c5e5bde34581cee8b2e7c9b04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e424b0fcf8e24d39464a34b84265eaa9192e08c5e5bde34581cee8b2e7c9b04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e424b0fcf8e24d39464a34b84265eaa9192e08c5e5bde34581cee8b2e7c9b04", kill_on_drop: false }` [INFO] [stdout] 2e424b0fcf8e24d39464a34b84265eaa9192e08c5e5bde34581cee8b2e7c9b04 [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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 89d5eac4cb9ffa1525e4bf50998d20a5bfe56cb55db154c990770fb326aed1ae [INFO] running `Command { std: "docker" "start" "-a" "89d5eac4cb9ffa1525e4bf50998d20a5bfe56cb55db154c990770fb326aed1ae", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.7 [INFO] [stderr] Compiling rand v0.3.14 [INFO] [stderr] Compiling 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] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - ( diff1.powi(2).sqrt() + diff2.powi(2).sqrt() ) [INFO] [stdout] 63 + diff1.powi(2).sqrt() + diff2.powi(2).sqrt() [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.98s [INFO] running `Command { std: "docker" "inspect" "89d5eac4cb9ffa1525e4bf50998d20a5bfe56cb55db154c990770fb326aed1ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89d5eac4cb9ffa1525e4bf50998d20a5bfe56cb55db154c990770fb326aed1ae", kill_on_drop: false }` [INFO] [stdout] 89d5eac4cb9ffa1525e4bf50998d20a5bfe56cb55db154c990770fb326aed1ae [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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1469dfc1bdf106bc9d828630a500b2a0a8fb0442e5f06c2d9d8eca4dabc32e5 [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" "a1469dfc1bdf106bc9d828630a500b2a0a8fb0442e5f06c2d9d8eca4dabc32e5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling 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] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - ( diff1.powi(2).sqrt() + diff2.powi(2).sqrt() ) [INFO] [stdout] 63 + diff1.powi(2).sqrt() + diff2.powi(2).sqrt() [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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "a1469dfc1bdf106bc9d828630a500b2a0a8fb0442e5f06c2d9d8eca4dabc32e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1469dfc1bdf106bc9d828630a500b2a0a8fb0442e5f06c2d9d8eca4dabc32e5", kill_on_drop: false }` [INFO] [stdout] a1469dfc1bdf106bc9d828630a500b2a0a8fb0442e5f06c2d9d8eca4dabc32e5 [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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d0b7392687142cd1c698f496b9a9df3a663aff40e0699f9e73cb3005f70d6c29 [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" "d0b7392687142cd1c698f496b9a9df3a663aff40e0699f9e73cb3005f70d6c29", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/worker/data_object.rs:63:6 [INFO] [stderr] | [INFO] [stderr] 63 | ( diff1.powi(2).sqrt() + diff2.powi(2).sqrt() ) [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 63 - ( diff1.powi(2).sqrt() + diff2.powi(2).sqrt() ) [INFO] [stderr] 63 + diff1.powi(2).sqrt() + diff2.powi(2).sqrt() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/util.rs:60:69 [INFO] [stderr] | [INFO] [stderr] 60 | Err(e) => { println!("\nError parsing k argument: {}", Error::description(&e)); 0 }, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/util.rs:67:62 [INFO] [stderr] | [INFO] [stderr] 67 | Err(er) => println!("\nError reading file: {}", Error::description(&er)), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/util.rs:94:68 [INFO] [stderr] | [INFO] [stderr] 94 | Err(er) => panic!("Error: couldn't open {}: {}", dsp, Error::description(&er)), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/util.rs:142:62 [INFO] [stderr] | [INFO] [stderr] 142 | Err(er) => panic!("Error creating {}: {}", dsp, Error::description(&er)), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/util.rs:157:63 [INFO] [stderr] | [INFO] [stderr] 157 | Err(reason) => panic!("Error writing to file: {}", Error::description(&reason)), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `k-means` (bin "k-means" test) generated 6 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/k_means-58239b1c909d17d4) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d0b7392687142cd1c698f496b9a9df3a663aff40e0699f9e73cb3005f70d6c29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0b7392687142cd1c698f496b9a9df3a663aff40e0699f9e73cb3005f70d6c29", kill_on_drop: false }` [INFO] [stdout] d0b7392687142cd1c698f496b9a9df3a663aff40e0699f9e73cb3005f70d6c29