[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 master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frogermadjos%2Ftsp" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rogermadjos/tsp on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", 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-3/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed7fa159d0983b7e3048a8681e2d0b9a8eb63cbc931b94d9b67afb8afdc20a1b [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" "ed7fa159d0983b7e3048a8681e2d0b9a8eb63cbc931b94d9b67afb8afdc20a1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed7fa159d0983b7e3048a8681e2d0b9a8eb63cbc931b94d9b67afb8afdc20a1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed7fa159d0983b7e3048a8681e2d0b9a8eb63cbc931b94d9b67afb8afdc20a1b", kill_on_drop: false }` [INFO] [stdout] ed7fa159d0983b7e3048a8681e2d0b9a8eb63cbc931b94d9b67afb8afdc20a1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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] aaecbc9def2b4f9c05e624d9226c2ac68e7fa4f3cbe830faa24d3470ab40af2c [INFO] running `Command { std: "docker" "start" "-a" "aaecbc9def2b4f9c05e624d9226c2ac68e7fa4f3cbe830faa24d3470ab40af2c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling spin v0.5.0 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.6 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling rand_core v0.5.0 [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: 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] = note: `#[warn(dead_code)]` on by default [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: 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.98s [INFO] running `Command { std: "docker" "inspect" "aaecbc9def2b4f9c05e624d9226c2ac68e7fa4f3cbe830faa24d3470ab40af2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaecbc9def2b4f9c05e624d9226c2ac68e7fa4f3cbe830faa24d3470ab40af2c", kill_on_drop: false }` [INFO] [stdout] aaecbc9def2b4f9c05e624d9226c2ac68e7fa4f3cbe830faa24d3470ab40af2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b42ae8ec2417ac4e047d3656e7128f7ebf0a28f4669e21efdc7e78b09b3035d1 [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" "b42ae8ec2417ac4e047d3656e7128f7ebf0a28f4669e21efdc7e78b09b3035d1", 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: 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] = note: `#[warn(dead_code)]` on by default [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 14.29s [INFO] running `Command { std: "docker" "inspect" "b42ae8ec2417ac4e047d3656e7128f7ebf0a28f4669e21efdc7e78b09b3035d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b42ae8ec2417ac4e047d3656e7128f7ebf0a28f4669e21efdc7e78b09b3035d1", kill_on_drop: false }` [INFO] [stdout] b42ae8ec2417ac4e047d3656e7128f7ebf0a28f4669e21efdc7e78b09b3035d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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] e1b74a7799041345dd4e72d9b91ee7d4d632a48a0806ad8c6fe901bbc73e606b [INFO] running `Command { std: "docker" "start" "-a" "e1b74a7799041345dd4e72d9b91ee7d4d632a48a0806ad8c6fe901bbc73e606b", kill_on_drop: false }` [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] = note: `#[warn(dead_code)]` on by default [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: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/tsp-c63edf0afbdc3484 [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e1b74a7799041345dd4e72d9b91ee7d4d632a48a0806ad8c6fe901bbc73e606b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1b74a7799041345dd4e72d9b91ee7d4d632a48a0806ad8c6fe901bbc73e606b", kill_on_drop: false }` [INFO] [stdout] e1b74a7799041345dd4e72d9b91ee7d4d632a48a0806ad8c6fe901bbc73e606b