[INFO] cloning repository https://github.com/your-code-is-my-property/snake-game-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/your-code-is-my-property/snake-game-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyour-code-is-my-property%2Fsnake-game-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyour-code-is-my-property%2Fsnake-game-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5bec8427eb7532f17e8b95197d39887599c92205 [INFO] checking your-code-is-my-property/snake-game-rust against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyour-code-is-my-property%2Fsnake-game-rust" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/your-code-is-my-property/snake-game-rust on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/your-code-is-my-property/snake-game-rust [INFO] finished tweaking git repo https://github.com/your-code-is-my-property/snake-game-rust [INFO] tweaked toml for git repo https://github.com/your-code-is-my-property/snake-game-rust written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/your-code-is-my-property/snake-game-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 305d8146680704aa20f3857448a86d50ffe5d75d6254970acc112c3fc7c3f65f [INFO] running `Command { std: "docker" "start" "-a" "305d8146680704aa20f3857448a86d50ffe5d75d6254970acc112c3fc7c3f65f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "305d8146680704aa20f3857448a86d50ffe5d75d6254970acc112c3fc7c3f65f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "305d8146680704aa20f3857448a86d50ffe5d75d6254970acc112c3fc7c3f65f", kill_on_drop: false }` [INFO] [stdout] 305d8146680704aa20f3857448a86d50ffe5d75d6254970acc112c3fc7c3f65f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e49b205ed4a6cb21d537e6da4dbccd67f3fba4a93ab56e10693f52d59c9c555 [INFO] running `Command { std: "docker" "start" "-a" "6e49b205ed4a6cb21d537e6da4dbccd67f3fba4a93ab56e10693f52d59c9c555", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking piston-float v0.3.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking token_store v0.1.2 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking shader_version v0.3.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking interpolation v0.1.0 [INFO] [stderr] Checking piston-texture v0.6.0 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking piston-viewport v0.3.0 [INFO] [stderr] Checking vecmath v0.3.1 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking wayland-sys v0.12.5 [INFO] [stderr] Checking stb_truetype v0.2.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [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] Checking rand v0.8.4 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [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] Checking num-traits v0.1.43 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking ordered-float v0.5.2 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking rusttype v0.4.3 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Checking piston2d-graphics v0.26.0 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling glutin v0.12.2 [INFO] [stderr] Checking wayland-kbd v0.13.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking image v0.18.0 [INFO] [stderr] Checking wayland-window v0.13.3 [INFO] [stderr] Checking winit v0.10.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/main.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Snake_Piece(u32, 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/main.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate graphics; [INFO] [stdout] | ---------------------- the item `graphics` is already imported here [INFO] [stdout] ... [INFO] [stdout] 175 | use graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Snake_Piece` should have an upper camel case name [INFO] [stdout] --> src/main.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Snake_Piece(u32, 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/main.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate graphics; [INFO] [stdout] | ---------------------- the item `graphics` is already imported here [INFO] [stdout] ... [INFO] [stdout] 175 | use graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 32 | 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/main.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | 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: variable `WIDTH` should have a snake case name [INFO] [stdout] --> src/main.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | 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:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | 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/main.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 32 | 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/main.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | 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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `WIDTH` should have a snake case name [INFO] [stdout] --> src/main.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | 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:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | let HEIGHT = ROWS * SQUARE_WIDTH; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.11s [INFO] running `Command { std: "docker" "inspect" "6e49b205ed4a6cb21d537e6da4dbccd67f3fba4a93ab56e10693f52d59c9c555", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e49b205ed4a6cb21d537e6da4dbccd67f3fba4a93ab56e10693f52d59c9c555", kill_on_drop: false }` [INFO] [stdout] 6e49b205ed4a6cb21d537e6da4dbccd67f3fba4a93ab56e10693f52d59c9c555