[INFO] cloning repository https://github.com/rogermadjos/tsp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rogermadjos/tsp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frogermadjos%2Ftsp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frogermadjos%2Ftsp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 626545b8855fdbb7bc591a237a7515178115549a [INFO] testing rogermadjos/tsp against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frogermadjos%2Ftsp" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rogermadjos/tsp 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/rogermadjos/tsp [INFO] finished tweaking git repo https://github.com/rogermadjos/tsp [INFO] tweaked toml for git repo https://github.com/rogermadjos/tsp written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/rogermadjos/tsp 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded speculate v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 06e9ff818e7827a0b3a5e2b76e3c8636bd6131850b5820f3bd6073e008bf392b [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" "06e9ff818e7827a0b3a5e2b76e3c8636bd6131850b5820f3bd6073e008bf392b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06e9ff818e7827a0b3a5e2b76e3c8636bd6131850b5820f3bd6073e008bf392b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06e9ff818e7827a0b3a5e2b76e3c8636bd6131850b5820f3bd6073e008bf392b", kill_on_drop: false }` [INFO] [stdout] 06e9ff818e7827a0b3a5e2b76e3c8636bd6131850b5820f3bd6073e008bf392b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stdout] 70c7b4c90bd45201ca8d776c3f8be780fe36e43e753b2e1ed79ef29acd8640cd [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" "70c7b4c90bd45201ca8d776c3f8be780fe36e43e753b2e1ed79ef29acd8640cd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.0 [INFO] [stderr] Compiling getrandom v0.1.6 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling tsp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `num_cities` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | num_cities: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `world_size` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | world_size: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `minimum_distance` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | minimum_distance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `invert` [INFO] [stdout] --> src/ga.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn invert(perm: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance` [INFO] [stdout] --> src/tsp.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn distance(&self, city: &City) -> f64 { ((self.x - city.x).powf(2.) + (self.y - city.y).powf(2.)).sqrt() } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cities` [INFO] [stdout] --> src/tsp.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn cities(num_cities: u16, world_size: f64) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `total_distance` [INFO] [stdout] --> src/tsp.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn total_distance(cities: &Vec, sequence: &Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.97s [INFO] running `Command { std: "docker" "inspect" "70c7b4c90bd45201ca8d776c3f8be780fe36e43e753b2e1ed79ef29acd8640cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70c7b4c90bd45201ca8d776c3f8be780fe36e43e753b2e1ed79ef29acd8640cd", kill_on_drop: false }` [INFO] [stdout] 70c7b4c90bd45201ca8d776c3f8be780fe36e43e753b2e1ed79ef29acd8640cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0ad88a7e440a75ed8b1b9f8dfe86ea72dcd59399e1c1f1820ade79e7a12b328f [INFO] running `Command { std: "docker" "start" "-a" "0ad88a7e440a75ed8b1b9f8dfe86ea72dcd59399e1c1f1820ade79e7a12b328f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling speculate v0.1.2 [INFO] [stderr] Compiling tsp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `num_cities` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | num_cities: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `world_size` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | world_size: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `minimum_distance` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | minimum_distance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance` [INFO] [stdout] --> src/tsp.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn distance(&self, city: &City) -> f64 { ((self.x - city.x).powf(2.) + (self.y - city.y).powf(2.)).sqrt() } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cities` [INFO] [stdout] --> src/tsp.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn cities(num_cities: u16, world_size: f64) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `total_distance` [INFO] [stdout] --> src/tsp.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn total_distance(cities: &Vec, sequence: &Vec) -> f64 { [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 16.63s [INFO] running `Command { std: "docker" "inspect" "0ad88a7e440a75ed8b1b9f8dfe86ea72dcd59399e1c1f1820ade79e7a12b328f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ad88a7e440a75ed8b1b9f8dfe86ea72dcd59399e1c1f1820ade79e7a12b328f", kill_on_drop: false }` [INFO] [stdout] 0ad88a7e440a75ed8b1b9f8dfe86ea72dcd59399e1c1f1820ade79e7a12b328f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5c1e74216122fefb2271c634281cebd44209756b711bd8ca0ccd6b8cf1480669 [INFO] running `Command { std: "docker" "start" "-a" "5c1e74216122fefb2271c634281cebd44209756b711bd8ca0ccd6b8cf1480669", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `num_cities` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | num_cities: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, StructOpt)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `world_size` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | world_size: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, StructOpt)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `minimum_distance` [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | minimum_distance: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, StructOpt)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `distance` [INFO] [stderr] --> src/tsp.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn distance(&self, city: &City) -> f64 { ((self.x - city.x).powf(2.) + (self.y - city.y).powf(2.)).sqrt() } [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `cities` [INFO] [stderr] --> src/tsp.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn cities(num_cities: u16, world_size: f64) -> Vec { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `total_distance` [INFO] [stderr] --> src/tsp.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn total_distance(cities: &Vec, sequence: &Vec) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tsp` (bin "tsp" test) generated 6 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tsp-e62074426a23610a) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test ga::tests::speculate_0::invert::test_should_generate_correct_output ... ignored [INFO] [stdout] test ga::tests::speculate_0::revert::test_should_generate_correct_output ... ignored [INFO] [stdout] test ga::tests::speculate_0::solve::test_should_run_without_errors ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.39s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5c1e74216122fefb2271c634281cebd44209756b711bd8ca0ccd6b8cf1480669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c1e74216122fefb2271c634281cebd44209756b711bd8ca0ccd6b8cf1480669", kill_on_drop: false }` [INFO] [stdout] 5c1e74216122fefb2271c634281cebd44209756b711bd8ca0ccd6b8cf1480669