[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 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gcc v0.3.49 [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", 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] f0b84f87aa4177094f88b37448e3b40c3b80a2f175ac1267ac6ea765f4554322 [INFO] running `Command { std: "docker" "start" "-a" "f0b84f87aa4177094f88b37448e3b40c3b80a2f175ac1267ac6ea765f4554322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0b84f87aa4177094f88b37448e3b40c3b80a2f175ac1267ac6ea765f4554322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0b84f87aa4177094f88b37448e3b40c3b80a2f175ac1267ac6ea765f4554322", kill_on_drop: false }` [INFO] [stdout] f0b84f87aa4177094f88b37448e3b40c3b80a2f175ac1267ac6ea765f4554322 [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cf92b79048466bf8892ae28c870a83ec71e2342b0237f722d3570170a0ac674 [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" "9cf92b79048466bf8892ae28c870a83ec71e2342b0237f722d3570170a0ac674", 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.61s [INFO] running `Command { std: "docker" "inspect" "9cf92b79048466bf8892ae28c870a83ec71e2342b0237f722d3570170a0ac674", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cf92b79048466bf8892ae28c870a83ec71e2342b0237f722d3570170a0ac674", kill_on_drop: false }` [INFO] [stdout] 9cf92b79048466bf8892ae28c870a83ec71e2342b0237f722d3570170a0ac674 [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e58166acd3235dce7f21774254213c0222b0a7a51be752d6b88bd513d80a0a7b [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" "e58166acd3235dce7f21774254213c0222b0a7a51be752d6b88bd513d80a0a7b", kill_on_drop: false }` [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.19s [INFO] running `Command { std: "docker" "inspect" "e58166acd3235dce7f21774254213c0222b0a7a51be752d6b88bd513d80a0a7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e58166acd3235dce7f21774254213c0222b0a7a51be752d6b88bd513d80a0a7b", kill_on_drop: false }` [INFO] [stdout] e58166acd3235dce7f21774254213c0222b0a7a51be752d6b88bd513d80a0a7b [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0e781e7bdb8c362b282209b0efcf347cd8d6113ac2b2a141ad96d8948ccc9d06 [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" "0e781e7bdb8c362b282209b0efcf347cd8d6113ac2b2a141ad96d8948ccc9d06", kill_on_drop: false }` [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 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/neural_networks_practice-72b62bed6609342f) [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" "0e781e7bdb8c362b282209b0efcf347cd8d6113ac2b2a141ad96d8948ccc9d06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e781e7bdb8c362b282209b0efcf347cd8d6113ac2b2a141ad96d8948ccc9d06", kill_on_drop: false }` [INFO] [stdout] 0e781e7bdb8c362b282209b0efcf347cd8d6113ac2b2a141ad96d8948ccc9d06