[INFO] cloning repository https://github.com/RPP1011/neuralnetworkfromscratch
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RPP1011/neuralnetworkfromscratch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRPP1011%2Fneuralnetworkfromscratch", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRPP1011%2Fneuralnetworkfromscratch'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c53f61e6ae95b3538ffd0ffab495e2366747ffc5
[INFO] building RPP1011/neuralnetworkfromscratch against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRPP1011%2Fneuralnetworkfromscratch" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/RPP1011/neuralnetworkfromscratch
[INFO] finished tweaking git repo https://github.com/RPP1011/neuralnetworkfromscratch
[INFO] tweaked toml for git repo https://github.com/RPP1011/neuralnetworkfromscratch written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/RPP1011/neuralnetworkfromscratch on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/RPP1011/neuralnetworkfromscratch 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded graphviz-rust v0.9.0
[INFO] [stderr]   Downloaded typed-arena v2.0.2
[INFO] [stderr]   Downloaded dot-structures v0.1.1
[INFO] [stderr]   Downloaded into-attr-derive v0.2.1
[INFO] [stderr]   Downloaded oorandom v11.1.4
[INFO] [stderr]   Downloaded plotters-backend v0.3.6
[INFO] [stderr]   Downloaded criterion v0.3.6
[INFO] [stderr]   Downloaded dot-generator v0.2.0
[INFO] [stderr]   Downloaded criterion-plot v0.4.5
[INFO] [stderr]   Downloaded plotters-svg v0.3.6
[INFO] [stderr]   Downloaded into-attr v0.1.1
[INFO] [stderr]   Downloaded plotters v0.3.6
[INFO] [stderr]   Downloaded half v1.8.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3249e4acdf5a1f71c156a3686aa7adb560e63275f170e3babcaf99e5e425eb8f
[INFO] running `Command { std: "docker" "start" "-a" "3249e4acdf5a1f71c156a3686aa7adb560e63275f170e3babcaf99e5e425eb8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3249e4acdf5a1f71c156a3686aa7adb560e63275f170e3babcaf99e5e425eb8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3249e4acdf5a1f71c156a3686aa7adb560e63275f170e3babcaf99e5e425eb8f", kill_on_drop: false }`
[INFO] [stdout] 3249e4acdf5a1f71c156a3686aa7adb560e63275f170e3babcaf99e5e425eb8f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1213015387e04ad1dfb9f2fc94921c38985afa87146f04dd6fdff2dea97785c2
[INFO] running `Command { std: "docker" "start" "-a" "1213015387e04ad1dfb9f2fc94921c38985afa87146f04dd6fdff2dea97785c2", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling serde_json v1.0.118
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling dot-structures v0.1.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling unicode-width v0.1.13
[INFO] [stderr]    Compiling plotters-backend v0.3.6
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling dot-generator v0.2.0
[INFO] [stderr]    Compiling into-attr v0.1.1
[INFO] [stderr]    Compiling plotters-svg v0.3.6
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling half v1.8.3
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling criterion-plot v0.4.5
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling plotters v0.3.6
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling into-attr-derive v0.2.1
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling regex v1.10.5
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling pest v2.7.10
[INFO] [stderr]    Compiling serde_cbor v0.11.2
[INFO] [stderr]    Compiling csv v1.3.0
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling oorandom v11.1.4
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling pest_meta v2.7.10
[INFO] [stderr]    Compiling criterion v0.3.6
[INFO] [stderr]    Compiling pest_generator v2.7.10
[INFO] [stderr]    Compiling pest_derive v2.7.10
[INFO] [stderr]    Compiling graphviz-rust v0.9.0
[INFO] [stderr]    Compiling neural_network_from_scratch v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]   --> src/main.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{cell::RefCell, rc::Rc, vec};
[INFO] [stdout]    |           ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `IDX_DATA_TYPE` should have an upper camel case name
[INFO] [stdout]  --> src/file/idx_reader.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | enum IDX_DATA_TYPE {
[INFO] [stdout]   |      ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IdxDataType`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `iter`
[INFO] [stdout]  --> src/graph/graph.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, iter, rc::Rc};
[INFO] [stdout]   |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/graph/graph.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 |         tensor_context::{self, TensorContext, TensorRef},
[INFO] [stdout]   |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `self` and `tensor::Tensor`
[INFO] [stdout]  --> src/graph/loss_function.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::math::{tensor::Tensor, tensor_context::{self, TensorContext, TensorRef}};
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::math::tensor::Tensor`
[INFO] [stdout]  --> src/layers/flatten.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::math::tensor::Tensor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Tensor` and `self`
[INFO] [stdout]  --> src/math/composite_operations.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 |     tensor::{self, Operation, Tensor},
[INFO] [stdout]   |              ^^^^             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TensorRef`
[INFO] [stdout]  --> src/sample_functions/sine_wave.rs:3:67
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::math::{tensor::Tensor, tensor_context::{TensorContext, TensorRef}};
[INFO] [stdout]   |                                                                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `borrow::BorrowMut`
[INFO] [stdout]  --> src/math/composite_operations.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{borrow::BorrowMut, cell::RefCell, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BorrowMut`
[INFO] [stdout]  --> src/math/tensor.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 |     borrow::{BorrowMut},
[INFO] [stdout]   |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Add`
[INFO] [stdout]  --> src/math/tensor.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 |     ops::{Add, Mul},
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mul`
[INFO] [stdout]  --> src/math/tensor.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 |     ops::{Add, Mul},
[INFO] [stdout]   |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/graph/graph.rs:101:24
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 .map(|(i, (input, label))| {
[INFO] [stdout]     |                        ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tensor_context`
[INFO] [stdout]   --> src/graph/loss_function.rs:28:22
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn cross_entropy(tensor_context: Rc<RefCell<TensorContext>>,_input : TensorRef, _desired: TensorRef) -> TensorRef {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tensor_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tensor_context`
[INFO] [stdout]   --> src/graph/loss_function.rs:32:29
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn sparse_cross_entropy(tensor_context: Rc<RefCell<TensorContext>>,_input : TensorRef, _desired: TensorRef) -> TensorRef {
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tensor_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `operation` is never read
[INFO] [stdout]    --> src/math/tensor_context.rs:179:17
[INFO] [stdout]     |
[INFO] [stdout] 179 |         let mut operation: Option<Operation> = None;
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pred`
[INFO] [stdout]    --> src/math/tensor_context.rs:314:45
[INFO] [stdout]     |
[INFO] [stdout] 314 | ...                   .map(|((pred, output_data), output_grad)| if *output_data > 0.0 { *output_grad } else { 0.0 })
[INFO] [stdout]     |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_pred`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tensor_ref1`
[INFO] [stdout]    --> src/math/tensor_context.rs:433:43
[INFO] [stdout]     |
[INFO] [stdout] 433 |     pub fn dot_product_inplace(&mut self, tensor_ref1: TensorRef) {}
[INFO] [stdout]     |                                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tensor_ref1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input_tensor`
[INFO] [stdout]   --> src/nuerons/nuerons.rs:51:32
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn feed_forward(&self, input_tensor: TensorRef) -> TensorRef {
[INFO] [stdout]    |                                ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_tensor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/sample_functions/sine_wave.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         for i in 0..count {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `try_MNIST` is never used
[INFO] [stdout]   --> src/main.rs:74:4
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn try_MNIST() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_type` is never used
[INFO] [stdout]   --> src/file/idx_reader.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl IDX_DATA_TYPE {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn to_type(&self) -> std::any::TypeId {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `try_MNIST` should have a snake case name
[INFO] [stdout]   --> src/main.rs:74:4
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn try_MNIST() {
[INFO] [stdout]    |    ^^^^^^^^^ help: convert the identifier to snake case: `try_mnist`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s
[INFO] running `Command { std: "docker" "inspect" "1213015387e04ad1dfb9f2fc94921c38985afa87146f04dd6fdff2dea97785c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1213015387e04ad1dfb9f2fc94921c38985afa87146f04dd6fdff2dea97785c2", kill_on_drop: false }`
[INFO] [stdout] 1213015387e04ad1dfb9f2fc94921c38985afa87146f04dd6fdff2dea97785c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f84479196b27d68e4e9c76d8ef1655f08f2fe51bf52e70f6e6298667792dc7fe
[INFO] running `Command { std: "docker" "start" "-a" "f84479196b27d68e4e9c76d8ef1655f08f2fe51bf52e70f6e6298667792dc7fe", kill_on_drop: false }`
[INFO] [stderr]    Compiling neural_network_from_scratch v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]   --> src/main.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{cell::RefCell, rc::Rc, vec};
[INFO] [stdout]    |           ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `IDX_DATA_TYPE` should have an upper camel case name
[INFO] [stdout]  --> src/file/idx_reader.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | enum IDX_DATA_TYPE {
[INFO] [stdout]   |      ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IdxDataType`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `iter`
[INFO] [stdout]  --> src/graph/graph.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, iter, rc::Rc};
[INFO] [stdout]   |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/graph/graph.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 |         tensor_context::{self, TensorContext, TensorRef},
[INFO] [stdout]   |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `self` and `tensor::Tensor`
[INFO] [stdout]  --> src/graph/loss_function.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::math::{tensor::Tensor, tensor_context::{self, TensorContext, TensorRef}};
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::math::tensor::Tensor`
[INFO] [stdout]  --> src/layers/flatten.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::math::tensor::Tensor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::math::tensor_context`
[INFO] [stdout]    --> src/math/tensor_context.rs:571:9
[INFO] [stdout]     |
[INFO] [stdout] 571 |     use crate::math::tensor_context;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Tensor` and `self`
[INFO] [stdout]  --> src/math/composite_operations.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 |     tensor::{self, Operation, Tensor},
[INFO] [stdout]   |              ^^^^             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TensorRef`
[INFO] [stdout]  --> src/sample_functions/sine_wave.rs:3:67
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::math::{tensor::Tensor, tensor_context::{TensorContext, TensorRef}};
[INFO] [stdout]   |                                                                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `borrow::BorrowMut`
[INFO] [stdout]  --> src/math/composite_operations.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{borrow::BorrowMut, cell::RefCell, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mul`
[INFO] [stdout]  --> src/math/tensor.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 |     ops::{Add, Mul},
[INFO] [stdout]   |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BorrowMut`
[INFO] [stdout]  --> src/math/tensor.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 |     borrow::{BorrowMut},
[INFO] [stdout]   |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Add`
[INFO] [stdout]  --> src/math/tensor.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 |     ops::{Add, Mul},
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/graph/graph.rs:101:24
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 .map(|(i, (input, label))| {
[INFO] [stdout]     |                        ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tensor_context`
[INFO] [stdout]   --> src/graph/loss_function.rs:28:22
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn cross_entropy(tensor_context: Rc<RefCell<TensorContext>>,_input : TensorRef, _desired: TensorRef) -> TensorRef {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tensor_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tensor_context`
[INFO] [stdout]   --> src/graph/loss_function.rs:32:29
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn sparse_cross_entropy(tensor_context: Rc<RefCell<TensorContext>>,_input : TensorRef, _desired: TensorRef) -> TensorRef {
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tensor_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `operation` is never read
[INFO] [stdout]    --> src/math/tensor_context.rs:179:17
[INFO] [stdout]     |
[INFO] [stdout] 179 |         let mut operation: Option<Operation> = None;
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pred`
[INFO] [stdout]    --> src/math/tensor_context.rs:314:45
[INFO] [stdout]     |
[INFO] [stdout] 314 | ...                   .map(|((pred, output_data), output_grad)| if *output_data > 0.0 { *output_grad } else { 0.0 })
[INFO] [stdout]     |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_pred`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tensor_ref1`
[INFO] [stdout]    --> src/math/tensor_context.rs:433:43
[INFO] [stdout]     |
[INFO] [stdout] 433 |     pub fn dot_product_inplace(&mut self, tensor_ref1: TensorRef) {}
[INFO] [stdout]     |                                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tensor_ref1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input_tensor`
[INFO] [stdout]   --> src/nuerons/nuerons.rs:51:32
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn feed_forward(&self, input_tensor: TensorRef) -> TensorRef {
[INFO] [stdout]    |                                ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_tensor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/sample_functions/sine_wave.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         for i in 0..count {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `try_MNIST` is never used
[INFO] [stdout]   --> src/main.rs:74:4
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn try_MNIST() {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_type` is never used
[INFO] [stdout]   --> src/file/idx_reader.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl IDX_DATA_TYPE {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn to_type(&self) -> std::any::TypeId {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `try_MNIST` should have a snake case name
[INFO] [stdout]   --> src/main.rs:74:4
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn try_MNIST() {
[INFO] [stdout]    |    ^^^^^^^^^ help: convert the identifier to snake case: `try_mnist`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.34s
[INFO] running `Command { std: "docker" "inspect" "f84479196b27d68e4e9c76d8ef1655f08f2fe51bf52e70f6e6298667792dc7fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f84479196b27d68e4e9c76d8ef1655f08f2fe51bf52e70f6e6298667792dc7fe", kill_on_drop: false }`
[INFO] [stdout] f84479196b27d68e4e9c76d8ef1655f08f2fe51bf52e70f6e6298667792dc7fe
