[INFO] cloning repository https://github.com/Prabinbaral77/Snake-Game
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Prabinbaral77/Snake-Game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrabinbaral77%2FSnake-Game", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrabinbaral77%2FSnake-Game'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 27cc8f389c48cbcd92c40e546fded0354b368d14
[INFO] building Prabinbaral77/Snake-Game against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrabinbaral77%2FSnake-Game" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Prabinbaral77/Snake-Game
[INFO] finished tweaking git repo https://github.com/Prabinbaral77/Snake-Game
[INFO] tweaked toml for git repo https://github.com/Prabinbaral77/Snake-Game written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Prabinbaral77/Snake-Game on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Prabinbaral77/Snake-Game 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded piston-gfx_texture v0.45.0
[INFO] [stderr]   Downloaded piston_window v0.132.0
[INFO] [stderr]   Downloaded spin_sleep v1.2.1
[INFO] [stderr]   Downloaded piston2d-gfx_graphics v0.81.0
[INFO] [stderr]   Downloaded anyhow v1.0.94
[INFO] [stderr]   Downloaded image-webp v0.2.0
[INFO] [stderr]   Downloaded xml-rs v0.8.24
[INFO] [stderr]   Downloaded cc v1.2.4
[INFO] [stderr]   Downloaded libfuzzer-sys v0.4.8
[INFO] [stderr]   Downloaded png v0.17.15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3ed4dad579c07decf79d09998e108ac7592175b506060040e96f3a35520ae2a2
[INFO] running `Command { std: "docker" "start" "-a" "3ed4dad579c07decf79d09998e108ac7592175b506060040e96f3a35520ae2a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3ed4dad579c07decf79d09998e108ac7592175b506060040e96f3a35520ae2a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ed4dad579c07decf79d09998e108ac7592175b506060040e96f3a35520ae2a2", kill_on_drop: false }`
[INFO] [stdout] 3ed4dad579c07decf79d09998e108ac7592175b506060040e96f3a35520ae2a2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e26d910a9dfc4d7e252ed24af92e4b47c44405ad346bd28458983b10895b676e
[INFO] running `Command { std: "docker" "start" "-a" "e26d910a9dfc4d7e252ed24af92e4b47c44405ad346bd28458983b10895b676e", kill_on_drop: false }`
[INFO] [stderr]    Compiling xml-rs v0.8.24
[INFO] [stderr]    Compiling libc v0.2.168
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling miniz_oxide v0.8.0
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling bytemuck v1.20.0
[INFO] [stderr]    Compiling anyhow v1.0.94
[INFO] [stderr]    Compiling piston-viewport v1.0.2
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling built v0.7.5
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling serde v1.0.216
[INFO] [stderr]    Compiling aligned-vec v0.5.0
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling v_frame v0.3.8
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling tiny-skia-path v0.8.4
[INFO] [stderr]    Compiling wayland-sys v0.30.1
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling gfx_core v0.9.2
[INFO] [stderr]    Compiling flate2 v1.0.35
[INFO] [stderr]    Compiling glutin v0.30.10
[INFO] [stderr]    Compiling avif-serialize v0.8.2
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling raw-window-handle v0.5.2
[INFO] [stderr]    Compiling jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling ttf-parser v0.15.2
[INFO] [stderr]    Compiling rgb v0.8.50
[INFO] [stderr]    Compiling exr v1.73.0
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling png v0.17.15
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling image-webp v0.2.0
[INFO] [stderr]    Compiling zune-jpeg v0.4.14
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling glutin_egl_sys v0.5.1
[INFO] [stderr]    Compiling glutin_glx_sys v0.4.0
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling tiny-skia v0.8.4
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling nix v0.24.3
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling nix v0.25.1
[INFO] [stderr]    Compiling maybe-rayon v0.1.1
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling av1-grain v0.2.3
[INFO] [stderr]    Compiling winit v0.28.7
[INFO] [stderr]    Compiling owned_ttf_parser v0.15.2
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling gl v0.13.0
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling glutin-winit v0.3.0
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling piston-texture v0.9.0
[INFO] [stderr]    Compiling rusttype v0.9.3
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling gfx v0.18.3
[INFO] [stderr]    Compiling interpolation v0.3.0
[INFO] [stderr]    Compiling spin_sleep v1.2.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling piston2d-graphics v0.44.0
[INFO] [stderr]    Compiling wayland-commons v0.29.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling profiling-procmacros v1.0.16
[INFO] [stderr]    Compiling serde_derive v1.0.216
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling profiling v1.0.16
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling calloop v0.10.6
[INFO] [stderr]    Compiling wayland-cursor v0.29.5
[INFO] [stderr]    Compiling gfx_device_gl v0.16.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling pistoncore-input v1.0.1
[INFO] [stderr]    Compiling pistoncore-window v1.0.0
[INFO] [stderr]    Compiling pistoncore-event_loop v1.0.0
[INFO] [stderr]    Compiling piston v1.0.0
[INFO] [stderr]    Compiling ravif v0.11.11
[INFO] [stderr]    Compiling image v0.25.5
[INFO] [stderr]    Compiling piston-gfx_texture v0.45.0
[INFO] [stderr]    Compiling piston2d-gfx_graphics v0.81.0
[INFO] [stderr]    Compiling sctk-adwaita v0.5.4
[INFO] [stderr]    Compiling pistoncore-glutin_window v0.72.0
[INFO] [stderr]    Compiling piston_window v0.132.0
[INFO] [stderr]    Compiling snake-game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/game.rs:123:15
[INFO] [stdout]     |
[INFO] [stdout] 123 |         while (self.snake.overlap_tail(new_x, new_y)) {
[INFO] [stdout]     |               ^                                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 123 -         while (self.snake.overlap_tail(new_x, new_y)) {
[INFO] [stdout] 123 +         while self.snake.overlap_tail(new_x, new_y)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `to_coord_u32` is never used
[INFO] [stdout]   --> src/draw.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn to_coord_u32(game_coord: f64) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GAMEOVER_COLOR` is never used
[INFO] [stdout]   --> src/game.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const GAMEOVER_COLOR: Color = [0.90, 0.00, 0.00, 0.5];
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MOVING_PERIOD` is never used
[INFO] [stdout]   --> src/game.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const MOVING_PERIOD: f32 = 0.1;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 48s
[INFO] running `Command { std: "docker" "inspect" "e26d910a9dfc4d7e252ed24af92e4b47c44405ad346bd28458983b10895b676e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e26d910a9dfc4d7e252ed24af92e4b47c44405ad346bd28458983b10895b676e", kill_on_drop: false }`
[INFO] [stdout] e26d910a9dfc4d7e252ed24af92e4b47c44405ad346bd28458983b10895b676e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 934b0687940613e8b33b28803fc4826d7a97d7c4cd767ce3e981b0080346e26c
[INFO] running `Command { std: "docker" "start" "-a" "934b0687940613e8b33b28803fc4826d7a97d7c4cd767ce3e981b0080346e26c", kill_on_drop: false }`
[INFO] [stderr]    Compiling snake-game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/game.rs:123:15
[INFO] [stdout]     |
[INFO] [stdout] 123 |         while (self.snake.overlap_tail(new_x, new_y)) {
[INFO] [stdout]     |               ^                                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 123 -         while (self.snake.overlap_tail(new_x, new_y)) {
[INFO] [stdout] 123 +         while self.snake.overlap_tail(new_x, new_y)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `to_coord_u32` is never used
[INFO] [stdout]   --> src/draw.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn to_coord_u32(game_coord: f64) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GAMEOVER_COLOR` is never used
[INFO] [stdout]   --> src/game.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const GAMEOVER_COLOR: Color = [0.90, 0.00, 0.00, 0.5];
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MOVING_PERIOD` is never used
[INFO] [stdout]   --> src/game.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const MOVING_PERIOD: f32 = 0.1;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.01s
[INFO] running `Command { std: "docker" "inspect" "934b0687940613e8b33b28803fc4826d7a97d7c4cd767ce3e981b0080346e26c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "934b0687940613e8b33b28803fc4826d7a97d7c4cd767ce3e981b0080346e26c", kill_on_drop: false }`
[INFO] [stdout] 934b0687940613e8b33b28803fc4826d7a97d7c4cd767ce3e981b0080346e26c
