[INFO] cloning repository https://github.com/emilio/nn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emilio/nn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femilio%2Fnn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femilio%2Fnn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8cda885b450db2983bd4b503ff00a19cba5dce0 [INFO] testing emilio/nn against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femilio%2Fnn" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emilio/nn on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/emilio/nn [INFO] finished tweaking git repo https://github.com/emilio/nn [INFO] tweaked toml for git repo https://github.com/emilio/nn written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/emilio/nn already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f663a962b65b476168d635636c5ec7f237e5ca84f095d35452151cfcbc7f58ea [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" "f663a962b65b476168d635636c5ec7f237e5ca84f095d35452151cfcbc7f58ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f663a962b65b476168d635636c5ec7f237e5ca84f095d35452151cfcbc7f58ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f663a962b65b476168d635636c5ec7f237e5ca84f095d35452151cfcbc7f58ea", kill_on_drop: false }` [INFO] [stdout] f663a962b65b476168d635636c5ec7f237e5ca84f095d35452151cfcbc7f58ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fbe7c990b96615953540a4f95e17230371d30039ce19f92f81236cf9766452b5 [INFO] running `Command { std: "docker" "start" "-a" "fbe7c990b96615953540a4f95e17230371d30039ce19f92f81236cf9766452b5", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.49 [INFO] [stderr] Compiling term_size v0.3.0 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling clap v2.24.2 [INFO] [stderr] Compiling cmake v0.1.24 [INFO] [stderr] Compiling neural-networks-practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `slice` is imported redundantly [INFO] [stdout] --> src/main.rs:527:9 [INFO] [stdout] | [INFO] [stdout] 23 | use std::{io, fs, path, slice}; [INFO] [stdout] | ----- the item `slice` is already imported here [INFO] [stdout] ... [INFO] [stdout] 527 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `slice` is imported redundantly [INFO] [stdout] --> src/main.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 23 | use std::{io, fs, path, slice}; [INFO] [stdout] | ----- the item `slice` is already imported here [INFO] [stdout] ... [INFO] [stdout] 546 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | let (l, mut r) = self.layers.split_at_mut(i); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let mut output_layer = self.layers.last_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | let mut this_layer = match iter.next() { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:259:24 [INFO] [stdout] | [INFO] [stdout] 259 | while let Some(mut previous_layer) = next { [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | let mut this_layer = match iter.next() { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `label` [INFO] [stdout] --> src/main.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 414 | label: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `MNISTLabeledImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:410:10 [INFO] [stdout] | [INFO] [stdout] 410 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rows` [INFO] [stdout] --> src/main.rs:415:5 [INFO] [stdout] | [INFO] [stdout] 415 | rows: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MNISTLabeledImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:410:10 [INFO] [stdout] | [INFO] [stdout] 410 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `columns` [INFO] [stdout] --> src/main.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 416 | columns: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MNISTLabeledImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:410:10 [INFO] [stdout] | [INFO] [stdout] 410 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.17s [INFO] running `Command { std: "docker" "inspect" "fbe7c990b96615953540a4f95e17230371d30039ce19f92f81236cf9766452b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbe7c990b96615953540a4f95e17230371d30039ce19f92f81236cf9766452b5", kill_on_drop: false }` [INFO] [stdout] fbe7c990b96615953540a4f95e17230371d30039ce19f92f81236cf9766452b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b82c386ffd7ffabdcd4240ffe5c74948de280807a3d90a833f3c8f034c94ff22 [INFO] running `Command { std: "docker" "start" "-a" "b82c386ffd7ffabdcd4240ffe5c74948de280807a3d90a833f3c8f034c94ff22", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling neural-networks-practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `slice` is imported redundantly [INFO] [stdout] --> src/main.rs:527:9 [INFO] [stdout] | [INFO] [stdout] 23 | use std::{io, fs, path, slice}; [INFO] [stdout] | ----- the item `slice` is already imported here [INFO] [stdout] ... [INFO] [stdout] 527 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `slice` is imported redundantly [INFO] [stdout] --> src/main.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 23 | use std::{io, fs, path, slice}; [INFO] [stdout] | ----- the item `slice` is already imported here [INFO] [stdout] ... [INFO] [stdout] 546 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | let (l, mut r) = self.layers.split_at_mut(i); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let mut output_layer = self.layers.last_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | let mut this_layer = match iter.next() { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:259:24 [INFO] [stdout] | [INFO] [stdout] 259 | while let Some(mut previous_layer) = next { [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | let mut this_layer = match iter.next() { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `label` [INFO] [stdout] --> src/main.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 414 | label: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `MNISTLabeledImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:410:10 [INFO] [stdout] | [INFO] [stdout] 410 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rows` [INFO] [stdout] --> src/main.rs:415:5 [INFO] [stdout] | [INFO] [stdout] 415 | rows: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MNISTLabeledImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:410:10 [INFO] [stdout] | [INFO] [stdout] 410 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `columns` [INFO] [stdout] --> src/main.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 416 | columns: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MNISTLabeledImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:410:10 [INFO] [stdout] | [INFO] [stdout] 410 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.74s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/neural_networks_practice-ab073c8e5e0890c6) [INFO] running `Command { std: "docker" "inspect" "b82c386ffd7ffabdcd4240ffe5c74948de280807a3d90a833f3c8f034c94ff22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b82c386ffd7ffabdcd4240ffe5c74948de280807a3d90a833f3c8f034c94ff22", kill_on_drop: false }` [INFO] [stdout] b82c386ffd7ffabdcd4240ffe5c74948de280807a3d90a833f3c8f034c94ff22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9c52b062163cff382d75f26ba38f82e72b8965b8c7ec7a7fd2f17478356ce823 [INFO] running `Command { std: "docker" "start" "-a" "9c52b062163cff382d75f26ba38f82e72b8965b8c7ec7a7fd2f17478356ce823", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: the item `slice` is imported redundantly [INFO] [stderr] --> src/main.rs:527:9 [INFO] [stderr] | [INFO] [stderr] 23 | use std::{io, fs, path, slice}; [INFO] [stderr] | ----- the item `slice` is already imported here [INFO] [stderr] ... [INFO] [stderr] 527 | use std::slice; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `slice` is imported redundantly [INFO] [stderr] --> src/main.rs:546:9 [INFO] [stderr] | [INFO] [stderr] 23 | use std::{io, fs, path, slice}; [INFO] [stderr] | ----- the item `slice` is already imported here [INFO] [stderr] ... [INFO] [stderr] 546 | use std::slice; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:215:21 [INFO] [stderr] | [INFO] [stderr] 215 | let (l, mut r) = self.layers.split_at_mut(i); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:226:17 [INFO] [stderr] | [INFO] [stderr] 226 | let mut output_layer = self.layers.last_mut().unwrap(); [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:238:21 [INFO] [stderr] | [INFO] [stderr] 238 | let mut this_layer = match iter.next() { [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:259:24 [INFO] [stderr] | [INFO] [stderr] 259 | while let Some(mut previous_layer) = next { [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:260:17 [INFO] [stderr] | [INFO] [stderr] 260 | let mut this_layer = match iter.next() { [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `label` [INFO] [stderr] --> src/main.rs:414:5 [INFO] [stderr] | [INFO] [stderr] 414 | label: u8, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `MNISTLabeledImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:410:10 [INFO] [stderr] | [INFO] [stderr] 410 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `rows` [INFO] [stderr] --> src/main.rs:415:5 [INFO] [stderr] | [INFO] [stderr] 415 | rows: usize, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MNISTLabeledImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:410:10 [INFO] [stderr] | [INFO] [stderr] 410 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `columns` [INFO] [stderr] --> src/main.rs:416:5 [INFO] [stderr] | [INFO] [stderr] 416 | columns: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MNISTLabeledImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:410:10 [INFO] [stderr] | [INFO] [stderr] 410 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `neural-networks-practice` (bin "neural-networks-practice" test) generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.35s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/neural_networks_practice-ab073c8e5e0890c6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9c52b062163cff382d75f26ba38f82e72b8965b8c7ec7a7fd2f17478356ce823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c52b062163cff382d75f26ba38f82e72b8965b8c7ec7a7fd2f17478356ce823", kill_on_drop: false }` [INFO] [stdout] 9c52b062163cff382d75f26ba38f82e72b8965b8c7ec7a7fd2f17478356ce823