[INFO] cloning repository https://github.com/hchap1/neuron
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hchap1/neuron" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhchap1%2Fneuron", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhchap1%2Fneuron'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a03b13252a4d8d11509735c04ebf310a287e6839
[INFO] checking hchap1/neuron against master#4008bbdf34b583ce44a467043aae3703afc0a76f for pr-129249-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhchap1%2Fneuron" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hchap1/neuron
[INFO] finished tweaking git repo https://github.com/hchap1/neuron
[INFO] tweaked toml for git repo https://github.com/hchap1/neuron written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hchap1/neuron on toolchain 4008bbdf34b583ce44a467043aae3703afc0a76f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hchap1/neuron 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" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rustc-serialize v0.3.25
[INFO] [stderr]   Downloaded num v0.1.43
[INFO] [stderr]   Downloaded num-rational v0.1.43
[INFO] [stderr]   Downloaded num-complex v0.1.44
[INFO] [stderr]   Downloaded libc v0.1.12
[INFO] [stderr]   Downloaded simple v0.3.0
[INFO] [stderr]   Downloaded num-bigint v0.1.45
[INFO] [stderr]   Downloaded rand_distr v0.5.1
[INFO] [stderr]   Downloaded proc-macro2 v1.0.96
[INFO] [stderr]   Downloaded libc v0.2.175
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 005207d35e4281a0328a6a55558daf2b240ff57a2ce2b91f5ad132d51ee20797
[INFO] running `Command { std: "docker" "start" "005207d35e4281a0328a6a55558daf2b240ff57a2ce2b91f5ad132d51ee20797", 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" "005207d35e4281a0328a6a55558daf2b240ff57a2ce2b91f5ad132d51ee20797" "/opt/rustwide/cargo-home/bin/cargo" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "005207d35e4281a0328a6a55558daf2b240ff57a2ce2b91f5ad132d51ee20797", 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" "005207d35e4281a0328a6a55558daf2b240ff57a2ce2b91f5ad132d51ee20797" "/opt/rustwide/cargo-home/bin/cargo" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking cfg-if v1.0.1
[INFO] [stderr]    Compiling sdl2 v0.32.2
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking libc v0.1.12
[INFO] [stderr]    Compiling sdl2-sys v0.32.6
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling num-bigint v0.1.45
[INFO] [stderr]    Compiling num-complex v0.1.44
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling num-rational v0.1.43
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking num v0.1.43
[INFO] [stderr]     Checking rand_distr v0.5.1
[INFO] [stderr]     Checking simple v0.3.0
[INFO] [stderr]     Checking neuron v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `IndexMut` and `Index`
[INFO] [stdout]  --> src/matrix.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use core::ops::{Add, AddAssign, Index, IndexMut, Mul, MulAssign, Sub, SubAssign};
[INFO] [stdout]   |                                 ^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Network` is never constructed
[INFO] [stdout]   --> src/network/reinforcement_learning.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub struct Network<const I: usize, const H: usize, const O: usize, M: Fn(f64) -> f64> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/network/reinforcement_learning.rs:114:12
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl<const I: usize, const H: usize, const O: usize, M: Fn(f64) -> f64> Network<I, H, O, M> {
[INFO] [stdout]     | ------------------------------------------------------------------------------------------- associated items in this implementation
[INFO] [stdout] 113 |
[INFO] [stdout] 114 |     pub fn epsilon_decay(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn update_frozen(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn transposed_output_weight(&self) -> Matrix<H, O> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn update_hidden_layer(&mut self, grad_w1: Matrix<H, I>, grad_b1: Matrix<H, 1>, batch_size: f64) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub fn update_output_layer(&mut self, grad_w2: Matrix<O, H>, grad_b2: Matrix<O, 1>, batch_size: f64) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn hidden_activations(&self, inputs: Matrix<I, 1>) -> Matrix<H, 1> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub fn hidden_z(&self, inputs: Matrix<I, 1>) -> Matrix<H, 1> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |     pub fn feedforward(&self, inputs: Matrix<I, 1>) -> Matrix<O, 1> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     pub fn frozen_feedforward(&self, inputs: Matrix<I, 1>) -> Matrix<O, 1> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn epsilon_greedy<A: Action>(&mut self, inputs: Matrix<I, 1>) -> A {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 202 |     pub fn predict<A: Action>(&mut self, inputs: Matrix<I, 1>) -> A {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     pub fn train<G: Game<I, A>, A: Action>(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Movement` is never used
[INFO] [stdout]   --> src/game/grid_navigation.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Movement {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GridNavigation` is never constructed
[INFO] [stdout]   --> src/game/grid_navigation.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct GridNavigation<const I: usize> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `manhattan_distance` is never used
[INFO] [stdout]   --> src/game/grid_navigation.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl<const I: usize> GridNavigation<I> {
[INFO] [stdout]    | -------------------------------------- method in this implementation
[INFO] [stdout] 47 |     pub fn manhattan_distance(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IndexMut` and `Index`
[INFO] [stdout]  --> src/matrix.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use core::ops::{Add, AddAssign, Index, IndexMut, Mul, MulAssign, Sub, SubAssign};
[INFO] [stdout]   |                                 ^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Network` is never constructed
[INFO] [stdout]   --> src/network/reinforcement_learning.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub struct Network<const I: usize, const H: usize, const O: usize, M: Fn(f64) -> f64> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/network/reinforcement_learning.rs:114:12
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl<const I: usize, const H: usize, const O: usize, M: Fn(f64) -> f64> Network<I, H, O, M> {
[INFO] [stdout]     | ------------------------------------------------------------------------------------------- associated items in this implementation
[INFO] [stdout] 113 |
[INFO] [stdout] 114 |     pub fn epsilon_decay(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn update_frozen(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn transposed_output_weight(&self) -> Matrix<H, O> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn update_hidden_layer(&mut self, grad_w1: Matrix<H, I>, grad_b1: Matrix<H, 1>, batch_size: f64) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub fn update_output_layer(&mut self, grad_w2: Matrix<O, H>, grad_b2: Matrix<O, 1>, batch_size: f64) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn hidden_activations(&self, inputs: Matrix<I, 1>) -> Matrix<H, 1> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub fn hidden_z(&self, inputs: Matrix<I, 1>) -> Matrix<H, 1> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |     pub fn feedforward(&self, inputs: Matrix<I, 1>) -> Matrix<O, 1> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     pub fn frozen_feedforward(&self, inputs: Matrix<I, 1>) -> Matrix<O, 1> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn epsilon_greedy<A: Action>(&mut self, inputs: Matrix<I, 1>) -> A {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 202 |     pub fn predict<A: Action>(&mut self, inputs: Matrix<I, 1>) -> A {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     pub fn train<G: Game<I, A>, A: Action>(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Movement` is never used
[INFO] [stdout]   --> src/game/grid_navigation.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Movement {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GridNavigation` is never constructed
[INFO] [stdout]   --> src/game/grid_navigation.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct GridNavigation<const I: usize> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `manhattan_distance` is never used
[INFO] [stdout]   --> src/game/grid_navigation.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl<const I: usize> GridNavigation<I> {
[INFO] [stdout]    | -------------------------------------- method in this implementation
[INFO] [stdout] 47 |     pub fn manhattan_distance(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.27s
[INFO] running `Command { std: "docker" "inspect" "005207d35e4281a0328a6a55558daf2b240ff57a2ce2b91f5ad132d51ee20797", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "005207d35e4281a0328a6a55558daf2b240ff57a2ce2b91f5ad132d51ee20797", kill_on_drop: false }`
[INFO] [stdout] 005207d35e4281a0328a6a55558daf2b240ff57a2ce2b91f5ad132d51ee20797
