[INFO] cloning repository https://github.com/pixincreate/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/pixincreate/snake_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixincreate%2Fsnake_game", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixincreate%2Fsnake_game'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fb67ebf217db3db38992bbc5ae422261da3d13b9
[INFO] checking pixincreate/snake_game/fb67ebf217db3db38992bbc5ae422261da3d13b9 against master#2aabf3ce0569dd7c8c2d2a27944850056dcf2566 for pr-156508
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixincreate%2Fsnake_game" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pixincreate/snake_game
[INFO] finished tweaking git repo https://github.com/pixincreate/snake_game
[INFO] tweaked toml for git repo https://github.com/pixincreate/snake_game written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pixincreate/snake_game on toolchain 2aabf3ce0569dd7c8c2d2a27944850056dcf2566
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pixincreate/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" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/PistonDevelopers/glutin_window`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded glutin-winit v0.3.0
[INFO] [stderr]   Downloaded piston-viewport v1.0.2
[INFO] [stderr]   Downloaded winnow v0.5.2
[INFO] [stderr]   Downloaded glutin_glx_sys v0.4.0
[INFO] [stderr]   Downloaded glutin_egl_sys v0.5.0
[INFO] [stderr]   Downloaded piston-texture v0.9.0
[INFO] [stderr]   Downloaded glutin_wgl_sys v0.4.0
[INFO] [stderr]   Downloaded glutin v0.30.9
[INFO] [stderr]   Downloaded piston2d-opengl_graphics v0.82.0
[INFO] [stderr]   Downloaded piston2d-graphics v0.43.0
[INFO] [stderr]   Downloaded android-activity v0.4.2
[INFO] [stderr]   Downloaded khronos_api v2.2.0
[INFO] [stderr]   Downloaded piston v0.53.2
[INFO] [stderr]   Downloaded spin_sleep v1.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5dab03dfdcb78826b253a6fde64809c5034176f0bd24f76bc5f0fb3215287006
[INFO] running `Command { std: "docker" "start" "-a" "5dab03dfdcb78826b253a6fde64809c5034176f0bd24f76bc5f0fb3215287006", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5dab03dfdcb78826b253a6fde64809c5034176f0bd24f76bc5f0fb3215287006", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5dab03dfdcb78826b253a6fde64809c5034176f0bd24f76bc5f0fb3215287006", kill_on_drop: false }`
[INFO] [stdout] 5dab03dfdcb78826b253a6fde64809c5034176f0bd24f76bc5f0fb3215287006
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eb8eece89260a1880f7081783fe061469757a0e0a40a2401bda758f9b5823eee
[INFO] running `Command { std: "docker" "start" "-a" "eb8eece89260a1880f7081783fe061469757a0e0a40a2401bda758f9b5823eee", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.185
[INFO] [stderr]    Compiling xml-rs v0.8.16
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling log v0.4.19
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking bytemuck v1.13.1
[INFO] [stderr]     Checking piston-float v1.0.1
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]    Compiling slotmap v1.0.6
[INFO] [stderr]    Compiling serde v1.0.178
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.0
[INFO] [stderr]     Checking piston-graphics_api_version v1.0.1
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]     Checking ttf-parser v0.19.1
[INFO] [stderr]    Compiling wayland-sys v0.30.1
[INFO] [stderr]     Checking piston-viewport v1.0.2
[INFO] [stderr]    Compiling serde_derive v1.0.178
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]    Compiling glutin v0.30.9
[INFO] [stderr]     Checking raw-window-handle v0.5.2
[INFO] [stderr]     Checking tiny-skia-path v0.8.4
[INFO] [stderr]     Checking futures-sink v0.3.28
[INFO] [stderr]    Compiling syn v2.0.27
[INFO] [stderr]     Checking owned_ttf_parser v0.15.2
[INFO] [stderr]    Compiling glutin-winit v0.3.0
[INFO] [stderr]     Checking zune-inflate v0.2.54
[INFO] [stderr]     Checking lebe v0.5.2
[INFO] [stderr]     Checking half v2.2.1
[INFO] [stderr]     Checking bit_field v0.10.2
[INFO] [stderr]     Checking rusttype v0.9.3
[INFO] [stderr]     Checking gif v0.12.0
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]     Checking shader_version v0.7.0
[INFO] [stderr]     Checking vecmath v1.0.0
[INFO] [stderr]     Checking piston-texture v0.9.0
[INFO] [stderr]     Checking read_color v1.0.0
[INFO] [stderr]     Checking interpolation v0.2.0
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking spin_sleep v1.1.1
[INFO] [stderr]     Checking piston-shaders_graphics2d v0.4.0
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]     Checking piston2d-graphics v0.43.0
[INFO] [stderr]     Checking tiny-skia v0.8.4
[INFO] [stderr]    Compiling gl v0.13.0
[INFO] [stderr]    Compiling glutin_egl_sys v0.5.0
[INFO] [stderr]    Compiling glutin_glx_sys v0.4.0
[INFO] [stderr]     Checking owned_ttf_parser v0.19.0
[INFO] [stderr]     Checking ab_glyph v0.2.21
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling winit v0.28.6
[INFO] [stderr]     Checking pistoncore-input v1.0.1
[INFO] [stderr]     Checking nix v0.24.3
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking nix v0.25.1
[INFO] [stderr]     Checking x11-dl v2.21.0
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]     Checking memmap2 v0.5.10
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking nanorand v0.7.0
[INFO] [stderr]     Checking rayon-core v1.11.0
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking xcursor v0.3.4
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.3
[INFO] [stderr]     Checking rayon v1.7.0
[INFO] [stderr]     Checking pistoncore-window v0.47.1
[INFO] [stderr]     Checking pistoncore-event_loop v0.53.1
[INFO] [stderr]     Checking piston v0.53.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.44
[INFO] [stderr]    Compiling pin-project-internal v1.1.2
[INFO] [stderr]     Checking thiserror v1.0.44
[INFO] [stderr]     Checking wayland-commons v0.29.5
[INFO] [stderr]     Checking calloop v0.10.6
[INFO] [stderr]     Checking pin-project v1.1.2
[INFO] [stderr]     Checking flume v0.10.14
[INFO] [stderr]     Checking exr v1.7.0
[INFO] [stderr]     Checking wayland-cursor v0.29.5
[INFO] [stderr]     Checking jpeg-decoder v0.3.0
[INFO] [stderr]     Checking tiff v0.8.1
[INFO] [stderr]     Checking image v0.24.6
[INFO] [stderr]     Checking piston2d-opengl_graphics v0.82.0
[INFO] [stderr]     Checking sctk-adwaita v0.5.4
[INFO] [stderr]     Checking pistoncore-glutin_window v0.71.0 (https://github.com/PistonDevelopers/glutin_window#8cd66416)
[INFO] [stderr]     Checking snake_game v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]   --> src/game.rs:46:36
[INFO] [stdout]    |
[INFO] [stdout] 46 |             let mut random = rand::thread_rng();
[INFO] [stdout]    |                                    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/game.rs:48:42
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 let new_coord_x = random.gen_range(0..self.columns);
[INFO] [stdout]    |                                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/game.rs:49:42
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 let new_coord_y = random.gen_range(0..self.rows);
[INFO] [stdout]    |                                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]   --> src/game.rs:46:36
[INFO] [stdout]    |
[INFO] [stdout] 46 |             let mut random = rand::thread_rng();
[INFO] [stdout]    |                                    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/game.rs:48:42
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 let new_coord_x = random.gen_range(0..self.columns);
[INFO] [stdout]    |                                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/game.rs:49:42
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 let new_coord_y = random.gen_range(0..self.rows);
[INFO] [stdout]    |                                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.73s
[INFO] running `Command { std: "docker" "inspect" "eb8eece89260a1880f7081783fe061469757a0e0a40a2401bda758f9b5823eee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb8eece89260a1880f7081783fe061469757a0e0a40a2401bda758f9b5823eee", kill_on_drop: false }`
[INFO] [stdout] eb8eece89260a1880f7081783fe061469757a0e0a40a2401bda758f9b5823eee
