[INFO] cloning repository https://github.com/smolck/snake-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/smolck/snake-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmolck%2Fsnake-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmolck%2Fsnake-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ae7009e4e4742590769a16b37f374a72fbf4a544
[INFO] testing smolck/snake-rs against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmolck%2Fsnake-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/smolck/snake-rs
[INFO] finished tweaking git repo https://github.com/smolck/snake-rs
[INFO] tweaked toml for git repo https://github.com/smolck/snake-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/smolck/snake-rs on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/smolck/snake-rs 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4d81b4b4ca22cdb4b0485956e41a5c41665661f2646a342cf716639d5dcf9f3c
[INFO] running `Command { std: "docker" "start" "-a" "4d81b4b4ca22cdb4b0485956e41a5c41665661f2646a342cf716639d5dcf9f3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4d81b4b4ca22cdb4b0485956e41a5c41665661f2646a342cf716639d5dcf9f3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d81b4b4ca22cdb4b0485956e41a5c41665661f2646a342cf716639d5dcf9f3c", kill_on_drop: false }`
[INFO] [stdout] 4d81b4b4ca22cdb4b0485956e41a5c41665661f2646a342cf716639d5dcf9f3c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b5e8289655b055c781ac13d4ff8bb3df6375cb0c5140fd25c081f9598ec4abad
[INFO] running `Command { std: "docker" "start" "-a" "b5e8289655b055c781ac13d4ff8bb3df6375cb0c5140fd25c081f9598ec4abad", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling libc v0.2.152
[INFO] [stderr]    Compiling proc-macro2 v1.0.76
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling libloading v0.8.1
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling pkg-config v0.3.29
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling smallvec v1.12.0
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling scoped-tls v1.0.1
[INFO] [stderr]    Compiling ahash v0.8.7
[INFO] [stderr]    Compiling zerocopy v0.7.32
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling allocator-api2 v0.2.16
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling khronos-egl v6.0.0
[INFO] [stderr]    Compiling quick-xml v0.31.0
[INFO] [stderr]    Compiling ash v0.37.3+1.3.251
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling unicode-width v0.1.11
[INFO] [stderr]    Compiling wayland-sys v0.31.1
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling gpu-alloc-types v0.3.0
[INFO] [stderr]    Compiling gpu-descriptor-types v0.1.2
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling raw-window-handle v0.5.2
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling xcursor v0.3.5
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling cursor-icon v1.1.0
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling ttf-parser v0.20.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.18.1
[INFO] [stderr]    Compiling strict-num v0.1.1
[INFO] [stderr]    Compiling hexf-parse v0.2.1
[INFO] [stderr]    Compiling xkeysym v0.2.0
[INFO] [stderr]    Compiling memmap2 v0.9.4
[INFO] [stderr]    Compiling gpu-alloc v0.6.0
[INFO] [stderr]    Compiling wayland-scanner v0.31.1
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling wgpu-types v0.18.0
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling glow v0.13.0
[INFO] [stderr]    Compiling profiling v1.0.13
[INFO] [stderr]    Compiling renderdoc-sys v1.0.0
[INFO] [stderr]    Compiling wayland-backend v0.3.3
[INFO] [stderr]    Compiling spirv v0.2.0+1.5.4
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]    Compiling ab_glyph_rasterizer v0.1.8
[INFO] [stderr]    Compiling winit v0.29.15
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling x11rb-protocol v0.13.0
[INFO] [stderr]    Compiling as-raw-xcb-connection v1.0.1
[INFO] [stderr]    Compiling indexmap v2.1.0
[INFO] [stderr]    Compiling gpu-descriptor v0.2.4
[INFO] [stderr]    Compiling flume v0.11.0
[INFO] [stderr]    Compiling xkbcommon-dl v0.4.2
[INFO] [stderr]    Compiling smol_str v0.2.1
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling raw-window-handle v0.6.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling pollster v0.3.0
[INFO] [stderr]    Compiling owned_ttf_parser v0.20.0
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling bytemuck_derive v1.6.0
[INFO] [stderr]    Compiling ab_glyph v0.2.23
[INFO] [stderr]    Compiling bytemuck v1.15.0
[INFO] [stderr]    Compiling tiny-skia-path v0.11.4
[INFO] [stderr]    Compiling naga v0.14.2
[INFO] [stderr]    Compiling tiny-skia v0.11.4
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling polling v3.7.0
[INFO] [stderr]    Compiling is-terminal v0.4.10
[INFO] [stderr]    Compiling env_logger v0.10.1
[INFO] [stderr]    Compiling calloop v0.12.4
[INFO] [stderr]    Compiling wayland-client v0.31.2
[INFO] [stderr]    Compiling wayland-csd-frame v0.3.0
[INFO] [stderr]    Compiling wayland-protocols v0.31.2
[INFO] [stderr]    Compiling wayland-cursor v0.31.1
[INFO] [stderr]    Compiling calloop-wayland-source v0.2.0
[INFO] [stderr]    Compiling wgpu-hal v0.18.1
[INFO] [stderr]    Compiling wayland-protocols-wlr v0.2.0
[INFO] [stderr]    Compiling wayland-protocols-plasma v0.2.0
[INFO] [stderr]    Compiling wgpu-core v0.18.1
[INFO] [stderr]    Compiling x11rb v0.13.0
[INFO] [stderr]    Compiling sctk-adwaita v0.8.1
[INFO] [stderr]    Compiling wgpu v0.18.0
[INFO] [stderr]    Compiling snake v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable `row` is assigned to, but never used
[INFO] [stdout]    --> src/game.rs:278:13
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let mut row = 0;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_row` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `row` is never read
[INFO] [stdout]    --> src/game.rs:330:17
[INFO] [stdout]     |
[INFO] [stdout] 330 |                 row += 1;
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `win_width`
[INFO] [stdout]   --> src/shader.rs:34:23
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn square_for_pos(win_width: f32, win_height: f32, x: f32, y: f32, size: f32) -> [f32; 12] {
[INFO] [stdout]    |                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_width`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `win_height`
[INFO] [stdout]   --> src/shader.rs:34:39
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn square_for_pos(win_width: f32, win_height: f32, x: f32, y: f32, size: f32) -> [f32; 12] {
[INFO] [stdout]    |                                       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `window_resolution`, `snake_color`, `bg_color`, `food_color`, `colors_buffer`, and `resolution_buffer` are never read
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Uniforms {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 15 |     window_resolution: [f32; 2],
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     snake_color: [f32; 3],
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 17 |     bg_color: [f32; 3],
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 18 |     food_color: [f32; 3],
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 19 |
[INFO] [stdout] 20 |     colors_buffer: wgpu::Buffer,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 21 |     resolution_buffer: wgpu::Buffer,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `board_size` is never read
[INFO] [stdout]   --> src/game.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Game {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 43 |     board_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/shader.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Vertex {
[INFO] [stdout]   |            ^^^^^^ field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]  --> src/shader.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / #[repr(C)]
[INFO] [stdout] 2 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 3 | | pub struct Vertex {
[INFO] [stdout] 4 | |     pub position: [f32; 2],
[INFO] [stdout] 5 | |     pub coloridx: u32, // index into color uniforms
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 50s
[INFO] running `Command { std: "docker" "inspect" "b5e8289655b055c781ac13d4ff8bb3df6375cb0c5140fd25c081f9598ec4abad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b5e8289655b055c781ac13d4ff8bb3df6375cb0c5140fd25c081f9598ec4abad", kill_on_drop: false }`
[INFO] [stdout] b5e8289655b055c781ac13d4ff8bb3df6375cb0c5140fd25c081f9598ec4abad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 427c41f95f39abd483c9b105ae61410950a1a4bf7c6d1d1b02c0ff4c2a751b3d
[INFO] running `Command { std: "docker" "start" "-a" "427c41f95f39abd483c9b105ae61410950a1a4bf7c6d1d1b02c0ff4c2a751b3d", kill_on_drop: false }`
[INFO] [stderr]    Compiling snake v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable `row` is assigned to, but never used
[INFO] [stdout]    --> src/game.rs:278:13
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let mut row = 0;
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_row` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `row` is never read
[INFO] [stdout]    --> src/game.rs:330:17
[INFO] [stdout]     |
[INFO] [stdout] 330 |                 row += 1;
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `win_width`
[INFO] [stdout]   --> src/shader.rs:34:23
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn square_for_pos(win_width: f32, win_height: f32, x: f32, y: f32, size: f32) -> [f32; 12] {
[INFO] [stdout]    |                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_width`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `win_height`
[INFO] [stdout]   --> src/shader.rs:34:39
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn square_for_pos(win_width: f32, win_height: f32, x: f32, y: f32, size: f32) -> [f32; 12] {
[INFO] [stdout]    |                                       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `window_resolution`, `snake_color`, `bg_color`, `food_color`, `colors_buffer`, and `resolution_buffer` are never read
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Uniforms {
[INFO] [stdout]    |        -------- fields in this struct
[INFO] [stdout] 15 |     window_resolution: [f32; 2],
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     snake_color: [f32; 3],
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 17 |     bg_color: [f32; 3],
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 18 |     food_color: [f32; 3],
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 19 |
[INFO] [stdout] 20 |     colors_buffer: wgpu::Buffer,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 21 |     resolution_buffer: wgpu::Buffer,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `board_size` is never read
[INFO] [stdout]   --> src/game.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Game {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 43 |     board_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/shader.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Vertex {
[INFO] [stdout]   |            ^^^^^^ field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]  --> src/shader.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / #[repr(C)]
[INFO] [stdout] 2 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 3 | | pub struct Vertex {
[INFO] [stdout] 4 | |     pub position: [f32; 2],
[INFO] [stdout] 5 | |     pub coloridx: u32, // index into color uniforms
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.57s
[INFO] running `Command { std: "docker" "inspect" "427c41f95f39abd483c9b105ae61410950a1a4bf7c6d1d1b02c0ff4c2a751b3d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "427c41f95f39abd483c9b105ae61410950a1a4bf7c6d1d1b02c0ff4c2a751b3d", kill_on_drop: false }`
[INFO] [stdout] 427c41f95f39abd483c9b105ae61410950a1a4bf7c6d1d1b02c0ff4c2a751b3d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9b2020e341da7488a115967796ef1c22ad62fac0b0d2cc6bfa03d36e8dd59e69
[INFO] running `Command { std: "docker" "start" "-a" "9b2020e341da7488a115967796ef1c22ad62fac0b0d2cc6bfa03d36e8dd59e69", kill_on_drop: false }`
[INFO] [stderr] warning: variable `row` is assigned to, but never used
[INFO] [stderr]    --> src/game.rs:278:13
[INFO] [stderr]     |
[INFO] [stderr] 278 |         let mut row = 0;
[INFO] [stderr]     |             ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: consider using `_row` instead
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `row` is never read
[INFO] [stderr]    --> src/game.rs:330:17
[INFO] [stderr]     |
[INFO] [stderr] 330 |                 row += 1;
[INFO] [stderr]     |                 ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `win_width`
[INFO] [stderr]   --> src/shader.rs:34:23
[INFO] [stderr]    |
[INFO] [stderr] 34 | pub fn square_for_pos(win_width: f32, win_height: f32, x: f32, y: f32, size: f32) -> [f32; 12] {
[INFO] [stderr]    |                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_width`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `win_height`
[INFO] [stderr]   --> src/shader.rs:34:39
[INFO] [stderr]    |
[INFO] [stderr] 34 | pub fn square_for_pos(win_width: f32, win_height: f32, x: f32, y: f32, size: f32) -> [f32; 12] {
[INFO] [stderr]    |                                       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_win_height`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `window_resolution`, `snake_color`, `bg_color`, `food_color`, `colors_buffer`, and `resolution_buffer` are never read
[INFO] [stderr]   --> src/main.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | struct Uniforms {
[INFO] [stderr]    |        -------- fields in this struct
[INFO] [stderr] 15 |     window_resolution: [f32; 2],
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 16 |     snake_color: [f32; 3],
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 17 |     bg_color: [f32; 3],
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 18 |     food_color: [f32; 3],
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 19 |
[INFO] [stderr] 20 |     colors_buffer: wgpu::Buffer,
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 21 |     resolution_buffer: wgpu::Buffer,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `board_size` is never read
[INFO] [stderr]   --> src/game.rs:43:5
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub struct Game {
[INFO] [stderr]    |            ---- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 43 |     board_size: usize,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]  --> src/shader.rs:3:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub struct Vertex {
[INFO] [stderr]   |            ^^^^^^ field in this struct
[INFO] [stderr]   |
[INFO] [stderr]   = help: consider removing this field
[INFO] [stderr] 
[INFO] [stderr] warning: function `check` is never used
[INFO] [stderr]  --> src/shader.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | / #[repr(C)]
[INFO] [stderr] 2 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stderr] 3 | | pub struct Vertex {
[INFO] [stderr] 4 | |     pub position: [f32; 2],
[INFO] [stderr] 5 | |     pub coloridx: u32, // index into color uniforms
[INFO] [stderr] 6 | | }
[INFO] [stderr]   | |_^
[INFO] [stderr] 
[INFO] [stderr] warning: `snake` (bin "snake" test) generated 8 warnings (run `cargo fix --bin "snake" -p snake --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/snake-68f4f9974696e742)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test game::tests::snake_eats_food_properly_when_small_len ... ok
[INFO] [stdout] test game::tests::board_initializes_properly ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "9b2020e341da7488a115967796ef1c22ad62fac0b0d2cc6bfa03d36e8dd59e69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b2020e341da7488a115967796ef1c22ad62fac0b0d2cc6bfa03d36e8dd59e69", kill_on_drop: false }`
[INFO] [stdout] 9b2020e341da7488a115967796ef1c22ad62fac0b0d2cc6bfa03d36e8dd59e69
