[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#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmolck%2Fsnake-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/smolck/snake-rs on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aa1d36ebd0204ca985883f296df83a25d48de2d32e9b2781f099b9643e9081d0
[INFO] running `Command { std: "docker" "start" "-a" "aa1d36ebd0204ca985883f296df83a25d48de2d32e9b2781f099b9643e9081d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aa1d36ebd0204ca985883f296df83a25d48de2d32e9b2781f099b9643e9081d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa1d36ebd0204ca985883f296df83a25d48de2d32e9b2781f099b9643e9081d0", kill_on_drop: false }`
[INFO] [stdout] aa1d36ebd0204ca985883f296df83a25d48de2d32e9b2781f099b9643e9081d0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5c7a8a1bf3232fc75b9bdfbf09ac14f1404e7669bb3cdf7d3028e3799a54fe35
[INFO] running `Command { std: "docker" "start" "-a" "5c7a8a1bf3232fc75b9bdfbf09ac14f1404e7669bb3cdf7d3028e3799a54fe35", 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 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 smallvec v1.12.0
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling quick-xml v0.31.0
[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 allocator-api2 v0.2.16
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling raw-window-handle v0.5.2
[INFO] [stderr]    Compiling ash v0.37.3+1.3.251
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling renderdoc-sys v1.0.0
[INFO] [stderr]    Compiling profiling v1.0.13
[INFO] [stderr]    Compiling glow v0.13.0
[INFO] [stderr]    Compiling winit v0.29.15
[INFO] [stderr]    Compiling gpu-descriptor-types v0.1.2
[INFO] [stderr]    Compiling gpu-alloc-types v0.3.0
[INFO] [stderr]    Compiling wgpu-types v0.18.0
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling ab_glyph v0.2.23
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling gpu-alloc v0.6.0
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling wayland-sys v0.31.1
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling xkbcommon-dl v0.4.2
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling memmap2 v0.9.4
[INFO] [stderr]    Compiling khronos-egl v6.0.0
[INFO] [stderr]    Compiling wayland-scanner v0.31.1
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling spirv v0.2.0+1.5.4
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling flume v0.11.0
[INFO] [stderr]    Compiling raw-window-handle v0.6.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling indexmap v2.1.0
[INFO] [stderr]    Compiling gpu-descriptor v0.2.4
[INFO] [stderr]    Compiling wayland-backend v0.3.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling bytemuck_derive v1.6.0
[INFO] [stderr]    Compiling naga v0.14.2
[INFO] [stderr]    Compiling bytemuck v1.15.0
[INFO] [stderr]    Compiling tiny-skia-path v0.11.4
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling tiny-skia v0.11.4
[INFO] [stderr]    Compiling polling v3.7.0
[INFO] [stderr]    Compiling is-terminal v0.4.10
[INFO] [stderr]    Compiling x11rb v0.13.0
[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 calloop-wayland-source v0.2.0
[INFO] [stderr]    Compiling wayland-cursor v0.31.1
[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 smithay-client-toolkit v0.18.1
[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 29s
[INFO] running `Command { std: "docker" "inspect" "5c7a8a1bf3232fc75b9bdfbf09ac14f1404e7669bb3cdf7d3028e3799a54fe35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c7a8a1bf3232fc75b9bdfbf09ac14f1404e7669bb3cdf7d3028e3799a54fe35", kill_on_drop: false }`
[INFO] [stdout] 5c7a8a1bf3232fc75b9bdfbf09ac14f1404e7669bb3cdf7d3028e3799a54fe35
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f51d172d1ffa552ef39638bfe309a02ec224a9a2ae1c22f38383654fef462d3b
[INFO] running `Command { std: "docker" "start" "-a" "f51d172d1ffa552ef39638bfe309a02ec224a9a2ae1c22f38383654fef462d3b", 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.54s
[INFO] running `Command { std: "docker" "inspect" "f51d172d1ffa552ef39638bfe309a02ec224a9a2ae1c22f38383654fef462d3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f51d172d1ffa552ef39638bfe309a02ec224a9a2ae1c22f38383654fef462d3b", kill_on_drop: false }`
[INFO] [stdout] f51d172d1ffa552ef39638bfe309a02ec224a9a2ae1c22f38383654fef462d3b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] cdb342defe9914c091611fffec4bcdf4415ab5f06090cbcf5f3b02384a189d52
[INFO] running `Command { std: "docker" "start" "-a" "cdb342defe9914c091611fffec4bcdf4415ab5f06090cbcf5f3b02384a189d52", 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.22s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/snake-c0f28d500477471c)
[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" "cdb342defe9914c091611fffec4bcdf4415ab5f06090cbcf5f3b02384a189d52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cdb342defe9914c091611fffec4bcdf4415ab5f06090cbcf5f3b02384a189d52", kill_on_drop: false }`
[INFO] [stdout] cdb342defe9914c091611fffec4bcdf4415ab5f06090cbcf5f3b02384a189d52
