[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 master#568f6a8641e391ffcdcdb03e79d0901731d8d399 for pr-117164-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdkudernatsch%2Fmle-nn-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/dkudernatsch/mle-nn-rs on toolchain 568f6a8641e391ffcdcdb03e79d0901731d8d399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+568f6a8641e391ffcdcdb03e79d0901731d8d399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-7-tc1/source/Cargo.toml
[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" "+568f6a8641e391ffcdcdb03e79d0901731d8d399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded memchr v2.2.0
[INFO] [stderr]   Downloaded alga v0.9.0
[INFO] [stderr]   Downloaded nom v4.2.3
[INFO] [stderr]   Downloaded libc v0.2.53
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+568f6a8641e391ffcdcdb03e79d0901731d8d399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 37793c9af3c217f5da317528b2e8a6c4007ae902c823988f8cb0a2abbcbc5b2b
[INFO] running `Command { std: "docker" "start" "-a" "37793c9af3c217f5da317528b2e8a6c4007ae902c823988f8cb0a2abbcbc5b2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "37793c9af3c217f5da317528b2e8a6c4007ae902c823988f8cb0a2abbcbc5b2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "37793c9af3c217f5da317528b2e8a6c4007ae902c823988f8cb0a2abbcbc5b2b", kill_on_drop: false }`
[INFO] [stdout] 37793c9af3c217f5da317528b2e8a6c4007ae902c823988f8cb0a2abbcbc5b2b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+568f6a8641e391ffcdcdb03e79d0901731d8d399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ee8ca6888192e7fbaf0f4c9d80f88564d1f3c6452dedf20125eb1f205e4dd2a8
[INFO] running `Command { std: "docker" "start" "-a" "ee8ca6888192e7fbaf0f4c9d80f88564d1f3c6452dedf20125eb1f205e4dd2a8", kill_on_drop: false }`
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]    Compiling autocfg v0.1.2
[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 version_check v0.1.5
[INFO] [stderr]    Compiling memchr v2.2.0
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]    Compiling nom v4.2.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_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_jitter v0.1.3
[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_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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ArrayStorage`, `Matrix`, `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`, `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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: 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: `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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ArrayStorage`, `Matrix`, `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`, `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)]` 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: 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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: 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)]` 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: `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: 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)]` 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)]` 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 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: 18 warnings emitted
[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)]` 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 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: `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: 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)]` 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 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)]` 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] [stdout] warning: 27 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 16.50s
[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 1`
[INFO] running `Command { std: "docker" "inspect" "ee8ca6888192e7fbaf0f4c9d80f88564d1f3c6452dedf20125eb1f205e4dd2a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee8ca6888192e7fbaf0f4c9d80f88564d1f3c6452dedf20125eb1f205e4dd2a8", kill_on_drop: false }`
[INFO] [stdout] ee8ca6888192e7fbaf0f4c9d80f88564d1f3c6452dedf20125eb1f205e4dd2a8
