[INFO] cloning repository https://github.com/notseanray/mnist-nn-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/notseanray/mnist-nn-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnotseanray%2Fmnist-nn-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnotseanray%2Fmnist-nn-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cca05789d0359c2ea2b38a64d19ad514252cadac
[INFO] checking notseanray/mnist-nn-rs against 79c0559184f27f4433a6fbc260b950d06d4a4889 for pr-162233-crater-rollup
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnotseanray%2Fmnist-nn-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/notseanray/mnist-nn-rs
[INFO] finished tweaking git repo https://github.com/notseanray/mnist-nn-rs
[INFO] tweaked toml for git repo https://github.com/notseanray/mnist-nn-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/notseanray/mnist-nn-rs on toolchain 79c0559184f27f4433a6fbc260b950d06d4a4889
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/notseanray/mnist-nn-rs 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" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "fetch" "--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-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a055bf9dc64d58410d6a65106913d61633eb68fd3226147e7f74a7ad0c68e893
[INFO] running `Command { std: "docker" "start" "a055bf9dc64d58410d6a65106913d61633eb68fd3226147e7f74a7ad0c68e893", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a055bf9dc64d58410d6a65106913d61633eb68fd3226147e7f74a7ad0c68e893", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a055bf9dc64d58410d6a65106913d61633eb68fd3226147e7f74a7ad0c68e893" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a055bf9dc64d58410d6a65106913d61633eb68fd3226147e7f74a7ad0c68e893", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a055bf9dc64d58410d6a65106913d61633eb68fd3226147e7f74a7ad0c68e893" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]     Checking fastrand v2.0.0
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking mnist-nn-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rand::seq::SliceRandom`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::seq::SliceRandom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::thread_rng`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::thread_rng;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::seq::SliceRandom`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::seq::SliceRandom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::thread_rng`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::thread_rng;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Add`
[INFO] [stdout]  --> src/main.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 |     ops::{Add, Mul},
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Add`
[INFO] [stdout]  --> src/main.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 |     ops::{Add, Mul},
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]    --> src/main.rs:198:9
[INFO] [stdout]     |
[INFO] [stdout] 198 |     let size = y.len();
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z2`
[INFO] [stdout]    --> src/main.rs:272:5
[INFO] [stdout]     |
[INFO] [stdout] 272 |     z2: M<f32>,
[INFO] [stdout]     |     ^^ help: if this is intentional, prefix it with an underscore: `_z2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w1`
[INFO] [stdout]    --> src/main.rs:274:5
[INFO] [stdout]     |
[INFO] [stdout] 274 |     w1: M<f32>,
[INFO] [stdout]     |     ^^ help: if this is intentional, prefix it with an underscore: `_w1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y_dev`
[INFO] [stdout]    --> src/main.rs:348:9
[INFO] [stdout]     |
[INFO] [stdout] 348 |     let y_dev = &dev_data[0];
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_y_dev`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x_dev`
[INFO] [stdout]    --> src/main.rs:349:9
[INFO] [stdout]     |
[INFO] [stdout] 349 |     let x_dev = &dev_data[1..].to_vec();
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_dev`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `W1`
[INFO] [stdout]    --> src/main.rs:365:10
[INFO] [stdout]     |
[INFO] [stdout] 365 |     let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len);
[INFO] [stdout]     |          ^^ help: if this is intentional, prefix it with an underscore: `_W1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b1`
[INFO] [stdout]    --> src/main.rs:365:14
[INFO] [stdout]     |
[INFO] [stdout] 365 |     let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len);
[INFO] [stdout]     |              ^^ help: if this is intentional, prefix it with an underscore: `_b1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `W2`
[INFO] [stdout]    --> src/main.rs:365:18
[INFO] [stdout]     |
[INFO] [stdout] 365 |     let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len);
[INFO] [stdout]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_W2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]    --> src/main.rs:198:9
[INFO] [stdout]     |
[INFO] [stdout] 198 |     let size = y.len();
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b2`
[INFO] [stdout]    --> src/main.rs:365:22
[INFO] [stdout]     |
[INFO] [stdout] 365 |     let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len);
[INFO] [stdout]     |                      ^^ help: if this is intentional, prefix it with an underscore: `_b2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `dot` and `m_eq` are never used
[INFO] [stdout]   --> src/main.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | trait Matrix {
[INFO] [stdout]    |       ------ methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn dot(self, other: Vec<Self::Number>) -> Vec<Self::Number>;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn m_eq(&self, other: &M<Self::Number>) -> Self;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `W1` should have a snake case name
[INFO] [stdout]    --> src/main.rs:365:10
[INFO] [stdout]     |
[INFO] [stdout] 365 |     let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len);
[INFO] [stdout]     |          ^^ help: convert the identifier to snake case (notice the capitalization): `w1`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `W2` should have a snake case name
[INFO] [stdout]    --> src/main.rs:365:18
[INFO] [stdout]     |
[INFO] [stdout] 365 |     let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len);
[INFO] [stdout]     |                  ^^ help: convert the identifier to snake case (notice the capitalization): `w2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z2`
[INFO] [stdout]    --> src/main.rs:272:5
[INFO] [stdout]     |
[INFO] [stdout] 272 |     z2: M<f32>,
[INFO] [stdout]     |     ^^ help: if this is intentional, prefix it with an underscore: `_z2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `w1`
[INFO] [stdout]    --> src/main.rs:274:5
[INFO] [stdout]     |
[INFO] [stdout] 274 |     w1: M<f32>,
[INFO] [stdout]     |     ^^ help: if this is intentional, prefix it with an underscore: `_w1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y_dev`
[INFO] [stdout]    --> src/main.rs:348:9
[INFO] [stdout]     |
[INFO] [stdout] 348 |     let y_dev = &dev_data[0];
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_y_dev`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x_dev`
[INFO] [stdout]    --> src/main.rs:349:9
[INFO] [stdout]     |
[INFO] [stdout] 349 |     let x_dev = &dev_data[1..].to_vec();
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_dev`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `W1`
[INFO] [stdout]    --> src/main.rs:365:10
[INFO] [stdout]     |
[INFO] [stdout] 365 |     let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len);
[INFO] [stdout]     |          ^^ help: if this is intentional, prefix it with an underscore: `_W1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b1`
[INFO] [stdout]    --> src/main.rs:365:14
[INFO] [stdout]     |
[INFO] [stdout] 365 |     let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len);
[INFO] [stdout]     |              ^^ help: if this is intentional, prefix it with an underscore: `_b1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `W2`
[INFO] [stdout]    --> src/main.rs:365:18
[INFO] [stdout]     |
[INFO] [stdout] 365 |     let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len);
[INFO] [stdout]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_W2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b2`
[INFO] [stdout]    --> src/main.rs:365:22
[INFO] [stdout]     |
[INFO] [stdout] 365 |     let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len);
[INFO] [stdout]     |                      ^^ help: if this is intentional, prefix it with an underscore: `_b2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `dot` and `m_eq` are never used
[INFO] [stdout]   --> src/main.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | trait Matrix {
[INFO] [stdout]    |       ------ methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn dot(self, other: Vec<Self::Number>) -> Vec<Self::Number>;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn m_eq(&self, other: &M<Self::Number>) -> Self;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `W1` should have a snake case name
[INFO] [stdout]    --> src/main.rs:365:10
[INFO] [stdout]     |
[INFO] [stdout] 365 |     let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len);
[INFO] [stdout]     |          ^^ help: convert the identifier to snake case (notice the capitalization): `w1`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `W2` should have a snake case name
[INFO] [stdout]    --> src/main.rs:365:18
[INFO] [stdout]     |
[INFO] [stdout] 365 |     let (W1, b1, W2, b2) = gradient_descent(x_train, y_train, 0.10, 500, rows_len);
[INFO] [stdout]     |                  ^^ help: convert the identifier to snake case (notice the capitalization): `w2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.70s
[INFO] running `Command { std: "docker" "inspect" "a055bf9dc64d58410d6a65106913d61633eb68fd3226147e7f74a7ad0c68e893", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a055bf9dc64d58410d6a65106913d61633eb68fd3226147e7f74a7ad0c68e893", kill_on_drop: false }`
[INFO] [stdout] a055bf9dc64d58410d6a65106913d61633eb68fd3226147e7f74a7ad0c68e893
