[INFO] cloning repository https://github.com/zzmarkzz321/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/zzmarkzz321/snake_game_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzzmarkzz321%2Fsnake_game_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzzmarkzz321%2Fsnake_game_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aac08a70e7e0660b1e9f69a5cf4234cc0d8c6557
[INFO] checking zzmarkzz321/snake_game_rust against try#e622d8d7bed4f2668d446e06c6c1436ecae15796 for pr-156776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzzmarkzz321%2Fsnake_game_rust" "/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/zzmarkzz321/snake_game_rust
[INFO] finished tweaking git repo https://github.com/zzmarkzz321/snake_game_rust
[INFO] tweaked toml for git repo https://github.com/zzmarkzz321/snake_game_rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zzmarkzz321/snake_game_rust on toolchain e622d8d7bed4f2668d446e06c6c1436ecae15796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/zzmarkzz321/snake_game_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" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pistoncore-window v0.44.0
[INFO] [stderr]   Downloaded quote v1.0.6
[INFO] [stderr]   Downloaded proc-macro2 v1.0.17
[INFO] [stderr]   Downloaded pistoncore-glutin_window v0.63.0
[INFO] [stderr]   Downloaded glutin_wgl_sys v0.1.4
[INFO] [stderr]   Downloaded glutin_gles2_sys v0.1.4
[INFO] [stderr]   Downloaded glutin_egl_sys v0.1.4
[INFO] [stderr]   Downloaded pistoncore-event_loop v0.49.0
[INFO] [stderr]   Downloaded glutin_glx_sys v0.1.6
[INFO] [stderr]   Downloaded downcast-rs v1.1.1
[INFO] [stderr]   Downloaded piston-texture v0.8.0
[INFO] [stderr]   Downloaded hermit-abi v0.1.13
[INFO] [stderr]   Downloaded gl_generator v0.13.1
[INFO] [stderr]   Downloaded piston v0.49.0
[INFO] [stderr]   Downloaded gleam v0.6.19
[INFO] [stderr]   Downloaded piston2d-graphics v0.36.0
[INFO] [stderr]   Downloaded rusttype v0.7.9
[INFO] [stderr]   Downloaded cocoa v0.18.5
[INFO] [stderr]   Downloaded miniz_oxide v0.3.6
[INFO] [stderr]   Downloaded stb_truetype v0.3.1
[INFO] [stderr]   Downloaded tiff v0.4.0
[INFO] [stderr]   Downloaded png v0.16.3
[INFO] [stderr]   Downloaded gif v0.10.3
[INFO] [stderr]   Downloaded bytemuck v1.2.0
[INFO] [stderr]   Downloaded rusttype v0.8.3
[INFO] [stderr]   Downloaded cc v1.0.54
[INFO] [stderr]   Downloaded glutin v0.21.2
[INFO] [stderr]   Downloaded backtrace v0.3.48
[INFO] [stderr]   Downloaded deflate v0.8.4
[INFO] [stderr]   Downloaded addr2line v0.12.1
[INFO] [stderr]   Downloaded syn v1.0.25
[INFO] [stderr]   Downloaded image v0.23.4
[INFO] [stderr]   Downloaded jpeg-decoder v0.1.19
[INFO] [stderr]   Downloaded winit v0.19.5
[INFO] [stderr]   Downloaded piston2d-opengl_graphics v0.72.0
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 37974d2e62908605a0f54ebd117a3df813e3ec761cf9e419014eaa0198beaa5b
[INFO] running `Command { std: "docker" "start" "-a" "37974d2e62908605a0f54ebd117a3df813e3ec761cf9e419014eaa0198beaa5b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "37974d2e62908605a0f54ebd117a3df813e3ec761cf9e419014eaa0198beaa5b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "37974d2e62908605a0f54ebd117a3df813e3ec761cf9e419014eaa0198beaa5b", kill_on_drop: false }`
[INFO] [stdout] 37974d2e62908605a0f54ebd117a3df813e3ec761cf9e419014eaa0198beaa5b
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2076aab3fd171fdbec5169e0e4e78e899b487f11be1ac82a84cd6df84556b13c
[INFO] running `Command { std: "docker" "start" "-a" "2076aab3fd171fdbec5169e0e4e78e899b487f11be1ac82a84cd6df84556b13c", kill_on_drop: false }`
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling cc v1.0.54
[INFO] [stderr]    Compiling proc-macro2 v1.0.17
[INFO] [stderr]     Checking piston-float v1.0.0
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking ordered-float v1.0.2
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling syn v1.0.25
[INFO] [stderr]     Checking adler32 v1.0.4
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]    Compiling serde v1.0.110
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]     Checking downcast-rs v1.1.1
[INFO] [stderr]     Checking piston-graphics_api_version v0.2.0
[INFO] [stderr]     Checking smallvec v0.6.13
[INFO] [stderr]     Checking piston-viewport v1.0.0
[INFO] [stderr]     Checking line_drawing v0.7.0
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking xdg v2.2.0
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]     Checking xml-rs v0.8.3
[INFO] [stderr]     Checking num-integer v0.1.42
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking inflate v0.4.5
[INFO] [stderr]     Checking miniz_oxide v0.3.6
[INFO] [stderr]     Checking stb_truetype v0.3.1
[INFO] [stderr]     Checking deflate v0.8.4
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]    Compiling quote v1.0.6
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking rusttype v0.8.3
[INFO] [stderr]     Checking jpeg-decoder v0.1.19
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]     Checking tiff v0.4.0
[INFO] [stderr]     Checking shader_version v0.6.0
[INFO] [stderr]     Checking gif v0.10.3
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.4
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.6
[INFO] [stderr]     Checking vecmath v1.0.0
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]     Checking png v0.16.3
[INFO] [stderr]     Checking interpolation v0.2.0
[INFO] [stderr]     Checking rusttype v0.7.9
[INFO] [stderr]     Checking andrew v0.2.1
[INFO] [stderr]     Checking read_color v1.0.0
[INFO] [stderr]     Checking dlib v0.4.1
[INFO] [stderr]     Checking bytemuck v1.2.0
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]     Checking piston-texture v0.8.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.8
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking wayland-sys v0.21.13
[INFO] [stderr]     Checking piston2d-graphics v0.36.0
[INFO] [stderr]     Checking piston-shaders_graphics2d v0.3.1
[INFO] [stderr]     Checking image v0.23.4
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking wayland-commons v0.21.13
[INFO] [stderr]    Compiling serde_derive v1.0.110
[INFO] [stderr]     Checking piston2d-opengl_graphics v0.72.0
[INFO] [stderr]     Checking pistoncore-input v0.28.0
[INFO] [stderr]     Checking pistoncore-window v0.44.0
[INFO] [stderr]     Checking pistoncore-event_loop v0.49.0
[INFO] [stderr]     Checking piston v0.49.0
[INFO] [stderr]     Checking smithay-client-toolkit v0.4.6
[INFO] [stderr]     Checking winit v0.19.5
[INFO] [stderr]     Checking glutin v0.21.2
[INFO] [stderr]     Checking pistoncore-glutin_window v0.63.0
[INFO] [stderr]     Checking snake_game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |         if (!self.snake.update()) {
[INFO] [stdout]    |            ^                    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 37 -         if (!self.snake.update()) {
[INFO] [stdout] 37 +         if !self.snake.update()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:89:12
[INFO] [stdout]    |
[INFO] [stdout] 89 |         if (self.pos_x == 0 || self.pos_x == 699 || self.pos_y == 0 || self.pos_y == 699) {
[INFO] [stdout]    |            ^                                                                            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 89 -         if (self.pos_x == 0 || self.pos_x == 699 || self.pos_y == 0 || self.pos_y == 699) {
[INFO] [stdout] 89 +         if self.pos_x == 0 || self.pos_x == 699 || self.pos_y == 0 || self.pos_y == 699  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |         if (!self.snake.update()) {
[INFO] [stdout]    |            ^                    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 37 -         if (!self.snake.update()) {
[INFO] [stdout] 37 +         if !self.snake.update()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:89:12
[INFO] [stdout]    |
[INFO] [stdout] 89 |         if (self.pos_x == 0 || self.pos_x == 699 || self.pos_y == 0 || self.pos_y == 699) {
[INFO] [stdout]    |            ^                                                                            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 89 -         if (self.pos_x == 0 || self.pos_x == 699 || self.pos_y == 0 || self.pos_y == 699) {
[INFO] [stdout] 89 +         if self.pos_x == 0 || self.pos_x == 699 || self.pos_y == 0 || self.pos_y == 699  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `spawnFood` should have a snake case name
[INFO] [stdout]    --> src/main.rs:126:8
[INFO] [stdout]     |
[INFO] [stdout] 126 |     fn spawnFood(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^ help: convert the identifier to snake case: `spawn_food`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `spawnFood` should have a snake case name
[INFO] [stdout]    --> src/main.rs:126:8
[INFO] [stdout]     |
[INFO] [stdout] 126 |     fn spawnFood(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^ help: convert the identifier to snake case: `spawn_food`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.39s
[INFO] running `Command { std: "docker" "inspect" "2076aab3fd171fdbec5169e0e4e78e899b487f11be1ac82a84cd6df84556b13c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2076aab3fd171fdbec5169e0e4e78e899b487f11be1ac82a84cd6df84556b13c", kill_on_drop: false }`
[INFO] [stdout] 2076aab3fd171fdbec5169e0e4e78e899b487f11be1ac82a84cd6df84556b13c
