[INFO] cloning repository https://github.com/dmuraco3/neural [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmuraco3/neural" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmuraco3%2Fneural", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmuraco3%2Fneural'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 26d96af1a8cca112fb62b9aae039115d51e7784f [INFO] checking dmuraco3/neural/26d96af1a8cca112fb62b9aae039115d51e7784f against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmuraco3%2Fneural" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dmuraco3/neural on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/dmuraco3/neural [INFO] finished tweaking git repo https://github.com/dmuraco3/neural [INFO] tweaked toml for git repo https://github.com/dmuraco3/neural written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dmuraco3/neural 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.148 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b982bd6ce733945a5793f8b12e47e12f35b86be693d3a0acfad6df85e553e0d0 [INFO] running `Command { std: "docker" "start" "-a" "b982bd6ce733945a5793f8b12e47e12f35b86be693d3a0acfad6df85e553e0d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b982bd6ce733945a5793f8b12e47e12f35b86be693d3a0acfad6df85e553e0d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b982bd6ce733945a5793f8b12e47e12f35b86be693d3a0acfad6df85e553e0d0", kill_on_drop: false }` [INFO] [stdout] b982bd6ce733945a5793f8b12e47e12f35b86be693d3a0acfad6df85e553e0d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddd47b7e9924da9e0477f7aa893d500c626e10ab90a065581ca3a486c5cccc3e [INFO] running `Command { std: "docker" "start" "-a" "ddd47b7e9924da9e0477f7aa893d500c626e10ab90a065581ca3a486c5cccc3e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.148 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking neural v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Div`, `Neg`, `Sub`, and `process::Output` [INFO] [stdout] --> src/tensor/mod.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::{Debug}, ops::{Mul, AddAssign, Add, Neg, Sub, Div}, iter::Sum, process::Output}; [INFO] [stdout] | ^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::traits::Pow` [INFO] [stdout] --> src/tensor/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num::traits::Pow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alloc`, `io::Error`, `mem::MaybeUninit`, and `thread::Thread` [INFO] [stdout] --> src/tensor/utils.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{alloc::{Layout, alloc, alloc_zeroed}, sync::{Arc, Mutex}, thread::Thread, mem::MaybeUninit, io::Error}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/tensor/utils.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div`, `Neg`, `Sub`, and `process::Output` [INFO] [stdout] --> src/tensor/mod.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::{Debug}, ops::{Mul, AddAssign, Add, Neg, Sub, Div}, iter::Sum, process::Output}; [INFO] [stdout] | ^^^ ^^^ ^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::traits::Pow` [INFO] [stdout] --> src/tensor/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num::traits::Pow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alloc`, `io::Error`, `mem::MaybeUninit`, and `thread::Thread` [INFO] [stdout] --> src/tensor/utils.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{alloc::{Layout, alloc, alloc_zeroed}, sync::{Arc, Mutex}, thread::Thread, mem::MaybeUninit, io::Error}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/tensor/utils.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x2` [INFO] [stdout] --> src/tensor/ops/matmul.rs:51:56 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn scalar_matmul>(x1:&Tensor, x2: T) -> Tensor [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tensor/ops/matmul.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut new_data = alloc_box_buffer::(x1.inner.len()); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FnBox` is never used [INFO] [stdout] --> src/tensor/utils.rs:98:7 [INFO] [stdout] | [INFO] [stdout] 98 | trait FnBox { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Job` is never used [INFO] [stdout] --> src/tensor/utils.rs:108:6 [INFO] [stdout] | [INFO] [stdout] 108 | type Job = Box; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Worker` is never constructed [INFO] [stdout] --> src/tensor/utils.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | pub(crate) struct Worker { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tensor/utils.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 115 | impl Worker { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 116 | fn new(id: usize, reciever: Arc>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/tensor/utils.rs:141:6 [INFO] [stdout] | [INFO] [stdout] 141 | enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadPool` is never constructed [INFO] [stdout] --> src/tensor/utils.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | pub(crate) struct ThreadPool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `execute` are never used [INFO] [stdout] --> src/tensor/utils.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 152 | impl ThreadPool { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 153 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn execute(&self, f: F) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x2` [INFO] [stdout] --> src/tensor/ops/matmul.rs:51:56 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn scalar_matmul>(x1:&Tensor, x2: T) -> Tensor [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_x2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tensor/ops/matmul.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut new_data = alloc_box_buffer::(x1.inner.len()); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FnBox` is never used [INFO] [stdout] --> src/tensor/utils.rs:98:7 [INFO] [stdout] | [INFO] [stdout] 98 | trait FnBox { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Job` is never used [INFO] [stdout] --> src/tensor/utils.rs:108:6 [INFO] [stdout] | [INFO] [stdout] 108 | type Job = Box; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Worker` is never constructed [INFO] [stdout] --> src/tensor/utils.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | pub(crate) struct Worker { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tensor/utils.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 115 | impl Worker { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 116 | fn new(id: usize, reciever: Arc>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/tensor/utils.rs:141:6 [INFO] [stdout] | [INFO] [stdout] 141 | enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadPool` is never constructed [INFO] [stdout] --> src/tensor/utils.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | pub(crate) struct ThreadPool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `execute` are never used [INFO] [stdout] --> src/tensor/utils.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 152 | impl ThreadPool { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 153 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn execute(&self, f: F) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow` and `panic` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use core::{borrow, panic}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ref`, `borrow::Borrow`, and `process::Output` [INFO] [stdout] --> src/main.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{rc::Rc, cell::{RefCell, Ref}, ops::{Mul, Add, Neg}, fs::File, borrow::Borrow, process::Output}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `matmul`, `new_tensor`, and `scalar_matmul` [INFO] [stdout] --> src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use rustgrad::{new_tensor, tensor::{Tensor, TensorTrait, utils::{alloc_box_buffer}, ops::matmul::{matmul, scalar_matmul}}}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow` and `panic` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use core::{borrow, panic}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ref`, `borrow::Borrow`, and `process::Output` [INFO] [stdout] --> src/main.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{rc::Rc, cell::{RefCell, Ref}, ops::{Mul, Add, Neg}, fs::File, borrow::Borrow, process::Output}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `matmul`, `new_tensor`, and `scalar_matmul` [INFO] [stdout] --> src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use rustgrad::{new_tensor, tensor::{Tensor, TensorTrait, utils::{alloc_box_buffer}, ops::matmul::{matmul, scalar_matmul}}}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Neg` [INFO] [stdout] --> src/main.rs:2:57 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{rc::Rc, cell::{RefCell, Ref}, ops::{Mul, Add, Neg}, fs::File, borrow::Borrow, process::Output}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nuerons` is never read [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct InputLayer> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 26 | nuerons: Box<[Neuron]>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `neurons` and `activation_function` are never read [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct DenseLayer> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 30 | neurons: Box<[Neuron]>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | activation_function: fn(input: &mut Tensor) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `neurons` and `activation_function` are never read [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ActivationLayer> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 35 | neurons: Box<[Neuron]>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 36 | activation_function: fn(input: &mut Box<[Neuron]>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `relu` is never used [INFO] [stdout] --> src/main.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn relu>(input: &mut Tensor) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_csv` is never used [INFO] [stdout] --> src/main.rs:251:4 [INFO] [stdout] | [INFO] [stdout] 251 | fn read_csv() -> Vec<(String, Box<[f32]>)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MNIST_DIGITS` should have a snake case name [INFO] [stdout] --> src/main.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | let mut MNIST_DIGITS: Vec<(String, Box<[f32]>)> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `mnist_digits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Neg` [INFO] [stdout] --> src/main.rs:2:57 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{rc::Rc, cell::{RefCell, Ref}, ops::{Mul, Add, Neg}, fs::File, borrow::Borrow, process::Output}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nuerons` is never read [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct InputLayer> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 26 | nuerons: Box<[Neuron]>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `neurons` and `activation_function` are never read [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct DenseLayer> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 30 | neurons: Box<[Neuron]>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | activation_function: fn(input: &mut Tensor) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `neurons` and `activation_function` are never read [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ActivationLayer> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 35 | neurons: Box<[Neuron]>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 36 | activation_function: fn(input: &mut Box<[Neuron]>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `relu` is never used [INFO] [stdout] --> src/main.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn relu>(input: &mut Tensor) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_csv` is never used [INFO] [stdout] --> src/main.rs:251:4 [INFO] [stdout] | [INFO] [stdout] 251 | fn read_csv() -> Vec<(String, Box<[f32]>)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MNIST_DIGITS` should have a snake case name [INFO] [stdout] --> src/main.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | let mut MNIST_DIGITS: Vec<(String, Box<[f32]>)> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `mnist_digits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.90s [INFO] running `Command { std: "docker" "inspect" "ddd47b7e9924da9e0477f7aa893d500c626e10ab90a065581ca3a486c5cccc3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddd47b7e9924da9e0477f7aa893d500c626e10ab90a065581ca3a486c5cccc3e", kill_on_drop: false }` [INFO] [stdout] ddd47b7e9924da9e0477f7aa893d500c626e10ab90a065581ca3a486c5cccc3e