[INFO] cloning repository https://github.com/William-Olson/k-means [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilliam-Olson%2Fk-means'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c6e96ff15e81cb3d5b0d44f1d6132213b94c032e [INFO] testing William-Olson/k-means against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilliam-Olson%2Fk-means" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/William-Olson/k-means on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-4/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 `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 10b79ee9f57f1f87383679fe8e3935ee9c384ee459b7d760d14617306cb10593 [INFO] running `"docker" "start" "-a" "10b79ee9f57f1f87383679fe8e3935ee9c384ee459b7d760d14617306cb10593"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling k-means v0.1.0 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/util.rs:60:62 [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 item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/util.rs:67:55 [INFO] [stderr] | [INFO] [stderr] 67 | Err(er) => println!("\nError reading file: {}", Error::description(&er)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/util.rs:94:61 [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 item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/util.rs:142:55 [INFO] [stderr] | [INFO] [stderr] 142 | Err(er) => panic!("Error creating {}: {}", dsp, Error::description(&er)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/util.rs:157:56 [INFO] [stderr] | [INFO] [stderr] 157 | Err(reason) => panic!("Error writing to file: {}", Error::description(&reason)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.56s [INFO] running `"docker" "inspect" "10b79ee9f57f1f87383679fe8e3935ee9c384ee459b7d760d14617306cb10593"` [INFO] running `"docker" "rm" "-f" "10b79ee9f57f1f87383679fe8e3935ee9c384ee459b7d760d14617306cb10593"` [INFO] [stdout] 10b79ee9f57f1f87383679fe8e3935ee9c384ee459b7d760d14617306cb10593 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c8ef70c9db95e803a0203913cc8ed36223f294ee622e55cd3bb384dd68493114 [INFO] running `"docker" "start" "-a" "c8ef70c9db95e803a0203913cc8ed36223f294ee622e55cd3bb384dd68493114"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling k-means v0.1.0 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/util.rs:60:62 [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 item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/util.rs:67:55 [INFO] [stderr] | [INFO] [stderr] 67 | Err(er) => println!("\nError reading file: {}", Error::description(&er)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/util.rs:94:61 [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 item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/util.rs:142:55 [INFO] [stderr] | [INFO] [stderr] 142 | Err(er) => panic!("Error creating {}: {}", dsp, Error::description(&er)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/util.rs:157:56 [INFO] [stderr] | [INFO] [stderr] 157 | Err(reason) => panic!("Error writing to file: {}", Error::description(&reason)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `"docker" "inspect" "c8ef70c9db95e803a0203913cc8ed36223f294ee622e55cd3bb384dd68493114"` [INFO] running `"docker" "rm" "-f" "c8ef70c9db95e803a0203913cc8ed36223f294ee622e55cd3bb384dd68493114"` [INFO] [stdout] c8ef70c9db95e803a0203913cc8ed36223f294ee622e55cd3bb384dd68493114 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stdout] 8eff61b85e92cf77953e4b31fa031a013a0d353a4f0b191d1b5641635435e4d6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "8eff61b85e92cf77953e4b31fa031a013a0d353a4f0b191d1b5641635435e4d6"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/util.rs:60:62 [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 item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/util.rs:67:55 [INFO] [stderr] | [INFO] [stderr] 67 | Err(er) => println!("\nError reading file: {}", Error::description(&er)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/util.rs:94:61 [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 item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/util.rs:142:55 [INFO] [stderr] | [INFO] [stderr] 142 | Err(er) => panic!("Error creating {}: {}", dsp, Error::description(&er)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/util.rs:157:56 [INFO] [stderr] | [INFO] [stderr] 157 | Err(reason) => panic!("Error writing to file: {}", Error::description(&reason)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/k_means-f6cea79bc8f8c689 [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 [INFO] [stdout] [INFO] running `"docker" "inspect" "8eff61b85e92cf77953e4b31fa031a013a0d353a4f0b191d1b5641635435e4d6"` [INFO] running `"docker" "rm" "-f" "8eff61b85e92cf77953e4b31fa031a013a0d353a4f0b191d1b5641635435e4d6"` [INFO] [stdout] 8eff61b85e92cf77953e4b31fa031a013a0d353a4f0b191d1b5641635435e4d6