[INFO] cloning repository https://github.com/BG-RUST/snake_v3
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BG-RUST/snake_v3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBG-RUST%2Fsnake_v3", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBG-RUST%2Fsnake_v3'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] af73adb117a1ddf4bdd7b25cfead9cbbe9037186
[INFO] testing BG-RUST/snake_v3 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBG-RUST%2Fsnake_v3" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/BG-RUST/snake_v3
[INFO] finished tweaking git repo https://github.com/BG-RUST/snake_v3
[INFO] tweaked toml for git repo https://github.com/BG-RUST/snake_v3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/BG-RUST/snake_v3 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/BG-RUST/snake_v3 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b01c53c2d1b5a6585ab4ae3a3276f5866fc6829fd74a0700b402b63f264d7070
[INFO] running `Command { std: "docker" "start" "-a" "b01c53c2d1b5a6585ab4ae3a3276f5866fc6829fd74a0700b402b63f264d7070", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b01c53c2d1b5a6585ab4ae3a3276f5866fc6829fd74a0700b402b63f264d7070", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b01c53c2d1b5a6585ab4ae3a3276f5866fc6829fd74a0700b402b63f264d7070", kill_on_drop: false }`
[INFO] [stdout] b01c53c2d1b5a6585ab4ae3a3276f5866fc6829fd74a0700b402b63f264d7070
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1ae90ad1686d969d74270cf415a7ca9228dccb1cd5c7e0eab8ee9a3a52b22f73
[INFO] running `Command { std: "docker" "start" "-a" "1ae90ad1686d969d74270cf415a7ca9228dccb1cd5c7e0eab8ee9a3a52b22f73", kill_on_drop: false }`
[INFO] [stderr]    Compiling libloading v0.8.8
[INFO] [stderr]    Compiling xml-rs v0.8.26
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling bytemuck v1.23.0
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling downcast-rs v1.2.1
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling ash v0.37.3+1.3.251
[INFO] [stderr]    Compiling khronos-egl v4.1.0
[INFO] [stderr]    Compiling gpu-descriptor-types v0.1.2
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling nix v0.24.3
[INFO] [stderr]    Compiling gpu-alloc-types v0.2.0
[INFO] [stderr]    Compiling miniz_oxide v0.8.8
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling hexf-parse v0.2.1
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling raw-window-handle v0.5.2
[INFO] [stderr]    Compiling gpu-alloc v0.5.4
[INFO] [stderr]    Compiling fdeflate v0.3.7
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling nix v0.25.1
[INFO] [stderr]    Compiling wgpu-types v0.16.1
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling flate2 v1.1.2
[INFO] [stderr]    Compiling spirv v0.2.0+1.5.4
[INFO] [stderr]    Compiling xcursor v0.3.8
[INFO] [stderr]    Compiling gpu-descriptor v0.2.4
[INFO] [stderr]    Compiling strict-num v0.1.1
[INFO] [stderr]    Compiling ttf-parser v0.25.1
[INFO] [stderr]    Compiling renderdoc-sys v1.1.0
[INFO] [stderr]    Compiling wayland-commons v0.29.5
[INFO] [stderr]    Compiling profiling v1.0.16
[INFO] [stderr]    Compiling glow v0.12.3
[INFO] [stderr]    Compiling tiny-skia-path v0.8.4
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling safe_arch v0.7.4
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling ab_glyph_rasterizer v0.1.10
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]    Compiling tiny-skia v0.8.4
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling wide v0.7.32
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling pollster v0.3.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling owned_ttf_parser v0.25.1
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling winit v0.28.7
[INFO] [stderr]    Compiling ab_glyph v0.2.31
[INFO] [stderr]    Compiling ultraviolet v0.9.2
[INFO] [stderr]    Compiling wayland-cursor v0.29.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling naga v0.12.3
[INFO] [stderr]    Compiling calloop v0.10.6
[INFO] [stderr]    Compiling wgpu-hal v0.16.2
[INFO] [stderr]    Compiling wgpu-core v0.16.1
[INFO] [stderr]    Compiling sctk-adwaita v0.5.4
[INFO] [stderr]    Compiling wgpu v0.16.3
[INFO] [stderr]    Compiling pixels v0.13.0
[INFO] [stderr]    Compiling snake_ai v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/game.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let mut rng = LcgRng::new(0xC0FFEE_u64);
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/event_loop.rs:19:19
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn run_manual(mut game: Game) -> Result<(), String> {
[INFO] [stdout]    |                   ----^^^^
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/network.rs:316:13
[INFO] [stdout]     |
[INFO] [stdout] 316 |         let mut rd_u32 = |o: &mut usize| -> u32 { let mut b=[0u8;4]; b.copy_from_slice(&buf[*o..*o+4]); *o+=4; u32::from_le_bytes(b) };
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/network.rs:317:13
[INFO] [stdout]     |
[INFO] [stdout] 317 |         let mut rd_u64 = |o: &mut usize| -> u64 { let mut b=[0u8;8]; b.copy_from_slice(&buf[*o..*o+8]); *o+=8; u64::from_le_bytes(b) };
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |             let mut game = Game::new(w, h);
[INFO] [stdout]    |                 ----^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `write_to` and `read_from` are never used
[INFO] [stdout]    --> src/network.rs:335:8
[INFO] [stdout]     |
[INFO] [stdout] 204 | impl Net {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 335 |     fn write_to(&self, _out: &mut Vec<u8>) {}
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 336 |     fn read_from(&mut self, _data: &[u8], _off: usize) -> usize { _off }
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 11s
[INFO] running `Command { std: "docker" "inspect" "1ae90ad1686d969d74270cf415a7ca9228dccb1cd5c7e0eab8ee9a3a52b22f73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ae90ad1686d969d74270cf415a7ca9228dccb1cd5c7e0eab8ee9a3a52b22f73", kill_on_drop: false }`
[INFO] [stdout] 1ae90ad1686d969d74270cf415a7ca9228dccb1cd5c7e0eab8ee9a3a52b22f73
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a8bc6aced63af4ea8418a1613c632a2afee470153fb2213b84cc744fd0ac0c70
[INFO] running `Command { std: "docker" "start" "-a" "a8bc6aced63af4ea8418a1613c632a2afee470153fb2213b84cc744fd0ac0c70", kill_on_drop: false }`
[INFO] [stderr]    Compiling snake_ai v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/game.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let mut rng = LcgRng::new(0xC0FFEE_u64);
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/event_loop.rs:19:19
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn run_manual(mut game: Game) -> Result<(), String> {
[INFO] [stdout]    |                   ----^^^^
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/network.rs:316:13
[INFO] [stdout]     |
[INFO] [stdout] 316 |         let mut rd_u32 = |o: &mut usize| -> u32 { let mut b=[0u8;4]; b.copy_from_slice(&buf[*o..*o+4]); *o+=4; u32::from_le_bytes(b) };
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/network.rs:317:13
[INFO] [stdout]     |
[INFO] [stdout] 317 |         let mut rd_u64 = |o: &mut usize| -> u64 { let mut b=[0u8;8]; b.copy_from_slice(&buf[*o..*o+8]); *o+=8; u64::from_le_bytes(b) };
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |             let mut game = Game::new(w, h);
[INFO] [stdout]    |                 ----^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `write_to` and `read_from` are never used
[INFO] [stdout]    --> src/network.rs:335:8
[INFO] [stdout]     |
[INFO] [stdout] 204 | impl Net {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 335 |     fn write_to(&self, _out: &mut Vec<u8>) {}
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 336 |     fn read_from(&mut self, _data: &[u8], _off: usize) -> usize { _off }
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.14s
[INFO] running `Command { std: "docker" "inspect" "a8bc6aced63af4ea8418a1613c632a2afee470153fb2213b84cc744fd0ac0c70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8bc6aced63af4ea8418a1613c632a2afee470153fb2213b84cc744fd0ac0c70", kill_on_drop: false }`
[INFO] [stdout] a8bc6aced63af4ea8418a1613c632a2afee470153fb2213b84cc744fd0ac0c70
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d53a6cac51cb4209b3a3cff1352222ae461ab3bcba8e13537e7c8736018fab44
[INFO] running `Command { std: "docker" "start" "-a" "d53a6cac51cb4209b3a3cff1352222ae461ab3bcba8e13537e7c8736018fab44", kill_on_drop: false }`
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/game.rs:42:13
[INFO] [stderr]    |
[INFO] [stderr] 42 |         let mut rng = LcgRng::new(0xC0FFEE_u64);
[INFO] [stderr]    |             ----^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/event_loop.rs:19:19
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub fn run_manual(mut game: Game) -> Result<(), String> {
[INFO] [stderr]    |                   ----^^^^
[INFO] [stderr]    |                   |
[INFO] [stderr]    |                   help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/network.rs:316:13
[INFO] [stderr]     |
[INFO] [stderr] 316 |         let mut rd_u32 = |o: &mut usize| -> u32 { let mut b=[0u8;4]; b.copy_from_slice(&buf[*o..*o+4]); *o+=4; u32::from_le_bytes(b) };
[INFO] [stderr]     |             ----^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/network.rs:317:13
[INFO] [stderr]     |
[INFO] [stderr] 317 |         let mut rd_u64 = |o: &mut usize| -> u64 { let mut b=[0u8;8]; b.copy_from_slice(&buf[*o..*o+8]); *o+=8; u64::from_le_bytes(b) };
[INFO] [stderr]     |             ----^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:44:17
[INFO] [stderr]    |
[INFO] [stderr] 44 |             let mut game = Game::new(w, h);
[INFO] [stderr]    |                 ----^^^^
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: methods `write_to` and `read_from` are never used
[INFO] [stderr]    --> src/network.rs:335:8
[INFO] [stderr]     |
[INFO] [stderr] 204 | impl Net {
[INFO] [stderr]     | -------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 335 |     fn write_to(&self, _out: &mut Vec<u8>) {}
[INFO] [stderr]     |        ^^^^^^^^
[INFO] [stderr] 336 |     fn read_from(&mut self, _data: &[u8], _off: usize) -> usize { _off }
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `snake_ai` (bin "snake_ai" test) generated 6 warnings (run `cargo fix --bin "snake_ai" --tests` to apply 5 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/snake_ai-f0769841b3c8718a)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d53a6cac51cb4209b3a3cff1352222ae461ab3bcba8e13537e7c8736018fab44", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d53a6cac51cb4209b3a3cff1352222ae461ab3bcba8e13537e7c8736018fab44", kill_on_drop: false }`
[INFO] [stdout] d53a6cac51cb4209b3a3cff1352222ae461ab3bcba8e13537e7c8736018fab44
