[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] checking rogermadjos/tsp against try#39e1293fce4b650061e85dda88aa428f726a8444 for pr-88041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frogermadjos%2Ftsp" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rogermadjos/tsp on toolchain 39e1293fce4b650061e85dda88aa428f726a8444 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "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-14/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" "+39e1293fce4b650061e85dda88aa428f726a8444" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bacd54a6532e069184d67512aa49b668776d6b41da8b7611a68e091d3c33b06 [INFO] running `Command { std: "docker" "start" "-a" "1bacd54a6532e069184d67512aa49b668776d6b41da8b7611a68e091d3c33b06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bacd54a6532e069184d67512aa49b668776d6b41da8b7611a68e091d3c33b06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bacd54a6532e069184d67512aa49b668776d6b41da8b7611a68e091d3c33b06", kill_on_drop: false }` [INFO] [stdout] 1bacd54a6532e069184d67512aa49b668776d6b41da8b7611a68e091d3c33b06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d3caa61700c5932dd678e68210e235f10d6959a2c149b97578a38d9e23b8bb6 [INFO] running `Command { std: "docker" "start" "-a" "7d3caa61700c5932dd678e68210e235f10d6959a2c149b97578a38d9e23b8bb6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking spin v0.5.0 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Compiling rand_chacha v0.2.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking getrandom v0.1.6 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling speculate v0.1.2 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking 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] [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 dev [unoptimized + debuginfo] target(s) in 23.33s [INFO] running `Command { std: "docker" "inspect" "7d3caa61700c5932dd678e68210e235f10d6959a2c149b97578a38d9e23b8bb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d3caa61700c5932dd678e68210e235f10d6959a2c149b97578a38d9e23b8bb6", kill_on_drop: false }` [INFO] [stdout] 7d3caa61700c5932dd678e68210e235f10d6959a2c149b97578a38d9e23b8bb6