[INFO] cloning repository https://github.com/tonyyzy/smolgrad
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tonyyzy/smolgrad" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonyyzy%2Fsmolgrad", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonyyzy%2Fsmolgrad'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 542ec1fb8c3497be3f098cc81190402808edc635
[INFO] checking tonyyzy/smolgrad against 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6 for pr-160581
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonyyzy%2Fsmolgrad" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tonyyzy/smolgrad
[INFO] finished tweaking git repo https://github.com/tonyyzy/smolgrad
[INFO] tweaked toml for git repo https://github.com/tonyyzy/smolgrad written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tonyyzy/smolgrad on toolchain 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tonyyzy/smolgrad 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" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "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-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 34d6acac101fe54bfb5b95ae635b5d74c2f49a35c858e32057ce0ba3764ee433
[INFO] running `Command { std: "docker" "start" "34d6acac101fe54bfb5b95ae635b5d74c2f49a35c858e32057ce0ba3764ee433", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "34d6acac101fe54bfb5b95ae635b5d74c2f49a35c858e32057ce0ba3764ee433", 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" "34d6acac101fe54bfb5b95ae635b5d74c2f49a35c858e32057ce0ba3764ee433" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "34d6acac101fe54bfb5b95ae635b5d74c2f49a35c858e32057ce0ba3764ee433", 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" "34d6acac101fe54bfb5b95ae635b5d74c2f49a35c858e32057ce0ba3764ee433" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.97
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking smolgrad v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/nn.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 137 |     use super::*;
[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: `HashMap`
[INFO] [stdout]  --> src/engine.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/engine.rs:337:9
[INFO] [stdout]     |
[INFO] [stdout] 337 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]  --> src/engine.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/nn.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let mut w = (0..nin)
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Module` is never used
[INFO] [stdout]  --> src/nn.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait Module {
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Neuron` is never constructed
[INFO] [stdout]   --> src/nn.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct Neuron {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Layer` is never constructed
[INFO] [stdout]   --> src/nn.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct Layer {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MLP` is never constructed
[INFO] [stdout]   --> src/nn.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct MLP {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `call` are never used
[INFO] [stdout]   --> src/nn.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl Neuron {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 34 |     fn new(nin: usize, nonlin: bool) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn call(&self, x: &[Value]) -> Value {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `call` are never used
[INFO] [stdout]   --> src/nn.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | impl Layer {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 84 |     fn new(nin: usize, nout: usize, nonlin: bool) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     fn call(&self, x: &[Value]) -> Vec<Value> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `call` are never used
[INFO] [stdout]    --> src/nn.rs:107:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | impl MLP {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] 107 |     fn new(nin: usize, nouts: &[usize]) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     fn call(&self, x: &[Value]) -> Vec<Value> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `op` is never read
[INFO] [stdout]   --> src/engine.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Inner {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     op: Ops,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `backward` is never used
[INFO] [stdout]   --> src/engine.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl Value {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 90 |     fn backward(&self) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/nn.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let mut w = (0..nin)
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `call` is never used
[INFO] [stdout]   --> src/nn.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl Neuron {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn call(&self, x: &[Value]) -> Value {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `call` is never used
[INFO] [stdout]   --> src/nn.rs:89:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | impl Layer {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 89 |     fn call(&self, x: &[Value]) -> Vec<Value> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `call` is never used
[INFO] [stdout]    --> src/nn.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | impl MLP {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 116 |     fn call(&self, x: &[Value]) -> Vec<Value> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `op` is never read
[INFO] [stdout]   --> src/engine.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Inner {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     op: Ops,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_MLP` should have a snake case name
[INFO] [stdout]    --> src/nn.rs:161:8
[INFO] [stdout]     |
[INFO] [stdout] 161 |     fn test_MLP() {
[INFO] [stdout]     |        ^^^^^^^^ help: convert the identifier to snake case: `test_mlp`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_ReLU` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:389:8
[INFO] [stdout]     |
[INFO] [stdout] 389 |     fn test_ReLU() {
[INFO] [stdout]     |        ^^^^^^^^^ help: convert the identifier to snake case: `test_re_lu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_ReLU_neg` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:400:8
[INFO] [stdout]     |
[INFO] [stdout] 400 |     fn test_ReLU_neg() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_re_lu_neg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.32s
[INFO] running `Command { std: "docker" "inspect" "34d6acac101fe54bfb5b95ae635b5d74c2f49a35c858e32057ce0ba3764ee433", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "34d6acac101fe54bfb5b95ae635b5d74c2f49a35c858e32057ce0ba3764ee433", kill_on_drop: false }`
[INFO] [stdout] 34d6acac101fe54bfb5b95ae635b5d74c2f49a35c858e32057ce0ba3764ee433
