[INFO] cloning repository https://github.com/Higunio320/rust-snake-ai
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Higunio320/rust-snake-ai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHigunio320%2Frust-snake-ai", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHigunio320%2Frust-snake-ai'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d4738e513021414a869801b51b64f49be7f0b157
[INFO] checking Higunio320/rust-snake-ai against master#cced03bfd61a304243a34504618ecec86c17063f for pr-157082
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHigunio320%2Frust-snake-ai" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Higunio320/rust-snake-ai
[INFO] finished tweaking git repo https://github.com/Higunio320/rust-snake-ai
[INFO] tweaked toml for git repo https://github.com/Higunio320/rust-snake-ai written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Higunio320/rust-snake-ai on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Higunio320/rust-snake-ai 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" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wayland-cursor v0.29.5
[INFO] [stderr]   Downloaded arrayref v0.3.8
[INFO] [stderr]   Downloaded wayland-sys v0.29.5
[INFO] [stderr]   Downloaded cc v1.1.7
[INFO] [stderr]   Downloaded toml_datetime v0.6.7
[INFO] [stderr]   Downloaded wayland-scanner v0.29.5
[INFO] [stderr]   Downloaded wayland-commons v0.29.5
[INFO] [stderr]   Downloaded sctk-adwaita v0.5.4
[INFO] [stderr]   Downloaded calloop v0.10.6
[INFO] [stderr]   Downloaded tiny-skia-path v0.8.4
[INFO] [stderr]   Downloaded num_enum_derive v0.6.1
[INFO] [stderr]   Downloaded com-rs v0.2.1
[INFO] [stderr]   Downloaded wayland-client v0.29.5
[INFO] [stderr]   Downloaded num_enum v0.6.1
[INFO] [stderr]   Downloaded hassle-rs v0.10.0
[INFO] [stderr]   Downloaded smart-default v0.7.1
[INFO] [stderr]   Downloaded symphonia v0.5.4
[INFO] [stderr]   Downloaded wgpu-types v0.16.1
[INFO] [stderr]   Downloaded mint v0.5.9
[INFO] [stderr]   Downloaded memoffset v0.8.0
[INFO] [stderr]   Downloaded crevice-derive v0.10.0
[INFO] [stderr]   Downloaded symphonia-metadata v0.5.4
[INFO] [stderr]   Downloaded d3d12 v0.6.0
[INFO] [stderr]   Downloaded gpu-alloc v0.5.4
[INFO] [stderr]   Downloaded lyon_algorithms v1.0.4
[INFO] [stderr]   Downloaded ordered-float v4.2.1
[INFO] [stderr]   Downloaded gpu-allocator v0.22.0
[INFO] [stderr]   Downloaded crevice v0.13.0
[INFO] [stderr]   Downloaded camino v1.1.7
[INFO] [stderr]   Downloaded smithay-client-toolkit v0.16.1
[INFO] [stderr]   Downloaded lyon_path v1.0.5
[INFO] [stderr]   Downloaded symphonia-bundle-mp3 v0.5.4
[INFO] [stderr]   Downloaded lyon_geom v1.0.5
[INFO] [stderr]   Downloaded wayland-protocols v0.29.5
[INFO] [stderr]   Downloaded syn v2.0.72
[INFO] [stderr]   Downloaded symphonia-core v0.5.4
[INFO] [stderr]   Downloaded glyph_brush_draw_cache v0.1.6
[INFO] [stderr]   Downloaded wgpu v0.16.3
[INFO] [stderr]   Downloaded gilrs v0.10.9
[INFO] [stderr]   Downloaded tiny-skia v0.8.4
[INFO] [stderr]   Downloaded glow v0.12.3
[INFO] [stderr]   Downloaded serde_json v1.0.121
[INFO] [stderr]   Downloaded ggez v0.9.3
[INFO] [stderr]   Downloaded nix v0.25.1
[INFO] [stderr]   Downloaded wgpu-hal v0.16.2
[INFO] [stderr]   Downloaded wgpu-core v0.16.1
[INFO] [stderr]   Downloaded android-activity v0.4.3
[INFO] [stderr]   Downloaded winit v0.28.7
[INFO] [stderr]   Downloaded object v0.36.2
[INFO] [stderr]   Downloaded naga v0.12.3
[INFO] [stderr]   Downloaded zstd-sys v2.0.12+zstd.1.5.6
[INFO] [stderr]   Downloaded metal v0.24.0
[INFO] [stderr]   Downloaded windows v0.44.0
[INFO] [stderr]   Downloaded glyph_brush v0.7.9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c390f508730bc82e90ff85a280d1a8a15b45ed4bf9ed4042dde2af709a2b212c
[INFO] running `Command { std: "docker" "start" "c390f508730bc82e90ff85a280d1a8a15b45ed4bf9ed4042dde2af709a2b212c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c390f508730bc82e90ff85a280d1a8a15b45ed4bf9ed4042dde2af709a2b212c" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c390f508730bc82e90ff85a280d1a8a15b45ed4bf9ed4042dde2af709a2b212c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c390f508730bc82e90ff85a280d1a8a15b45ed4bf9ed4042dde2af709a2b212c" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling xml-rs v0.8.20
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]     Checking ttf-parser v0.24.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling serde_json v1.0.121
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling camino v1.1.7
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling error-chain v0.12.4
[INFO] [stderr]    Compiling alsa-sys v0.3.1
[INFO] [stderr]     Checking unicode-width v0.1.13
[INFO] [stderr]    Compiling pulldown-cmark v0.9.6
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking codespan-reporting v0.11.1
[INFO] [stderr]     Checking gpu-descriptor-types v0.1.2
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]     Checking strict-num v0.1.1
[INFO] [stderr]     Checking unicode-xid v0.2.4
[INFO] [stderr]     Checking arrayref v0.3.8
[INFO] [stderr]     Checking xcursor v0.3.6
[INFO] [stderr]     Checking raw-window-handle v0.5.2
[INFO] [stderr]    Compiling fastrand v2.1.0
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]     Checking gpu-alloc v0.5.4
[INFO] [stderr]     Checking ash v0.37.3+1.3.251
[INFO] [stderr]     Checking wgpu-types v0.16.1
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling cc v1.1.7
[INFO] [stderr]     Checking gpu-descriptor v0.2.4
[INFO] [stderr]    Compiling bytecount v0.6.8
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]     Checking glow v0.12.3
[INFO] [stderr]     Checking profiling v1.0.15
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.13
[INFO] [stderr]     Checking euclid v0.22.10
[INFO] [stderr]     Checking spirv v0.2.0+1.5.4
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]    Compiling memoffset v0.8.0
[INFO] [stderr]    Compiling gilrs v0.10.9
[INFO] [stderr]     Checking float_next_after v1.0.0
[INFO] [stderr]     Checking uuid v1.10.0
[INFO] [stderr]     Checking mint v0.5.9
[INFO] [stderr]     Checking nix v0.24.3
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking nix v0.25.1
[INFO] [stderr]     Checking owned_ttf_parser v0.24.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]     Checking ab_glyph v0.2.28
[INFO] [stderr]     Checking lyon_geom v1.0.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking khronos-egl v4.1.0
[INFO] [stderr]     Checking inotify-sys v0.1.5
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking memmap2 v0.5.10
[INFO] [stderr]     Checking alsa v0.9.0
[INFO] [stderr]     Checking inotify v0.10.2
[INFO] [stderr]    Compiling bytemuck_derive v1.7.0
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling zstd-sys v2.0.12+zstd.1.5.6
[INFO] [stderr]    Compiling bzip2-sys v0.1.11+1.0.8
[INFO] [stderr]     Checking lyon_path v1.0.5
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]     Checking wayland-commons v0.29.5
[INFO] [stderr]    Compiling winit v0.28.7
[INFO] [stderr]     Checking nix v0.29.0
[INFO] [stderr]     Checking rustc-hash v2.0.0
[INFO] [stderr]     Checking glyph_brush_layout v0.2.4
[INFO] [stderr]     Checking glyph_brush_draw_cache v0.1.6
[INFO] [stderr]     Checking lyon_algorithms v1.0.4
[INFO] [stderr]    Compiling crevice-derive v0.10.0
[INFO] [stderr]     Checking cpal v0.15.3
[INFO] [stderr]     Checking lyon_tessellation v1.0.15
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking twox-hash v1.6.3
[INFO] [stderr]     Checking gilrs-core v0.5.13
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking tiff v0.9.1
[INFO] [stderr]     Checking bytemuck v1.16.1
[INFO] [stderr]     Checking ordered-float v4.2.1
[INFO] [stderr]     Checking hound v3.5.1
[INFO] [stderr]     Checking bzip2 v0.4.4
[INFO] [stderr]     Checking directories v5.0.1
[INFO] [stderr]     Checking thiserror v1.0.63
[INFO] [stderr]    Compiling smart-default v0.7.1
[INFO] [stderr]     Checking calloop v0.10.6
[INFO] [stderr]     Checking naga v0.12.3
[INFO] [stderr]     Checking glam v0.24.2
[INFO] [stderr]     Checking lyon v1.0.1
[INFO] [stderr]     Checking ordered-float v3.9.2
[INFO] [stderr]     Checking symphonia-core v0.5.4
[INFO] [stderr]     Checking tiny-skia-path v0.8.4
[INFO] [stderr]     Checking glyph_brush v0.7.9
[INFO] [stderr]     Checking crevice v0.13.0
[INFO] [stderr]     Checking pollster v0.3.0
[INFO] [stderr]     Checking typed-arena v2.0.2
[INFO] [stderr]     Checking rand_distr v0.4.3
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking wayland-cursor v0.29.5
[INFO] [stderr]     Checking tiny-skia v0.8.4
[INFO] [stderr]     Checking symphonia-metadata v0.5.4
[INFO] [stderr]     Checking symphonia-bundle-mp3 v0.5.4
[INFO] [stderr]     Checking symphonia v0.5.4
[INFO] [stderr]     Checking rodio v0.17.3
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]     Checking zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]     Checking zip v0.6.6
[INFO] [stderr]    Compiling cargo-platform v0.1.8
[INFO] [stderr]     Checking toml v0.5.11
[INFO] [stderr]    Compiling cargo_metadata v0.14.2
[INFO] [stderr]    Compiling skeptic v0.13.7
[INFO] [stderr]    Compiling ggez v0.9.3
[INFO] [stderr]     Checking wgpu-hal v0.16.2
[INFO] [stderr]     Checking wgpu-core v0.16.1
[INFO] [stderr]     Checking wgpu v0.16.3
[INFO] [stderr]     Checking sctk-adwaita v0.5.4
[INFO] [stderr]     Checking snake v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ai/genetic_algorithm.rs:89:25
[INFO] [stdout]    |
[INFO] [stdout] 89 |                     let mut normal = Normal::new(0.0, *mutation_range)
[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]   --> src/ai/genetic_algorithm.rs:89:25
[INFO] [stdout]    |
[INFO] [stdout] 89 |                     let mut normal = Normal::new(0.0, *mutation_range)
[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: struct `SnakeGameState` is never constructed
[INFO] [stdout]   --> src/visualisation/game.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct SnakeGameState {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `generate_new_food` are never used
[INFO] [stdout]   --> src/visualisation/game.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl SnakeGameState {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 20 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn generate_new_food(&mut self) -> Food {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `play_game` is never used
[INFO] [stdout]    --> src/visualisation/game.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn play_game() -> GameResult {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rng` is never read
[INFO] [stdout]   --> src/visualisation/ml_game.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct MLSnakeGameState {
[INFO] [stdout]    |        ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     rng: ThreadRng,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `n_of_generations` is never read
[INFO] [stdout]   --> src/ai/genetic_algorithm.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub(crate) struct Population {
[INFO] [stdout]    |                   ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     n_of_generations: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OUTPUT_LAYER_SIZE` is never used
[INFO] [stdout]   --> src/ai/snake_trainer.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const OUTPUT_LAYER_SIZE: usize = 3;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Move` is never used
[INFO] [stdout]    --> src/ai/snake_trainer.rs:161:10
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub enum Move {
[INFO] [stdout]     |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `move_in_dir_with_move` is never used
[INFO] [stdout]    --> src/snake/snake_game.rs:321:12
[INFO] [stdout]     |
[INFO] [stdout] 216 | impl Snake {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 321 |     pub fn move_in_dir_with_move(&mut self, move_dir: Move) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SnakeGameState` is never constructed
[INFO] [stdout]   --> src/visualisation/game.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct SnakeGameState {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `generate_new_food` are never used
[INFO] [stdout]   --> src/visualisation/game.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl SnakeGameState {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 20 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn generate_new_food(&mut self) -> Food {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `play_game` is never used
[INFO] [stdout]    --> src/visualisation/game.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn play_game() -> GameResult {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rng` is never read
[INFO] [stdout]   --> src/visualisation/ml_game.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct MLSnakeGameState {
[INFO] [stdout]    |        ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     rng: ThreadRng,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `n_of_generations` is never read
[INFO] [stdout]   --> src/ai/genetic_algorithm.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub(crate) struct Population {
[INFO] [stdout]    |                   ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     n_of_generations: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/ai/neural_network.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl NeuralNetwork {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 12 |     pub fn new(options: NeuralNetworkOptions) -> Result<Self, String> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OUTPUT_LAYER_SIZE` is never used
[INFO] [stdout]   --> src/ai/snake_trainer.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const OUTPUT_LAYER_SIZE: usize = 3;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Move` is never used
[INFO] [stdout]    --> src/ai/snake_trainer.rs:161:10
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub enum Move {
[INFO] [stdout]     |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `move_in_dir_with_move` is never used
[INFO] [stdout]    --> src/snake/snake_game.rs:321:12
[INFO] [stdout]     |
[INFO] [stdout] 216 | impl Snake {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 321 |     pub fn move_in_dir_with_move(&mut self, move_dir: Move) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s
[INFO] running `Command { std: "docker" "inspect" "c390f508730bc82e90ff85a280d1a8a15b45ed4bf9ed4042dde2af709a2b212c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c390f508730bc82e90ff85a280d1a8a15b45ed4bf9ed4042dde2af709a2b212c", kill_on_drop: false }`
[INFO] [stdout] c390f508730bc82e90ff85a280d1a8a15b45ed4bf9ed4042dde2af709a2b212c
