[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#163937523761cc0def32f1ba9ed63fdf65ad3478 for pr-156749
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frogermadjos%2Ftsp" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[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-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rogermadjos/tsp on toolchain 163937523761cc0def32f1ba9ed63fdf65ad3478
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rogermadjos/tsp already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8dd0b9e9402be725b286972a0c6ac4ce9265ba827de4f2d136ed744c7b71058f
[INFO] running `Command { std: "docker" "start" "8dd0b9e9402be725b286972a0c6ac4ce9265ba827de4f2d136ed744c7b71058f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8dd0b9e9402be725b286972a0c6ac4ce9265ba827de4f2d136ed744c7b71058f" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8dd0b9e9402be725b286972a0c6ac4ce9265ba827de4f2d136ed744c7b71058f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8dd0b9e9402be725b286972a0c6ac4ce9265ba827de4f2d136ed744c7b71058f" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.58
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]     Checking spin v0.5.0
[INFO] [stderr]    Compiling autocfg v0.1.4
[INFO] [stderr]    Compiling syn v0.15.39
[INFO] [stderr]     Checking ppv-lite86 v0.2.5
[INFO] [stderr]    Compiling unicode-segmentation v1.3.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]    Compiling rand_chacha v0.2.0
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]     Checking c2-chacha v0.2.2
[INFO] [stderr]     Checking getrandom v0.1.6
[INFO] [stderr]     Checking atty v0.2.11
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]     Checking rand_core v0.5.0
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]    Compiling syn v0.14.9
[INFO] [stderr]     Checking rand v0.7.0
[INFO] [stderr]    Compiling structopt-derive v0.2.18
[INFO] [stderr]     Checking structopt v0.2.18
[INFO] [stderr]     Checking tsp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `num_cities`, `world_size`, and `minimum_distance` are never read
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Opt {
[INFO] [stdout]    |        --- fields in this struct
[INFO] [stdout] 12 |     num_cities: u32,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     world_size: f64,
[INFO] [stdout]    |     ^^^^^^^^^^
[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]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `invert` is never used
[INFO] [stdout]   --> src/ga.rs:91:4
[INFO] [stdout]    |
[INFO] [stdout] 91 | fn invert(perm: &Vec<usize>) -> Vec<usize> {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `City` is never constructed
[INFO] [stdout]  --> src/tsp.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct City {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `distance` is never used
[INFO] [stdout]   --> src/tsp.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl City {
[INFO] [stdout]    | --------- method in this implementation
[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 `cities` is never used
[INFO] [stdout]   --> src/tsp.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn cities(num_cities: u16, world_size: f64) -> Vec<City> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `total_distance` is never used
[INFO] [stdout]   --> src/tsp.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn total_distance(cities: &Vec<City>, sequence: &Vec<usize>) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling speculate v0.1.2
[INFO] [stdout] warning: fields `num_cities`, `world_size`, and `minimum_distance` are never read
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Opt {
[INFO] [stdout]    |        --- fields in this struct
[INFO] [stdout] 12 |     num_cities: u32,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     world_size: f64,
[INFO] [stdout]    |     ^^^^^^^^^^
[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]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `City` is never constructed
[INFO] [stdout]  --> src/tsp.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct City {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `distance` is never used
[INFO] [stdout]   --> src/tsp.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl City {
[INFO] [stdout]    | --------- method in this implementation
[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 `cities` is never used
[INFO] [stdout]   --> src/tsp.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn cities(num_cities: u16, world_size: f64) -> Vec<City> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `total_distance` is never used
[INFO] [stdout]   --> src/tsp.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn total_distance(cities: &Vec<City>, sequence: &Vec<usize>) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.44s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "8dd0b9e9402be725b286972a0c6ac4ce9265ba827de4f2d136ed744c7b71058f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8dd0b9e9402be725b286972a0c6ac4ce9265ba827de4f2d136ed744c7b71058f", kill_on_drop: false }`
[INFO] [stdout] 8dd0b9e9402be725b286972a0c6ac4ce9265ba827de4f2d136ed744c7b71058f
