[INFO] cloning repository https://github.com/arnaud111/AIFromScratch
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arnaud111/AIFromScratch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farnaud111%2FAIFromScratch", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farnaud111%2FAIFromScratch'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4a55a32d6f2d63b8c37ef5014316a0aae95c1f4c
[INFO] checking arnaud111/AIFromScratch against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farnaud111%2FAIFromScratch" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/arnaud111/AIFromScratch
[INFO] finished tweaking git repo https://github.com/arnaud111/AIFromScratch
[INFO] tweaked toml for git repo https://github.com/arnaud111/AIFromScratch written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/arnaud111/AIFromScratch on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/arnaud111/AIFromScratch 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rustacuda_core v0.1.2
[INFO] [stderr]   Downloaded cuda-driver-sys v0.3.0
[INFO] [stderr]   Downloaded rustacuda v0.1.3
[INFO] [stderr]   Downloaded cuda-config v0.1.0
[INFO] [stderr]   Downloaded rustacuda_derive v0.1.2
[INFO] [stderr]   Downloaded serde_derive v1.0.156
[INFO] [stderr]   Downloaded serde v1.0.156
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 234d0609b2cb8f49ab48207dabcccaf2a5c04637d3d6791079e267d9cdd980c5
[INFO] running `Command { std: "docker" "start" "-a" "234d0609b2cb8f49ab48207dabcccaf2a5c04637d3d6791079e267d9cdd980c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "234d0609b2cb8f49ab48207dabcccaf2a5c04637d3d6791079e267d9cdd980c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "234d0609b2cb8f49ab48207dabcccaf2a5c04637d3d6791079e267d9cdd980c5", kill_on_drop: false }`
[INFO] [stdout] 234d0609b2cb8f49ab48207dabcccaf2a5c04637d3d6791079e267d9cdd980c5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8773cea19cdd364bd3b4bafc21a48528ea570726bfea675576284aa6588237a2
[INFO] running `Command { std: "docker" "start" "-a" "8773cea19cdd364bd3b4bafc21a48528ea570726bfea675576284aa6588237a2", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.52
[INFO] [stderr]    Compiling libc v0.2.140
[INFO] [stderr]    Compiling libm v0.2.6
[INFO] [stderr]    Compiling serde_derive v1.0.156
[INFO] [stderr]    Compiling serde v1.0.156
[INFO] [stderr]    Compiling serde_json v1.0.94
[INFO] [stderr]     Checking rustacuda_core v0.1.2
[INFO] [stderr]    Compiling cuda-config v0.1.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling cuda-driver-sys v0.3.0
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rand_distr v0.4.3
[INFO] [stderr]    Compiling rustacuda_derive v0.1.2
[INFO] [stderr]     Checking rustacuda v0.1.3
[INFO] [stderr]     Checking AIFromScratch v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rustacuda::prelude::*`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rustacuda::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi::CString`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ffi::CString;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/deep_neural_network/network.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::math::activations::log::log`
[INFO] [stdout]  --> src/deep_neural_network/network.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::math::activations::log::log;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::Vector`
[INFO] [stdout]  --> src/math/activations/softmax.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::Vector;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand_distr::num_traits::real::Real`
[INFO] [stdout]  --> src/cuda/matrix_operations.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand_distr::num_traits::real::Real;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/deep_neural_network/network.rs:93:9
[INFO] [stdout]     |
[INFO] [stdout]  92 |           panic!();
[INFO] [stdout]     |           -------- any code following this expression is unreachable
[INFO] [stdout]  93 | /         for i in 0..epochs {
[INFO] [stdout]  94 | |             let activations = self.forward_propagation(x);
[INFO] [stdout]  95 | |             let (dw, db) = self.back_propagation(y, &activations);
[INFO] [stdout]  96 | |             self.update(dw, db, learning_rate);
[INFO] [stdout] ...   |
[INFO] [stdout] 103 | |         }
[INFO] [stdout]     | |_________^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rustacuda::prelude::*`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rustacuda::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi::CString`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ffi::CString;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/deep_neural_network/network.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::math::activations::log::log`
[INFO] [stdout]  --> src/deep_neural_network/network.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::math::activations::log::log;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::Vector`
[INFO] [stdout]  --> src/math/activations/softmax.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::Vector;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand_distr::num_traits::real::Real`
[INFO] [stdout]  --> src/cuda/matrix_operations.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand_distr::num_traits::real::Real;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/deep_neural_network/layer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x_test`
[INFO] [stdout]   --> src/deep_neural_network/network.rs:88:53
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn train(&mut self, x: &Vector, y: &Vector, x_test: &Vector, y_test: &Vector, epochs: usize, learning_rate: f32, epochs_inte...
[INFO] [stdout]    |                                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_test`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y_test`
[INFO] [stdout]   --> src/deep_neural_network/network.rs:88:70
[INFO] [stdout]    |
[INFO] [stdout] 88 | ...&Vector, x_test: &Vector, y_test: &Vector, epochs: usize, learning_rate: f32, epochs_interval_test: usize, display: bool) {
[INFO] [stdout]    |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `epochs`
[INFO] [stdout]   --> src/deep_neural_network/network.rs:88:87
[INFO] [stdout]    |
[INFO] [stdout] 88 | ...&Vector, y_test: &Vector, epochs: usize, learning_rate: f32, epochs_interval_test: usize, display: bool) {
[INFO] [stdout]    |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_epochs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `learning_rate`
[INFO] [stdout]   --> src/deep_neural_network/network.rs:88:102
[INFO] [stdout]    |
[INFO] [stdout] 88 | ...or, epochs: usize, learning_rate: f32, epochs_interval_test: usize, display: bool) {
[INFO] [stdout]    |                       ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_learning_rate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `epochs_interval_test`
[INFO] [stdout]   --> src/deep_neural_network/network.rs:88:122
[INFO] [stdout]    |
[INFO] [stdout] 88 | ..._rate: f32, epochs_interval_test: usize, display: bool) {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_epochs_interval_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `display`
[INFO] [stdout]   --> src/deep_neural_network/network.rs:88:151
[INFO] [stdout]    |
[INFO] [stdout] 88 | ...hs_interval_test: usize, display: bool) {
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/math/vector.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |         for i in 0..shape.0 {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `j`
[INFO] [stdout]   --> src/math/vector.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |             for j in 0..shape.1 {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/math/vector.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |         for i in 0..self.shape.0 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/math/vector.rs:236:13
[INFO] [stdout]     |
[INFO] [stdout] 236 |         for i in 0..self.shape.0 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/deep_neural_network/network.rs:93:9
[INFO] [stdout]     |
[INFO] [stdout]  92 |           panic!();
[INFO] [stdout]     |           -------- any code following this expression is unreachable
[INFO] [stdout]  93 | /         for i in 0..epochs {
[INFO] [stdout]  94 | |             let activations = self.forward_propagation(x);
[INFO] [stdout]  95 | |             let (dw, db) = self.back_propagation(y, &activations);
[INFO] [stdout]  96 | |             self.update(dw, db, learning_rate);
[INFO] [stdout] ...   |
[INFO] [stdout] 103 | |         }
[INFO] [stdout]     | |_________^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/data/dataset.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     for i in 0..10 {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rows_b`
[INFO] [stdout]   --> src/cuda/matrix_operations.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let rows_b = shape_b.0 as u32;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rows_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_network` is never used
[INFO] [stdout]   --> src/main.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn load_network(x: Vector, y: Vector, x_test: Vector, y_test: Vector) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `predict`, `display_layers`, and `load` are never used
[INFO] [stdout]    --> src/deep_neural_network/network.rs:117:12
[INFO] [stdout]     |
[INFO] [stdout]  16 | impl Network {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn predict(&self, input: &Vector) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     pub fn display_layers(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn load(file_name: &str) -> Network {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `display`, `from_slice`, `from_shape`, `to_vec_f32`, `dot_cuda`, and `number_sub` are never used
[INFO] [stdout]    --> src/math/vector.rs:24:12
[INFO] [stdout]     |
[INFO] [stdout]  10 | impl Vector {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  24 |     pub fn display(&self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  28 |     pub fn from_slice(slice: Vec<f32>, x: usize, y: usize) -> Vector {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  40 |     pub fn from_shape(shape: (u32, u32)) -> Vector {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  52 |     pub fn to_vec_f32(&self) -> Vec<f32> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  90 |     pub fn dot_cuda(&self, other: &Vector) -> Vector {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn number_sub(&self, n: f32) -> Vector {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log` is never used
[INFO] [stdout]  --> src/math/activations/log.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn log(x: f32) -> f32 {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `launch_matrix_multiply_cuda` is never used
[INFO] [stdout]  --> src/cuda/matrix_operations.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn launch_matrix_multiply_cuda(a: &[f32], b: &[f32], shape_a: (usize, usize), shape_b: (usize, usize)) -> Result<Vec<f32>, Box<dy...
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]   --> src/cuda/matrix_operations.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut A = DeviceBuffer::from_slice(a).expect("Failed to create device buffer");
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]   --> src/cuda/matrix_operations.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut B = DeviceBuffer::from_slice(b).expect("Failed to create device buffer");
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]   --> src/cuda/matrix_operations.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let mut C = DeviceBuffer::from_slice(&[0.0; 10000]).expect("Failed to create device buffer");
[INFO] [stdout]    |                 ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C_host` should have a snake case name
[INFO] [stdout]   --> src/cuda/matrix_operations.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let mut C_host = Vector::from_shape((100, 100)).to_vec_f32();
[INFO] [stdout]    |                 ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `c_host`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/deep_neural_network/layer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x_test`
[INFO] [stdout]   --> src/deep_neural_network/network.rs:88:53
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn train(&mut self, x: &Vector, y: &Vector, x_test: &Vector, y_test: &Vector, epochs: usize, learning_rate: f32, epochs_inte...
[INFO] [stdout]    |                                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_test`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y_test`
[INFO] [stdout]   --> src/deep_neural_network/network.rs:88:70
[INFO] [stdout]    |
[INFO] [stdout] 88 | ...&Vector, x_test: &Vector, y_test: &Vector, epochs: usize, learning_rate: f32, epochs_interval_test: usize, display: bool) {
[INFO] [stdout]    |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `epochs`
[INFO] [stdout]   --> src/deep_neural_network/network.rs:88:87
[INFO] [stdout]    |
[INFO] [stdout] 88 | ...&Vector, y_test: &Vector, epochs: usize, learning_rate: f32, epochs_interval_test: usize, display: bool) {
[INFO] [stdout]    |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_epochs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `learning_rate`
[INFO] [stdout]   --> src/deep_neural_network/network.rs:88:102
[INFO] [stdout]    |
[INFO] [stdout] 88 | ...or, epochs: usize, learning_rate: f32, epochs_interval_test: usize, display: bool) {
[INFO] [stdout]    |                       ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_learning_rate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `epochs_interval_test`
[INFO] [stdout]   --> src/deep_neural_network/network.rs:88:122
[INFO] [stdout]    |
[INFO] [stdout] 88 | ..._rate: f32, epochs_interval_test: usize, display: bool) {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_epochs_interval_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `display`
[INFO] [stdout]   --> src/deep_neural_network/network.rs:88:151
[INFO] [stdout]    |
[INFO] [stdout] 88 | ...hs_interval_test: usize, display: bool) {
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_display`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/math/vector.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |         for i in 0..shape.0 {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `j`
[INFO] [stdout]   --> src/math/vector.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |             for j in 0..shape.1 {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/math/vector.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |         for i in 0..self.shape.0 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/math/vector.rs:236:13
[INFO] [stdout]     |
[INFO] [stdout] 236 |         for i in 0..self.shape.0 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/math/vector.rs:295:17
[INFO] [stdout]     |
[INFO] [stdout] 295 |             let mut row: Vec<f32> = Vec::new();
[INFO] [stdout]     |                 ----^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row`
[INFO] [stdout]    --> src/math/vector.rs:295:17
[INFO] [stdout]     |
[INFO] [stdout] 295 |             let mut row: Vec<f32> = Vec::new();
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/data/dataset.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     for i in 0..10 {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rows_b`
[INFO] [stdout]   --> src/cuda/matrix_operations.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let rows_b = shape_b.0 as u32;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rows_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_network` is never used
[INFO] [stdout]   --> src/main.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn load_network(x: Vector, y: Vector, x_test: Vector, y_test: Vector) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `predict`, `display_layers`, and `load` are never used
[INFO] [stdout]    --> src/deep_neural_network/network.rs:117:12
[INFO] [stdout]     |
[INFO] [stdout]  16 | impl Network {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn predict(&self, input: &Vector) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     pub fn display_layers(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn load(file_name: &str) -> Network {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `display` and `number_sub` are never used
[INFO] [stdout]    --> src/math/vector.rs:24:12
[INFO] [stdout]     |
[INFO] [stdout]  10 | impl Vector {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  24 |     pub fn display(&self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn number_sub(&self, n: f32) -> Vector {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log` is never used
[INFO] [stdout]  --> src/math/activations/log.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn log(x: f32) -> f32 {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]   --> src/cuda/matrix_operations.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut A = DeviceBuffer::from_slice(a).expect("Failed to create device buffer");
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]   --> src/cuda/matrix_operations.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut B = DeviceBuffer::from_slice(b).expect("Failed to create device buffer");
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]   --> src/cuda/matrix_operations.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let mut C = DeviceBuffer::from_slice(&[0.0; 10000]).expect("Failed to create device buffer");
[INFO] [stdout]    |                 ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C_host` should have a snake case name
[INFO] [stdout]   --> src/cuda/matrix_operations.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let mut C_host = Vector::from_shape((100, 100)).to_vec_f32();
[INFO] [stdout]    |                 ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `c_host`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.45s
[INFO] running `Command { std: "docker" "inspect" "8773cea19cdd364bd3b4bafc21a48528ea570726bfea675576284aa6588237a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8773cea19cdd364bd3b4bafc21a48528ea570726bfea675576284aa6588237a2", kill_on_drop: false }`
[INFO] [stdout] 8773cea19cdd364bd3b4bafc21a48528ea570726bfea675576284aa6588237a2
