[INFO] cloning repository https://github.com/er-su/simple-neural-net
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/er-su/simple-neural-net" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fer-su%2Fsimple-neural-net", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fer-su%2Fsimple-neural-net'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a82dd78111a2b5b34f16d8d841cfbf20aee1cfcf
[INFO] checking er-su/simple-neural-net against 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fer-su%2Fsimple-neural-net" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/er-su/simple-neural-net
[INFO] finished tweaking git repo https://github.com/er-su/simple-neural-net
[INFO] tweaked toml for git repo https://github.com/er-su/simple-neural-net written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/er-su/simple-neural-net on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/er-su/simple-neural-net 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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded mnist v0.6.0
[INFO] [stderr]   Downloaded matrixmultiply v0.3.9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f8cdcf1523927f75d764924dc2ca4f537921cb4516bb1390f0ec116508c67cba
[INFO] running `Command { std: "docker" "start" "f8cdcf1523927f75d764924dc2ca4f537921cb4516bb1390f0ec116508c67cba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8cdcf1523927f75d764924dc2ca4f537921cb4516bb1390f0ec116508c67cba", 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" "f8cdcf1523927f75d764924dc2ca4f537921cb4516bb1390f0ec116508c67cba" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8cdcf1523927f75d764924dc2ca4f537921cb4516bb1390f0ec116508c67cba", 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" "f8cdcf1523927f75d764924dc2ca4f537921cb4516bb1390f0ec116508c67cba" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.15
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking log v0.4.25
[INFO] [stderr]    Compiling matrixmultiply v0.3.9
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking mnist v0.6.0
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]     Checking ndarray v0.16.1
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking nets v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/model.rs:150:60
[INFO] [stdout]     |
[INFO] [stdout] 150 |                 single_weight_grad[i * input_length + j] = (layer_error[i] * layer_input[j]);
[INFO] [stdout]     |                                                            ^                               ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 150 -                 single_weight_grad[i * input_length + j] = (layer_error[i] * layer_input[j]);
[INFO] [stdout] 150 +                 single_weight_grad[i * input_length + j] = layer_error[i] * layer_input[j];
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `print_info` and `clone` are never used
[INFO] [stdout]    --> src/model/layer.rs:31:12
[INFO] [stdout]     |
[INFO] [stdout]  14 | impl Layer {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  31 |     pub fn print_info(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub fn clone(&self) -> 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: function `vector_vector_add` is never used
[INFO] [stdout]   --> src/model/layer/util.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn vector_vector_add(vec1: &Vec<f64>, vec2: &Vec<f64>, result: &mut Vec<f64>, size: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_vector` is never used
[INFO] [stdout]   --> src/model/layer/util.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn print_vector(vec: &Vec<f64>, size: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ReLU` should have a snake case name
[INFO] [stdout]   --> src/model/layer/util.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn ReLU(input: &Vec<f64>, output: &mut Vec<f64>, size: usize) {
[INFO] [stdout]    |        ^^^^ help: convert the identifier to snake case: `re_lu`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/model.rs:150:60
[INFO] [stdout]     |
[INFO] [stdout] 150 |                 single_weight_grad[i * input_length + j] = (layer_error[i] * layer_input[j]);
[INFO] [stdout]     |                                                            ^                               ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 150 -                 single_weight_grad[i * input_length + j] = (layer_error[i] * layer_input[j]);
[INFO] [stdout] 150 +                 single_weight_grad[i * input_length + j] = layer_error[i] * layer_input[j];
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `print_info` and `clone` are never used
[INFO] [stdout]    --> src/model/layer.rs:31:12
[INFO] [stdout]     |
[INFO] [stdout]  14 | impl Layer {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  31 |     pub fn print_info(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub fn clone(&self) -> 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: function `vector_vector_add` is never used
[INFO] [stdout]   --> src/model/layer/util.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn vector_vector_add(vec1: &Vec<f64>, vec2: &Vec<f64>, result: &mut Vec<f64>, size: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_vector` is never used
[INFO] [stdout]   --> src/model/layer/util.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn print_vector(vec: &Vec<f64>, size: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ReLU` should have a snake case name
[INFO] [stdout]   --> src/model/layer/util.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn ReLU(input: &Vec<f64>, output: &mut Vec<f64>, size: usize) {
[INFO] [stdout]    |        ^^^^ help: convert the identifier to snake case: `re_lu`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.46s
[INFO] running `Command { std: "docker" "inspect" "f8cdcf1523927f75d764924dc2ca4f537921cb4516bb1390f0ec116508c67cba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8cdcf1523927f75d764924dc2ca4f537921cb4516bb1390f0ec116508c67cba", kill_on_drop: false }`
[INFO] [stdout] f8cdcf1523927f75d764924dc2ca4f537921cb4516bb1390f0ec116508c67cba
