[INFO] cloning repository https://github.com/dkudernatsch/mle-nn-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dkudernatsch/mle-nn-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdkudernatsch%2Fmle-nn-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdkudernatsch%2Fmle-nn-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5a9b0b4288f2c0cba34be0099c2b0e9bc4baa737
[INFO] checking dkudernatsch/mle-nn-rs against try#09eeb2bacb9b40b2ed1d47f03177442c0632cda1 for pr-157710
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdkudernatsch%2Fmle-nn-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dkudernatsch/mle-nn-rs
[INFO] finished tweaking git repo https://github.com/dkudernatsch/mle-nn-rs
[INFO] tweaked toml for git repo https://github.com/dkudernatsch/mle-nn-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dkudernatsch/mle-nn-rs on toolchain 09eeb2bacb9b40b2ed1d47f03177442c0632cda1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dkudernatsch/mle-nn-rs 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" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f62d07d1116e9503a7dc2b28c804da2f06cb9cf2df9e30f1f9e146300d3570c2
[INFO] running `Command { std: "docker" "start" "f62d07d1116e9503a7dc2b28c804da2f06cb9cf2df9e30f1f9e146300d3570c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f62d07d1116e9503a7dc2b28c804da2f06cb9cf2df9e30f1f9e146300d3570c2" "/opt/rustwide/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f62d07d1116e9503a7dc2b28c804da2f06cb9cf2df9e30f1f9e146300d3570c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f62d07d1116e9503a7dc2b28c804da2f06cb9cf2df9e30f1f9e146300d3570c2" "/opt/rustwide/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling libc v0.2.53
[INFO] [stderr]    Compiling num-complex v0.2.1
[INFO] [stderr]    Compiling typenum v1.10.0
[INFO] [stderr]    Compiling memchr v2.2.0
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]     Checking rawpointer v0.1.0
[INFO] [stderr]     Checking libm v0.1.2
[INFO] [stderr]     Checking matrixmultiply v0.2.2
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.3
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking generic-array v0.12.0
[INFO] [stderr]     Checking alga v0.9.0
[INFO] [stderr]     Checking nalgebra v0.18.0
[INFO] [stderr]     Checking mle-nn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `DynMatrixSlice`
[INFO] [stdout]  --> src/images.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::nn::{DynMatrix, DynMatrixSlice};
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ArrayStorage`, `Matrix`, and `U28`
[INFO] [stdout]  --> src/images.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use nalgebra::{ArrayStorage, Matrix, U28};
[INFO] [stdout]   |                ^^^^^^^^^^^^  ^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryFrom`
[INFO] [stdout]  --> src/images.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::convert::TryFrom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nalgebra::base::dimension::Dynamic`
[INFO] [stdout]  --> src/nn.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use nalgebra::base::dimension::Dynamic;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SliceStorage`, `U1`, and `VecStorage`
[INFO] [stdout]  --> src/nn.rs:2:56
[INFO] [stdout]   |
[INFO] [stdout] 2 | use nalgebra::{DMatrix, DMatrixSlice, DMatrixSliceMut, SliceStorage, VecStorage, U1};
[INFO] [stdout]   |                                                        ^^^^^^^^^^^^  ^^^^^^^^^^  ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/nn.rs:516:20
[INFO] [stdout]     |
[INFO] [stdout] 516 |                 if (i == 25) {
[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] 516 -                 if (i == 25) {
[INFO] [stdout] 516 +                 if i == 25  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `map_res`
[INFO] [stdout]  --> src/parser.rs:1:48
[INFO] [stdout]   |
[INFO] [stdout] 1 | use nom::{be_u32, be_u8, count, do_parse, map, map_res, named, tag, take};
[INFO] [stdout]   |                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryFrom`
[INFO] [stdout]  --> src/parser.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::convert::TryFrom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::images::Image`
[INFO] [stdout]   --> src/parser.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     use crate::images::Image;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]   --> src/parser.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     use std::error::Error;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufWriter`
[INFO] [stdout]  --> src/main.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{BufReader, BufWriter, Read, Write};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DynMatrixSlice`
[INFO] [stdout]  --> src/images.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::nn::{DynMatrix, DynMatrixSlice};
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ArrayStorage`, `Matrix`, and `U28`
[INFO] [stdout]  --> src/images.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use nalgebra::{ArrayStorage, Matrix, U28};
[INFO] [stdout]   |                ^^^^^^^^^^^^  ^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryFrom`
[INFO] [stdout]  --> src/images.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::convert::TryFrom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nalgebra::base::dimension::Dynamic`
[INFO] [stdout]  --> src/nn.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use nalgebra::base::dimension::Dynamic;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SliceStorage`, `U1`, and `VecStorage`
[INFO] [stdout]  --> src/nn.rs:2:56
[INFO] [stdout]   |
[INFO] [stdout] 2 | use nalgebra::{DMatrix, DMatrixSlice, DMatrixSliceMut, SliceStorage, VecStorage, U1};
[INFO] [stdout]   |                                                        ^^^^^^^^^^^^  ^^^^^^^^^^  ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `map_res`
[INFO] [stdout]  --> src/parser.rs:1:48
[INFO] [stdout]   |
[INFO] [stdout] 1 | use nom::{be_u32, be_u8, count, do_parse, map, map_res, named, tag, take};
[INFO] [stdout]   |                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryFrom`
[INFO] [stdout]  --> src/parser.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::convert::TryFrom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufWriter`
[INFO] [stdout]  --> src/main.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{BufReader, BufWriter, Read, Write};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:117:81
[INFO] [stdout]     |
[INFO] [stdout] 117 | fn parse_images(image_data: &[u8], label_data: &[u8]) -> Result<Vec<Image>, Box<Error>> {
[INFO] [stdout]     |                                                                                 ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 117 | fn parse_images(image_data: &[u8], label_data: &[u8]) -> Result<Vec<Image>, 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:117:81
[INFO] [stdout]     |
[INFO] [stdout] 117 | fn parse_images(image_data: &[u8], label_data: &[u8]) -> Result<Vec<Image>, Box<Error>> {
[INFO] [stdout]     |                                                                                 ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 117 | fn parse_images(image_data: &[u8], label_data: &[u8]) -> Result<Vec<Image>, Box<dyn Error>> {
[INFO] [stdout]     |                                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/images.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t0`
[INFO] [stdout]    --> src/nn.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |         let t0 = Instant::now();
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_t0`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rows`
[INFO] [stdout]    --> src/nn.rs:126:29
[INFO] [stdout]     |
[INFO] [stdout] 126 |     fn output_shape(&self, (rows, cols): (usize, usize)) -> (usize, usize) {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_rows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]    --> src/nn.rs:237:21
[INFO] [stdout]     |
[INFO] [stdout] 237 |                 let out = nn.forward_propagate(&input);
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/images.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]    --> src/nn.rs:297:21
[INFO] [stdout]     |
[INFO] [stdout] 297 |                 let out = nn.forward_propagate(&input);
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]    --> src/nn.rs:343:21
[INFO] [stdout]     |
[INFO] [stdout] 343 |                 let out = nn.forward_propagate(&input);
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]    --> src/nn.rs:519:21
[INFO] [stdout]     |
[INFO] [stdout] 519 |                 let out = nn.forward_propagate(&data);
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `label`
[INFO] [stdout]    --> src/nn.rs:525:20
[INFO] [stdout]     |
[INFO] [stdout] 525 |         for (data, label) in data.iter().zip(&labels) {
[INFO] [stdout]     |                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_label`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t0`
[INFO] [stdout]    --> src/nn.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |         let t0 = Instant::now();
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_t0`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rows`
[INFO] [stdout]    --> src/nn.rs:126:29
[INFO] [stdout]     |
[INFO] [stdout] 126 |     fn output_shape(&self, (rows, cols): (usize, usize)) -> (usize, usize) {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_rows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tmp`
[INFO] [stdout]   --> src/parser.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let tmp = std::iter::once(1.0)
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_tmp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/parser.rs:74:20
[INFO] [stdout]    |
[INFO] [stdout] 74 |         if let Ok((input, labels)) = mnist_label_parser(&data) {
[INFO] [stdout]    |                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `train_data`
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let train_data = load_train_data()?;
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_train_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tmp`
[INFO] [stdout]   --> src/parser.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let tmp = std::iter::once(1.0)
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_tmp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_parts` is never used
[INFO] [stdout]   --> src/images.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl Image {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 50 |     pub fn from_parts(data: DynMatrix, label: DynMatrix) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `DynMatrixSlice` is never used
[INFO] [stdout]  --> src/nn.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub type DynMatrixSlice<'a> = DMatrixSlice<'a, f64>;
[INFO] [stdout]   |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `train_data`
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let train_data = load_train_data()?;
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_train_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/nn.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |         &self.weights.mul_to(input, output);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let _ = &self.weights.mul_to(input, output);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_parts` is never used
[INFO] [stdout]   --> src/images.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl Image {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 50 |     pub fn from_parts(data: DynMatrix, label: DynMatrix) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `DynMatrixSlice` is never used
[INFO] [stdout]  --> src/nn.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub type DynMatrixSlice<'a> = DMatrixSlice<'a, f64>;
[INFO] [stdout]   |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `with_weights` is never used
[INFO] [stdout]    --> src/nn.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout]  96 | impl FullyConnectedNetworkLayer {
[INFO] [stdout]     | ------------------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn with_weights(nodes: usize, weights: usize, weight_data: &[f64]) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/nn.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |         &self.weights.mul_to(input, output);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let _ = &self.weights.mul_to(input, output);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/parser.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |             rdr.read_to_end(&mut buff);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 70 |             let _ = rdr.read_to_end(&mut buff);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.24s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "f62d07d1116e9503a7dc2b28c804da2f06cb9cf2df9e30f1f9e146300d3570c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f62d07d1116e9503a7dc2b28c804da2f06cb9cf2df9e30f1f9e146300d3570c2", kill_on_drop: false }`
[INFO] [stdout] f62d07d1116e9503a7dc2b28c804da2f06cb9cf2df9e30f1f9e146300d3570c2
