[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 try#da4929024a7261062885cb3209c9d7fdc919d233 for pr-135536 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwederson77%2Fsnake_game" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 55% (1985/3598) Updating files: 56% (2015/3598) Updating files: 56% (2039/3598) Updating files: 57% (2051/3598) Updating files: 58% (2087/3598) Updating files: 58% (2113/3598) Updating files: 59% (2123/3598) Updating files: 60% (2159/3598) Updating files: 61% (2195/3598) Updating files: 62% (2231/3598) Updating files: 63% (2267/3598) Updating files: 64% (2303/3598) Updating files: 64% (2322/3598) Updating files: 65% (2339/3598) Updating files: 66% (2375/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: 72% (2624/3598) Updating files: 73% (2627/3598) Updating files: 74% (2663/3598) Updating files: 74% (2677/3598) Updating files: 74% (2696/3598) Updating files: 75% (2699/3598) Updating files: 75% (2721/3598) Updating files: 76% (2735/3598) Updating files: 76% (2743/3598) Updating files: 77% (2771/3598) Updating files: 77% (2774/3598) Updating files: 77% (2781/3598) Updating files: 78% (2807/3598) Updating files: 78% (2811/3598) Updating files: 78% (2822/3598) Updating files: 79% (2843/3598) Updating files: 80% (2879/3598) Updating files: 80% (2888/3598) Updating files: 81% (2915/3598) Updating files: 82% (2951/3598) Updating files: 82% (2977/3598) Updating files: 83% (2987/3598) Updating files: 83% (3004/3598) Updating files: 84% (3023/3598) Updating files: 84% (3030/3598) Updating files: 85% (3059/3598) Updating files: 85% (3080/3598) Updating files: 86% (3095/3598) Updating files: 86% (3105/3598) Updating files: 86% (3106/3598) Updating files: 86% (3108/3598) Updating files: 86% (3118/3598) Updating files: 87% (3131/3598) Updating files: 87% (3134/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] validating manifest of git repo https://github.com/wederson77/snake_game on toolchain da4929024a7261062885cb3209c9d7fdc919d233 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da4929024a7261062885cb3209c9d7fdc919d233" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc2/source/Cargo.toml [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" "+da4929024a7261062885cb3209c9d7fdc919d233" "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-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+da4929024a7261062885cb3209c9d7fdc919d233" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5927f27a364ae5f5fa68e6826184bbee848c2a1b5cc38bbec8ce9c1785b058f1 [INFO] running `Command { std: "docker" "start" "-a" "5927f27a364ae5f5fa68e6826184bbee848c2a1b5cc38bbec8ce9c1785b058f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5927f27a364ae5f5fa68e6826184bbee848c2a1b5cc38bbec8ce9c1785b058f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5927f27a364ae5f5fa68e6826184bbee848c2a1b5cc38bbec8ce9c1785b058f1", kill_on_drop: false }` [INFO] [stdout] 5927f27a364ae5f5fa68e6826184bbee848c2a1b5cc38bbec8ce9c1785b058f1 [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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+da4929024a7261062885cb3209c9d7fdc919d233" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bb4572524e1b1317de7ecccd8b0fa89f5d1f7a6d4ade3f8cf5b704c5071c112 [INFO] running `Command { std: "docker" "start" "-a" "8bb4572524e1b1317de7ecccd8b0fa89f5d1f7a6d4ade3f8cf5b704c5071c112", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking piston-float v0.3.0 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Compiling gl_generator v0.7.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking piston-viewport v0.3.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling wayland-protocols v0.9.10 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking bitflags v0.8.2 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking draw_state v0.7.1 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking shader_version v0.3.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Compiling glutin v0.10.1 [INFO] [stderr] Checking stb_truetype v0.2.8 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Compiling gfx_gl v0.4.0 [INFO] [stderr] Compiling gl v0.7.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Checking piston-texture v0.6.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking rusttype v0.2.4 [INFO] [stderr] Checking image v0.18.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking vecmath v0.3.1 [INFO] [stderr] Checking gfx_core v0.7.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking interpolation v0.1.0 [INFO] [stderr] Checking piston2d-graphics v0.24.0 [INFO] [stderr] Checking piston-shaders_graphics2d v0.3.1 [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 pistoncore-input v0.20.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.47.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: unused variable: `new_x` [INFO] [stdout] --> src/game.rs:125:21 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_y` [INFO] [stdout] --> src/game.rs:126:21 [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)]` 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:21 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_y` [INFO] [stdout] --> src/game.rs:126:21 [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)]` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [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 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "8bb4572524e1b1317de7ecccd8b0fa89f5d1f7a6d4ade3f8cf5b704c5071c112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bb4572524e1b1317de7ecccd8b0fa89f5d1f7a6d4ade3f8cf5b704c5071c112", kill_on_drop: false }` [INFO] [stdout] 8bb4572524e1b1317de7ecccd8b0fa89f5d1f7a6d4ade3f8cf5b704c5071c112