[INFO] cloning repository https://github.com/wederson77/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/wederson77/snake_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwederson77%2Fsnake_game", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwederson77%2Fsnake_game'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 05f2230991ad34bebf511ebb6899520b8ce31ff7
[INFO] checking wederson77/snake_game against master#ab26b175979ee7b2cb3302dce204b99df96f7efb for pr-157696
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwederson77%2Fsnake_game" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  66% (2406/3598)
Updating files:  67% (2411/3598)
Updating files:  68% (2447/3598)
Updating files:  69% (2483/3598)
Updating files:  70% (2519/3598)
Updating files:  71% (2555/3598)
Updating files:  72% (2591/3598)
Updating files:  73% (2627/3598)
Updating files:  74% (2663/3598)
Updating files:  75% (2699/3598)
Updating files:  76% (2735/3598)
Updating files:  77% (2771/3598)
Updating files:  77% (2779/3598)
Updating files:  78% (2807/3598)
Updating files:  79% (2843/3598)
Updating files:  80% (2879/3598)
Updating files:  81% (2915/3598)
Updating files:  82% (2951/3598)
Updating files:  82% (2975/3598)
Updating files:  83% (2987/3598)
Updating files:  84% (3023/3598)
Updating files:  85% (3059/3598)
Updating files:  86% (3095/3598)
Updating files:  86% (3105/3598)
Updating files:  87% (3131/3598)
Updating files:  87% (3143/3598)
Updating files:  88% (3167/3598)
Updating files:  89% (3203/3598)
Updating files:  90% (3239/3598)
Updating files:  91% (3275/3598)
Updating files:  92% (3311/3598)
Updating files:  93% (3347/3598)
Updating files:  94% (3383/3598)
Updating files:  95% (3419/3598)
Updating files:  96% (3455/3598)
Updating files:  97% (3491/3598)
Updating files:  98% (3527/3598)
Updating files:  99% (3563/3598)
Updating files: 100% (3598/3598)
Updating files: 100% (3598/3598), done.
[INFO] started tweaking git repo https://github.com/wederson77/snake_game
[INFO] finished tweaking git repo https://github.com/wederson77/snake_game
[INFO] tweaked toml for git repo https://github.com/wederson77/snake_game written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/wederson77/snake_game on toolchain ab26b175979ee7b2cb3302dce204b99df96f7efb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/wederson77/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" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pistoncore-window v0.30.0
[INFO] [stderr]   Downloaded stb_truetype v0.2.8
[INFO] [stderr]   Downloaded pistoncore-glutin_window v0.43.0
[INFO] [stderr]   Downloaded piston-viewport v0.3.0
[INFO] [stderr]   Downloaded core-foundation-sys v0.4.6
[INFO] [stderr]   Downloaded interpolation v0.1.0
[INFO] [stderr]   Downloaded piston-float v0.3.0
[INFO] [stderr]   Downloaded gl v0.7.0
[INFO] [stderr]   Downloaded core-foundation-sys v0.3.1
[INFO] [stderr]   Downloaded libloading v0.3.4
[INFO] [stderr]   Downloaded shell32-sys v0.1.2
[INFO] [stderr]   Downloaded pistoncore-input v0.20.0
[INFO] [stderr]   Downloaded tempfile v2.2.0
[INFO] [stderr]   Downloaded core-graphics v0.8.2
[INFO] [stderr]   Downloaded core-foundation v0.3.0
[INFO] [stderr]   Downloaded fs2 v0.2.5
[INFO] [stderr]   Downloaded dwmapi-sys v0.1.1
[INFO] [stderr]   Downloaded core-foundation v0.4.6
[INFO] [stderr]   Downloaded dlib v0.3.1
[INFO] [stderr]   Downloaded wayland-scanner v0.9.10
[INFO] [stderr]   Downloaded memmap v0.4.0
[INFO] [stderr]   Downloaded gfx_gl v0.4.0
[INFO] [stderr]   Downloaded user32-sys v0.1.3
[INFO] [stderr]   Downloaded inflate v0.3.4
[INFO] [stderr]   Downloaded wayland-sys v0.9.10
[INFO] [stderr]   Downloaded vecmath v0.3.1
[INFO] [stderr]   Downloaded draw_state v0.7.1
[INFO] [stderr]   Downloaded pistoncore-event_loop v0.35.0
[INFO] [stderr]   Downloaded target_build_utils v0.3.1
[INFO] [stderr]   Downloaded itoa v0.3.4
[INFO] [stderr]   Downloaded gdi32-sys v0.1.2
[INFO] [stderr]   Downloaded piston-gfx_texture v0.30.0
[INFO] [stderr]   Downloaded gl_generator v0.7.0
[INFO] [stderr]   Downloaded png v0.11.0
[INFO] [stderr]   Downloaded bitflags v0.8.2
[INFO] [stderr]   Downloaded gfx_device_gl v0.14.6
[INFO] [stderr]   Downloaded wayland-window v0.8.0
[INFO] [stderr]   Downloaded serde_json v0.9.10
[INFO] [stderr]   Downloaded glutin v0.10.1
[INFO] [stderr]   Downloaded gfx v0.16.3
[INFO] [stderr]   Downloaded wayland-client v0.9.10
[INFO] [stderr]   Downloaded wayland-kbd v0.9.1
[INFO] [stderr]   Downloaded cocoa v0.9.2
[INFO] [stderr]   Downloaded gfx_core v0.7.2
[INFO] [stderr]   Downloaded wayland-protocols v0.9.10
[INFO] [stderr]   Downloaded serde v0.9.15
[INFO] [stderr]   Downloaded xml-rs v0.6.1
[INFO] [stderr]   Downloaded rusttype v0.2.4
[INFO] [stderr]   Downloaded piston v0.35.0
[INFO] [stderr]   Downloaded xml-rs v0.8.22
[INFO] [stderr]   Downloaded piston2d-graphics v0.24.0
[INFO] [stderr]   Downloaded winit v0.8.3
[INFO] [stderr]   Downloaded image v0.18.0
[INFO] [stderr]   Downloaded piston2d-gfx_graphics v0.47.0
[INFO] [stderr]   Downloaded piston_window v0.74.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ef06697719df07d3f4571400e2035e375152842d07364a8576dc97371762221b
[INFO] running `Command { std: "docker" "start" "ef06697719df07d3f4571400e2035e375152842d07364a8576dc97371762221b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ef06697719df07d3f4571400e2035e375152842d07364a8576dc97371762221b" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ef06697719df07d3f4571400e2035e375152842d07364a8576dc97371762221b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ef06697719df07d3f4571400e2035e375152842d07364a8576dc97371762221b" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.159
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling itoa v0.3.4
[INFO] [stderr]    Compiling serde v0.9.15
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling dtoa v0.4.8
[INFO] [stderr]    Compiling bitflags v0.9.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]     Checking piston-float v0.3.0
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling xml-rs v0.7.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling phf v0.7.24
[INFO] [stderr]    Compiling xml-rs v0.6.1
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]     Checking piston-viewport v0.3.0
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]     Checking bitflags v0.8.2
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]     Checking draw_state v0.7.1
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]     Checking shader_version v0.3.0
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]     Checking inflate v0.3.4
[INFO] [stderr]    Compiling gl_generator v0.7.0
[INFO] [stderr]    Compiling gl_generator v0.6.1
[INFO] [stderr]     Checking deflate v0.7.20
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking stb_truetype v0.3.1
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking nodrop v0.1.14
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking png v0.11.0
[INFO] [stderr]     Checking gif v0.9.2
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling wayland-scanner v0.9.10
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking fs2 v0.2.5
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]     Checking memmap v0.4.0
[INFO] [stderr]    Compiling gl v0.7.0
[INFO] [stderr]    Compiling gfx_gl v0.4.0
[INFO] [stderr]    Compiling glutin v0.10.1
[INFO] [stderr]     Checking stb_truetype v0.2.8
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking enum_primitive v0.1.1
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking piston-texture v0.6.0
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]    Compiling wayland-client v0.9.10
[INFO] [stderr]    Compiling wayland-protocols v0.9.10
[INFO] [stderr]     Checking vecmath v0.3.1
[INFO] [stderr]     Checking interpolation v0.1.0
[INFO] [stderr]     Checking rusttype v0.2.4
[INFO] [stderr]     Checking read_color v1.0.0
[INFO] [stderr]     Checking piston-shaders_graphics2d v0.3.1
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking tempfile v2.2.0
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]     Checking piston2d-graphics v0.24.0
[INFO] [stderr]    Compiling target_build_utils v0.3.1
[INFO] [stderr]    Compiling serde_json v0.9.10
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]     Checking image v0.18.0
[INFO] [stderr]    Compiling derivative v1.0.4
[INFO] [stderr]     Checking gfx_core v0.7.2
[INFO] [stderr]     Checking gfx v0.16.3
[INFO] [stderr]     Checking gfx_device_gl v0.14.6
[INFO] [stderr]     Checking piston-gfx_texture v0.30.0
[INFO] [stderr]     Checking piston2d-gfx_graphics v0.47.0
[INFO] [stderr]     Checking pistoncore-input v0.20.0
[INFO] [stderr]     Checking pistoncore-window v0.30.0
[INFO] [stderr]     Checking pistoncore-event_loop v0.35.0
[INFO] [stderr]     Checking piston v0.35.0
[INFO] [stderr]    Compiling libloading v0.3.4
[INFO] [stderr]     Checking dlib v0.3.1
[INFO] [stderr]     Checking wayland-sys v0.9.10
[INFO] [stderr]     Checking wayland-kbd v0.9.1
[INFO] [stderr]     Checking wayland-window v0.8.0
[INFO] [stderr]     Checking winit v0.8.3
[INFO] [stderr]     Checking pistoncore-glutin_window v0.43.0
[INFO] [stderr]     Checking piston_window v0.74.0
[INFO] [stderr]     Checking snake_game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 |         let mut new_x = rng.gen_range(1, self.width - 1);
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game.rs:122:13
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let mut new_y = rng.gen_range(1, self.height - 1);
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game.rs:125:17
[INFO] [stdout]     |
[INFO] [stdout] 125 |             let mut new_x = rng.gen_range(1, self.width - 1);
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |             let mut new_y = rng.gen_range(1, self.height - 1);
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_x`
[INFO] [stdout]    --> src/game.rs:125:17
[INFO] [stdout]     |
[INFO] [stdout] 125 |             let mut new_x = rng.gen_range(1, self.width - 1);
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_x`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_y`
[INFO] [stdout]    --> src/game.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |             let mut new_y = rng.gen_range(1, self.height - 1);
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 |         let mut new_x = rng.gen_range(1, self.width - 1);
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game.rs:122:13
[INFO] [stdout]     |
[INFO] [stdout] 122 |         let mut new_y = rng.gen_range(1, self.height - 1);
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game.rs:125:17
[INFO] [stdout]     |
[INFO] [stdout] 125 |             let mut new_x = rng.gen_range(1, self.width - 1);
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/game.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |             let mut new_y = rng.gen_range(1, self.height - 1);
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_x`
[INFO] [stdout]    --> src/game.rs:125:17
[INFO] [stdout]     |
[INFO] [stdout] 125 |             let mut new_x = rng.gen_range(1, self.width - 1);
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_x`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_y`
[INFO] [stdout]    --> src/game.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |             let mut new_y = rng.gen_range(1, self.height - 1);
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.50s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0, bitflags v0.8.2, glutin v0.10.1, winit v0.8.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] running `Command { std: "docker" "inspect" "ef06697719df07d3f4571400e2035e375152842d07364a8576dc97371762221b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef06697719df07d3f4571400e2035e375152842d07364a8576dc97371762221b", kill_on_drop: false }`
[INFO] [stdout] ef06697719df07d3f4571400e2035e375152842d07364a8576dc97371762221b
