[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frogermadjos%2Ftsp" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rogermadjos/tsp on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-7/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23e316fc1e01c76b7c7ad254e7998dc4e82acc1a27d8c27d106edfecd2a7fa44 [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" "23e316fc1e01c76b7c7ad254e7998dc4e82acc1a27d8c27d106edfecd2a7fa44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23e316fc1e01c76b7c7ad254e7998dc4e82acc1a27d8c27d106edfecd2a7fa44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23e316fc1e01c76b7c7ad254e7998dc4e82acc1a27d8c27d106edfecd2a7fa44", kill_on_drop: false }` [INFO] [stdout] 23e316fc1e01c76b7c7ad254e7998dc4e82acc1a27d8c27d106edfecd2a7fa44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7522af2ee5a8edf6c1727d9dbfc80ea1fc4f3d3c7d204c7c96dec14081b7f069 [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" "7522af2ee5a8edf6c1727d9dbfc80ea1fc4f3d3c7d204c7c96dec14081b7f069", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] lazy_static v1.3.0: spin, spin_no_std [INFO] [stderr] proc-macro2 v0.4.30 (as host dependency): nightly [INFO] [stderr] [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] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking getrandom v0.1.6 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling rand_chacha v0.2.0 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Compiling heck v0.3.1 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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 18.60s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking getrandom v0.1.6 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking rand_chacha v0.2.0 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking tsp v0.1.0 (/tmp/fixit) [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 2.53s [INFO] running `Command { std: "docker" "inspect" "7522af2ee5a8edf6c1727d9dbfc80ea1fc4f3d3c7d204c7c96dec14081b7f069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7522af2ee5a8edf6c1727d9dbfc80ea1fc4f3d3c7d204c7c96dec14081b7f069", kill_on_drop: false }` [INFO] [stdout] 7522af2ee5a8edf6c1727d9dbfc80ea1fc4f3d3c7d204c7c96dec14081b7f069