[INFO] cloning repository https://github.com/alec-deason/neat
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alec-deason/neat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falec-deason%2Fneat", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falec-deason%2Fneat'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] eecbacc364048a34de55302ac58c7163fce9a5e2
[INFO] checking alec-deason/neat against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falec-deason%2Fneat" "/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/alec-deason/neat on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/alec-deason/neat
[INFO] finished tweaking git repo https://github.com/alec-deason/neat
[INFO] tweaked toml for git repo https://github.com/alec-deason/neat written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/alec-deason/neat 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ncurses v5.99.0
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2ec7d6c9bb6a417db21cd09d48f73a7a32bba65b0cfceb8205bd753d406de91d
[INFO] running `Command { std: "docker" "start" "-a" "2ec7d6c9bb6a417db21cd09d48f73a7a32bba65b0cfceb8205bd753d406de91d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2ec7d6c9bb6a417db21cd09d48f73a7a32bba65b0cfceb8205bd753d406de91d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ec7d6c9bb6a417db21cd09d48f73a7a32bba65b0cfceb8205bd753d406de91d", kill_on_drop: false }`
[INFO] [stdout] 2ec7d6c9bb6a417db21cd09d48f73a7a32bba65b0cfceb8205bd753d406de91d
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8515f286340824c30b15bf87931f48da38112edd67c0425b70801b502d2e9df6
[INFO] running `Command { std: "docker" "start" "-a" "8515f286340824c30b15bf87931f48da38112edd67c0425b70801b502d2e9df6", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]    Compiling libc v0.2.50
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]     Checking cfg-if v0.1.7
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v0.15.29
[INFO] [stderr]     Checking nodrop v0.1.13
[INFO] [stderr]    Compiling cc v1.0.31
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]     Checking memoffset v0.2.1
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]    Compiling pkg-config v0.3.14
[INFO] [stderr]    Compiling serde v1.0.89
[INFO] [stderr]     Checking crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling ryu v0.2.7
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]     Checking log v0.4.6
[INFO] [stderr]     Checking itoa v0.4.3
[INFO] [stderr]     Checking either v1.5.1
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.3
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking ordermap v0.3.5
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking fixedbitset v0.1.9
[INFO] [stderr]     Checking petgraph v0.4.13
[INFO] [stderr]     Checking crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]    Compiling ncurses v5.99.0
[INFO] [stderr]     Checking crossbeam-deque v0.2.0
[INFO] [stderr]     Checking num_cpus v1.10.0
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking pancurses v0.16.1
[INFO] [stderr]    Compiling serde_derive v1.0.89
[INFO] [stderr]     Checking serde_json v1.0.39
[INFO] [stderr]     Checking neat v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Config`
[INFO] [stdout]  --> src/lib.rs:9:26
[INFO] [stdout]   |
[INFO] [stdout] 9 | use petgraph::dot::{Dot, Config};
[INFO] [stdout]   |                          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Config`
[INFO] [stdout]  --> src/lib.rs:9:26
[INFO] [stdout]   |
[INFO] [stdout] 9 | use petgraph::dot::{Dot, Config};
[INFO] [stdout]   |                          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]    --> src/lib.rs:148:17
[INFO] [stdout]     |
[INFO] [stdout] 148 |         for (i, node) in self.nodes.iter().enumerate() {
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]    --> src/lib.rs:148:17
[INFO] [stdout]     |
[INFO] [stdout] 148 |         for (i, node) in self.nodes.iter().enumerate() {
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let mut out_node = *genome
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 183 |     let mut in_node = *genome
[INFO] [stdout]     |         ----^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let mut out_node = *genome
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 183 |     let mut in_node = *genome
[INFO] [stdout]     |         ----^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/lib.rs:537:15
[INFO] [stdout]     |
[INFO] [stdout] 537 |         .map(|i| NodeGene {
[INFO] [stdout]     |               ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/lib.rs:547:15
[INFO] [stdout]     |
[INFO] [stdout] 547 |         .map(|i| NodeGene {
[INFO] [stdout]     |               ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/lib.rs:537:15
[INFO] [stdout]     |
[INFO] [stdout] 537 |         .map(|i| NodeGene {
[INFO] [stdout]     |               ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/lib.rs:547:15
[INFO] [stdout]     |
[INFO] [stdout] 547 |         .map(|i| NodeGene {
[INFO] [stdout]     |               ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:564:9
[INFO] [stdout]     |
[INFO] [stdout] 564 |     let mut nodes: HashMap<usize, NodeGene> = input_nodes
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:564:9
[INFO] [stdout]     |
[INFO] [stdout] 564 |     let mut nodes: HashMap<usize, NodeGene> = input_nodes
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |         write!(&mut file, "{:?}", Dot::with_config(&deps, &[]));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |         write!(&mut file, "{:?}", Dot::with_config(&deps, &[]));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> examples/hello_world.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::SliceRandom`
[INFO] [stdout]  --> examples/counter.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::prelude::SliceRandom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::SliceRandom`
[INFO] [stdout]  --> examples/hello_world.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::prelude::SliceRandom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Genome`
[INFO] [stdout]   --> examples/counter.rs:10:49
[INFO] [stdout]    |
[INFO] [stdout] 10 | use neat::{initial_population, next_generation, Genome, Phenotype};
[INFO] [stdout]    |                                                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Genome`
[INFO] [stdout]   --> examples/hello_world.rs:10:49
[INFO] [stdout]    |
[INFO] [stdout] 10 | use neat::{initial_population, next_generation, Genome, Phenotype};
[INFO] [stdout]    |                                                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> examples/xor.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::SliceRandom`
[INFO] [stdout]  --> examples/xor.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::prelude::SliceRandom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Genome`
[INFO] [stdout]   --> examples/xor.rs:10:49
[INFO] [stdout]    |
[INFO] [stdout] 10 | use neat::{initial_population, next_generation, Genome, Phenotype};
[INFO] [stdout]    |                                                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::SliceRandom`
[INFO] [stdout]   --> examples/dungeon.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use rand::prelude::SliceRandom;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Genome`
[INFO] [stdout]   --> examples/dungeon.rs:23:49
[INFO] [stdout]    |
[INFO] [stdout] 23 | use neat::{initial_population, next_generation, Genome, Phenotype};
[INFO] [stdout]    |                                                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]   --> examples/xor.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut rng = rand::thread_rng();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `most_fit`
[INFO] [stdout]   --> examples/xor.rs:49:14
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let (most_fit, _) = fitness.iter().max_by_key(|(k,v)| (*v * 1000.0) as i32).unwrap();
[INFO] [stdout]    |              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_most_fit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> examples/xor.rs:49:57
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let (most_fit, _) = fitness.iter().max_by_key(|(k,v)| (*v * 1000.0) as i32).unwrap();
[INFO] [stdout]    |                                                         ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]   --> examples/hello_world.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut rng = rand::thread_rng();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> examples/hello_world.rs:25:22
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 for (i, letter) in test.chars().enumerate() {
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> examples/hello_world.rs:42:25
[INFO] [stdout]    |
[INFO] [stdout] 42 |                     for i in 0..test.chars().count() {
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> examples/hello_world.rs:59:29
[INFO] [stdout]    |
[INFO] [stdout] 59 |                         for i in 0..test.chars().count() {
[INFO] [stdout]    |                             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> examples/hello_world.rs:54:61
[INFO] [stdout]    |
[INFO] [stdout] 54 |             let (most_fit, _) = fitness.iter().max_by_key(|(k,v)| (*v * 1000.0) as i32).unwrap();
[INFO] [stdout]    |                                                             ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/xor.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut rng = rand::thread_rng();
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/hello_world.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut rng = rand::thread_rng();
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> examples/dungeon.rs:312:9
[INFO] [stdout]     |
[INFO] [stdout] 293 | /         loop {
[INFO] [stdout] 294 | |             for x in 0..dungeon.tiles.len() {
[INFO] [stdout] 295 | |                 for y in 0..dungeon.tiles[0].len() {
[INFO] [stdout] 296 | |                     window.mvprintw(y as i32, x as i32,
[INFO] [stdout] ...   |
[INFO] [stdout] 310 | |             dungeon.step();
[INFO] [stdout] 311 | |         }
[INFO] [stdout]     | |_________- any code following this expression is unreachable
[INFO] [stdout] 312 |           endwin();
[INFO] [stdout]     |           ^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]    --> examples/dungeon.rs:316:13
[INFO] [stdout]     |
[INFO] [stdout] 316 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> examples/dungeon.rs:344:61
[INFO] [stdout]     |
[INFO] [stdout] 344 |             let (most_fit, _) = fitness.iter().max_by_key(|(k,v)| (*v * 10000.0) as i32).unwrap();
[INFO] [stdout]     |                                                             ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> examples/dungeon.rs:316:9
[INFO] [stdout]     |
[INFO] [stdout] 316 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> examples/dungeon.rs:324:13
[INFO] [stdout]     |
[INFO] [stdout] 324 |         let mut fitness:HashMap<usize, f32> = phenotypes.par_iter().map(|(genome_id, phenotype)| {
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> examples/dungeon.rs:195:20
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 if fx >= 0 && fx < self.tiles.len() && fy >= 0 && fy < self.tiles[0].len() {
[INFO] [stdout]     |                    ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> examples/dungeon.rs:195:56
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 if fx >= 0 && fx < self.tiles.len() && fy >= 0 && fy < self.tiles[0].len() {
[INFO] [stdout]     |                                                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> examples/dungeon.rs:219:20
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 if bx >= 0 && bx < self.tiles.len() && by >= 0 && by < self.tiles[0].len() {
[INFO] [stdout]     |                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> examples/dungeon.rs:219:56
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 if bx >= 0 && bx < self.tiles.len() && by >= 0 && by < self.tiles[0].len() {
[INFO] [stdout]     |                                                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/dungeon.rs:351:7
[INFO] [stdout]     |
[INFO] [stdout] 351 |                         write!(&mut file, "{}", json.unwrap());
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 10.62s
[INFO] running `Command { std: "docker" "inspect" "8515f286340824c30b15bf87931f48da38112edd67c0425b70801b502d2e9df6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8515f286340824c30b15bf87931f48da38112edd67c0425b70801b502d2e9df6", kill_on_drop: false }`
[INFO] [stdout] 8515f286340824c30b15bf87931f48da38112edd67c0425b70801b502d2e9df6
[INFO] checking alec-deason/neat against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falec-deason%2Fneat" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/alec-deason/neat on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/alec-deason/neat
[INFO] finished tweaking git repo https://github.com/alec-deason/neat
[INFO] tweaked toml for git repo https://github.com/alec-deason/neat written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/alec-deason/neat 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 47e2fb37be5d27b4a28c72995d285c1decfdcc6a82473ee8a252f5711e07dca4
[INFO] running `Command { std: "docker" "start" "-a" "47e2fb37be5d27b4a28c72995d285c1decfdcc6a82473ee8a252f5711e07dca4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "47e2fb37be5d27b4a28c72995d285c1decfdcc6a82473ee8a252f5711e07dca4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47e2fb37be5d27b4a28c72995d285c1decfdcc6a82473ee8a252f5711e07dca4", kill_on_drop: false }`
[INFO] [stdout] 47e2fb37be5d27b4a28c72995d285c1decfdcc6a82473ee8a252f5711e07dca4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f093154a421ee4f66c6728ec7960cce5b401c5ba98f557652b9d32d2210abd48
[INFO] running `Command { std: "docker" "start" "-a" "f093154a421ee4f66c6728ec7960cce5b401c5ba98f557652b9d32d2210abd48", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]    Compiling libc v0.2.50
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]     Checking cfg-if v0.1.7
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]     Checking nodrop v0.1.13
[INFO] [stderr]    Compiling syn v0.15.29
[INFO] [stderr]    Compiling pkg-config v0.3.14
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]    Compiling cc v1.0.31
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]     Checking memoffset v0.2.1
[INFO] [stderr]    Compiling serde v1.0.89
[INFO] [stderr]     Checking crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling ryu v0.2.7
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]     Checking log v0.4.6
[INFO] [stderr]     Checking itoa v0.4.3
[INFO] [stderr]     Checking either v1.5.1
[INFO] [stderr]     Checking ordermap v0.3.5
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.3
[INFO] [stderr]     Checking fixedbitset v0.1.9
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking petgraph v0.4.13
[INFO] [stderr]    Compiling ncurses v5.99.0
[INFO] [stderr]     Checking num_cpus v1.10.0
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]     Checking crossbeam-deque v0.2.0
[INFO] [stderr]     Checking pancurses v0.16.1
[INFO] [stderr]    Compiling serde_derive v1.0.89
[INFO] [stderr]     Checking serde_json v1.0.39
[INFO] [stderr]     Checking neat v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Config`
[INFO] [stdout]  --> src/lib.rs:9:26
[INFO] [stdout]   |
[INFO] [stdout] 9 | use petgraph::dot::{Dot, Config};
[INFO] [stdout]   |                          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Config`
[INFO] [stdout]  --> src/lib.rs:9:26
[INFO] [stdout]   |
[INFO] [stdout] 9 | use petgraph::dot::{Dot, Config};
[INFO] [stdout]   |                          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]    --> src/lib.rs:148:17
[INFO] [stdout]     |
[INFO] [stdout] 148 |         for (i, node) in self.nodes.iter().enumerate() {
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]    --> src/lib.rs:148:17
[INFO] [stdout]     |
[INFO] [stdout] 148 |         for (i, node) in self.nodes.iter().enumerate() {
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let mut out_node = *genome
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 183 |     let mut in_node = *genome
[INFO] [stdout]     |         ----^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let mut out_node = *genome
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 183 |     let mut in_node = *genome
[INFO] [stdout]     |         ----^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/lib.rs:537:15
[INFO] [stdout]     |
[INFO] [stdout] 537 |         .map(|i| NodeGene {
[INFO] [stdout]     |               ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/lib.rs:547:15
[INFO] [stdout]     |
[INFO] [stdout] 547 |         .map(|i| NodeGene {
[INFO] [stdout]     |               ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/lib.rs:537:15
[INFO] [stdout]     |
[INFO] [stdout] 537 |         .map(|i| NodeGene {
[INFO] [stdout]     |               ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/lib.rs:547:15
[INFO] [stdout]     |
[INFO] [stdout] 547 |         .map(|i| NodeGene {
[INFO] [stdout]     |               ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:564:9
[INFO] [stdout]     |
[INFO] [stdout] 564 |     let mut nodes: HashMap<usize, NodeGene> = input_nodes
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:66:17
[INFO] [stdout]    |
[INFO] [stdout] 66 | #[derive(Clone, Serialize, Deserialize)]
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Phenotype`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:66:28
[INFO] [stdout]    |
[INFO] [stdout] 66 | #[derive(Clone, Serialize, Deserialize)]
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Phenotype`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:564:9
[INFO] [stdout]     |
[INFO] [stdout] 564 |     let mut nodes: HashMap<usize, NodeGene> = input_nodes
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |         write!(&mut file, "{:?}", Dot::with_config(&deps, &[]));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:66:17
[INFO] [stdout]    |
[INFO] [stdout] 66 | #[derive(Clone, Serialize, Deserialize)]
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Phenotype`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:66:28
[INFO] [stdout]    |
[INFO] [stdout] 66 | #[derive(Clone, Serialize, Deserialize)]
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Phenotype`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/lib.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |         write!(&mut file, "{:?}", Dot::with_config(&deps, &[]));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `neat` (lib) due to 3 previous errors; 9 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 2 previous errors; 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `neat` (lib test) due to 3 previous errors; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f093154a421ee4f66c6728ec7960cce5b401c5ba98f557652b9d32d2210abd48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f093154a421ee4f66c6728ec7960cce5b401c5ba98f557652b9d32d2210abd48", kill_on_drop: false }`
[INFO] [stdout] f093154a421ee4f66c6728ec7960cce5b401c5ba98f557652b9d32d2210abd48
