[INFO] cloning repository https://github.com/ayush-suman/mnist-digit-recognition
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ayush-suman/mnist-digit-recognition" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayush-suman%2Fmnist-digit-recognition", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayush-suman%2Fmnist-digit-recognition'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7bea70505407dfa513726dc6598bc0efb590fc2e
[INFO] checking ayush-suman/mnist-digit-recognition against master#3350c1eb3fd8fe1bee1ed4c76944d707bd256876 for pr-140558
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayush-suman%2Fmnist-digit-recognition" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ayush-suman/mnist-digit-recognition on toolchain 3350c1eb3fd8fe1bee1ed4c76944d707bd256876
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ayush-suman/mnist-digit-recognition
[INFO] finished tweaking git repo https://github.com/ayush-suman/mnist-digit-recognition
[INFO] tweaked toml for git repo https://github.com/ayush-suman/mnist-digit-recognition written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/ayush-suman/mnist-digit-recognition already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 77e3fa473fe9806acdc1d91ff1dcc9e461f0aa0699e2b1a14fc7f24835cd8ac1
[INFO] running `Command { std: "docker" "start" "-a" "77e3fa473fe9806acdc1d91ff1dcc9e461f0aa0699e2b1a14fc7f24835cd8ac1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "77e3fa473fe9806acdc1d91ff1dcc9e461f0aa0699e2b1a14fc7f24835cd8ac1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "77e3fa473fe9806acdc1d91ff1dcc9e461f0aa0699e2b1a14fc7f24835cd8ac1", kill_on_drop: false }`
[INFO] [stdout] 77e3fa473fe9806acdc1d91ff1dcc9e461f0aa0699e2b1a14fc7f24835cd8ac1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bf610a3fc2f76f654d05bac59b449cf6bc47a0d0a650963cd434a3f4a46f2633
[INFO] running `Command { std: "docker" "start" "-a" "bf610a3fc2f76f654d05bac59b449cf6bc47a0d0a650963cd434a3f4a46f2633", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking smallvec v1.11.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking pin-project-lite v0.2.10
[INFO] [stderr]     Checking bytes v1.4.0
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling tokio v1.29.1
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]    Compiling syn v2.0.28
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]     Checking scratch_nn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `ANN` and `Weights`
[INFO] [stdout]   --> src/main.rs:14:62
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::{image::Image, utils::load_training_images, ann::{ANN, Weights}};
[INFO] [stdout]    |                                                              ^^^  ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ANN` and `Weights`
[INFO] [stdout]   --> src/main.rs:14:62
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::{image::Image, utils::load_training_images, ann::{ANN, Weights}};
[INFO] [stdout]    |                                                              ^^^  ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `next_layer` is never read
[INFO] [stdout]   --> src/ann.rs:47:17
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let mut next_layer: Vec<f64> = Vec::new();
[INFO] [stdout]    |                 ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loss`
[INFO] [stdout]   --> src/ann.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let loss = - (probability / sum).log(E);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_loss`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/ann.rs:72:23
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn predict(&self, data: &Vec<Vec<u8>>) -> u8 {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `label` and `get_data_as_bytes` are never used
[INFO] [stdout]   --> src/image.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 6  | impl Image {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn label(&mut self, label: u8) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn get_data_as_bytes(&self) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `learning_rate` is never read
[INFO] [stdout]  --> src/ann.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ANN {
[INFO] [stdout]   |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     learning_rate: f64
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Weights` is never used
[INFO] [stdout]   --> src/ann.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum Weights {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/ann.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl ANN {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] 17 |     pub fn new(node_counts: Vec<usize>, learning_rate: f64, weights: Weights) -> ANN {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `next_layer` is never read
[INFO] [stdout]   --> src/ann.rs:47:17
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let mut next_layer: Vec<f64> = Vec::new();
[INFO] [stdout]    |                 ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loss`
[INFO] [stdout]   --> src/ann.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let loss = - (probability / sum).log(E);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_loss`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/ann.rs:72:23
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn predict(&self, data: &Vec<Vec<u8>>) -> u8 {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `label` and `get_data_as_bytes` are never used
[INFO] [stdout]   --> src/image.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 6  | impl Image {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn label(&mut self, label: u8) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn get_data_as_bytes(&self) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `learning_rate` is never read
[INFO] [stdout]  --> src/ann.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ANN {
[INFO] [stdout]   |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     learning_rate: f64
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Weights` is never used
[INFO] [stdout]   --> src/ann.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum Weights {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/ann.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl ANN {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] 17 |     pub fn new(node_counts: Vec<usize>, learning_rate: f64, weights: Weights) -> ANN {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.32s
[INFO] running `Command { std: "docker" "inspect" "bf610a3fc2f76f654d05bac59b449cf6bc47a0d0a650963cd434a3f4a46f2633", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf610a3fc2f76f654d05bac59b449cf6bc47a0d0a650963cd434a3f4a46f2633", kill_on_drop: false }`
[INFO] [stdout] bf610a3fc2f76f654d05bac59b449cf6bc47a0d0a650963cd434a3f4a46f2633
