[INFO] cloning repository https://github.com/tadeegan/nn-digits-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tadeegan/nn-digits-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftadeegan%2Fnn-digits-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftadeegan%2Fnn-digits-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c1c57320e285dd708334482239280310817689c6
[INFO] checking tadeegan/nn-digits-rust against master#b3bd7058c139e71bae0862ef8f8ac936208873e9 for pr-123752
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftadeegan%2Fnn-digits-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tadeegan/nn-digits-rust on toolchain b3bd7058c139e71bae0862ef8f8ac936208873e9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/tadeegan/nn-digits-rust
[INFO] finished tweaking git repo https://github.com/tadeegan/nn-digits-rust
[INFO] tweaked toml for git repo https://github.com/tadeegan/nn-digits-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/tadeegan/nn-digits-rust 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" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[ERROR] this task or one of its parent failed!
[ERROR] no output for 300 seconds
[ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace.
[INFO] checking tadeegan/nn-digits-rust against try#57fe1b734d9ff1c8a92bda60b85506b9648158d3 for pr-123752
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftadeegan%2Fnn-digits-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tadeegan/nn-digits-rust on toolchain 57fe1b734d9ff1c8a92bda60b85506b9648158d3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fe1b734d9ff1c8a92bda60b85506b9648158d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/tadeegan/nn-digits-rust
[INFO] finished tweaking git repo https://github.com/tadeegan/nn-digits-rust
[INFO] tweaked toml for git repo https://github.com/tadeegan/nn-digits-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/tadeegan/nn-digits-rust 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" "+57fe1b734d9ff1c8a92bda60b85506b9648158d3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking tadeegan/nn-digits-rust against try#57fe1b734d9ff1c8a92bda60b85506b9648158d3 for pr-123752
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftadeegan%2Fnn-digits-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tadeegan/nn-digits-rust on toolchain 57fe1b734d9ff1c8a92bda60b85506b9648158d3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fe1b734d9ff1c8a92bda60b85506b9648158d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/tadeegan/nn-digits-rust
[INFO] finished tweaking git repo https://github.com/tadeegan/nn-digits-rust
[INFO] tweaked toml for git repo https://github.com/tadeegan/nn-digits-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/tadeegan/nn-digits-rust 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" "+57fe1b734d9ff1c8a92bda60b85506b9648158d3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded matrixmultiply v0.1.13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+57fe1b734d9ff1c8a92bda60b85506b9648158d3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ec384e488afea9037b8c7241e19cc7983dfd8c4fdbf5d2e9ec321877d7f5ab43
[INFO] running `Command { std: "docker" "start" "-a" "ec384e488afea9037b8c7241e19cc7983dfd8c4fdbf5d2e9ec321877d7f5ab43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ec384e488afea9037b8c7241e19cc7983dfd8c4fdbf5d2e9ec321877d7f5ab43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ec384e488afea9037b8c7241e19cc7983dfd8c4fdbf5d2e9ec321877d7f5ab43", kill_on_drop: false }`
[INFO] [stdout] ec384e488afea9037b8c7241e19cc7983dfd8c4fdbf5d2e9ec321877d7f5ab43
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+57fe1b734d9ff1c8a92bda60b85506b9648158d3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a2753211465d6d75e14a6facd0458dce5eb3e857b5716780a1cc48216b9ee705
[INFO] running `Command { std: "docker" "start" "-a" "a2753211465d6d75e14a6facd0458dce5eb3e857b5716780a1cc48216b9ee705", kill_on_drop: false }`
[INFO] [stderr]     Checking num-traits v0.1.40
[INFO] [stderr]     Checking libc v0.2.32
[INFO] [stderr]    Compiling matrixmultiply v0.1.13
[INFO] [stderr]     Checking rawpointer v0.1.0
[INFO] [stderr]     Checking serde v1.0.15
[INFO] [stderr]     Checking num-integer v0.1.35
[INFO] [stderr]     Checking memchr v1.0.1
[INFO] [stderr]     Checking rand v0.3.17
[INFO] [stderr]     Checking csv-core v0.1.3
[INFO] [stderr]     Checking num-iter v0.1.34
[INFO] [stderr]     Checking num v0.1.40
[INFO] [stderr]     Checking rulinalg v0.4.2
[INFO] [stderr]     Checking csv v1.0.0-beta.5
[INFO] [stderr]     Checking digits v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::str`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::str;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `activations::TanH`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use activations::TanH;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::str;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `activations::TanH`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use activations::TanH;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:65:29
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     let y = (i + a);
[INFO] [stdout]    |                             ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 65 -                     let y = (i + a);
[INFO] [stdout] 65 +                     let y = i + a;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:66:29
[INFO] [stdout]    |
[INFO] [stdout] 66 |                     let x = (j + b);
[INFO] [stdout]    |                             ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 66 -                     let x = (j + b);
[INFO] [stdout] 66 +                     let x = j + b;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:87:29
[INFO] [stdout]    |
[INFO] [stdout] 87 |                     let y = (i + a);
[INFO] [stdout]    |                             ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 87 -                     let y = (i + a);
[INFO] [stdout] 87 +                     let y = i + a;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:88:29
[INFO] [stdout]    |
[INFO] [stdout] 88 |                     let x = (j + b);
[INFO] [stdout]    |                             ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 88 -                     let x = (j + b);
[INFO] [stdout] 88 +                     let x = j + b;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:65:29
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     let y = (i + a);
[INFO] [stdout]    |                             ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 65 -                     let y = (i + a);
[INFO] [stdout] 65 +                     let y = i + a;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:66:29
[INFO] [stdout]    |
[INFO] [stdout] 66 |                     let x = (j + b);
[INFO] [stdout]    |                             ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 66 -                     let x = (j + b);
[INFO] [stdout] 66 +                     let x = j + b;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:87:29
[INFO] [stdout]    |
[INFO] [stdout] 87 |                     let y = (i + a);
[INFO] [stdout]    |                             ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 87 -                     let y = (i + a);
[INFO] [stdout] 87 +                     let y = i + a;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:88:29
[INFO] [stdout]    |
[INFO] [stdout] 88 |                     let x = (j + b);
[INFO] [stdout]    |                             ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 88 -                     let x = (j + b);
[INFO] [stdout] 88 +                     let x = j + b;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Matrix` is imported redundantly
[INFO] [stdout]    --> src/main.rs:261:9
[INFO] [stdout]     |
[INFO] [stdout] 260 |     use super::*;
[INFO] [stdout]     |         -------- the item `Matrix` is already imported here
[INFO] [stdout] 261 |     use rulinalg::matrix::Matrix;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rulinalg::matrix::BaseMatrixMut`
[INFO] [stdout]    --> src/main.rs:262:9
[INFO] [stdout]     |
[INFO] [stdout] 262 |     use rulinalg::matrix::BaseMatrixMut;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `BaseMatrix` is imported redundantly
[INFO] [stdout]    --> src/main.rs:263:9
[INFO] [stdout]     |
[INFO] [stdout] 260 |     use super::*;
[INFO] [stdout]     |         -------- the item `BaseMatrix` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 263 |     use rulinalg::matrix::BaseMatrix;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:100:32
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn example() -> Result<(), Box<Error>> {
[INFO] [stdout]     |                                ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn example() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:100:32
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn example() -> Result<(), Box<Error>> {
[INFO] [stdout]     |                                ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn example() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loss`
[INFO] [stdout]    --> src/main.rs:178:17
[INFO] [stdout]     |
[INFO] [stdout] 178 |             let loss = a2.sum() - 1.0;
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_loss`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:119:13
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let mut label_matrix = Matrix::new(10, 1, dat);
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sigmoid_loss` is never used
[INFO] [stdout]   --> src/main.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn sigmoid_loss(yhat: f64, y: f64) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `loss` is never used
[INFO] [stdout]   --> src/main.rs:42:4
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn loss(yhat: &Matrix<f64>, y: &Matrix<f64>) -> Matrix<f64> {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_dim` is never used
[INFO] [stdout]   --> src/main.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn print_dim(m: &Matrix<f64>) {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `N` should have a snake case name
[INFO] [stdout]   --> src/main.rs:55:29
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn conv(w : &Mat, xi: &Mat, N : usize) -> Matrix<f64> {
[INFO] [stdout]    |                             ^ help: convert the identifier to snake case: `n`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X` should have a snake case name
[INFO] [stdout]   --> src/main.rs:77:18
[INFO] [stdout]    |
[INFO] [stdout] 77 | fn conv_gradient(X : &Mat, dLdz0 : &Mat, N : usize) -> Mat {
[INFO] [stdout]    |                  ^ help: convert the identifier to snake case (notice the capitalization): `x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dLdz0` should have a snake case name
[INFO] [stdout]   --> src/main.rs:77:28
[INFO] [stdout]    |
[INFO] [stdout] 77 | fn conv_gradient(X : &Mat, dLdz0 : &Mat, N : usize) -> Mat {
[INFO] [stdout]    |                            ^^^^^ help: convert the identifier to snake case: `d_ldz0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `N` should have a snake case name
[INFO] [stdout]   --> src/main.rs:77:42
[INFO] [stdout]    |
[INFO] [stdout] 77 | fn conv_gradient(X : &Mat, dLdz0 : &Mat, N : usize) -> Mat {
[INFO] [stdout]    |                                          ^ help: convert the identifier to snake case: `n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `W1` should have a snake case name
[INFO] [stdout]    --> src/main.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let mut W1: Matrix<f64> = reproducible_random_matrix(26 * 26, hidden_layer_nodes); // 784x16
[INFO] [stdout]     |             ^^ help: convert the identifier to snake case (notice the capitalization): `w1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `W2` should have a snake case name
[INFO] [stdout]    --> src/main.rs:143:13
[INFO] [stdout]     |
[INFO] [stdout] 143 |     let mut W2: Matrix<f64> = reproducible_random_matrix(hidden_layer_nodes, 10); // 16x10
[INFO] [stdout]     |             ^^ help: convert the identifier to snake case (notice the capitalization): `w2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dLdW2` should have a snake case name
[INFO] [stdout]    --> src/main.rs:181:17
[INFO] [stdout]     |
[INFO] [stdout] 181 |             let dLdW2 = &a1 * (&a2 - y).transpose(); // -> 16x10
[INFO] [stdout]     |                 ^^^^^ help: convert the identifier to snake case: `d_ld_w2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dLdz2` should have a snake case name
[INFO] [stdout]    --> src/main.rs:189:17
[INFO] [stdout]     |
[INFO] [stdout] 189 |             let dLdz2 = &a2 - y; // 10x1
[INFO] [stdout]     |                 ^^^^^ help: convert the identifier to snake case: `d_ldz2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dLda1` should have a snake case name
[INFO] [stdout]    --> src/main.rs:190:17
[INFO] [stdout]     |
[INFO] [stdout] 190 |             let dLda1 = &W2 * dLdz2; // 16x10 * 10x1 => 16x1
[INFO] [stdout]     |                 ^^^^^ help: convert the identifier to snake case: `d_lda1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dLdz1` should have a snake case name
[INFO] [stdout]    --> src/main.rs:191:17
[INFO] [stdout]     |
[INFO] [stdout] 191 |             let dLdz1 = dLda1.elemul(&z1.apply(&|x| ReLU::derivative(x))); // Apply sigmoid derivative => 16x1
[INFO] [stdout]     |                 ^^^^^ help: convert the identifier to snake case: `d_ldz1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dLdW1` should have a snake case name
[INFO] [stdout]    --> src/main.rs:192:17
[INFO] [stdout]     |
[INFO] [stdout] 192 |             let dLdW1 = a0 * dLdz1.transpose(); // (26*26)x16
[INFO] [stdout]     |                 ^^^^^ help: convert the identifier to snake case: `d_ld_w1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dLda0` should have a snake case name
[INFO] [stdout]    --> src/main.rs:198:17
[INFO] [stdout]     |
[INFO] [stdout] 198 |             let dLda0 =  &W1 * dLdz1; // (26*26)xhidden_layer_nodes * hidden_layer_nodesx1 => 26*26x1
[INFO] [stdout]     |                 ^^^^^ help: convert the identifier to snake case: `d_lda0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dLdz0` should have a snake case name
[INFO] [stdout]    --> src/main.rs:200:17
[INFO] [stdout]     |
[INFO] [stdout] 200 |             let dLdz0 = dLda0.elemul(da0dz0); // 16x1
[INFO] [stdout]     |                 ^^^^^ help: convert the identifier to snake case: `d_ldz0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dLdw0` should have a snake case name
[INFO] [stdout]    --> src/main.rs:201:17
[INFO] [stdout]     |
[INFO] [stdout] 201 |             let dLdw0 = conv_gradient(xi, &dLdz0, 28);
[INFO] [stdout]     |                 ^^^^^ help: convert the identifier to snake case: `d_ldw0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> src/main.rs:269:19
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let out = conv(w, x, 4);
[INFO] [stdout]     |                   ^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&Matrix<f64>`, found `Matrix<_>`
[INFO] [stdout]    --> src/main.rs:269:24
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let out = conv(w, x, 4);
[INFO] [stdout]     |                        ^
[INFO] [stdout]     = note: expected reference `&Matrix<f64>`
[INFO] [stdout]                   found struct `Matrix<_>`
[INFO] [stdout] note: expected `&Matrix<f64>`, found `Matrix<_>`
[INFO] [stdout]    --> src/main.rs:269:27
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let out = conv(w, x, 4);
[INFO] [stdout]     |                           ^
[INFO] [stdout]     = note: expected reference `&Matrix<f64>`
[INFO] [stdout]                   found struct `Matrix<_>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:55:4
[INFO] [stdout]     |
[INFO] [stdout] 55  | fn conv(w : &Mat, xi: &Mat, N : usize) -> Matrix<f64> {
[INFO] [stdout]     |    ^^^^ --------  --------  ---------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let out = conv(&w, x, 4);
[INFO] [stdout]     |                        +
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let out = conv(w, &x, 4);
[INFO] [stdout]     |                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 26 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> src/main.rs:278:19
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let out = conv(w, x, 4);
[INFO] [stdout]     |                   ^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&Matrix<f64>`, found `Matrix<_>`
[INFO] [stdout]    --> src/main.rs:278:24
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let out = conv(w, x, 4);
[INFO] [stdout]     |                        ^
[INFO] [stdout]     = note: expected reference `&Matrix<f64>`
[INFO] [stdout]                   found struct `Matrix<_>`
[INFO] [stdout] note: expected `&Matrix<f64>`, found `Matrix<_>`
[INFO] [stdout]    --> src/main.rs:278:27
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let out = conv(w, x, 4);
[INFO] [stdout]     |                           ^
[INFO] [stdout]     = note: expected reference `&Matrix<f64>`
[INFO] [stdout]                   found struct `Matrix<_>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/main.rs:55:4
[INFO] [stdout]     |
[INFO] [stdout] 55  | fn conv(w : &Mat, xi: &Mat, N : usize) -> Matrix<f64> {
[INFO] [stdout]     |    ^^^^ --------  --------  ---------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let out = conv(&w, x, 4);
[INFO] [stdout]     |                        +
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let out = conv(w, &x, 4);
[INFO] [stdout]     |                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loss`
[INFO] [stdout]    --> src/main.rs:178:17
[INFO] [stdout]     |
[INFO] [stdout] 178 |             let loss = a2.sum() - 1.0;
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_loss`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:119:13
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let mut label_matrix = Matrix::new(10, 1, dat);
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `digits` (bin "digits" test) due to 3 previous errors; 12 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a2753211465d6d75e14a6facd0458dce5eb3e857b5716780a1cc48216b9ee705", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2753211465d6d75e14a6facd0458dce5eb3e857b5716780a1cc48216b9ee705", kill_on_drop: false }`
[INFO] [stdout] a2753211465d6d75e14a6facd0458dce5eb3e857b5716780a1cc48216b9ee705
