[INFO] cloning repository https://github.com/realRicFlair/rustnn
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/realRicFlair/rustnn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FrealRicFlair%2Frustnn", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FrealRicFlair%2Frustnn'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8f276273ee7d2d7e4425647d324f3bdcff053fd1
[INFO] checking realRicFlair/rustnn against master#2aabf3ce0569dd7c8c2d2a27944850056dcf2566 for pr-156508
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FrealRicFlair%2Frustnn" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/realRicFlair/rustnn
[INFO] finished tweaking git repo https://github.com/realRicFlair/rustnn
[INFO] tweaked toml for git repo https://github.com/realRicFlair/rustnn written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/realRicFlair/rustnn on toolchain 2aabf3ce0569dd7c8c2d2a27944850056dcf2566
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/realRicFlair/rustnn 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" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded realfft v3.5.0
[INFO] [stderr]   Downloaded ndarray-conv v0.6.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6f7af8e2b2c682a3bb771d03d2d59f4929e82bd89d432af607470c2950b9dc8f
[INFO] running `Command { std: "docker" "start" "-a" "6f7af8e2b2c682a3bb771d03d2d59f4929e82bd89d432af607470c2950b9dc8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6f7af8e2b2c682a3bb771d03d2d59f4929e82bd89d432af607470c2950b9dc8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f7af8e2b2c682a3bb771d03d2d59f4929e82bd89d432af607470c2950b9dc8f", kill_on_drop: false }`
[INFO] [stdout] 6f7af8e2b2c682a3bb771d03d2d59f4929e82bd89d432af607470c2950b9dc8f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ff1bc38a2363969d6e2e36d22936643578cc70141b1d752241d4e1b131d2a5d3
[INFO] running `Command { std: "docker" "start" "-a" "ff1bc38a2363969d6e2e36d22936643578cc70141b1d752241d4e1b131d2a5d3", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling wayland-backend v0.3.14
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking event-listener v5.4.1
[INFO] [stderr]    Compiling zerocopy v0.8.40
[INFO] [stderr]    Compiling zerocopy-derive v0.8.40
[INFO] [stderr]     Checking async-io v2.6.0
[INFO] [stderr]    Compiling equator-macro v0.4.2
[INFO] [stderr]     Checking ttf-parser v0.25.1
[INFO] [stderr]     Checking async-executor v1.14.0
[INFO] [stderr]    Compiling profiling-procmacros v1.0.17
[INFO] [stderr]     Checking as-slice v0.2.1
[INFO] [stderr]    Compiling av-scenechange v0.14.1
[INFO] [stderr]    Compiling built v0.8.0
[INFO] [stderr]     Checking tiny-skia-path v0.11.4
[INFO] [stderr]     Checking nom v8.0.0
[INFO] [stderr]     Checking aligned v0.4.3
[INFO] [stderr]     Checking event-listener-strategy v0.5.4
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]     Checking core2 v0.4.0
[INFO] [stderr]     Checking async-channel v2.5.0
[INFO] [stderr]     Checking async-lock v3.4.2
[INFO] [stderr]     Checking async-broadcast v0.7.2
[INFO] [stderr]     Checking profiling v1.0.17
[INFO] [stderr]     Checking y4m v0.8.0
[INFO] [stderr]    Compiling pastey v0.1.1
[INFO] [stderr]     Checking tiny-skia v0.11.4
[INFO] [stderr]     Checking bitstream-io v4.9.0
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking blocking v1.6.2
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking maybe-rayon v0.1.1
[INFO] [stderr]     Checking async-signal v0.2.13
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]     Checking async-process v2.5.0
[INFO] [stderr]    Compiling fax_derive v0.2.0
[INFO] [stderr]    Compiling rav1e v0.8.1
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]     Checking imgref v1.12.0
[INFO] [stderr]     Checking zune-jpeg v0.4.21
[INFO] [stderr]     Checking zune-inflate v0.2.54
[INFO] [stderr]     Checking avif-serialize v0.8.8
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking bit_field v0.10.3
[INFO] [stderr]     Checking rgb v0.8.53
[INFO] [stderr]     Checking equator v0.4.2
[INFO] [stderr]     Checking lebe v0.5.3
[INFO] [stderr]     Checking loop9 v0.1.5
[INFO] [stderr]     Checking png v0.18.1
[INFO] [stderr]     Checking aligned-vec v0.6.4
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]     Checking strength_reduce v0.2.4
[INFO] [stderr]     Checking primal-check v0.3.4
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking castaway v0.2.4
[INFO] [stderr]     Checking v_frame v0.3.9
[INFO] [stderr]     Checking transpose v0.2.3
[INFO] [stderr]     Checking fax v0.2.6
[INFO] [stderr]     Checking rustfft v6.4.1
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking wayland-client v0.31.13
[INFO] [stderr]     Checking wayland-csd-frame v0.3.0
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]     Checking ndarray v0.17.2
[INFO] [stderr]     Checking wayland-protocols v0.32.11
[INFO] [stderr]     Checking wayland-cursor v0.31.13
[INFO] [stderr]     Checking calloop-wayland-source v0.3.0
[INFO] [stderr]     Checking calloop-wayland-source v0.4.1
[INFO] [stderr]     Checking owned_ttf_parser v0.25.1
[INFO] [stderr]     Checking ab_glyph v0.2.32
[INFO] [stderr]     Checking av1-grain v0.2.5
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling zvariant_utils v3.3.0
[INFO] [stderr]    Compiling enumflags2 v0.7.12
[INFO] [stderr]    Compiling quick-xml v0.38.4
[INFO] [stderr]    Compiling zvariant_derive v5.10.0
[INFO] [stderr]    Compiling zvariant v5.10.0
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking epaint v0.33.3
[INFO] [stderr]     Checking realfft v3.5.0
[INFO] [stderr]     Checking tiff v0.10.3
[INFO] [stderr]     Checking exr v1.74.0
[INFO] [stderr]     Checking zbus_names v4.3.1
[INFO] [stderr]     Checking ndarray-conv v0.6.1
[INFO] [stderr]     Checking egui v0.33.3
[INFO] [stderr]     Checking zbus_xml v5.1.0
[INFO] [stderr]     Checking zbus-lockstep v0.5.2
[INFO] [stderr]    Compiling zbus_macros v5.14.0
[INFO] [stderr]     Checking wayland-protocols-wlr v0.3.11
[INFO] [stderr]     Checking wayland-protocols-plasma v0.3.11
[INFO] [stderr]     Checking wayland-protocols-experimental v20250721.0.1
[INFO] [stderr]     Checking wayland-protocols-misc v0.3.11
[INFO] [stderr]     Checking ravif v0.12.0
[INFO] [stderr]    Compiling zbus-lockstep-macros v0.5.2
[INFO] [stderr]     Checking image v0.25.9
[INFO] [stderr]     Checking smithay-client-toolkit v0.19.2
[INFO] [stderr]     Checking smithay-client-toolkit v0.20.0
[INFO] [stderr]     Checking zbus v5.14.0
[INFO] [stderr]     Checking sctk-adwaita v0.10.1
[INFO] [stderr]     Checking winit v0.30.13
[INFO] [stderr]     Checking smithay-clipboard v0.7.3
[INFO] [stderr]     Checking egui_glow v0.33.3
[INFO] [stderr]     Checking arboard v3.6.1
[INFO] [stderr]     Checking glutin-winit v0.5.0
[INFO] [stderr]     Checking atspi-common v0.9.0
[INFO] [stderr]     Checking atspi-proxies v0.9.0
[INFO] [stderr]     Checking accesskit_atspi_common v0.14.2
[INFO] [stderr]     Checking atspi-connection v0.9.0
[INFO] [stderr]     Checking atspi v0.25.0
[INFO] [stderr]     Checking accesskit_unix v0.17.2
[INFO] [stderr]     Checking accesskit_winit v0.29.2
[INFO] [stderr]     Checking egui-winit v0.33.3
[INFO] [stderr]     Checking eframe v0.33.3
[INFO] [stderr]     Checking rustnn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/gui.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::PathBuf;
[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: `ArrayView3`
[INFO] [stdout]  --> src/Conv2d.rs:1:64
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{Array1, Array2, Array3, Array4, ArrayBase, Data, ArrayView3, Axis, Ix3};
[INFO] [stdout]   |                                                                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Rng` and `rngs::StdRng`
[INFO] [stdout]  --> src/Conv2d.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::{Rng, rngs::StdRng};
[INFO] [stdout]   |            ^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array3`, `Array4`, `ArrayBase`, `ArrayView3`, `Axis`, `Data`, and `Ix3`
[INFO] [stdout]  --> src/Linear.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{Array1, Array2, Array3, Array4, ArrayBase, Data, ArrayView3, Axis, Ix3};
[INFO] [stdout]   |                               ^^^^^^  ^^^^^^  ^^^^^^^^^  ^^^^  ^^^^^^^^^^  ^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/Linear.rs:18:49
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let bias = Array1::<f32>::from_shape_fn((out_dims), |_| {rng.random_range(-0.1..0.1)});
[INFO] [stdout]    |                                                 ^        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 18 -         let bias = Array1::<f32>::from_shape_fn((out_dims), |_| {rng.random_range(-0.1..0.1)});
[INFO] [stdout] 18 +         let bias = Array1::<f32>::from_shape_fn(out_dims , |_| {rng.random_range(-0.1..0.1)});
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Array2`
[INFO] [stdout]  --> src/main.rs:6:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ndarray::{Array3, Array2, array};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::empty`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::empty;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:24:27
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let INFERENCE: bool = (args.get(1).unwrap() == "-predict");
[INFO] [stdout]    |                           ^                                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 24 -     let INFERENCE: bool = (args.get(1).unwrap() == "-predict");
[INFO] [stdout] 24 +     let INFERENCE: bool = args.get(1).unwrap() == "-predict" ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:25:26
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let TRAINING: bool = (args.get(1).unwrap() == "-train");
[INFO] [stdout]    |                          ^                                ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 25 -     let TRAINING: bool = (args.get(1).unwrap() == "-train");
[INFO] [stdout] 25 +     let TRAINING: bool = args.get(1).unwrap() == "-train" ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/gui.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::PathBuf;
[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: `ArrayView3`
[INFO] [stdout]  --> src/Conv2d.rs:1:64
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{Array1, Array2, Array3, Array4, ArrayBase, Data, ArrayView3, Axis, Ix3};
[INFO] [stdout]   |                                                                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Rng` and `rngs::StdRng`
[INFO] [stdout]  --> src/Conv2d.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::{Rng, rngs::StdRng};
[INFO] [stdout]   |            ^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array3`, `Array4`, `ArrayBase`, `ArrayView3`, `Axis`, `Data`, and `Ix3`
[INFO] [stdout]  --> src/Linear.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{Array1, Array2, Array3, Array4, ArrayBase, Data, ArrayView3, Axis, Ix3};
[INFO] [stdout]   |                               ^^^^^^  ^^^^^^  ^^^^^^^^^  ^^^^  ^^^^^^^^^^  ^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/Linear.rs:18:49
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let bias = Array1::<f32>::from_shape_fn((out_dims), |_| {rng.random_range(-0.1..0.1)});
[INFO] [stdout]    |                                                 ^        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 18 -         let bias = Array1::<f32>::from_shape_fn((out_dims), |_| {rng.random_range(-0.1..0.1)});
[INFO] [stdout] 18 +         let bias = Array1::<f32>::from_shape_fn(out_dims , |_| {rng.random_range(-0.1..0.1)});
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Array2`
[INFO] [stdout]  --> src/main.rs:6:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ndarray::{Array3, Array2, array};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::empty`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::empty;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:24:27
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let INFERENCE: bool = (args.get(1).unwrap() == "-predict");
[INFO] [stdout]    |                           ^                                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 24 -     let INFERENCE: bool = (args.get(1).unwrap() == "-predict");
[INFO] [stdout] 24 +     let INFERENCE: bool = args.get(1).unwrap() == "-predict" ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:25:26
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let TRAINING: bool = (args.get(1).unwrap() == "-train");
[INFO] [stdout]    |                          ^                                ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 25 -     let TRAINING: bool = (args.get(1).unwrap() == "-train");
[INFO] [stdout] 25 +     let TRAINING: bool = args.get(1).unwrap() == "-train" ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/Linear.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut output = self.weights.dot(input) + &self.bias;
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `weight_rows`
[INFO] [stdout]   --> src/Linear.rs:28:14
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let (weight_rows, weight_cols) = self.weights.dim();
[INFO] [stdout]    |              ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weight_rows`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `predict` is never used
[INFO] [stdout]   --> src/main.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn predict() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_length` is never used
[INFO] [stdout]   --> src/main.rs:90:4
[INFO] [stdout]    |
[INFO] [stdout] 90 | fn add_length(s: &str) -> Vec<String> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `float_to_u8` is never used
[INFO] [stdout]   --> src/gui.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn float_to_u8(v: f32) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Conv2d` is never constructed
[INFO] [stdout]  --> src/Conv2d.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Conv2d {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_random` and `forward` are never used
[INFO] [stdout]   --> src/Conv2d.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Conv2d {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 17 |     pub fn new_random(
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn forward(&self, input: &Array3<f32>) -> Array3<f32>{
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `relu` is never used
[INFO] [stdout]    --> src/Conv2d.rs:122:8
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub fn relu(x: f32) -> f32 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sigmoid` is never used
[INFO] [stdout]    --> src/Conv2d.rs:126:8
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub fn sigmoid(x: f32) -> f32 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `he_init_kernels` is never used
[INFO] [stdout]    --> src/Conv2d.rs:130:8
[INFO] [stdout]     |
[INFO] [stdout] 130 | pub fn he_init_kernels(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `zero_bias` is never used
[INFO] [stdout]    --> src/Conv2d.rs:149:8
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub fn zero_bias(out_channels: usize) -> Array1<f32> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Linear` is never constructed
[INFO] [stdout]  --> src/Linear.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Linear {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `forward` are never used
[INFO] [stdout]   --> src/Linear.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Linear {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn forward(&self, input: &Array1<f32>,) -> Array1<f32>{
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `relu` is never used
[INFO] [stdout]   --> src/Linear.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn relu(x: f32) -> f32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sigmoid` is never used
[INFO] [stdout]   --> src/Linear.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn sigmoid(x: f32) -> f32 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Conv2d` should have a snake case name
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod Conv2d;
[INFO] [stdout]   |     ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `conv2d`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Linear` should have a snake case name
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | mod Linear;
[INFO] [stdout]   |     ^^^^^^ help: convert the identifier to snake case: `linear`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `INFERENCE` should have a snake case name
[INFO] [stdout]   --> src/main.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let INFERENCE: bool = (args.get(1).unwrap() == "-predict");
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `inference`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `TRAINING` should have a snake case name
[INFO] [stdout]   --> src/main.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let TRAINING: bool = (args.get(1).unwrap() == "-train");
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `training`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/Linear.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut output = self.weights.dot(input) + &self.bias;
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `weight_rows`
[INFO] [stdout]   --> src/Linear.rs:28:14
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let (weight_rows, weight_cols) = self.weights.dim();
[INFO] [stdout]    |              ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weight_rows`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `predict` is never used
[INFO] [stdout]   --> src/main.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn predict() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_length` is never used
[INFO] [stdout]   --> src/main.rs:90:4
[INFO] [stdout]    |
[INFO] [stdout] 90 | fn add_length(s: &str) -> Vec<String> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `float_to_u8` is never used
[INFO] [stdout]   --> src/gui.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn float_to_u8(v: f32) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Conv2d` is never constructed
[INFO] [stdout]  --> src/Conv2d.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Conv2d {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_random` and `forward` are never used
[INFO] [stdout]   --> src/Conv2d.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Conv2d {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 17 |     pub fn new_random(
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn forward(&self, input: &Array3<f32>) -> Array3<f32>{
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `relu` is never used
[INFO] [stdout]    --> src/Conv2d.rs:122:8
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub fn relu(x: f32) -> f32 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sigmoid` is never used
[INFO] [stdout]    --> src/Conv2d.rs:126:8
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub fn sigmoid(x: f32) -> f32 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `he_init_kernels` is never used
[INFO] [stdout]    --> src/Conv2d.rs:130:8
[INFO] [stdout]     |
[INFO] [stdout] 130 | pub fn he_init_kernels(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `zero_bias` is never used
[INFO] [stdout]    --> src/Conv2d.rs:149:8
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub fn zero_bias(out_channels: usize) -> Array1<f32> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Linear` is never constructed
[INFO] [stdout]  --> src/Linear.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Linear {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `forward` are never used
[INFO] [stdout]   --> src/Linear.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Linear {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn forward(&self, input: &Array1<f32>,) -> Array1<f32>{
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `relu` is never used
[INFO] [stdout]   --> src/Linear.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn relu(x: f32) -> f32 {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sigmoid` is never used
[INFO] [stdout]   --> src/Linear.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn sigmoid(x: f32) -> f32 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Conv2d` should have a snake case name
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod Conv2d;
[INFO] [stdout]   |     ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `conv2d`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Linear` should have a snake case name
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | mod Linear;
[INFO] [stdout]   |     ^^^^^^ help: convert the identifier to snake case: `linear`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `INFERENCE` should have a snake case name
[INFO] [stdout]   --> src/main.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let INFERENCE: bool = (args.get(1).unwrap() == "-predict");
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `inference`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `TRAINING` should have a snake case name
[INFO] [stdout]   --> src/main.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let TRAINING: bool = (args.get(1).unwrap() == "-train");
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `training`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s
[INFO] running `Command { std: "docker" "inspect" "ff1bc38a2363969d6e2e36d22936643578cc70141b1d752241d4e1b131d2a5d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff1bc38a2363969d6e2e36d22936643578cc70141b1d752241d4e1b131d2a5d3", kill_on_drop: false }`
[INFO] [stdout] ff1bc38a2363969d6e2e36d22936643578cc70141b1d752241d4e1b131d2a5d3
