[INFO] cloning repository https://github.com/Zlakesyx/rusty_neuralnet
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Zlakesyx/rusty_neuralnet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZlakesyx%2Frusty_neuralnet", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZlakesyx%2Frusty_neuralnet'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 081666151f7f62a9545ed63b44e39371c273b00a
[INFO] testing Zlakesyx/rusty_neuralnet against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZlakesyx%2Frusty_neuralnet" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Zlakesyx/rusty_neuralnet
[INFO] finished tweaking git repo https://github.com/Zlakesyx/rusty_neuralnet
[INFO] tweaked toml for git repo https://github.com/Zlakesyx/rusty_neuralnet written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Zlakesyx/rusty_neuralnet on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Zlakesyx/rusty_neuralnet 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b81fa54204b98d47f18c0a44aa3bab68d73d93899ad7e2d29c8c85885973f1c8
[INFO] running `Command { std: "docker" "start" "-a" "b81fa54204b98d47f18c0a44aa3bab68d73d93899ad7e2d29c8c85885973f1c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b81fa54204b98d47f18c0a44aa3bab68d73d93899ad7e2d29c8c85885973f1c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b81fa54204b98d47f18c0a44aa3bab68d73d93899ad7e2d29c8c85885973f1c8", kill_on_drop: false }`
[INFO] [stdout] b81fa54204b98d47f18c0a44aa3bab68d73d93899ad7e2d29c8c85885973f1c8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ac847392c989a2dd144eab1b7a9e8f9a5ca9c6c5ae0d5671f61dcfc4cbe4b41c
[INFO] running `Command { std: "docker" "start" "-a" "ac847392c989a2dd144eab1b7a9e8f9a5ca9c6c5ae0d5671f61dcfc4cbe4b41c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]    Compiling serde v1.0.213
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling serde_yaml v0.8.26
[INFO] [stderr]    Compiling neuralnet v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `seq::SliceRandom`
[INFO] [stdout]  --> src/neat/genome.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::{seq::SliceRandom, Rng};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SIGMOID`
[INFO] [stdout]  --> src/network.rs:2:30
[INFO] [stdout]   |
[INFO] [stdout] 2 |     activation::{Activation, SIGMOID},
[INFO] [stdout]   |                              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `collections::HashMap` and `fs::File`
[INFO] [stdout]  --> src/utils/fileutils.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     collections::HashMap,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     fs::File,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `in_node` is never read
[INFO] [stdout]   --> src/neat/genome.rs:48:27
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let mut in_node = None;
[INFO] [stdout]    |                           ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 62 |             in_node = self.node_genes.get(&in_node_innovation);
[INFO] [stdout]    |             -------------------------------------------------- `in_node` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `out_node` is never read
[INFO] [stdout]   --> src/neat/genome.rs:49:28
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let mut out_node = None;
[INFO] [stdout]    |                            ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 63 |             out_node = self.node_genes.get(&out_node_innovation);
[INFO] [stdout]    |             ---------------------------------------------------- `out_node` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filename`
[INFO] [stdout]   --> src/utils/fileutils.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn read_yaml_config(filename: String) {
[INFO] [stdout]    |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `zero` and `from_vec_2d` are never used
[INFO] [stdout]   --> src/matrix.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Matrix {
[INFO] [stdout]    | ----------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn zero(rows: usize, cols: usize) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn from_vec_2d(data: Vec<Vec<f64>>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConnectionGene` is never constructed
[INFO] [stdout]  --> src/neat/connection_gene.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ConnectionGene {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/neat/connection_gene.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl ConnectionGene {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(in_node: NodeGene, out_node: NodeGene, innovation_id: i8) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Genome` is never constructed
[INFO] [stdout]   --> src/neat/genome.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Genome {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/neat/genome.rs:19:12
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl Genome {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  19 |     pub fn new(node_size: i8, connection_size: i8) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  38 |     pub fn add_node_gene(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  45 |     pub fn add_connection_gene(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn feed_forward(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn mutate() {}
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 123 |
[INFO] [stdout] 124 |     pub fn calculate_distance() {}
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 125 |
[INFO] [stdout] 126 |     pub fn fitness() {}
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 127 |
[INFO] [stdout] 128 |     pub fn crossover() {}
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NodeGene` is never constructed
[INFO] [stdout]   --> src/neat/node_gene.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct NodeGene {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `random` are never used
[INFO] [stdout]   --> src/neat/node_gene.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl NodeGene {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 30 |     pub fn new(innovation_id: i8, node_type: NodeType) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn random(innovation_id: i8) -> Self {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `LATEST_NODE` is never used
[INFO] [stdout]  --> src/neat/innovation.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | static mut LATEST_NODE: i8 = 0;
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `LATEST_CONNECTION` is never used
[INFO] [stdout]  --> src/neat/innovation.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | static mut LATEST_CONNECTION: i8 = 0;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `current_node` is never used
[INFO] [stdout]  --> src/neat/innovation.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn current_node() -> i8 {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `current_connection` is never used
[INFO] [stdout]   --> src/neat/innovation.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn current_connection() -> i8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `next_node` is never used
[INFO] [stdout]   --> src/neat/innovation.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn next_node() -> i8 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `next_connection` is never used
[INFO] [stdout]   --> src/neat/innovation.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn next_connection() -> i8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_yaml_config` is never used
[INFO] [stdout]   --> src/utils/fileutils.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn read_yaml_config(filename: String) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/matrix.rs:176:9
[INFO] [stdout]     |
[INFO] [stdout] 176 |         write!(f, "\nrows: {}, cols: {}", self.rows, self.cols);
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 176 |         let _ = write!(f, "\nrows: {}, cols: {}", self.rows, self.cols);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/matrix.rs:177:9
[INFO] [stdout]     |
[INFO] [stdout] 177 |         write!(f, "\n{}\n", spacer);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let _ = write!(f, "\n{}\n", spacer);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/matrix.rs:179:13
[INFO] [stdout]     |
[INFO] [stdout] 179 |             write!(f, "|");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 179 |             let _ = write!(f, "|");
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/matrix.rs:181:17
[INFO] [stdout]     |
[INFO] [stdout] 181 |                 write!(f, " {} |", self.data[row * self.cols + col]);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 181 |                 let _ = write!(f, " {} |", self.data[row * self.cols + col]);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/matrix.rs:183:13
[INFO] [stdout]     |
[INFO] [stdout] 183 |             write!(f, "\n");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 183 |             let _ = write!(f, "\n");
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.85s
[INFO] running `Command { std: "docker" "inspect" "ac847392c989a2dd144eab1b7a9e8f9a5ca9c6c5ae0d5671f61dcfc4cbe4b41c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac847392c989a2dd144eab1b7a9e8f9a5ca9c6c5ae0d5671f61dcfc4cbe4b41c", kill_on_drop: false }`
[INFO] [stdout] ac847392c989a2dd144eab1b7a9e8f9a5ca9c6c5ae0d5671f61dcfc4cbe4b41c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 897e26eafde8f15e8cbd08c59883322837caec6497daf7b854a10ce4dc4bb2d0
[INFO] running `Command { std: "docker" "start" "-a" "897e26eafde8f15e8cbd08c59883322837caec6497daf7b854a10ce4dc4bb2d0", kill_on_drop: false }`
[INFO] [stderr]    Compiling neuralnet v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `seq::SliceRandom`
[INFO] [stdout]  --> src/neat/genome.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::{seq::SliceRandom, Rng};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SIGMOID`
[INFO] [stdout]  --> src/network.rs:2:30
[INFO] [stdout]   |
[INFO] [stdout] 2 |     activation::{Activation, SIGMOID},
[INFO] [stdout]   |                              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `collections::HashMap` and `fs::File`
[INFO] [stdout]  --> src/utils/fileutils.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     collections::HashMap,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     fs::File,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `in_node` is never read
[INFO] [stdout]   --> src/neat/genome.rs:48:27
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let mut in_node = None;
[INFO] [stdout]    |                           ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 62 |             in_node = self.node_genes.get(&in_node_innovation);
[INFO] [stdout]    |             -------------------------------------------------- `in_node` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `out_node` is never read
[INFO] [stdout]   --> src/neat/genome.rs:49:28
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let mut out_node = None;
[INFO] [stdout]    |                            ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 63 |             out_node = self.node_genes.get(&out_node_innovation);
[INFO] [stdout]    |             ---------------------------------------------------- `out_node` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filename`
[INFO] [stdout]   --> src/utils/fileutils.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn read_yaml_config(filename: String) {
[INFO] [stdout]    |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `zero` and `from_vec_2d` are never used
[INFO] [stdout]   --> src/matrix.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Matrix {
[INFO] [stdout]    | ----------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn zero(rows: usize, cols: usize) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn from_vec_2d(data: Vec<Vec<f64>>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConnectionGene` is never constructed
[INFO] [stdout]  --> src/neat/connection_gene.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ConnectionGene {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/neat/connection_gene.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl ConnectionGene {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(in_node: NodeGene, out_node: NodeGene, innovation_id: i8) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Genome` is never constructed
[INFO] [stdout]   --> src/neat/genome.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Genome {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/neat/genome.rs:19:12
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl Genome {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  19 |     pub fn new(node_size: i8, connection_size: i8) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  38 |     pub fn add_node_gene(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  45 |     pub fn add_connection_gene(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn feed_forward(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn mutate() {}
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 123 |
[INFO] [stdout] 124 |     pub fn calculate_distance() {}
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 125 |
[INFO] [stdout] 126 |     pub fn fitness() {}
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 127 |
[INFO] [stdout] 128 |     pub fn crossover() {}
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NodeGene` is never constructed
[INFO] [stdout]   --> src/neat/node_gene.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct NodeGene {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `random` are never used
[INFO] [stdout]   --> src/neat/node_gene.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl NodeGene {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 30 |     pub fn new(innovation_id: i8, node_type: NodeType) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn random(innovation_id: i8) -> Self {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `LATEST_NODE` is never used
[INFO] [stdout]  --> src/neat/innovation.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | static mut LATEST_NODE: i8 = 0;
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `LATEST_CONNECTION` is never used
[INFO] [stdout]  --> src/neat/innovation.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | static mut LATEST_CONNECTION: i8 = 0;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `current_node` is never used
[INFO] [stdout]  --> src/neat/innovation.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn current_node() -> i8 {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `current_connection` is never used
[INFO] [stdout]   --> src/neat/innovation.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn current_connection() -> i8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `next_node` is never used
[INFO] [stdout]   --> src/neat/innovation.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn next_node() -> i8 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `next_connection` is never used
[INFO] [stdout]   --> src/neat/innovation.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn next_connection() -> i8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_yaml_config` is never used
[INFO] [stdout]   --> src/utils/fileutils.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn read_yaml_config(filename: String) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/matrix.rs:176:9
[INFO] [stdout]     |
[INFO] [stdout] 176 |         write!(f, "\nrows: {}, cols: {}", self.rows, self.cols);
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 176 |         let _ = write!(f, "\nrows: {}, cols: {}", self.rows, self.cols);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/matrix.rs:177:9
[INFO] [stdout]     |
[INFO] [stdout] 177 |         write!(f, "\n{}\n", spacer);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let _ = write!(f, "\n{}\n", spacer);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/matrix.rs:179:13
[INFO] [stdout]     |
[INFO] [stdout] 179 |             write!(f, "|");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 179 |             let _ = write!(f, "|");
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/matrix.rs:181:17
[INFO] [stdout]     |
[INFO] [stdout] 181 |                 write!(f, " {} |", self.data[row * self.cols + col]);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 181 |                 let _ = write!(f, " {} |", self.data[row * self.cols + col]);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/matrix.rs:183:13
[INFO] [stdout]     |
[INFO] [stdout] 183 |             write!(f, "\n");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 183 |             let _ = write!(f, "\n");
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `seq::SliceRandom`
[INFO] [stdout]  --> src/neat/genome.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::{seq::SliceRandom, Rng};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `collections::HashMap` and `fs::File`
[INFO] [stdout]  --> src/utils/fileutils.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     collections::HashMap,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     fs::File,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/activation.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let x = 1.0;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `in_node` is never read
[INFO] [stdout]   --> src/neat/genome.rs:48:27
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let mut in_node = None;
[INFO] [stdout]    |                           ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 62 |             in_node = self.node_genes.get(&in_node_innovation);
[INFO] [stdout]    |             -------------------------------------------------- `in_node` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `out_node` is never read
[INFO] [stdout]   --> src/neat/genome.rs:49:28
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let mut out_node = None;
[INFO] [stdout]    |                            ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 63 |             out_node = self.node_genes.get(&out_node_innovation);
[INFO] [stdout]    |             ---------------------------------------------------- `out_node` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filename`
[INFO] [stdout]   --> src/utils/fileutils.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn read_yaml_config(filename: String) {
[INFO] [stdout]    |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `zero` and `from_vec_2d` are never used
[INFO] [stdout]   --> src/matrix.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Matrix {
[INFO] [stdout]    | ----------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn zero(rows: usize, cols: usize) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn from_vec_2d(data: Vec<Vec<f64>>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `weight` and `enabled` are never read
[INFO] [stdout]  --> src/neat/connection_gene.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ConnectionGene {
[INFO] [stdout]   |            -------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     pub weight: f32,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 9 |     pub enabled: bool,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ConnectionGene` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `feed_forward`, `mutate`, `calculate_distance`, `fitness`, and `crossover` are never used
[INFO] [stdout]    --> src/neat/genome.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl Genome {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn feed_forward(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn mutate() {}
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 123 |
[INFO] [stdout] 124 |     pub fn calculate_distance() {}
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 125 |
[INFO] [stdout] 126 |     pub fn fitness() {}
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 127 |
[INFO] [stdout] 128 |     pub fn crossover() {}
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/neat/node_gene.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl NodeGene {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 30 |     pub fn new(innovation_id: i8, node_type: NodeType) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `current_connection` is never used
[INFO] [stdout]   --> src/neat/innovation.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn current_connection() -> i8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_yaml_config` is never used
[INFO] [stdout]   --> src/utils/fileutils.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn read_yaml_config(filename: String) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/matrix.rs:176:9
[INFO] [stdout]     |
[INFO] [stdout] 176 |         write!(f, "\nrows: {}, cols: {}", self.rows, self.cols);
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 176 |         let _ = write!(f, "\nrows: {}, cols: {}", self.rows, self.cols);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/matrix.rs:177:9
[INFO] [stdout]     |
[INFO] [stdout] 177 |         write!(f, "\n{}\n", spacer);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let _ = write!(f, "\n{}\n", spacer);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/matrix.rs:179:13
[INFO] [stdout]     |
[INFO] [stdout] 179 |             write!(f, "|");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 179 |             let _ = write!(f, "|");
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/matrix.rs:181:17
[INFO] [stdout]     |
[INFO] [stdout] 181 |                 write!(f, " {} |", self.data[row * self.cols + col]);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 181 |                 let _ = write!(f, " {} |", self.data[row * self.cols + col]);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/matrix.rs:183:13
[INFO] [stdout]     |
[INFO] [stdout] 183 |             write!(f, "\n");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 183 |             let _ = write!(f, "\n");
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.89s
[INFO] running `Command { std: "docker" "inspect" "897e26eafde8f15e8cbd08c59883322837caec6497daf7b854a10ce4dc4bb2d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "897e26eafde8f15e8cbd08c59883322837caec6497daf7b854a10ce4dc4bb2d0", kill_on_drop: false }`
[INFO] [stdout] 897e26eafde8f15e8cbd08c59883322837caec6497daf7b854a10ce4dc4bb2d0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9de504ed741aa4ff40b854ede50c222edd32800bfa476632969f4798cf52be82
[INFO] running `Command { std: "docker" "start" "-a" "9de504ed741aa4ff40b854ede50c222edd32800bfa476632969f4798cf52be82", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `seq::SliceRandom`
[INFO] [stderr]  --> src/neat/genome.rs:3:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rand::{seq::SliceRandom, Rng};
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `SIGMOID`
[INFO] [stderr]  --> src/network.rs:2:30
[INFO] [stderr]   |
[INFO] [stderr] 2 |     activation::{Activation, SIGMOID},
[INFO] [stderr]   |                              ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `collections::HashMap` and `fs::File`
[INFO] [stderr]  --> src/utils/fileutils.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 |     collections::HashMap,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 6 |     fs::File,
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `in_node` is never read
[INFO] [stderr]   --> src/neat/genome.rs:48:27
[INFO] [stderr]    |
[INFO] [stderr] 48 |         let mut in_node = None;
[INFO] [stderr]    |                           ^^^^ this value is reassigned later and never used
[INFO] [stderr] ...
[INFO] [stderr] 62 |             in_node = self.node_genes.get(&in_node_innovation);
[INFO] [stderr]    |             -------------------------------------------------- `in_node` is overwritten here before the previous value is read
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `out_node` is never read
[INFO] [stderr]   --> src/neat/genome.rs:49:28
[INFO] [stderr]    |
[INFO] [stderr] 49 |         let mut out_node = None;
[INFO] [stderr]    |                            ^^^^ this value is reassigned later and never used
[INFO] [stderr] ...
[INFO] [stderr] 63 |             out_node = self.node_genes.get(&out_node_innovation);
[INFO] [stderr]    |             ---------------------------------------------------- `out_node` is overwritten here before the previous value is read
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `filename`
[INFO] [stderr]   --> src/utils/fileutils.rs:10:21
[INFO] [stderr]    |
[INFO] [stderr] 10 | fn read_yaml_config(filename: String) {
[INFO] [stderr]    |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `zero` and `from_vec_2d` are never used
[INFO] [stderr]   --> src/matrix.rs:26:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl Matrix {
[INFO] [stderr]    | ----------- associated functions in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 26 |     pub fn zero(rows: usize, cols: usize) -> Self {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 53 |     pub fn from_vec_2d(data: Vec<Vec<f64>>) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ConnectionGene` is never constructed
[INFO] [stderr]  --> src/neat/connection_gene.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct ConnectionGene {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/neat/connection_gene.rs:14:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | impl ConnectionGene {
[INFO] [stderr]    | ------------------- associated function in this implementation
[INFO] [stderr] 14 |     pub fn new(in_node: NodeGene, out_node: NodeGene, innovation_id: i8) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Genome` is never constructed
[INFO] [stderr]   --> src/neat/genome.rs:12:12
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub struct Genome {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/neat/genome.rs:19:12
[INFO] [stderr]     |
[INFO] [stderr]  18 | impl Genome {
[INFO] [stderr]     | ----------- associated items in this implementation
[INFO] [stderr]  19 |     pub fn new(node_size: i8, connection_size: i8) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr]  38 |     pub fn add_node_gene(&mut self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  45 |     pub fn add_connection_gene(&mut self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 107 |     pub fn feed_forward(&self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 122 |     pub fn mutate() {}
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] 123 |
[INFO] [stderr] 124 |     pub fn calculate_distance() {}
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 125 |
[INFO] [stderr] 126 |     pub fn fitness() {}
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] 127 |
[INFO] [stderr] 128 |     pub fn crossover() {}
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `NodeGene` is never constructed
[INFO] [stderr]   --> src/neat/node_gene.rs:23:12
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub struct NodeGene {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `new` and `random` are never used
[INFO] [stderr]   --> src/neat/node_gene.rs:30:12
[INFO] [stderr]    |
[INFO] [stderr] 29 | impl NodeGene {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr] 30 |     pub fn new(innovation_id: i8, node_type: NodeType) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 39 |     pub fn random(innovation_id: i8) -> Self {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: static `LATEST_NODE` is never used
[INFO] [stderr]  --> src/neat/innovation.rs:1:12
[INFO] [stderr]   |
[INFO] [stderr] 1 | static mut LATEST_NODE: i8 = 0;
[INFO] [stderr]   |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: static `LATEST_CONNECTION` is never used
[INFO] [stderr]  --> src/neat/innovation.rs:2:12
[INFO] [stderr]   |
[INFO] [stderr] 2 | static mut LATEST_CONNECTION: i8 = 0;
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `current_node` is never used
[INFO] [stderr]  --> src/neat/innovation.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub fn current_node() -> i8 {
[INFO] [stderr]   |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `current_connection` is never used
[INFO] [stderr]   --> src/neat/innovation.rs:10:8
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub fn current_connection() -> i8 {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `next_node` is never used
[INFO] [stderr]   --> src/neat/innovation.rs:16:8
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub fn next_node() -> i8 {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `next_connection` is never used
[INFO] [stderr]   --> src/neat/innovation.rs:23:8
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub fn next_connection() -> i8 {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `read_yaml_config` is never used
[INFO] [stderr]   --> src/utils/fileutils.rs:10:4
[INFO] [stderr]    |
[INFO] [stderr] 10 | fn read_yaml_config(filename: String) {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/matrix.rs:176:9
[INFO] [stderr]     |
[INFO] [stderr] 176 |         write!(f, "\nrows: {}, cols: {}", self.rows, self.cols);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 176 |         let _ = write!(f, "\nrows: {}, cols: {}", self.rows, self.cols);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/matrix.rs:177:9
[INFO] [stderr]     |
[INFO] [stderr] 177 |         write!(f, "\n{}\n", spacer);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 177 |         let _ = write!(f, "\n{}\n", spacer);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/matrix.rs:179:13
[INFO] [stderr]     |
[INFO] [stderr] 179 |             write!(f, "|");
[INFO] [stderr]     |             ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 179 |             let _ = write!(f, "|");
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/matrix.rs:181:17
[INFO] [stderr]     |
[INFO] [stderr] 181 |                 write!(f, " {} |", self.data[row * self.cols + col]);
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 181 |                 let _ = write!(f, " {} |", self.data[row * self.cols + col]);
[INFO] [stderr]     |                 +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/matrix.rs:183:13
[INFO] [stderr]     |
[INFO] [stderr] 183 |             write!(f, "\n");
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 183 |             let _ = write!(f, "\n");
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/activation.rs:16:9
[INFO] [stderr]    |
[INFO] [stderr] 16 |     let x = 1.0;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `filename`
[INFO] [stderr]   --> src/utils/fileutils.rs:10:21
[INFO] [stderr]    |
[INFO] [stderr] 10 | fn read_yaml_config(filename: String) {
[INFO] [stderr]    |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `weight` and `enabled` are never read
[INFO] [stderr]  --> src/neat/connection_gene.rs:8:9
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct ConnectionGene {
[INFO] [stderr]   |            -------------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 8 |     pub weight: f32,
[INFO] [stderr]   |         ^^^^^^
[INFO] [stderr] 9 |     pub enabled: bool,
[INFO] [stderr]   |         ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `ConnectionGene` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `feed_forward`, `mutate`, `calculate_distance`, `fitness`, and `crossover` are never used
[INFO] [stderr]    --> src/neat/genome.rs:107:12
[INFO] [stderr]     |
[INFO] [stderr]  18 | impl Genome {
[INFO] [stderr]     | ----------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 107 |     pub fn feed_forward(&self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 122 |     pub fn mutate() {}
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] 123 |
[INFO] [stderr] 124 |     pub fn calculate_distance() {}
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 125 |
[INFO] [stderr] 126 |     pub fn fitness() {}
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] 127 |
[INFO] [stderr] 128 |     pub fn crossover() {}
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/neat/node_gene.rs:30:12
[INFO] [stderr]    |
[INFO] [stderr] 29 | impl NodeGene {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] 30 |     pub fn new(innovation_id: i8, node_type: NodeType) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `neuralnet` (lib) generated 25 warnings (run `cargo fix --lib -p neuralnet` to apply 4 suggestions)
[INFO] [stderr] warning: `neuralnet` (lib test) generated 17 warnings (12 duplicates) (run `cargo fix --lib -p neuralnet --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/neuralnet-842bc86421675e26)
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test matrix::transpose ... ok
[INFO] [stdout] test activation::test ... ok
[INFO] [stdout] test matrix::feed_forward ... ok
[INFO] [stdout] test training_data::shuffle ... ok
[INFO] [stdout] test matrix::dot_multiply ... ok
[INFO] [stdout] test matrix::add - should panic ... ok
[INFO] [stdout] test matrix::subtract - should panic ... ok
[INFO] [stdout] test network::xor ... ok
[INFO] [stdout] test neat::genome::create_genome has been running for over 60 seconds
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/deps/neuralnet-842bc86421675e26` (signal: 9, SIGKILL: kill)
[INFO] running `Command { std: "docker" "inspect" "9de504ed741aa4ff40b854ede50c222edd32800bfa476632969f4798cf52be82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9de504ed741aa4ff40b854ede50c222edd32800bfa476632969f4798cf52be82", kill_on_drop: false }`
[INFO] [stdout] 9de504ed741aa4ff40b854ede50c222edd32800bfa476632969f4798cf52be82
