[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] testing Alaa5090/Snake_game against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlaa5090%2FSnake_game" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Alaa5090/Snake_game on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2/source/Cargo.toml [INFO] crate git repo https://github.com/Alaa5090/Snake_game already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6edee2920ab4375bc780cb40b7c4d4f560c6167c1f80b677c63a94b35d0d5c49 [INFO] running `Command { std: "docker" "start" "-a" "6edee2920ab4375bc780cb40b7c4d4f560c6167c1f80b677c63a94b35d0d5c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6edee2920ab4375bc780cb40b7c4d4f560c6167c1f80b677c63a94b35d0d5c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6edee2920ab4375bc780cb40b7c4d4f560c6167c1f80b677c63a94b35d0d5c49", kill_on_drop: false }` [INFO] [stdout] 6edee2920ab4375bc780cb40b7c4d4f560c6167c1f80b677c63a94b35d0d5c49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09f23839fba3da6fd8136be02e2cf53561ace5efde68d1cc4ebf11efc9bccddf [INFO] running `Command { std: "docker" "start" "-a" "09f23839fba3da6fd8136be02e2cf53561ace5efde68d1cc4ebf11efc9bccddf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling libc v0.2.105 [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] Compiling piston-float v0.3.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling token_store v0.1.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling shader_version v0.3.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling interpolation v0.1.0 [INFO] [stderr] Compiling piston-texture v0.6.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling piston-viewport v0.3.0 [INFO] [stderr] Compiling vecmath v0.3.1 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling wayland-sys v0.12.5 [INFO] [stderr] Compiling stb_truetype v0.2.8 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling gl_generator v0.8.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling glutin v0.12.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling ordered-float v0.5.2 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling rusttype v0.4.3 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling piston2d-graphics v0.26.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling wayland-kbd v0.13.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling wayland-window v0.13.3 [INFO] [stderr] Compiling winit v0.10.0 [INFO] [stderr] Compiling image v0.18.0 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.52.1 [INFO] [stderr] Compiling pistoncore-input v0.20.0 [INFO] [stderr] Compiling pistoncore-window v0.31.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.36.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.45.3 [INFO] [stderr] Compiling piston v0.36.0 [INFO] [stderr] Compiling Snake_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `graphics` is imported redundantly [INFO] [stdout] --> src/game.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | use graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `graphics` is imported redundantly [INFO] [stdout] --> src/food.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | use graphics; [INFO] [stdout] | ^^^^^^^^ [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: the item `graphics` is imported redundantly [INFO] [stdout] --> src/snake.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | use graphics; [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)]` 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] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `snake_game` [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: 9 warnings emitted [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: crate `Snake_game` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `snake_game` [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] [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.69s [INFO] running `Command { std: "docker" "inspect" "09f23839fba3da6fd8136be02e2cf53561ace5efde68d1cc4ebf11efc9bccddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09f23839fba3da6fd8136be02e2cf53561ace5efde68d1cc4ebf11efc9bccddf", kill_on_drop: false }` [INFO] [stdout] 09f23839fba3da6fd8136be02e2cf53561ace5efde68d1cc4ebf11efc9bccddf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c83d29689d6478305827cc7b9addb12ee248a3a3ef65813b306c004f85dfdc22 [INFO] running `Command { std: "docker" "start" "-a" "c83d29689d6478305827cc7b9addb12ee248a3a3ef65813b306c004f85dfdc22", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: the item `graphics` is imported redundantly [INFO] [stdout] --> src/game.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | use graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `graphics` is imported redundantly [INFO] [stdout] --> src/food.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | use graphics; [INFO] [stdout] | ^^^^^^^^ [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: the item `graphics` is imported redundantly [INFO] [stdout] --> src/snake.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | use graphics; [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)]` 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] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `snake_game` [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] [stderr] Compiling Snake_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 9 warnings emitted [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: the item `graphics` is imported redundantly [INFO] [stdout] --> src/game.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | use graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `graphics` is imported redundantly [INFO] [stdout] --> src/food.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | use graphics; [INFO] [stdout] | ^^^^^^^^ [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: the item `graphics` is imported redundantly [INFO] [stdout] --> src/snake.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | use graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Snake_game` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `snake_game` [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] [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 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] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `snake_game` [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `Command { std: "docker" "inspect" "c83d29689d6478305827cc7b9addb12ee248a3a3ef65813b306c004f85dfdc22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c83d29689d6478305827cc7b9addb12ee248a3a3ef65813b306c004f85dfdc22", kill_on_drop: false }` [INFO] [stdout] c83d29689d6478305827cc7b9addb12ee248a3a3ef65813b306c004f85dfdc22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c7b9a3e2c8d0cbe139127001643c61af230eeec5fdc59711b93ea74cf3924877 [INFO] running `Command { std: "docker" "start" "-a" "c7b9a3e2c8d0cbe139127001643c61af230eeec5fdc59711b93ea74cf3924877", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: the item `graphics` is imported redundantly [INFO] [stderr] --> src/game.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | use graphics; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `graphics` is imported redundantly [INFO] [stderr] --> src/food.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | use graphics; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `Snake_Piece` should have an upper camel case name [INFO] [stderr] --> src/snake.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Snake_Piece(pub u32,pub u32); [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SnakePiece` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `graphics` is imported redundantly [INFO] [stderr] --> src/snake.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | use graphics; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/game.rs:38:40 [INFO] [stderr] | [INFO] [stderr] 38 | self.gl.draw(args.viewport(), |c, gl| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/game.rs:55:30 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn update(&mut self, args: &UpdateArgs) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/food.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | let y = self.y * width; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: crate `Snake_game` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `snake_game` [INFO] [stderr] [INFO] [stderr] warning: constant `BlUE` should have an upper case name [INFO] [stderr] --> src/food.rs:39:15 [INFO] [stderr] | [INFO] [stderr] 39 | const BlUE: [f32; 4] = [0.0, 0.0, 1.0, 1.0]; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `BL_UE` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `Snake_game` (lib) generated 9 warnings [INFO] [stderr] warning: `Snake_game` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] warning: unused import: `graphics::Rectangle` [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use graphics::Rectangle; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `WIDTH` should have a snake case name [INFO] [stderr] --> src/main.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | let WIDTH = COLS * SQUARE_WIDTH; [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `width` [INFO] [stderr] [INFO] [stderr] warning: variable `HEIGHT` should have a snake case name [INFO] [stderr] --> src/main.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | let HEIGHT = ROWS * SQUARE_WIDTH; [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `height` [INFO] [stderr] [INFO] [stderr] warning: `Snake_game` (bin "Snake_game" test) generated 4 warnings (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/Snake_game-a12f42dd9a6fc4e7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/Snake_game-4b5d3b3d7ef975f9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests Snake_game [INFO] [stderr] warning: type `Snake_Piece` should have an upper camel case name [INFO] [stderr] --> /opt/rustwide/workdir/src/snake.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Snake_Piece(pub u32,pub u32); [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SnakePiece` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c7b9a3e2c8d0cbe139127001643c61af230eeec5fdc59711b93ea74cf3924877", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7b9a3e2c8d0cbe139127001643c61af230eeec5fdc59711b93ea74cf3924877", kill_on_drop: false }` [INFO] [stdout] c7b9a3e2c8d0cbe139127001643c61af230eeec5fdc59711b93ea74cf3924877