[INFO] cloning repository https://github.com/Alaa5090/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/Alaa5090/Snake_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlaa5090%2FSnake_game", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlaa5090%2FSnake_game'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8a62a08c201bf890a3c8d008fc99bcaca2ec79d8
[INFO] checking Alaa5090/Snake_game against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlaa5090%2FSnake_game" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Alaa5090/Snake_game
[INFO] finished tweaking git repo https://github.com/Alaa5090/Snake_game
[INFO] tweaked toml for git repo https://github.com/Alaa5090/Snake_game written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Alaa5090/Snake_game on toolchain e117153a45c546e883c1f91d82611775fcaeffe0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Alaa5090/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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3adc78a93748328e08e5f05dbbad6e4e7768403c22f3fea0df3421392071ead2
[INFO] running `Command { std: "docker" "start" "-a" "3adc78a93748328e08e5f05dbbad6e4e7768403c22f3fea0df3421392071ead2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3adc78a93748328e08e5f05dbbad6e4e7768403c22f3fea0df3421392071ead2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3adc78a93748328e08e5f05dbbad6e4e7768403c22f3fea0df3421392071ead2", kill_on_drop: false }`
[INFO] [stdout] 3adc78a93748328e08e5f05dbbad6e4e7768403c22f3fea0df3421392071ead2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] adc82b370e2a4f441dfd0df689b02475d79c641be93d71787c4b9322b007e7d0
[INFO] running `Command { std: "docker" "start" "-a" "adc82b370e2a4f441dfd0df689b02475d79c641be93d71787c4b9322b007e7d0", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.105
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling khronos_api v2.2.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling proc-macro2 v1.0.30
[INFO] [stderr]     Checking libloading v0.6.7
[INFO] [stderr]    Compiling xml-rs v0.7.0
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]     Checking piston-float v0.3.0
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]    Compiling syn v1.0.80
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]     Checking wayland-sys v0.12.5
[INFO] [stderr]     Checking piston-viewport v0.3.0
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]    Compiling wayland-scanner v0.12.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.15
[INFO] [stderr]     Checking token_store v0.1.2
[INFO] [stderr]    Compiling pkg-config v0.3.22
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling gl_generator v0.9.0
[INFO] [stderr]     Checking memmap v0.6.2
[INFO] [stderr]    Compiling wayland-client v0.12.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling wayland-protocols v0.12.5
[INFO] [stderr]    Compiling x11-dl v2.19.1
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]     Checking shader_version v0.3.0
[INFO] [stderr]    Compiling gl_generator v0.8.0
[INFO] [stderr]    Compiling gl v0.10.0
[INFO] [stderr]     Checking tempfile v3.2.0
[INFO] [stderr]     Checking stb_truetype v0.3.1
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking stb_truetype v0.2.8
[INFO] [stderr]    Compiling glutin v0.12.2
[INFO] [stderr]     Checking wayland-kbd v0.13.1
[INFO] [stderr]     Checking ordered-float v0.5.2
[INFO] [stderr]     Checking deflate v0.7.20
[INFO] [stderr]     Checking inflate v0.3.4
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking gif v0.9.2
[INFO] [stderr]     Checking png v0.11.0
[INFO] [stderr]     Checking rusttype v0.4.3
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking enum_primitive v0.1.1
[INFO] [stderr]     Checking vecmath v0.3.1
[INFO] [stderr]     Checking read_color v1.0.0
[INFO] [stderr]     Checking interpolation v0.1.0
[INFO] [stderr]     Checking piston-texture v0.6.0
[INFO] [stderr]     Checking piston-shaders_graphics2d v0.3.1
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking piston2d-graphics v0.26.0
[INFO] [stderr]     Checking wayland-window v0.13.3
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]     Checking winit v0.10.0
[INFO] [stderr]     Checking image v0.18.0
[INFO] [stderr]     Checking pistoncore-input v0.20.0
[INFO] [stderr]     Checking piston2d-opengl_graphics v0.52.1
[INFO] [stderr]     Checking pistoncore-window v0.31.0
[INFO] [stderr]     Checking pistoncore-event_loop v0.36.0
[INFO] [stderr]     Checking pistoncore-glutin_window v0.45.3
[INFO] [stderr]     Checking piston v0.36.0
[INFO] [stderr]     Checking Snake_game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `Snake_Piece` should have an upper camel case name
[INFO] [stdout]   --> src/snake.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Snake_Piece(pub u32,pub u32);
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SnakePiece`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Snake_Piece` should have an upper camel case name
[INFO] [stdout]   --> src/snake.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Snake_Piece(pub u32,pub u32);
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SnakePiece`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/game.rs:38:40
[INFO] [stdout]    |
[INFO] [stdout] 38 |         self.gl.draw(args.viewport(), |c, gl| {
[INFO] [stdout]    |                                        ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/game.rs:55:30
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn update(&mut self, args: &UpdateArgs) -> bool {
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/food.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let y = self.y * width;
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BlUE` should have an upper case name
[INFO] [stdout]   --> src/food.rs:39:15
[INFO] [stdout]    |
[INFO] [stdout] 39 |         const BlUE: [f32; 4] = [0.0, 0.0, 1.0, 1.0];
[INFO] [stdout]    |               ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 39 -         const BlUE: [f32; 4] = [0.0, 0.0, 1.0, 1.0];
[INFO] [stdout] 39 +         const BL_UE: [f32; 4] = [0.0, 0.0, 1.0, 1.0];
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/game.rs:38:40
[INFO] [stdout]    |
[INFO] [stdout] 38 |         self.gl.draw(args.viewport(), |c, gl| {
[INFO] [stdout]    |                                        ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> src/game.rs:55:30
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn update(&mut self, args: &UpdateArgs) -> bool {
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/food.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let y = self.y * width;
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `Snake_game` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `snake_game`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BlUE` should have an upper case name
[INFO] [stdout]   --> src/food.rs:39:15
[INFO] [stdout]    |
[INFO] [stdout] 39 |         const BlUE: [f32; 4] = [0.0, 0.0, 1.0, 1.0];
[INFO] [stdout]    |               ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 39 -         const BlUE: [f32; 4] = [0.0, 0.0, 1.0, 1.0];
[INFO] [stdout] 39 +         const BL_UE: [f32; 4] = [0.0, 0.0, 1.0, 1.0];
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `graphics::Rectangle`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use graphics::Rectangle;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `graphics::Rectangle`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use graphics::Rectangle;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `WIDTH` should have a snake case name
[INFO] [stdout]   --> src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | let WIDTH = COLS * SQUARE_WIDTH;
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to snake case: `width`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `HEIGHT` should have a snake case name
[INFO] [stdout]   --> src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | let HEIGHT = ROWS * SQUARE_WIDTH;
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `WIDTH` should have a snake case name
[INFO] [stdout]   --> src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | let WIDTH = COLS * SQUARE_WIDTH;
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to snake case: `width`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `HEIGHT` should have a snake case name
[INFO] [stdout]   --> src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | let HEIGHT = ROWS * SQUARE_WIDTH;
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.42s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: glutin v0.12.2, winit v0.10.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "adc82b370e2a4f441dfd0df689b02475d79c641be93d71787c4b9322b007e7d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "adc82b370e2a4f441dfd0df689b02475d79c641be93d71787c4b9322b007e7d0", kill_on_drop: false }`
[INFO] [stdout] adc82b370e2a4f441dfd0df689b02475d79c641be93d71787c4b9322b007e7d0
