[INFO] updating cached repository https://github.com/Rittyan/deep_learning_from_scratch_in_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 696eb324ed8b3fdf301316b98fbfc70e43a1d8c7 [INFO] testing Rittyan/deep_learning_from_scratch_in_rust against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRittyan%2Fdeep_learning_from_scratch_in_rust" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rittyan/deep_learning_from_scratch_in_rust on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Rittyan/deep_learning_from_scratch_in_rust [INFO] finished tweaking git repo https://github.com/Rittyan/deep_learning_from_scratch_in_rust [INFO] tweaked toml for git repo https://github.com/Rittyan/deep_learning_from_scratch_in_rust written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Rittyan/deep_learning_from_scratch_in_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2200e0b8e53436e5d14e4178e326f8066d11c542776c91ef1186234e4f045bd2 [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" "2200e0b8e53436e5d14e4178e326f8066d11c542776c91ef1186234e4f045bd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2200e0b8e53436e5d14e4178e326f8066d11c542776c91ef1186234e4f045bd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2200e0b8e53436e5d14e4178e326f8066d11c542776c91ef1186234e4f045bd2", kill_on_drop: false }` [INFO] [stdout] 2200e0b8e53436e5d14e4178e326f8066d11c542776c91ef1186234e4f045bd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76c3da7ee6231b68cb7565c03f62d43488233b7be4b9932cbb0e56bd34ff138e [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" "76c3da7ee6231b68cb7565c03f62d43488233b7be4b9932cbb0e56bd34ff138e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling syn v1.0.29 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling base64 v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.57 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling ndarray-rand v0.11.0 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling pin-project v0.4.17 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.6 [INFO] [stderr] Compiling dl_fr_scratch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `image` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use image::GrayImage; [INFO] [stdout] | ^^^^^ use of undeclared type or module `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `image` [INFO] [stdout] --> src/utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use image::GrayImage; [INFO] [stdout] | ^^^^^ use of undeclared type or module `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `image` [INFO] [stdout] --> src/simple_conv_net.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use image::GrayImage; [INFO] [stdout] | ^^^^^ use of undeclared type or module `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `image` [INFO] [stdout] --> src/auto_encoder.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use image::GrayImage; [INFO] [stdout] | ^^^^^ use of undeclared type or module `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `image` [INFO] [stdout] --> src/vae.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use image::GrayImage; [INFO] [stdout] | ^^^^^ use of undeclared type or module `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray_rand::rand_distr::Normal` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ndarray_rand::rand_distr::Normal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray_rand::rand_distr::StandardNormal` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray_rand::rand_distr::StandardNormal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Data`, `RawDataClone`, `RawData`, `stack` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use ndarray::{stack, Data, RawData, RawDataClone}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cross_entropy_error_batch`, `cross_entropy_error`, `sigmoid`, `softmax2d`, `softmax` [INFO] [stdout] --> src/main.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::functions::functions::{sigmoid, softmax, cross_entropy_error, cross_entropy_error_batch, softmax2d}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `col2im`, `img2col` [INFO] [stdout] --> src/main.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::utils::{img2col, col2im}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::layers::DimensionTransLayer4D2D` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::layers::DimensionTransLayer4D2D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::optimizer::Momentum` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::optimizer::Momentum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/mnist.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `copy` [INFO] [stdout] --> src/mnist.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{copy, Write, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::current_dir` [INFO] [stdout] --> src/mnist.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use std::env::current_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/functions.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let mut r = (y - t); [INFO] [stdout] | ^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/functions.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | let res = (r.mapv(|v| v.powf(2.0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mnist::mnist::MnistData` [INFO] [stdout] --> src/layers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::mnist::mnist::MnistData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray_rand::rand_distr::Uniform` [INFO] [stdout] --> src/layers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ndarray_rand::rand_distr::Uniform; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray_rand::rand_distr::StandardNormal` [INFO] [stdout] --> src/layers.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray_rand::rand_distr::StandardNormal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Data`, `RawDataClone`, `RawData`, `stack` [INFO] [stdout] --> src/layers.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use ndarray::{stack, Data, RawData, RawDataClone}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cross_entropy_error`, `sigmoid`, `softmax` [INFO] [stdout] --> src/layers.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::functions::functions::{sigmoid, softmax, cross_entropy_error, cross_entropy_error_batch, softmax2d}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray_rand::rand_distr::Uniform` [INFO] [stdout] --> src/two_layer_net.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ndarray_rand::rand_distr::Uniform; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray_rand::rand_distr::StandardNormal` [INFO] [stdout] --> src/two_layer_net.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ndarray_rand::rand_distr::StandardNormal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Data`, `RawDataClone`, `RawData`, `stack` [INFO] [stdout] --> src/two_layer_net.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{stack, Data, RawData, RawDataClone}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cross_entropy_error_batch`, `cross_entropy_error`, `sigmoid`, `softmax2d`, `softmax` [INFO] [stdout] --> src/two_layer_net.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::functions::functions::{sigmoid, softmax, cross_entropy_error, cross_entropy_error_batch, softmax2d}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/two_layer_net.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/two_layer_net.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Data`, `RawDataClone`, `RawData` [INFO] [stdout] --> src/utils.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use ndarray::{stack, Data, RawData, RawDataClone}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray_rand::rand_distr::Uniform` [INFO] [stdout] --> src/simple_conv_net.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ndarray_rand::rand_distr::Uniform; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray_rand::rand_distr::StandardNormal` [INFO] [stdout] --> src/simple_conv_net.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ndarray_rand::rand_distr::StandardNormal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Data`, `RawDataClone`, `RawData`, `stack` [INFO] [stdout] --> src/simple_conv_net.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::{stack, Data, RawData, RawDataClone}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cross_entropy_error_batch`, `cross_entropy_error`, `sigmoid`, `softmax2d`, `softmax` [INFO] [stdout] --> src/simple_conv_net.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::functions::functions::{sigmoid, softmax, cross_entropy_error, cross_entropy_error_batch, softmax2d}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/simple_conv_net.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/simple_conv_net.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/simple_conv_net.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/simple_conv_net.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | let pool_output_size = (filter_num * (conv_output_size / 2) * (conv_output_size / 2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Momentum`, `SGD` [INFO] [stdout] --> src/auto_encoder.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::optimizer::{Momentum, SGD, AdaGrad}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array1` [INFO] [stdout] --> src/vae.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{Array2, Array, Array1, Axis}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Momentum`, `SGD` [INFO] [stdout] --> src/vae.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::optimizer::{Momentum, SGD, AdaGrad}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/vae.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let a = (t.clone() * res); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | for i in (0..iters_num) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:161:14 [INFO] [stdout] | [INFO] [stdout] 161 | for i in (0..iters_num) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:211:14 [INFO] [stdout] | [INFO] [stdout] 211 | for i in (0..iters_num) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:262:14 [INFO] [stdout] | [INFO] [stdout] 262 | for i in (0..iters_num) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mnist.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut path = std::env::current_dir().unwrap().join("data/").join(file_name); [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] error: aborting due to 5 previous errors; 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dl_fr_scratch`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "76c3da7ee6231b68cb7565c03f62d43488233b7be4b9932cbb0e56bd34ff138e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76c3da7ee6231b68cb7565c03f62d43488233b7be4b9932cbb0e56bd34ff138e", kill_on_drop: false }` [INFO] [stdout] 76c3da7ee6231b68cb7565c03f62d43488233b7be4b9932cbb0e56bd34ff138e