[INFO] cloning repository https://github.com/SpaceKing81/brain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SpaceKing81/brain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpaceKing81%2Fbrain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpaceKing81%2Fbrain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 44dfc64e45dda6f35b0d9fddfe65b5fdce2ba7d4
[INFO] checking SpaceKing81/brain against try#db4e1d23234d93b5e96ecc768b35d9090c32cddf for pr-149901
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpaceKing81%2Fbrain" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/SpaceKing81/brain
[INFO] finished tweaking git repo https://github.com/SpaceKing81/brain
[INFO] tweaked toml for git repo https://github.com/SpaceKing81/brain written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/SpaceKing81/brain on toolchain db4e1d23234d93b5e96ecc768b35d9090c32cddf
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/SpaceKing81/brain 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" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded miniquad v0.4.6
[INFO] [stderr]   Downloaded macroquad v0.4.13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c6efcbbaddad0fdcaadc7f4583353e78864bda6a3376970c5db02b82b9a93951
[INFO] running `Command { std: "docker" "start" "-a" "c6efcbbaddad0fdcaadc7f4583353e78864bda6a3376970c5db02b82b9a93951", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c6efcbbaddad0fdcaadc7f4583353e78864bda6a3376970c5db02b82b9a93951", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c6efcbbaddad0fdcaadc7f4583353e78864bda6a3376970c5db02b82b9a93951", kill_on_drop: false }`
[INFO] [stdout] c6efcbbaddad0fdcaadc7f4583353e78864bda6a3376970c5db02b82b9a93951
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c17efc474b5ab1edfbb0937102b804cf99a36b85bd4d22bb69e396137f7d68c6
[INFO] running `Command { std: "docker" "start" "-a" "c17efc474b5ab1edfbb0937102b804cf99a36b85bd4d22bb69e396137f7d68c6", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking once_cell v1.20.3
[INFO] [stderr]    Compiling miniquad v0.4.6
[INFO] [stderr]     Checking bytemuck v1.21.0
[INFO] [stderr]     Checking miniz_oxide v0.8.4
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking ttf-parser v0.15.2
[INFO] [stderr]    Compiling macroquad_macro v0.1.8
[INFO] [stderr]     Checking flate2 v1.0.35
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]     Checking fontdue v0.7.3
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking macroquad v0.4.13
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking digital_brain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/brain.rs:5:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{BufReader, BufWriter, Read};
[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: `deserialize`
[INFO] [stdout]  --> src/brain.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use bincode::{self, deserialize};
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `screen_height` and `screen_width`
[INFO] [stdout]   --> src/brain.rs:12:44
[INFO] [stdout]    |
[INFO] [stdout] 12 |   color::{GRAY}, rand, shapes::*, window::{screen_height, screen_width}
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/brain.rs:5:37
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{BufReader, BufWriter, Read};
[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: `deserialize`
[INFO] [stdout]  --> src/brain.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use bincode::{self, deserialize};
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `screen_height` and `screen_width`
[INFO] [stdout]   --> src/brain.rs:12:44
[INFO] [stdout]    |
[INFO] [stdout] 12 |   color::{GRAY}, rand, shapes::*, window::{screen_height, screen_width}
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `self` and `self`
[INFO] [stdout]   --> src/brain.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 |   axon::Axon, consts::{self, *}, internal_consts::{self, *}, neuron::{self, Neuron}, pos::Pos,
[INFO] [stdout]    |                        ^^^^                                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Color` and `GRAY`
[INFO] [stdout]  --> src/axon.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | use macroquad::{rand, color::{Color,GRAY}};
[INFO] [stdout]   |                               ^^^^^ ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `self` and `self`
[INFO] [stdout]   --> src/brain.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 |   axon::Axon, consts::{self, *}, internal_consts::{self, *}, neuron::{self, Neuron}, pos::Pos,
[INFO] [stdout]    |                        ^^^^                                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AXON_INPUT_COLOR`, `AXON_NEG_COLOR`, and `AXON_POS_COLOR`
[INFO] [stdout]  --> src/axon.rs:5:31
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{internal_consts::{AXON_INPUT_COLOR, AXON_NEG_COLOR, AXON_POS_COLOR}, MAX_HAPPY_VALUE};
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Color` and `GRAY`
[INFO] [stdout]  --> src/axon.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | use macroquad::{rand, color::{Color,GRAY}};
[INFO] [stdout]   |                               ^^^^^ ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AXON_INPUT_COLOR`, `AXON_NEG_COLOR`, and `AXON_POS_COLOR`
[INFO] [stdout]  --> src/axon.rs:5:31
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{internal_consts::{AXON_INPUT_COLOR, AXON_NEG_COLOR, AXON_POS_COLOR}, MAX_HAPPY_VALUE};
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/brain.rs:530:7
[INFO] [stdout]     |
[INFO] [stdout] 529 |       todo!();
[INFO] [stdout]     |       ------- any code following this expression is unreachable
[INFO] [stdout] 530 |       let sink_id = rand::gen_range(1, self.neurons.len() as u32);
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/brain.rs:530:7
[INFO] [stdout]     |
[INFO] [stdout] 529 |       todo!();
[INFO] [stdout]     |       ------- any code following this expression is unreachable
[INFO] [stdout] 530 |       let sink_id = rand::gen_range(1, self.neurons.len() as u32);
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inp_num`
[INFO] [stdout]    --> src/brain.rs:500:34
[INFO] [stdout]     |
[INFO] [stdout] 500 |   fn spawn_new_neuron(&mut self, inp_num:usize, out_num:usize) -> u32 {
[INFO] [stdout]     |                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inp_num`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/brain.rs:518:9
[INFO] [stdout]     |
[INFO] [stdout] 518 |     for i in 0..30
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inp_num`
[INFO] [stdout]    --> src/brain.rs:500:34
[INFO] [stdout]     |
[INFO] [stdout] 500 |   fn spawn_new_neuron(&mut self, inp_num:usize, out_num:usize) -> u32 {
[INFO] [stdout]     |                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inp_num`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/brain.rs:518:9
[INFO] [stdout]     |
[INFO] [stdout] 518 |     for i in 0..30
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/neuron.rs:157:11
[INFO] [stdout]     |
[INFO] [stdout] 157 |       for i in 0..6 {
[INFO] [stdout]     |           ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/neuron.rs:166:11
[INFO] [stdout]     |
[INFO] [stdout] 166 |       for i in 0..6 {
[INFO] [stdout]     |           ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/neuron.rs:157:11
[INFO] [stdout]     |
[INFO] [stdout] 157 |       for i in 0..6 {
[INFO] [stdout]     |           ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/neuron.rs:166:11
[INFO] [stdout]     |
[INFO] [stdout] 166 |       for i in 0..6 {
[INFO] [stdout]     |           ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GRID_SIZE` is never used
[INFO] [stdout]  --> src/internal_consts.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const GRID_SIZE: f32 = 40.0;
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GRAVITY` is never used
[INFO] [stdout]  --> src/internal_consts.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub const GRAVITY: f32 = 0.01;
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GRAVITY_SUFRACE` is never used
[INFO] [stdout]  --> src/internal_consts.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const GRAVITY_SUFRACE: f32 = 50.0;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ELECTRIC_SUFRACE` is never used
[INFO] [stdout]  --> src/internal_consts.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const ELECTRIC_SUFRACE: f32 = 11.0;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `COULOMB` is never used
[INFO] [stdout]  --> src/internal_consts.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const COULOMB: f32 = 1000.0;  
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SPRING` is never used
[INFO] [stdout]  --> src/internal_consts.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const SPRING:f32 = 1.0;
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SPRING_NORMAL` is never used
[INFO] [stdout]  --> src/internal_consts.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const SPRING_NORMAL:f32 = 20.0;
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TIME_STEP` is never used
[INFO] [stdout]   --> src/internal_consts.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const TIME_STEP: f32 = 0.01;
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `fire_input` is never used
[INFO] [stdout]   --> src/axon.rs:54:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Axon {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |   pub fn fire_input(&mut self, delta_t:u32) {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_with_data` is never used
[INFO] [stdout]   --> src/neuron.rs:70:10
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Neuron {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 70 |   pub fn new_with_data(
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `has_input` is never used
[INFO] [stdout]    --> src/neuron.rs:232:10
[INFO] [stdout]     |
[INFO] [stdout] 216 | impl Neuron {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 232 |   pub fn has_input(&self, input_ids: &HashSet<u128>) -> bool {
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GRID_SIZE` is never used
[INFO] [stdout]  --> src/internal_consts.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const GRID_SIZE: f32 = 40.0;
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GRAVITY` is never used
[INFO] [stdout]  --> src/internal_consts.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub const GRAVITY: f32 = 0.01;
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GRAVITY_SUFRACE` is never used
[INFO] [stdout]  --> src/internal_consts.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const GRAVITY_SUFRACE: f32 = 50.0;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ELECTRIC_SUFRACE` is never used
[INFO] [stdout]  --> src/internal_consts.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const ELECTRIC_SUFRACE: f32 = 11.0;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `COULOMB` is never used
[INFO] [stdout]  --> src/internal_consts.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const COULOMB: f32 = 1000.0;  
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SPRING` is never used
[INFO] [stdout]  --> src/internal_consts.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const SPRING:f32 = 1.0;
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SPRING_NORMAL` is never used
[INFO] [stdout]  --> src/internal_consts.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const SPRING_NORMAL:f32 = 20.0;
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TIME_STEP` is never used
[INFO] [stdout]   --> src/internal_consts.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const TIME_STEP: f32 = 0.01;
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `fire_input` is never used
[INFO] [stdout]   --> src/axon.rs:54:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Axon {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |   pub fn fire_input(&mut self, delta_t:u32) {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_with_data` is never used
[INFO] [stdout]   --> src/neuron.rs:70:10
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Neuron {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 70 |   pub fn new_with_data(
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `has_input` is never used
[INFO] [stdout]    --> src/neuron.rs:232:10
[INFO] [stdout]     |
[INFO] [stdout] 216 | impl Neuron {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 232 |   pub fn has_input(&self, input_ids: &HashSet<u128>) -> bool {
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude::*`
[INFO] [stdout]  --> examples/load.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use macroquad::{prelude::*};
[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: `digital_brain::Spirion`
[INFO] [stdout]  --> examples/load.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use digital_brain::Spirion;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> examples/load.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 |   let (mut brain,_,_) = digital_brain::Spirion::build_from_bin(
[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: variable does not need to be mutable
[INFO] [stdout]    --> examples/just_chatting.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let mut input = "1";
[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: unused `Result` that must be used
[INFO] [stdout]   --> examples/load.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout] 11 |   brain.save_as_bin("spirion_load_test.bin");
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 11 |   let _ = brain.save_as_bin("spirion_load_test.bin");
[INFO] [stdout]    |   +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/just_chatting.rs:133:13
[INFO] [stdout]     |
[INFO] [stdout] 133 |             brain.save_as_bin("Spirion_speaking.bin");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 133 |             let _ = brain.save_as_bin("Spirion_speaking.bin");
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `new` in this scope
[INFO] [stdout]    --> examples/normal_snake.rs:190:22
[INFO] [stdout]     |
[INFO] [stdout] 188 |   fn new(game_size:Option<usize>, level:f32) -> Self {
[INFO] [stdout]     |      --- an associated function by that name is available on `Self` here
[INFO] [stdout] 189 |     
[INFO] [stdout] 190 |     let (row, col) = new.get_ball_pos();
[INFO] [stdout]     |                      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `new` in this scope
[INFO] [stdout]    --> examples/normal_snake.rs:191:5
[INFO] [stdout]     |
[INFO] [stdout] 188 |   fn new(game_size:Option<usize>, level:f32) -> Self {
[INFO] [stdout]     |      --- an associated function by that name is available on `Self` here
[INFO] [stdout] ...
[INFO] [stdout] 191 |     new.current_frame.set(row, col, true).unwrap_or_default();
[INFO] [stdout]     |     ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `new` in this scope
[INFO] [stdout]    --> examples/normal_snake.rs:192:5
[INFO] [stdout]     |
[INFO] [stdout] 188 |   fn new(game_size:Option<usize>, level:f32) -> Self {
[INFO] [stdout]     |      --- an associated function by that name is available on `Self` here
[INFO] [stdout] ...
[INFO] [stdout] 192 |     new.current_frame.set(0,0, true).unwrap_or_default();
[INFO] [stdout]     |     ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `new` in this scope
[INFO] [stdout]    --> examples/normal_snake.rs:193:5
[INFO] [stdout]     |
[INFO] [stdout] 188 |   fn new(game_size:Option<usize>, level:f32) -> Self {
[INFO] [stdout]     |      --- an associated function by that name is available on `Self` here
[INFO] [stdout] ...
[INFO] [stdout] 193 |     new.current_frame.set(0,1, true).unwrap_or_default();
[INFO] [stdout]     |     ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `new` in this scope
[INFO] [stdout]    --> examples/normal_snake.rs:194:5
[INFO] [stdout]     |
[INFO] [stdout] 188 |   fn new(game_size:Option<usize>, level:f32) -> Self {
[INFO] [stdout]     |      --- an associated function by that name is available on `Self` here
[INFO] [stdout] ...
[INFO] [stdout] 194 |     new;
[INFO] [stdout]     |     ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Move` in this scope
[INFO] [stdout]    --> examples/normal_snake.rs:236:39
[INFO] [stdout]     |
[INFO] [stdout] 236 |   fn move_paddle(&mut self, direction:Move) {
[INFO] [stdout]     |                                       ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: there is an enum variant `crate::miniquad::CursorIcon::Move`; try using the variant's enum
[INFO] [stdout]     |
[INFO] [stdout] 236 -   fn move_paddle(&mut self, direction:Move) {
[INFO] [stdout] 236 +   fn move_paddle(&mut self, direction:crate::miniquad::CursorIcon) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Move` in this scope
[INFO] [stdout]    --> examples/normal_snake.rs:373:18
[INFO] [stdout]     |
[INFO] [stdout] 373 | fn get_move() -> Move {
[INFO] [stdout]     |                  ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: there is an enum variant `crate::miniquad::CursorIcon::Move`; try using the variant's enum
[INFO] [stdout]     |
[INFO] [stdout] 373 - fn get_move() -> Move {
[INFO] [stdout] 373 + fn get_move() -> crate::miniquad::CursorIcon {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BRAIN_SIZE` is never used
[INFO] [stdout]   --> examples/pong.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const BRAIN_SIZE:Option<u32> = Some(3000);
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> examples/pong.rs:61:7
[INFO] [stdout]    |
[INFO] [stdout] 61 |       brain.save_as_bin("spirion_pong");
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 61 |       let _ = brain.save_as_bin("spirion_pong");
[INFO] [stdout]    |       +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ball` on type `&mut SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:213:12
[INFO] [stdout]     |
[INFO] [stdout] 213 |       self.ball.bounce_left_right(); 
[INFO] [stdout]     |            ^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ball` on type `&mut SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:217:12
[INFO] [stdout]     |
[INFO] [stdout] 217 |       self.ball.bounce_top_bottom();
[INFO] [stdout]     |            ^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ball` on type `&mut SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:220:12
[INFO] [stdout]     |
[INFO] [stdout] 220 |       self.ball.bounce_left_right();
[INFO] [stdout]     |            ^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ball` on type `&mut SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:223:10
[INFO] [stdout]     |
[INFO] [stdout] 223 |     self.ball.forward();
[INFO] [stdout]     |          ^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `paddle_col` on type `&mut SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:239:12
[INFO] [stdout]     |
[INFO] [stdout] 239 |       self.paddle_col + 1, 
[INFO] [stdout]     |            ^^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `paddle_col` on type `&mut SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:243:12
[INFO] [stdout]     |
[INFO] [stdout] 243 |       self.paddle_col,
[INFO] [stdout]     |            ^^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `paddle_col` on type `&mut SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:248:12
[INFO] [stdout]     |
[INFO] [stdout] 248 |       self.paddle_col + 1,
[INFO] [stdout]     |            ^^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `paddle_col` on type `&mut SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:256:16
[INFO] [stdout]     |
[INFO] [stdout] 256 |           self.paddle_col + 2, 
[INFO] [stdout]     |                ^^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `paddle_col` on type `&mut SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:261:18
[INFO] [stdout]     |
[INFO] [stdout] 261 |             self.paddle_col + 1,
[INFO] [stdout]     |                  ^^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `paddle_col` on type `&mut SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:266:18
[INFO] [stdout]     |
[INFO] [stdout] 266 |             self.paddle_col + 2,
[INFO] [stdout]     |                  ^^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `paddle_col` on type `&mut SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:269:16
[INFO] [stdout]     |
[INFO] [stdout] 269 |           self.paddle_col += 1;
[INFO] [stdout]     |                ^^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `paddle_col` on type `&mut SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:282:16
[INFO] [stdout]     |
[INFO] [stdout] 282 |           self.paddle_col = self.current_frame.cols - 2;                                   
[INFO] [stdout]     |                ^^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `paddle_col` on type `&mut SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:288:16
[INFO] [stdout]     |
[INFO] [stdout] 288 |           self.paddle_col.saturating_sub(1), 
[INFO] [stdout]     |                ^^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `paddle_col` on type `&mut SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:293:18
[INFO] [stdout]     |
[INFO] [stdout] 293 |             self.paddle_col.saturating_sub(1), 
[INFO] [stdout]     |                  ^^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `paddle_col` on type `&mut SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:298:18
[INFO] [stdout]     |
[INFO] [stdout] 298 |             self.paddle_col.saturating_sub(1) + 1,
[INFO] [stdout]     |                  ^^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `paddle_col` on type `&mut SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:301:16
[INFO] [stdout]     |
[INFO] [stdout] 301 |           self.paddle_col = self.paddle_col.saturating_sub(1);
[INFO] [stdout]     |                ^^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `paddle_col` on type `&mut SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:301:34
[INFO] [stdout]     |
[INFO] [stdout] 301 |           self.paddle_col = self.paddle_col.saturating_sub(1);
[INFO] [stdout]     |                                  ^^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `paddle_col` on type `&mut SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:314:16
[INFO] [stdout]     |
[INFO] [stdout] 314 |           self.paddle_col = 0;                                   
[INFO] [stdout]     |                ^^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `paddle_col` on type `&mut SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:321:10
[INFO] [stdout]     |
[INFO] [stdout] 321 |     self.paddle_col + 1, 
[INFO] [stdout]     |          ^^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `paddle_col` on type `&mut SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:325:14
[INFO] [stdout]     |
[INFO] [stdout] 325 |         self.paddle_col,
[INFO] [stdout]     |              ^^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `paddle_col` on type `&mut SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:330:14
[INFO] [stdout]     |
[INFO] [stdout] 330 |         self.paddle_col + 1,
[INFO] [stdout]     |              ^^^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ball` on type `&SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:346:22
[INFO] [stdout]     |
[INFO] [stdout] 346 |     let ballx = self.ball.pos.x;
[INFO] [stdout]     |                      ^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ball` on type `&SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:347:22
[INFO] [stdout]     |
[INFO] [stdout] 347 |     let bally = self.ball.pos.y;
[INFO] [stdout]     |                      ^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `ball` on type `&mut SnakeGame`
[INFO] [stdout]    --> examples/normal_snake.rs:363:10
[INFO] [stdout]     |
[INFO] [stdout] 363 |     self.ball.vel += 1.0;
[INFO] [stdout]     |          ^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `current_frame`, `snake`, `score`, `pixle_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move`
[INFO] [stdout]    --> examples/normal_snake.rs:375:12
[INFO] [stdout]     |
[INFO] [stdout] 375 |     return Move::Down;
[INFO] [stdout]     |            ^^^^ use of undeclared type `Move`
[INFO] [stdout]     |
[INFO] [stdout] help: there is an enum variant `crate::miniquad::CursorIcon::Move`; try using the variant's enum
[INFO] [stdout]     |
[INFO] [stdout] 375 -     return Move::Down;
[INFO] [stdout] 375 +     return crate::miniquad::CursorIcon::Down;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move`
[INFO] [stdout]    --> examples/normal_snake.rs:378:12
[INFO] [stdout]     |
[INFO] [stdout] 378 |     return Move::Up;
[INFO] [stdout]     |            ^^^^ use of undeclared type `Move`
[INFO] [stdout]     |
[INFO] [stdout] help: there is an enum variant `crate::miniquad::CursorIcon::Move`; try using the variant's enum
[INFO] [stdout]     |
[INFO] [stdout] 378 -     return Move::Up;
[INFO] [stdout] 378 +     return crate::miniquad::CursorIcon::Up;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move`
[INFO] [stdout]    --> examples/normal_snake.rs:382:3
[INFO] [stdout]     |
[INFO] [stdout] 382 |   Move::None
[INFO] [stdout]     |   ^^^^ use of undeclared type `Move`
[INFO] [stdout]     |
[INFO] [stdout] help: there is an enum variant `crate::miniquad::CursorIcon::Move`; try using the variant's enum
[INFO] [stdout]     |
[INFO] [stdout] 382 -   Move::None
[INFO] [stdout] 382 +   crate::miniquad::CursorIcon::None
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `level`
[INFO] [stdout]    --> examples/normal_snake.rs:144:23
[INFO] [stdout]     |
[INFO] [stdout] 144 |   fn new(center:Vec2, level:f32) -> Self {
[INFO] [stdout]     |                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_level`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `snake`
[INFO] [stdout]    --> examples/normal_snake.rs:182:28
[INFO] [stdout]     |
[INFO] [stdout] 182 |   fn change_pos(&mut self, snake:&Snake) {
[INFO] [stdout]     |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_snake`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move`
[INFO] [stdout]    --> examples/normal_snake.rs:253:7
[INFO] [stdout]     |
[INFO] [stdout] 253 |       Move::Down => {
[INFO] [stdout]     |       ^^^^ use of undeclared type `Move`
[INFO] [stdout]     |
[INFO] [stdout] help: there is an enum variant `crate::miniquad::CursorIcon::Move`; try using the variant's enum
[INFO] [stdout]     |
[INFO] [stdout] 253 -       Move::Down => {
[INFO] [stdout] 253 +       crate::miniquad::CursorIcon::Down => {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move`
[INFO] [stdout]    --> examples/normal_snake.rs:285:7
[INFO] [stdout]     |
[INFO] [stdout] 285 |       Move::Up => {
[INFO] [stdout]     |       ^^^^ use of undeclared type `Move`
[INFO] [stdout]     |
[INFO] [stdout] help: there is an enum variant `crate::miniquad::CursorIcon::Move`; try using the variant's enum
[INFO] [stdout]     |
[INFO] [stdout] 285 -       Move::Up => {
[INFO] [stdout] 285 +       crate::miniquad::CursorIcon::Up => {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Move`
[INFO] [stdout]    --> examples/normal_snake.rs:317:7
[INFO] [stdout]     |
[INFO] [stdout] 317 |       Move::None => {}
[INFO] [stdout]     |       ^^^^ use of undeclared type `Move`
[INFO] [stdout]     |
[INFO] [stdout] help: there is an enum variant `crate::miniquad::CursorIcon::Move`; try using the variant's enum
[INFO] [stdout]     |
[INFO] [stdout] 317 -       Move::None => {}
[INFO] [stdout] 317 +       crate::miniquad::CursorIcon::None => {}
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `digital_brain` (example "normal_snake") due to 37 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c17efc474b5ab1edfbb0937102b804cf99a36b85bd4d22bb69e396137f7d68c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c17efc474b5ab1edfbb0937102b804cf99a36b85bd4d22bb69e396137f7d68c6", kill_on_drop: false }`
[INFO] [stdout] c17efc474b5ab1edfbb0937102b804cf99a36b85bd4d22bb69e396137f7d68c6
