[INFO] cloning repository https://github.com/sebdeveloper6952/rust-genetic-algorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sebdeveloper6952/rust-genetic-algorithms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebdeveloper6952%2Frust-genetic-algorithms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebdeveloper6952%2Frust-genetic-algorithms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 33a4b7c7715e7efdd76dd1e84a99248b5b9cc2ac [INFO] checking sebdeveloper6952/rust-genetic-algorithms against master#d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebdeveloper6952%2Frust-genetic-algorithms" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sebdeveloper6952/rust-genetic-algorithms on toolchain d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sebdeveloper6952/rust-genetic-algorithms [INFO] finished tweaking git repo https://github.com/sebdeveloper6952/rust-genetic-algorithms [INFO] tweaked toml for git repo https://github.com/sebdeveloper6952/rust-genetic-algorithms written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sebdeveloper6952/rust-genetic-algorithms 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" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c156f09e997013931f35c8924a183b0363772c5658f6cb9ffa61e78d4214c47d [INFO] running `Command { std: "docker" "start" "-a" "c156f09e997013931f35c8924a183b0363772c5658f6cb9ffa61e78d4214c47d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c156f09e997013931f35c8924a183b0363772c5658f6cb9ffa61e78d4214c47d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c156f09e997013931f35c8924a183b0363772c5658f6cb9ffa61e78d4214c47d", kill_on_drop: false }` [INFO] [stdout] c156f09e997013931f35c8924a183b0363772c5658f6cb9ffa61e78d4214c47d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5673a47b4a132a0f55f0b526b89d25167aba160f7a30771a916d15406cbe258a [INFO] running `Command { std: "docker" "start" "-a" "5673a47b4a132a0f55f0b526b89d25167aba160f7a30771a916d15406cbe258a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking genetic-algorithms v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Individual` is never constructed [INFO] [stdout] --> src/tsp.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Individual { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_with_chromosome`, `fitness`, and `crossover` are never used [INFO] [stdout] --> src/tsp.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Individual { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 11 | fn new() -> Individual { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn new_with_chromosome(chr: Vec) -> Individual { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn fitness(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn crossover(&self, other: &Individual) -> Individual { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_chr` is never used [INFO] [stdout] --> src/functions_2d.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Individual2D { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn new_with_chr(x: f64, y: f64) -> Individual2D { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_chr` is never used [INFO] [stdout] --> src/functions_2d_2.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Individual2D { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn new_with_chr(x: f64, y: f64) -> Individual2D { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_chr` is never used [INFO] [stdout] --> src/functions_2d_3.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Individual2D { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn new_with_chr(x: f64, y: f64) -> Individual2D { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Individual` is never constructed [INFO] [stdout] --> src/tsp.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Individual { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_with_chromosome`, `fitness`, and `crossover` are never used [INFO] [stdout] --> src/tsp.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Individual { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 11 | fn new() -> Individual { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn new_with_chromosome(chr: Vec) -> Individual { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn fitness(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn crossover(&self, other: &Individual) -> Individual { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_chr` is never used [INFO] [stdout] --> src/functions_2d.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Individual2D { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn new_with_chr(x: f64, y: f64) -> Individual2D { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_chr` is never used [INFO] [stdout] --> src/functions_2d_2.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Individual2D { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn new_with_chr(x: f64, y: f64) -> Individual2D { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_chr` is never used [INFO] [stdout] --> src/functions_2d_3.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Individual2D { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn new_with_chr(x: f64, y: f64) -> Individual2D { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.12s [INFO] running `Command { std: "docker" "inspect" "5673a47b4a132a0f55f0b526b89d25167aba160f7a30771a916d15406cbe258a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5673a47b4a132a0f55f0b526b89d25167aba160f7a30771a916d15406cbe258a", kill_on_drop: false }` [INFO] [stdout] 5673a47b4a132a0f55f0b526b89d25167aba160f7a30771a916d15406cbe258a