[INFO] cloning repository https://github.com/Ermain-12/snake_game_with_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ermain-12/snake_game_with_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErmain-12%2Fsnake_game_with_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErmain-12%2Fsnake_game_with_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 29a170ce0e338a27b2092a1810b9028f1a693cbc
[INFO] building Ermain-12/snake_game_with_rust against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErmain-12%2Fsnake_game_with_rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Ermain-12/snake_game_with_rust on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Ermain-12/snake_game_with_rust
[INFO] finished tweaking git repo https://github.com/Ermain-12/snake_game_with_rust
[INFO] tweaked toml for git repo https://github.com/Ermain-12/snake_game_with_rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Ermain-12/snake_game_with_rust 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pistoncore-window v0.32.0
[INFO] [stderr]   Downloaded x11-dl v2.18.2
[INFO] [stderr]   Downloaded ordered-float v0.5.0
[INFO] [stderr]   Downloaded pistoncore-input v0.21.0
[INFO] [stderr]   Downloaded gfx_gl v0.5.0
[INFO] [stderr]   Downloaded pistoncore-event_loop v0.37.0
[INFO] [stderr]   Downloaded num-derive v0.2.2
[INFO] [stderr]   Downloaded piston v0.37.0
[INFO] [stderr]   Downloaded core-graphics v0.13.0
[INFO] [stderr]   Downloaded gfx_device_gl v0.15.3
[INFO] [stderr]   Downloaded inflate v0.4.3
[INFO] [stderr]   Downloaded cocoa v0.14.0
[INFO] [stderr]   Downloaded gif v0.10.0
[INFO] [stderr]   Downloaded deflate v0.7.18
[INFO] [stderr]   Downloaded rayon v1.0.2
[INFO] [stderr]   Downloaded wayland-client v0.12.5
[INFO] [stderr]   Downloaded winit v0.12.0
[INFO] [stderr]   Downloaded piston2d-gfx_graphics v0.51.0
[INFO] [stderr]   Downloaded khronos_api v2.2.0
[INFO] [stderr]   Downloaded rand v0.5.4
[INFO] [stderr]   Downloaded piston2d-graphics v0.26.0
[INFO] [stderr]   Downloaded wayland-kbd v0.13.1
[INFO] [stderr]   Downloaded piston_window v0.80.0
[INFO] [stderr]   Downloaded token_store v0.1.2
[INFO] [stderr]   Downloaded wayland-protocols v0.12.5
[INFO] [stderr]   Downloaded pkg-config v0.3.12
[INFO] [stderr]   Downloaded image v0.19.0
[INFO] [stderr]   Downloaded gleam v0.6.0
[INFO] [stderr]   Downloaded rusttype v0.4.3
[INFO] [stderr]   Downloaded pistoncore-glutin_window v0.47.0
[INFO] [stderr]   Downloaded png v0.12.0
[INFO] [stderr]   Downloaded memmap v0.6.2
[INFO] [stderr]   Downloaded tempfile v3.0.3
[INFO] [stderr]   Downloaded wayland-window v0.13.3
[INFO] [stderr]   Downloaded gl v0.10.0
[INFO] [stderr]   Downloaded wayland-sys v0.12.5
[INFO] [stderr]   Downloaded glutin v0.14.0
[INFO] [stderr]   Downloaded wayland-scanner v0.12.5
[INFO] [stderr]   Downloaded quote v0.6.4
[INFO] [stderr]   Downloaded piston-gfx_texture v0.32.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 30f5e954c93268a54292d3649c358c703679ab3ec0c1a2e3573e8c4be337bf2b
[INFO] running `Command { std: "docker" "start" "-a" "30f5e954c93268a54292d3649c358c703679ab3ec0c1a2e3573e8c4be337bf2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "30f5e954c93268a54292d3649c358c703679ab3ec0c1a2e3573e8c4be337bf2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30f5e954c93268a54292d3649c358c703679ab3ec0c1a2e3573e8c4be337bf2b", kill_on_drop: false }`
[INFO] [stdout] 30f5e954c93268a54292d3649c358c703679ab3ec0c1a2e3573e8c4be337bf2b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f67c3061bc60b5d55d6d03c4ff9480076861926da11dd3b85d0766eefedaaac4
[INFO] running `Command { std: "docker" "start" "-a" "f67c3061bc60b5d55d6d03c4ff9480076861926da11dd3b85d0766eefedaaac4", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling bitflags v1.0.3
[INFO] [stderr]    Compiling cfg-if v0.1.4
[INFO] [stderr]    Compiling libc v0.2.42
[INFO] [stderr]    Compiling lazy_static v1.0.2
[INFO] [stderr]    Compiling num-traits v0.2.5
[INFO] [stderr]    Compiling khronos_api v2.2.0
[INFO] [stderr]    Compiling cc v1.0.18
[INFO] [stderr]    Compiling nodrop v0.1.12
[INFO] [stderr]    Compiling either v1.5.0
[INFO] [stderr]    Compiling byteorder v1.2.4
[INFO] [stderr]    Compiling piston-float v0.3.0
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling memoffset v0.2.1
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]    Compiling proc-macro2 v0.4.9
[INFO] [stderr]    Compiling xml-rs v0.7.0
[INFO] [stderr]    Compiling log v0.4.3
[INFO] [stderr]    Compiling arrayvec v0.4.7
[INFO] [stderr]    Compiling crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling token_store v0.1.2
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling serde v1.0.70
[INFO] [stderr]    Compiling itertools v0.5.10
[INFO] [stderr]    Compiling piston-viewport v0.3.0
[INFO] [stderr]    Compiling rand_core v0.2.1
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling adler32 v1.0.3
[INFO] [stderr]    Compiling syn v0.10.8
[INFO] [stderr]    Compiling pkg-config v0.3.12
[INFO] [stderr]    Compiling rayon v1.0.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling draw_state v0.8.0
[INFO] [stderr]    Compiling quote v0.6.4
[INFO] [stderr]    Compiling remove_dir_all v0.5.1
[INFO] [stderr]    Compiling shader_version v0.3.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling deflate v0.7.18
[INFO] [stderr]    Compiling num_cpus v1.8.0
[INFO] [stderr]    Compiling syn v0.14.7
[INFO] [stderr]    Compiling rand v0.5.4
[INFO] [stderr]    Compiling memmap v0.6.2
[INFO] [stderr]    Compiling unreachable v0.1.1
[INFO] [stderr]    Compiling inflate v0.4.3
[INFO] [stderr]    Compiling gl_generator v0.9.0
[INFO] [stderr]    Compiling wayland-scanner v0.12.5
[INFO] [stderr]    Compiling gif v0.10.0
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling stb_truetype v0.2.2
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling x11-dl v2.18.2
[INFO] [stderr]    Compiling libloading v0.5.0
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling piston-texture v0.6.0
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling ordered-float v0.5.0
[INFO] [stderr]    Compiling vecmath v0.3.1
[INFO] [stderr]    Compiling read_color v1.0.0
[INFO] [stderr]    Compiling gl v0.10.0
[INFO] [stderr]    Compiling glutin v0.14.0
[INFO] [stderr]    Compiling wayland-client v0.12.5
[INFO] [stderr]    Compiling wayland-protocols v0.12.5
[INFO] [stderr]    Compiling dlib v0.4.1
[INFO] [stderr]    Compiling wayland-sys v0.12.5
[INFO] [stderr]    Compiling tempfile v3.0.3
[INFO] [stderr]    Compiling gfx_gl v0.5.0
[INFO] [stderr]    Compiling num-rational v0.1.42
[INFO] [stderr]    Compiling png v0.12.0
[INFO] [stderr]    Compiling rusttype v0.4.3
[INFO] [stderr]    Compiling interpolation v0.1.0
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling piston-shaders_graphics2d v0.3.1
[INFO] [stderr]    Compiling piston2d-graphics v0.26.0
[INFO] [stderr]    Compiling derivative v1.0.0
[INFO] [stderr]    Compiling serde_derive v1.0.70
[INFO] [stderr]    Compiling num-derive v0.2.2
[INFO] [stderr]    Compiling jpeg-decoder v0.1.15
[INFO] [stderr]    Compiling wayland-kbd v0.13.1
[INFO] [stderr]    Compiling image v0.19.0
[INFO] [stderr]    Compiling gfx_core v0.8.2
[INFO] [stderr]    Compiling wayland-window v0.13.3
[INFO] [stderr]    Compiling winit v0.12.0
[INFO] [stderr]    Compiling gfx v0.17.1
[INFO] [stderr]    Compiling gfx_device_gl v0.15.3
[INFO] [stderr]    Compiling pistoncore-input v0.21.0
[INFO] [stderr]    Compiling piston-gfx_texture v0.32.0
[INFO] [stderr]    Compiling piston2d-gfx_graphics v0.51.0
[INFO] [stderr]    Compiling pistoncore-window v0.32.0
[INFO] [stderr]    Compiling pistoncore-event_loop v0.37.0
[INFO] [stderr]    Compiling pistoncore-glutin_window v0.47.0
[INFO] [stderr]    Compiling piston v0.37.0
[INFO] [stderr]    Compiling piston_window v0.80.0
[INFO] [stderr]    Compiling snake_game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0599]: no variant or associated item named `KeyBoard` found for enum `piston_window::Button` in the current scope
[INFO] [stdout]   --> src/main.rs:29:29
[INFO] [stdout]    |
[INFO] [stdout] 29 |         if let Some(Button::KeyBoard(key)) = event.press_args() {
[INFO] [stdout]    |                             ^^^^^^^^ variant or associated item not found in `Button`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 29 |         if let Some(Button::Keyboard(key)) = event.press_args() {
[INFO] [stdout]    |                             ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/draw.rs:16:41
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn draw_block(color: Color, x: i32, y: i32, con: &Context, g: &mut G2d){
[INFO] [stdout]    |                                         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `snake_game` (bin "snake_game") due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "f67c3061bc60b5d55d6d03c4ff9480076861926da11dd3b85d0766eefedaaac4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f67c3061bc60b5d55d6d03c4ff9480076861926da11dd3b85d0766eefedaaac4", kill_on_drop: false }`
[INFO] [stdout] f67c3061bc60b5d55d6d03c4ff9480076861926da11dd3b85d0766eefedaaac4
