[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 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZlakesyx%2Frusty_neuralnet" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Zlakesyx/rusty_neuralnet on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f878e62c10267b466b04bc0c6185296d1ee89f825bd8de2bbce77649a0782117 [INFO] running `Command { std: "docker" "start" "-a" "f878e62c10267b466b04bc0c6185296d1ee89f825bd8de2bbce77649a0782117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f878e62c10267b466b04bc0c6185296d1ee89f825bd8de2bbce77649a0782117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f878e62c10267b466b04bc0c6185296d1ee89f825bd8de2bbce77649a0782117", kill_on_drop: false }` [INFO] [stdout] f878e62c10267b466b04bc0c6185296d1ee89f825bd8de2bbce77649a0782117 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 406a04ec060350bca0d8f913a0216e5bc7986ae9bc16ccb9af2ec83e96367418 [INFO] running `Command { std: "docker" "start" "-a" "406a04ec060350bca0d8f913a0216e5bc7986ae9bc16ccb9af2ec83e96367418", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.213 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling indexmap v1.9.3 [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)]` 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:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut in_node = None; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` 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:17 [INFO] [stdout] | [INFO] [stdout] 49 | let mut out_node = None; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being 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)]` 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>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] = 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 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] = note: `Genome` 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: 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: 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)]` 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/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] = 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/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] = 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/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] = 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/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] = 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.71s [INFO] running `Command { std: "docker" "inspect" "406a04ec060350bca0d8f913a0216e5bc7986ae9bc16ccb9af2ec83e96367418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "406a04ec060350bca0d8f913a0216e5bc7986ae9bc16ccb9af2ec83e96367418", kill_on_drop: false }` [INFO] [stdout] 406a04ec060350bca0d8f913a0216e5bc7986ae9bc16ccb9af2ec83e96367418 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1c76ac70d034171ba5357ebc2a7252e6de094accad747c835fff1f692c872b3 [INFO] running `Command { std: "docker" "start" "-a" "f1c76ac70d034171ba5357ebc2a7252e6de094accad747c835fff1f692c872b3", 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)]` 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:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut in_node = None; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` 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:17 [INFO] [stdout] | [INFO] [stdout] 49 | let mut out_node = None; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being 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)]` 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>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] = 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 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] = note: `Genome` 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: 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: 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)]` 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/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] = 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/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] = 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/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] = 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/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] = 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 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)]` 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)]` 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:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut in_node = None; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` 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:17 [INFO] [stdout] | [INFO] [stdout] 49 | let mut out_node = None; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being 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>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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)]` 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/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] = 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/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] = 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/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] = 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/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] = 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.09s [INFO] running `Command { std: "docker" "inspect" "f1c76ac70d034171ba5357ebc2a7252e6de094accad747c835fff1f692c872b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1c76ac70d034171ba5357ebc2a7252e6de094accad747c835fff1f692c872b3", kill_on_drop: false }` [INFO] [stdout] f1c76ac70d034171ba5357ebc2a7252e6de094accad747c835fff1f692c872b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c558e96ffecca0cf40ba97cdee3016b2e363b4480f61d00187fe4831488b5075 [INFO] running `Command { std: "docker" "start" "-a" "c558e96ffecca0cf40ba97cdee3016b2e363b4480f61d00187fe4831488b5075", 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)]` 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:17 [INFO] [stderr] | [INFO] [stderr] 48 | let mut in_node = None; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `out_node` is never read [INFO] [stderr] --> src/neat/genome.rs:49:17 [INFO] [stderr] | [INFO] [stderr] 49 | let mut out_node = None; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being 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)]` 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>) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` 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] = 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 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] = note: `Genome` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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: 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)]` on by default [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [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)]` 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 24 warnings (run `cargo fix --lib -p neuralnet` to apply 3 suggestions) [INFO] [stderr] warning: `neuralnet` (lib test) generated 17 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/neuralnet-a0bee4901177bb99) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test activation::test ... ok [INFO] [stdout] test matrix::dot_multiply ... ok [INFO] [stdout] test matrix::transpose ... ok [INFO] [stdout] test neat::genome::create_genome ... ok [INFO] [stdout] test matrix::feed_forward ... ok [INFO] [stdout] test matrix::subtract - should panic ... ok [INFO] [stdout] test training_data::shuffle ... FAILED [INFO] [stdout] test matrix::add - should panic ... ok [INFO] [stdout] test network::xor ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- training_data::shuffle stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'training_data::shuffle' panicked at src/training_data.rs:56:5: [INFO] [stdout] assertion `left != right` failed [INFO] [stdout] left: [[0.0], [1.0], [1.0], [0.0]] [INFO] [stdout] right: [[0.0], [1.0], [1.0], [0.0]] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5e5ef53f2fba - std::backtrace_rs::backtrace::libunwind::trace::h88deb10bd0145eb8 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5e5ef53f2fba - std::backtrace_rs::backtrace::trace_unsynchronized::he1036f5481c14dff [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5e5ef53f2fba - std::sys::backtrace::_print_fmt::hecc345b6e70c4b20 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5e5ef53f2fba - ::fmt::he089f96442833f67 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5e5ef5419ab3 - core::fmt::rt::Argument::fmt::h1f77cded99c71a14 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5e5ef5419ab3 - core::fmt::write::h2f210ed4c94745cb [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/fmt/mod.rs:1440:21 [INFO] [stdout] 6: 0x5e5ef53f00d3 - std::io::Write::write_fmt::he723b56f7e0bd522 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/io/mod.rs:1887:15 [INFO] [stdout] 7: 0x5e5ef53f2e02 - std::sys::backtrace::BacktraceLock::print::h810fbd31421329e6 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5e5ef53f44f0 - std::panicking::default_hook::{{closure}}::hbaad47ed9dc6356d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5e5ef53f428d - std::panicking::default_hook::h24e207139139d40a [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:319:9 [INFO] [stdout] 10: 0x5e5ef5384673 - as core::ops::function::Fn>::call::h63353c459bb27956 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 11: 0x5e5ef5384673 - test::test_main::{{closure}}::hd5af4d6c4e32fe08 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x5e5ef53f4d23 - as core::ops::function::Fn>::call::h3af32c23caf5c679 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 13: 0x5e5ef53f4d23 - std::panicking::rust_panic_with_hook::ha9131beeb2ddc506 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:836:13 [INFO] [stdout] 14: 0x5e5ef53f49fa - std::panicking::begin_panic_handler::{{closure}}::h1bba0eaeb6da506f [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:701:13 [INFO] [stdout] 15: 0x5e5ef53f34b9 - std::sys::backtrace::__rust_end_short_backtrace::h1d1ca3eade483f4c [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5e5ef53f468d - rust_begin_unwind [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:692:5 [INFO] [stdout] 17: 0x5e5ef53251f0 - core::panicking::panic_fmt::h896a0727a1a943f9 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5e5ef53255e2 - core::panicking::assert_failed_inner::ha51bf8fa7906dee4 [INFO] [stdout] 19: 0x5e5ef533a7d1 - core::panicking::assert_failed::h937bd0511337839b [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panicking.rs:364:5 [INFO] [stdout] 20: 0x5e5ef533de00 - neuralnet::training_data::shuffle::hdb1605d29a32d7d0 [INFO] [stdout] at /opt/rustwide/workdir/src/training_data.rs:56:5 [INFO] [stdout] 21: 0x5e5ef533d557 - neuralnet::training_data::shuffle::{{closure}}::h78ed4f811b91ff88 [INFO] [stdout] at /opt/rustwide/workdir/src/training_data.rs:44:13 [INFO] [stdout] 22: 0x5e5ef533ee46 - core::ops::function::FnOnce::call_once::h69840cfb3881c7bb [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5e5ef5389e1b - core::ops::function::FnOnce::call_once::h8acc80b5a33ff319 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5e5ef5389e1b - test::__rust_begin_short_backtrace::h52b6da716ad42b7d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:632:18 [INFO] [stdout] 25: 0x5e5ef5388d53 - test::run_test_in_process::{{closure}}::h2580047890abbefe [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:655:60 [INFO] [stdout] 26: 0x5e5ef5388d53 - as core::ops::function::FnOnce<()>>::call_once::h936f8c89d0a99c40 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x5e5ef5388d53 - std::panicking::try::do_call::h868682cc368697f9 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:584:40 [INFO] [stdout] 28: 0x5e5ef5388d53 - std::panicking::try::h0356ffc38cbb5501 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:547:19 [INFO] [stdout] 29: 0x5e5ef5388d53 - std::panic::catch_unwind::h74edf102a3082536 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panic.rs:358:14 [INFO] [stdout] 30: 0x5e5ef5388d53 - test::run_test_in_process::hc27d69576b7224e4 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:655:27 [INFO] [stdout] 31: 0x5e5ef5388d53 - test::run_test::{{closure}}::h9f3bfaf910429adb [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:576:43 [INFO] [stdout] 32: 0x5e5ef534ca85 - test::run_test::{{closure}}::h3d537cdce8ec5816 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:606:41 [INFO] [stdout] 33: 0x5e5ef534ca85 - std::sys::backtrace::__rust_begin_short_backtrace::hb51d9a6c67ec382d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x5e5ef53504c6 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5738f3abb9603fe6 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/thread/mod.rs:564:17 [INFO] [stdout] 35: 0x5e5ef53504c6 - as core::ops::function::FnOnce<()>>::call_once::h5e9f4b56e45e8108 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x5e5ef53504c6 - std::panicking::try::do_call::ha36db853b2f34e23 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:584:40 [INFO] [stdout] 37: 0x5e5ef53504c6 - std::panicking::try::h57e1aa33a0efb1be [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:547:19 [INFO] [stdout] 38: 0x5e5ef53504c6 - std::panic::catch_unwind::hdb71a6103024936e [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x5e5ef53504c6 - std::thread::Builder::spawn_unchecked_::{{closure}}::h8caa22218f423ab1 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/thread/mod.rs:562:30 [INFO] [stdout] 40: 0x5e5ef53504c6 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb3b44780e9c053e5 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5e5ef53f8b8b - as core::ops::function::FnOnce>::call_once::h2649f14f1b1c150d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:1993:9 [INFO] [stdout] 42: 0x5e5ef53f8b8b - as core::ops::function::FnOnce>::call_once::hb2ade58cb34e1bc4 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:1993:9 [INFO] [stdout] 43: 0x5e5ef53f8b8b - std::sys::pal::unix::thread::Thread::new::thread_start::ha07e360225fa3528 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 44: 0x75c455d83ac3 - [INFO] [stdout] 45: 0x75c455e14a04 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] training_data::shuffle [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.79s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "c558e96ffecca0cf40ba97cdee3016b2e363b4480f61d00187fe4831488b5075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c558e96ffecca0cf40ba97cdee3016b2e363b4480f61d00187fe4831488b5075", kill_on_drop: false }` [INFO] [stdout] c558e96ffecca0cf40ba97cdee3016b2e363b4480f61d00187fe4831488b5075