[INFO] cloning repository https://github.com/Ja-sonYun/machine-learning-implementaion-with-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ja-sonYun/machine-learning-implementaion-with-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJa-sonYun%2Fmachine-learning-implementaion-with-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJa-sonYun%2Fmachine-learning-implementaion-with-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c68d97f5b845015475ffadc639c2fe2540ba0a6 [INFO] checking Ja-sonYun/machine-learning-implementaion-with-rust against master#7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJa-sonYun%2Fmachine-learning-implementaion-with-rust" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ja-sonYun/machine-learning-implementaion-with-rust on toolchain 7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ja-sonYun/machine-learning-implementaion-with-rust [INFO] finished tweaking git repo https://github.com/Ja-sonYun/machine-learning-implementaion-with-rust [INFO] tweaked toml for git repo https://github.com/Ja-sonYun/machine-learning-implementaion-with-rust written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/Ja-sonYun/machine-learning-implementaion-with-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3956b3ee1f40af22c86d567d20726cbf35b3dcaa33b3370c42cf900448feeea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c3956b3ee1f40af22c86d567d20726cbf35b3dcaa33b3370c42cf900448feeea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3956b3ee1f40af22c86d567d20726cbf35b3dcaa33b3370c42cf900448feeea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3956b3ee1f40af22c86d567d20726cbf35b3dcaa33b3370c42cf900448feeea", kill_on_drop: false }` [INFO] [stdout] c3956b3ee1f40af22c86d567d20726cbf35b3dcaa33b3370c42cf900448feeea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf87a0c93a2ab9a721f04dfc83b01fc05624a274b3947414ef774f5ba1a6b55b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cf87a0c93a2ab9a721f04dfc83b01fc05624a274b3947414ef774f5ba1a6b55b", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling const_fn v0.4.7 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking ndarray v0.15.1 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking ml v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::utils::types::Dimension` [INFO] [stdout] --> src/maths/rand.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::utils::types::Dimension; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndexMut`, `Index` [INFO] [stdout] --> src/maths/vector.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Add, Mul, Sub, Div, IndexMut, Index}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Debug`, `Display`, `Formatter`, `Result` [INFO] [stdout] --> src/maths/vector.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Display, Debug, Formatter, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::forfor` [INFO] [stdout] --> src/maths/vector.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::forfor; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/maths/vector.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::types::Dimension` [INFO] [stdout] --> src/maths/rand.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::utils::types::Dimension; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndexMut`, `Index` [INFO] [stdout] --> src/maths/vector.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Add, Mul, Sub, Div, IndexMut, Index}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Debug`, `Display`, `Formatter`, `Result` [INFO] [stdout] --> src/maths/vector.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Display, Debug, Formatter, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::forfor` [INFO] [stdout] --> src/maths/vector.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::forfor; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/maths/vector.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/maths/n_matrix.rs:196:31 [INFO] [stdout] | [INFO] [stdout] 196 | fn _borrow_partial(&self, query: Vec) {//-> Matrix { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fan_in` [INFO] [stdout] --> src/tools/initializer.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn xavier_initializer(fan_in: Dimension, fan_out: Dimension) -> Weight { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fan_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fan_out` [INFO] [stdout] --> src/tools/initializer.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn xavier_initializer(fan_in: Dimension, fan_out: Dimension) -> Weight { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fan_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fan_in` [INFO] [stdout] --> src/tools/initializer.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | fn initializer(&self, fan_in: Dimension, fan_out: Dimension) -> Weight { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fan_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fan_out` [INFO] [stdout] --> src/tools/initializer.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | fn initializer(&self, fan_in: Dimension, fan_out: Dimension) -> Weight { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fan_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `vec_to_dims` [INFO] [stdout] --> src/maths/n_matrix.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn vec_to_dims(this: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Buffer` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut Buffer: [u8;8] = [0;8]; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ChunkLength` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut ChunkLength: [u8;4] = [0;4]; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `chunk_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ChunkType` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut ChunkType: [u8;4] = [0;4]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `chunk_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Buffer` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let mut Buffer: [u8;17] = [0;17]; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CRC` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut CRC: [u8;4] = [0;4]; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `crc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Width` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut Width: [u8; 4] = [0;4]; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Height` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut Height: [u8; 4] = [0;4]; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Bit_depth` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut Bit_depth: [u8; 1] = [0;1]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `bit_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Color_Type` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut Color_Type: [u8; 1] = [0;1]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `color_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Compression_method` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let mut Compression_method: [u8; 1] = [0;1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `compression_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Filter_method` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let mut Filter_method: [u8; 1] = [0;1]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `filter_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Interlace_method` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let mut Interlace_method: [u8; 1] = [0;1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `interlace_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Width` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let Width = _type_cast_u4a_to_u16(Width); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Height` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let Height = _type_cast_u4a_to_u16(Height); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Buffer` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let mut Buffer: [u8;8] = [0;8]; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Buffer` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let mut Buffer: [u8;2] = [0;2]; // MNIST has Default Comporession, [78, 9C] [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Buffer` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut Buffer: [u8;5] = [0;5]; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/maths/n_matrix.rs:196:31 [INFO] [stdout] | [INFO] [stdout] 196 | fn _borrow_partial(&self, query: Vec) {//-> Matrix { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fan_in` [INFO] [stdout] --> src/tools/initializer.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn xavier_initializer(fan_in: Dimension, fan_out: Dimension) -> Weight { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fan_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fan_out` [INFO] [stdout] --> src/tools/initializer.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn xavier_initializer(fan_in: Dimension, fan_out: Dimension) -> Weight { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fan_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fan_in` [INFO] [stdout] --> src/tools/initializer.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | fn initializer(&self, fan_in: Dimension, fan_out: Dimension) -> Weight { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fan_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fan_out` [INFO] [stdout] --> src/tools/initializer.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | fn initializer(&self, fan_in: Dimension, fan_out: Dimension) -> Weight { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fan_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `vec_to_dims` [INFO] [stdout] --> src/maths/n_matrix.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn vec_to_dims(this: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Buffer` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut Buffer: [u8;8] = [0;8]; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ChunkLength` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut ChunkLength: [u8;4] = [0;4]; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `chunk_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ChunkType` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let mut ChunkType: [u8;4] = [0;4]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `chunk_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Buffer` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let mut Buffer: [u8;17] = [0;17]; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CRC` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut CRC: [u8;4] = [0;4]; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `crc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Width` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut Width: [u8; 4] = [0;4]; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Height` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut Height: [u8; 4] = [0;4]; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Bit_depth` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut Bit_depth: [u8; 1] = [0;1]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `bit_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Color_Type` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut Color_Type: [u8; 1] = [0;1]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `color_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Compression_method` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let mut Compression_method: [u8; 1] = [0;1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `compression_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Filter_method` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let mut Filter_method: [u8; 1] = [0;1]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `filter_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Interlace_method` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let mut Interlace_method: [u8; 1] = [0;1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `interlace_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Width` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let Width = _type_cast_u4a_to_u16(Width); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Height` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let Height = _type_cast_u4a_to_u16(Height); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Buffer` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let mut Buffer: [u8;8] = [0;8]; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Buffer` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let mut Buffer: [u8;2] = [0;2]; // MNIST has Default Comporession, [78, 9C] [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Buffer` should have a snake case name [INFO] [stdout] --> src/reader/png.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut Buffer: [u8;5] = [0;5]; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tools` [INFO] [stdout] --> tests/test_matrix.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use tools::test_tools::test_excution_time; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter`, `Result` [INFO] [stdout] --> src/bin/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::{Display, Debug, Formatter, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/bin/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `activations::*` [INFO] [stdout] --> src/bin/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use activations::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `initializer::*` [INFO] [stdout] --> src/bin/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use initializer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cost::*` [INFO] [stdout] --> src/bin/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use cost::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `layer::LAYER::*` [INFO] [stdout] --> src/bin/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use layer::LAYER::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `layer::*` [INFO] [stdout] --> src/bin/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use layer::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `model::*` [INFO] [stdout] --> src/bin/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use model::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `One` [INFO] [stdout] --> src/bin/main.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | use crate::maths::c_num_traits::{Zero, One}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ml` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function is never used: `test` [INFO] [stdout] --> src/bin/main.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn test(index: &[T]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter`, `Result` [INFO] [stdout] --> src/bin/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::{Display, Debug, Formatter, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/bin/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `activations::*` [INFO] [stdout] --> src/bin/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use activations::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `initializer::*` [INFO] [stdout] --> src/bin/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use initializer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cost::*` [INFO] [stdout] --> src/bin/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use cost::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `layer::LAYER::*` [INFO] [stdout] --> src/bin/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use layer::LAYER::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `layer::*` [INFO] [stdout] --> src/bin/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use layer::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `model::*` [INFO] [stdout] --> src/bin/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use model::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `One` [INFO] [stdout] --> src/bin/main.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | use crate::maths::c_num_traits::{Zero, One}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test` [INFO] [stdout] --> src/bin/main.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn test(index: &[T]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cf87a0c93a2ab9a721f04dfc83b01fc05624a274b3947414ef774f5ba1a6b55b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf87a0c93a2ab9a721f04dfc83b01fc05624a274b3947414ef774f5ba1a6b55b", kill_on_drop: false }` [INFO] [stdout] cf87a0c93a2ab9a721f04dfc83b01fc05624a274b3947414ef774f5ba1a6b55b