[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 master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlaa5090%2FSnake_game" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Alaa5090/Snake_game on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 79de679285b43b4a18391698640686678901b7402cbad49d1a951eb3a77d2f2e
[INFO] running `Command { std: "docker" "start" "-a" "79de679285b43b4a18391698640686678901b7402cbad49d1a951eb3a77d2f2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "79de679285b43b4a18391698640686678901b7402cbad49d1a951eb3a77d2f2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "79de679285b43b4a18391698640686678901b7402cbad49d1a951eb3a77d2f2e", kill_on_drop: false }`
[INFO] [stdout] 79de679285b43b4a18391698640686678901b7402cbad49d1a951eb3a77d2f2e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fb955744aef7b5c2104e9a2c73a8d3fdbdef84efae0e724d8c0177c9c790c9a3
[INFO] running `Command { std: "docker" "start" "-a" "fb955744aef7b5c2104e9a2c73a8d3fdbdef84efae0e724d8c0177c9c790c9a3", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.105
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling num-traits v0.2.14
[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 memoffset v0.6.4
[INFO] [stderr]     Checking piston-float v0.3.0
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]    Compiling syn v1.0.80
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]     Checking wayland-sys v0.12.5
[INFO] [stderr]     Checking piston-viewport v0.3.0
[INFO] [stderr]    Compiling wayland-scanner v0.12.5
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]     Checking token_store v0.1.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.15
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling pkg-config v0.3.22
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling wayland-client v0.12.5
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]    Compiling wayland-protocols v0.12.5
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]    Compiling x11-dl v2.19.1
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]     Checking memmap v0.6.2
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]    Compiling gl_generator v0.9.0
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]     Checking shader_version v0.3.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]     Checking unreachable v1.0.0
[INFO] [stderr]    Compiling gl_generator v0.8.0
[INFO] [stderr]     Checking tempfile v3.2.0
[INFO] [stderr]    Compiling gl v0.10.0
[INFO] [stderr]     Checking stb_truetype v0.3.1
[INFO] [stderr]     Checking nodrop v0.1.14
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking wayland-kbd v0.13.1
[INFO] [stderr]     Checking stb_truetype v0.2.8
[INFO] [stderr]    Compiling glutin v0.12.2
[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 color_quant v1.1.0
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking png v0.11.0
[INFO] [stderr]     Checking gif v0.9.2
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[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 piston-texture v0.6.0
[INFO] [stderr]     Checking interpolation v0.1.0
[INFO] [stderr]     Checking wayland-window v0.13.3
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking read_color v1.0.0
[INFO] [stderr]     Checking piston-shaders_graphics2d v0.3.1
[INFO] [stderr]     Checking image v0.18.0
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking winit v0.10.0
[INFO] [stderr]     Checking piston2d-graphics v0.26.0
[INFO] [stderr]     Checking piston2d-opengl_graphics v0.52.1
[INFO] [stderr]     Checking pistoncore-input v0.20.0
[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)]` 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)]` 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)]` 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)]` 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]    |               ^^^^ help: convert the identifier to upper case: `BL_UE`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` 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)]` 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]    |               ^^^^ help: convert the identifier to upper case: `BL_UE`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` 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)]` 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)]` 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: 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)]` 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)]` 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 41.42s
[INFO] running `Command { std: "docker" "inspect" "fb955744aef7b5c2104e9a2c73a8d3fdbdef84efae0e724d8c0177c9c790c9a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb955744aef7b5c2104e9a2c73a8d3fdbdef84efae0e724d8c0177c9c790c9a3", kill_on_drop: false }`
[INFO] [stdout] fb955744aef7b5c2104e9a2c73a8d3fdbdef84efae0e724d8c0177c9c790c9a3
