[INFO] cloning repository https://github.com/CarsonBurke/ml_battle_snake
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CarsonBurke/ml_battle_snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarsonBurke%2Fml_battle_snake", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarsonBurke%2Fml_battle_snake'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 279258125063568c67f479959def1384f3266e7b
[INFO] building CarsonBurke/ml_battle_snake against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarsonBurke%2Fml_battle_snake" "/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/CarsonBurke/ml_battle_snake
[INFO] finished tweaking git repo https://github.com/CarsonBurke/ml_battle_snake
[INFO] tweaked toml for git repo https://github.com/CarsonBurke/ml_battle_snake written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/CarsonBurke/ml_battle_snake on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/CarsonBurke/ml_battle_snake 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: server
[INFO] [stderr] warning: unused manifest key: simulation
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-macros v2.2.0
[INFO] [stderr]   Downloaded devise_codegen v0.4.1
[INFO] [stderr]   Downloaded pear_codegen v0.2.9
[INFO] [stderr]   Downloaded winapi-util v0.1.8
[INFO] [stderr]   Downloaded proc-macro2 v1.0.82
[INFO] [stderr]   Downloaded fastrand v2.1.0
[INFO] [stderr]   Downloaded miniz_oxide v0.7.2
[INFO] [stderr]   Downloaded ref-cast v1.0.23
[INFO] [stderr]   Downloaded async-trait v0.1.80
[INFO] [stderr]   Downloaded generator v0.7.5
[INFO] [stderr]   Downloaded tokio-stream v0.1.15
[INFO] [stderr]   Downloaded devise v0.4.1
[INFO] [stderr]   Downloaded binascii v0.1.4
[INFO] [stderr]   Downloaded bytemuck v1.15.0
[INFO] [stderr]   Downloaded uncased v0.9.10
[INFO] [stderr]   Downloaded proc-macro2-diagnostics v0.10.1
[INFO] [stderr]   Downloaded async-stream-impl v0.3.5
[INFO] [stderr]   Downloaded is-terminal v0.4.12
[INFO] [stderr]   Downloaded toml_datetime v0.6.5
[INFO] [stderr]   Downloaded ubyte v0.10.4
[INFO] [stderr]   Downloaded unicode-xid v0.2.4
[INFO] [stderr]   Downloaded pear v0.2.9
[INFO] [stderr]   Downloaded inlinable_string v0.1.15
[INFO] [stderr]   Downloaded devise_core v0.4.1
[INFO] [stderr]   Downloaded atomic v0.6.0
[INFO] [stderr]   Downloaded glob v0.3.1
[INFO] [stderr]   Downloaded either v1.11.0
[INFO] [stderr]   Downloaded atomic v0.5.3
[INFO] [stderr]   Downloaded colored v2.1.0
[INFO] [stderr]   Downloaded backtrace v0.3.71
[INFO] [stderr]   Downloaded serde_spanned v0.6.5
[INFO] [stderr]   Downloaded async-stream v0.3.5
[INFO] [stderr]   Downloaded redox_syscall v0.5.1
[INFO] [stderr]   Downloaded stable-pattern v0.1.0
[INFO] [stderr]   Downloaded bitflags v2.5.0
[INFO] [stderr]   Downloaded rustversion v1.0.16
[INFO] [stderr]   Downloaded rocket_http v0.5.0
[INFO] [stderr]   Downloaded parking_lot v0.12.2
[INFO] [stderr]   Downloaded toml_edit v0.22.12
[INFO] [stderr]   Downloaded serde_derive v1.0.201
[INFO] [stderr]   Downloaded toml v0.8.12
[INFO] [stderr]   Downloaded loom v0.5.6
[INFO] [stderr]   Downloaded figment v0.10.18
[INFO] [stderr]   Downloaded cc v1.0.97
[INFO] [stderr]   Downloaded serde v1.0.201
[INFO] [stderr]   Downloaded log v0.4.21
[INFO] [stderr]   Downloaded object v0.32.2
[INFO] [stderr]   Downloaded rocket_codegen v0.5.0
[INFO] [stderr]   Downloaded multer v2.1.0
[INFO] [stderr]   Downloaded serde_json v1.0.117
[INFO] [stderr]   Downloaded winnow v0.6.8
[INFO] [stderr]   Downloaded hyper v0.14.28
[INFO] [stderr]   Downloaded syn v2.0.61
[INFO] [stderr]   Downloaded regex v1.10.4
[INFO] [stderr]   Downloaded rocket v0.5.0
[INFO] [stderr]   Downloaded gimli v0.28.1
[INFO] [stderr]   Downloaded tempfile v3.10.1
[INFO] [stderr]   Downloaded memchr v2.7.2
[INFO] [stderr]   Downloaded regex-syntax v0.8.3
[INFO] [stderr]   Downloaded scoped-tls v1.0.1
[INFO] [stderr]   Downloaded ref-cast-impl v1.0.23
[INFO] [stderr]   Downloaded rustix v0.38.34
[INFO] [stderr]   Downloaded state v0.6.0
[INFO] [stderr]   Downloaded regex-automata v0.4.6
[INFO] [stderr]   Downloaded libc v0.2.154
[INFO] [stderr]   Downloaded tokio v1.37.0
[INFO] [stderr]   Downloaded linux-raw-sys v0.4.13
[INFO] [stderr]   Downloaded windows v0.48.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2e9fa919b5b3d3154087d3452b89ad46562b3d6229b41bd6e52a4038b258b9f0
[INFO] running `Command { std: "docker" "start" "-a" "2e9fa919b5b3d3154087d3452b89ad46562b3d6229b41bd6e52a4038b258b9f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2e9fa919b5b3d3154087d3452b89ad46562b3d6229b41bd6e52a4038b258b9f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e9fa919b5b3d3154087d3452b89ad46562b3d6229b41bd6e52a4038b258b9f0", kill_on_drop: false }`
[INFO] [stdout] 2e9fa919b5b3d3154087d3452b89ad46562b3d6229b41bd6e52a4038b258b9f0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8fa3b0d5829c8676b546f837cdcf409669bc6c194a5e46a0c1ff58684f368ae3
[INFO] running `Command { std: "docker" "start" "-a" "8fa3b0d5829c8676b546f837cdcf409669bc6c194a5e46a0c1ff58684f368ae3", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: server
[INFO] [stderr] warning: unused manifest key: simulation
[INFO] [stderr]    Compiling proc-macro2 v1.0.82
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling serde v1.0.201
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling syn v2.0.61
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling inlinable_string v0.1.15
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling ref-cast v1.0.23
[INFO] [stderr]    Compiling is-terminal v0.4.12
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling either v1.11.0
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling winnow v0.6.8
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling state v0.6.0
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling figment v0.10.18
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling devise_core v0.4.1
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling rocket v0.5.0
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling serde_derive v1.0.201
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling pear_codegen v0.2.9
[INFO] [stderr]    Compiling ref-cast-impl v1.0.23
[INFO] [stderr]    Compiling pear v0.2.9
[INFO] [stderr]    Compiling devise_codegen v0.4.1
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling rocket_http v0.5.0
[INFO] [stderr]    Compiling devise v0.4.1
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling fastrand v2.1.0
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling async-stream v0.3.5
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling parking_lot v0.12.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling binascii v0.1.4
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling atomic v0.5.3
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling env_logger v0.9.3
[INFO] [stderr]    Compiling colored v2.1.0
[INFO] [stderr]    Compiling rocket_codegen v0.5.0
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling tokio-stream v0.1.15
[INFO] [stderr]    Compiling serde_spanned v0.6.5
[INFO] [stderr]    Compiling toml_datetime v0.6.5
[INFO] [stderr]    Compiling ubyte v0.10.4
[INFO] [stderr]    Compiling toml_edit v0.22.12
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling toml v0.8.12
[INFO] [stderr]    Compiling ml_battle_snake v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout]  --> src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::info;
[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: `rocket::fairing::AdHoc`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rocket::fairing::AdHoc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::http::Status`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rocket::http::Status;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `json::Json`
[INFO] [stdout]  --> src/lib.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rocket::serde::{json::Json, Deserialize};
[INFO] [stdout]   |                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `json`
[INFO] [stdout]  --> src/lib.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde_json::{json, Value};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::env;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::seq::SliceRandom`
[INFO] [stdout]   --> src/ml_snake/logic.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rand::seq::SliceRandom;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collections::HashMap`
[INFO] [stdout]   --> src/ml_snake/logic.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::{collections::HashMap, time::SystemTime};
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Mutex`
[INFO] [stdout]  --> src/neural_network.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Mutex;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `net`
[INFO] [stdout]  --> src/simulation/simulation.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::{net, panic};
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::Range`
[INFO] [stdout]  --> src/simulation/simulation.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{collections::HashSet, ops::Range, time::SystemTime};
[INFO] [stdout]   |                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ml_snake::snake` and `self`
[INFO] [stdout]  --> src/simulation/simulation.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     ml_snake::snake,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 8 |     neural_network::{self, NeuralNetwork, NeuralNetworkManager},
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_simulation`
[INFO] [stdout]   --> src/simulation/simulation.rs:92:15
[INFO] [stdout]    |
[INFO] [stdout] 92 |         #[cfg(debug_simulation)]
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "debug_simulation"`
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_simulation)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_simulation)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_simulation`
[INFO] [stdout]   --> src/simulation/simulation.rs:94:15
[INFO] [stdout]    |
[INFO] [stdout] 94 |         #[cfg(debug_simulation)]
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "debug_simulation"`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_simulation)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_simulation)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_simulation`
[INFO] [stdout]    --> src/simulation/simulation.rs:104:15
[INFO] [stdout]     |
[INFO] [stdout] 104 |         #[cfg(debug_simulation)]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "debug_simulation"`
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_simulation)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_simulation)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_game`
[INFO] [stdout]   --> src/simulation/simulation.rs:55:19
[INFO] [stdout]    |
[INFO] [stdout] 55 |             #[cfg(debug_game)]
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_game)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_game)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_simulation`
[INFO] [stdout]    --> src/simulation/simulation.rs:141:19
[INFO] [stdout]     |
[INFO] [stdout] 141 |             #[cfg(debug_simulation)]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "debug_simulation"`
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_simulation)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_simulation)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_simulation`
[INFO] [stdout]    --> src/simulation/simulation.rs:170:15
[INFO] [stdout]     |
[INFO] [stdout] 170 |         #[cfg(debug_simulation)]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "debug_simulation"`
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_simulation)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_simulation)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `random`
[INFO] [stdout]  --> src/simulation/game.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rand::{random, Rng};
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GameState`, `get_move`, and `unpack_coord`
[INFO] [stdout]   --> src/simulation/game.rs:10:36
[INFO] [stdout]    |
[INFO] [stdout] 10 |     ml_snake::logic::{choose_move, get_move},
[INFO] [stdout]    |                                    ^^^^^^^^
[INFO] [stdout] 11 |     neural_network::NeuralNetwork,
[INFO] [stdout] 12 |     utils::{get_direction, is_out_of_bounds, pack_coord, pack_xy, random_coord, unpack_coord},
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^^^
[INFO] [stdout] 13 |     Battlesnake, Board, Coord, Game, GameState,
[INFO] [stdout]    |                                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_game`
[INFO] [stdout]   --> src/simulation/game.rs:90:15
[INFO] [stdout]    |
[INFO] [stdout] 90 |         #[cfg(debug_game)]
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_game)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_game)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_game`
[INFO] [stdout]    --> src/simulation/game.rs:116:15
[INFO] [stdout]     |
[INFO] [stdout] 116 |         #[cfg(debug_game)]
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_game)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_game)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `network_manager`
[INFO] [stdout]   --> src/simulation/simulation.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         network_manager: &mut NeuralNetworkManager,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network_manager`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `outputs`
[INFO] [stdout]    --> src/ml_snake/logic.rs:175:9
[INFO] [stdout]     |
[INFO] [stdout] 175 |     let outputs: Vec<Output> = vec![
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outputs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scored_outputs`
[INFO] [stdout]    --> src/neural_network.rs:270:38
[INFO] [stdout]     |
[INFO] [stdout] 270 |     pub fn back_propagate(&mut self, scored_outputs: bool) {}
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scored_outputs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/simulation/game.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         for i in 0..=snakes_count {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/simulation/game.rs:291:13
[INFO] [stdout]     |
[INFO] [stdout] 291 |         for x in 0..self.board.width {
[INFO] [stdout]     |             ^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 291 |         for _x in 0..self.board.width {
[INFO] [stdout]     |             +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SNAKE_STARTING_LENGTH`
[INFO] [stdout]     |
[INFO] [stdout] 291 -         for x in 0..self.board.width {
[INFO] [stdout] 291 +         for simulation::constants::SNAKE_STARTING_LENGTH in 0..self.board.width {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/simulation/game.rs:292:17
[INFO] [stdout]     |
[INFO] [stdout] 292 |             for y in 0..self.board.height {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `longest_length` and `highest_turns` are never read
[INFO] [stdout]   --> src/simulation/simulation.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Simulation {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 15 |     longest_length: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     highest_turns: u32,
[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 import: `self`
[INFO] [stdout]  --> src/bin/simulate.rs:1:47
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ml_battle_snake::simulation::simulation::{self, Simulation};
[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/bin/server.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rocket::serde::{json::Json, Deserialize};
[INFO] [stdout]   |                                 ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 14s
[INFO] running `Command { std: "docker" "inspect" "8fa3b0d5829c8676b546f837cdcf409669bc6c194a5e46a0c1ff58684f368ae3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8fa3b0d5829c8676b546f837cdcf409669bc6c194a5e46a0c1ff58684f368ae3", kill_on_drop: false }`
[INFO] [stdout] 8fa3b0d5829c8676b546f837cdcf409669bc6c194a5e46a0c1ff58684f368ae3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 384db72415ad8d3c8700fa96b5015ff0752a3ef9b67c6e987d2e4a8cd4270393
[INFO] running `Command { std: "docker" "start" "-a" "384db72415ad8d3c8700fa96b5015ff0752a3ef9b67c6e987d2e4a8cd4270393", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: server
[INFO] [stderr] warning: unused manifest key: simulation
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout]  --> src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::info;
[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: `rocket::fairing::AdHoc`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rocket::fairing::AdHoc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::http::Status`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rocket::http::Status;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `json::Json`
[INFO] [stdout]  --> src/lib.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rocket::serde::{json::Json, Deserialize};
[INFO] [stdout]   |                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `json`
[INFO] [stdout]  --> src/lib.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde_json::{json, Value};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::env;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::seq::SliceRandom`
[INFO] [stdout]   --> src/ml_snake/logic.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rand::seq::SliceRandom;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collections::HashMap`
[INFO] [stdout]   --> src/ml_snake/logic.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::{collections::HashMap, time::SystemTime};
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Mutex`
[INFO] [stdout]  --> src/neural_network.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Mutex;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `net`
[INFO] [stdout]  --> src/simulation/simulation.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::{net, panic};
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::Range`
[INFO] [stdout]  --> src/simulation/simulation.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{collections::HashSet, ops::Range, time::SystemTime};
[INFO] [stdout]   |                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ml_snake::snake` and `self`
[INFO] [stdout]  --> src/simulation/simulation.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     ml_snake::snake,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 8 |     neural_network::{self, NeuralNetwork, NeuralNetworkManager},
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_simulation`
[INFO] [stdout]   --> src/simulation/simulation.rs:92:15
[INFO] [stdout]    |
[INFO] [stdout] 92 |         #[cfg(debug_simulation)]
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "debug_simulation"`
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_simulation)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_simulation)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_simulation`
[INFO] [stdout]   --> src/simulation/simulation.rs:94:15
[INFO] [stdout]    |
[INFO] [stdout] 94 |         #[cfg(debug_simulation)]
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "debug_simulation"`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_simulation)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_simulation)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_simulation`
[INFO] [stdout]    --> src/simulation/simulation.rs:104:15
[INFO] [stdout]     |
[INFO] [stdout] 104 |         #[cfg(debug_simulation)]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "debug_simulation"`
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_simulation)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_simulation)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_game`
[INFO] [stdout]   --> src/simulation/simulation.rs:55:19
[INFO] [stdout]    |
[INFO] [stdout] 55 |             #[cfg(debug_game)]
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_game)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_game)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling ml_battle_snake v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_simulation`
[INFO] [stdout]    --> src/simulation/simulation.rs:141:19
[INFO] [stdout]     |
[INFO] [stdout] 141 |             #[cfg(debug_simulation)]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "debug_simulation"`
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_simulation)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_simulation)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_simulation`
[INFO] [stdout]    --> src/simulation/simulation.rs:170:15
[INFO] [stdout]     |
[INFO] [stdout] 170 |         #[cfg(debug_simulation)]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "debug_simulation"`
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_simulation)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_simulation)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `random`
[INFO] [stdout]  --> src/simulation/game.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rand::{random, Rng};
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GameState`, `get_move`, and `unpack_coord`
[INFO] [stdout]   --> src/simulation/game.rs:10:36
[INFO] [stdout]    |
[INFO] [stdout] 10 |     ml_snake::logic::{choose_move, get_move},
[INFO] [stdout]    |                                    ^^^^^^^^
[INFO] [stdout] 11 |     neural_network::NeuralNetwork,
[INFO] [stdout] 12 |     utils::{get_direction, is_out_of_bounds, pack_coord, pack_xy, random_coord, unpack_coord},
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^^^
[INFO] [stdout] 13 |     Battlesnake, Board, Coord, Game, GameState,
[INFO] [stdout]    |                                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_game`
[INFO] [stdout]   --> src/simulation/game.rs:90:15
[INFO] [stdout]    |
[INFO] [stdout] 90 |         #[cfg(debug_game)]
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_game)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_game)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_game`
[INFO] [stdout]    --> src/simulation/game.rs:116:15
[INFO] [stdout]     |
[INFO] [stdout] 116 |         #[cfg(debug_game)]
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_game)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_game)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `network_manager`
[INFO] [stdout]   --> src/simulation/simulation.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         network_manager: &mut NeuralNetworkManager,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network_manager`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `outputs`
[INFO] [stdout]    --> src/ml_snake/logic.rs:175:9
[INFO] [stdout]     |
[INFO] [stdout] 175 |     let outputs: Vec<Output> = vec![
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outputs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scored_outputs`
[INFO] [stdout]    --> src/neural_network.rs:270:38
[INFO] [stdout]     |
[INFO] [stdout] 270 |     pub fn back_propagate(&mut self, scored_outputs: bool) {}
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scored_outputs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/simulation/game.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         for i in 0..=snakes_count {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/simulation/game.rs:291:13
[INFO] [stdout]     |
[INFO] [stdout] 291 |         for x in 0..self.board.width {
[INFO] [stdout]     |             ^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 291 |         for _x in 0..self.board.width {
[INFO] [stdout]     |             +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SNAKE_STARTING_LENGTH`
[INFO] [stdout]     |
[INFO] [stdout] 291 -         for x in 0..self.board.width {
[INFO] [stdout] 291 +         for simulation::constants::SNAKE_STARTING_LENGTH in 0..self.board.width {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/simulation/game.rs:292:17
[INFO] [stdout]     |
[INFO] [stdout] 292 |             for y in 0..self.board.height {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `longest_length` and `highest_turns` are never read
[INFO] [stdout]   --> src/simulation/simulation.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Simulation {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 15 |     longest_length: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     highest_turns: u32,
[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 import: `self`
[INFO] [stdout]  --> src/bin/simulate.rs:1:47
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ml_battle_snake::simulation::simulation::{self, Simulation};
[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: `log::info`
[INFO] [stdout]  --> src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::info;
[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: `rocket::fairing::AdHoc`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rocket::fairing::AdHoc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rocket::http::Status`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rocket::http::Status;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `json::Json`
[INFO] [stdout]  --> src/lib.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rocket::serde::{json::Json, Deserialize};
[INFO] [stdout]   |                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `json`
[INFO] [stdout]  --> src/lib.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde_json::{json, Value};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::env;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::seq::SliceRandom`
[INFO] [stdout]   --> src/ml_snake/logic.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rand::seq::SliceRandom;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collections::HashMap`
[INFO] [stdout]   --> src/ml_snake/logic.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::{collections::HashMap, time::SystemTime};
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Mutex`
[INFO] [stdout]  --> src/neural_network.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Mutex;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `net`
[INFO] [stdout]  --> src/simulation/simulation.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::{net, panic};
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::Range`
[INFO] [stdout]  --> src/simulation/simulation.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{collections::HashSet, ops::Range, time::SystemTime};
[INFO] [stdout]   |                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ml_snake::snake` and `self`
[INFO] [stdout]  --> src/simulation/simulation.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     ml_snake::snake,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 8 |     neural_network::{self, NeuralNetwork, NeuralNetworkManager},
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_simulation`
[INFO] [stdout]   --> src/simulation/simulation.rs:92:15
[INFO] [stdout]    |
[INFO] [stdout] 92 |         #[cfg(debug_simulation)]
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "debug_simulation"`
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_simulation)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_simulation)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_simulation`
[INFO] [stdout]   --> src/simulation/simulation.rs:94:15
[INFO] [stdout]    |
[INFO] [stdout] 94 |         #[cfg(debug_simulation)]
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "debug_simulation"`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_simulation)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_simulation)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_simulation`
[INFO] [stdout]    --> src/simulation/simulation.rs:104:15
[INFO] [stdout]     |
[INFO] [stdout] 104 |         #[cfg(debug_simulation)]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "debug_simulation"`
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_simulation)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_simulation)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_game`
[INFO] [stdout]   --> src/simulation/simulation.rs:55:19
[INFO] [stdout]    |
[INFO] [stdout] 55 |             #[cfg(debug_game)]
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_game)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_game)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_simulation`
[INFO] [stdout]    --> src/simulation/simulation.rs:141:19
[INFO] [stdout]     |
[INFO] [stdout] 141 |             #[cfg(debug_simulation)]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "debug_simulation"`
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_simulation)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_simulation)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_simulation`
[INFO] [stdout]    --> src/simulation/simulation.rs:170:15
[INFO] [stdout]     |
[INFO] [stdout] 170 |         #[cfg(debug_simulation)]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^ help: found config with similar value: `feature = "debug_simulation"`
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_simulation)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_simulation)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `random`
[INFO] [stdout]  --> src/simulation/game.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rand::{random, Rng};
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GameState`, `get_move`, and `unpack_coord`
[INFO] [stdout]   --> src/simulation/game.rs:10:36
[INFO] [stdout]    |
[INFO] [stdout] 10 |     ml_snake::logic::{choose_move, get_move},
[INFO] [stdout]    |                                    ^^^^^^^^
[INFO] [stdout] 11 |     neural_network::NeuralNetwork,
[INFO] [stdout] 12 |     utils::{get_direction, is_out_of_bounds, pack_coord, pack_xy, random_coord, unpack_coord},
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^^^
[INFO] [stdout] 13 |     Battlesnake, Board, Coord, Game, GameState,
[INFO] [stdout]    |                                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_game`
[INFO] [stdout]   --> src/simulation/game.rs:90:15
[INFO] [stdout]    |
[INFO] [stdout] 90 |         #[cfg(debug_game)]
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_game)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_game)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug_game`
[INFO] [stdout]    --> src/simulation/game.rs:116:15
[INFO] [stdout]     |
[INFO] [stdout] 116 |         #[cfg(debug_game)]
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug_game)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug_game)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/bin/server.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rocket::serde::{json::Json, Deserialize};
[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 variable: `network_manager`
[INFO] [stdout]   --> src/simulation/simulation.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         network_manager: &mut NeuralNetworkManager,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network_manager`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `outputs`
[INFO] [stdout]    --> src/ml_snake/logic.rs:175:9
[INFO] [stdout]     |
[INFO] [stdout] 175 |     let outputs: Vec<Output> = vec![
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outputs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scored_outputs`
[INFO] [stdout]    --> src/neural_network.rs:270:38
[INFO] [stdout]     |
[INFO] [stdout] 270 |     pub fn back_propagate(&mut self, scored_outputs: bool) {}
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scored_outputs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/simulation/game.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         for i in 0..=snakes_count {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/simulation/game.rs:291:13
[INFO] [stdout]     |
[INFO] [stdout] 291 |         for x in 0..self.board.width {
[INFO] [stdout]     |             ^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 291 |         for _x in 0..self.board.width {
[INFO] [stdout]     |             +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SNAKE_STARTING_LENGTH`
[INFO] [stdout]     |
[INFO] [stdout] 291 -         for x in 0..self.board.width {
[INFO] [stdout] 291 +         for simulation::constants::SNAKE_STARTING_LENGTH in 0..self.board.width {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/simulation/game.rs:292:17
[INFO] [stdout]     |
[INFO] [stdout] 292 |             for y in 0..self.board.height {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `longest_length` and `highest_turns` are never read
[INFO] [stdout]   --> src/simulation/simulation.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Simulation {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 15 |     longest_length: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     highest_turns: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.41s
[INFO] running `Command { std: "docker" "inspect" "384db72415ad8d3c8700fa96b5015ff0752a3ef9b67c6e987d2e4a8cd4270393", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "384db72415ad8d3c8700fa96b5015ff0752a3ef9b67c6e987d2e4a8cd4270393", kill_on_drop: false }`
[INFO] [stdout] 384db72415ad8d3c8700fa96b5015ff0752a3ef9b67c6e987d2e4a8cd4270393
