[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#d990716b6a1fdde1300748828a9c9e79dfd0b898 for pr-74846 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilliam-Olson%2Fk-means" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/William-Olson/k-means on toolchain d990716b6a1fdde1300748828a9c9e79dfd0b898 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "read-manifest" "--manifest-path" "Cargo.toml", 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-12/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" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-12/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "metadata" "--no-deps" "--format-version=1", 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] 39128200dc57932f8c76966009f3279c55118ba318e6dd69a675b4f9d2d1939e [INFO] running `Command { std: "docker" "start" "-a" "39128200dc57932f8c76966009f3279c55118ba318e6dd69a675b4f9d2d1939e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39128200dc57932f8c76966009f3279c55118ba318e6dd69a675b4f9d2d1939e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39128200dc57932f8c76966009f3279c55118ba318e6dd69a675b4f9d2d1939e", kill_on_drop: false }` [INFO] [stdout] 39128200dc57932f8c76966009f3279c55118ba318e6dd69a675b4f9d2d1939e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49e2a0817f9da04bbd9fdc4f8504614f62fd4cd00f33555ac300823c9a4dc707 [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" "49e2a0817f9da04bbd9fdc4f8504614f62fd4cd00f33555ac300823c9a4dc707", kill_on_drop: false }` [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 item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/util.rs:60:62 [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 item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/util.rs:67:55 [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 item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/util.rs:94:61 [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 item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/util.rs:142:55 [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 item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/util.rs:157:56 [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 item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/util.rs:60:62 [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 item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/util.rs:67:55 [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 item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/util.rs:94:61 [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 item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/util.rs:142:55 [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 item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/util.rs:157:56 [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 0.97s [INFO] running `Command { std: "docker" "inspect" "49e2a0817f9da04bbd9fdc4f8504614f62fd4cd00f33555ac300823c9a4dc707", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49e2a0817f9da04bbd9fdc4f8504614f62fd4cd00f33555ac300823c9a4dc707", kill_on_drop: false }` [INFO] [stdout] 49e2a0817f9da04bbd9fdc4f8504614f62fd4cd00f33555ac300823c9a4dc707