[INFO] cloning repository https://github.com/nstrmx/snake-game-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nstrmx/snake-game-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnstrmx%2Fsnake-game-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnstrmx%2Fsnake-game-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9e98b7b310846ccde8cd30116bac10f9a4eb50b6
[INFO] checking nstrmx/snake-game-rs against master#36b21637e93b038453924d3c66821089e71d8baa for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnstrmx%2Fsnake-game-rs" "/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/nstrmx/snake-game-rs
[INFO] finished tweaking git repo https://github.com/nstrmx/snake-game-rs
[INFO] tweaked toml for git repo https://github.com/nstrmx/snake-game-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nstrmx/snake-game-rs on toolchain 36b21637e93b038453924d3c66821089e71d8baa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nstrmx/snake-game-rs 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" "+36b21637e93b038453924d3c66821089e71d8baa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 85e30f488b5c5a6bea37e060cf07b0a234fa555c3ad9525e6c032de1148b4e94
[INFO] running `Command { std: "docker" "start" "-a" "85e30f488b5c5a6bea37e060cf07b0a234fa555c3ad9525e6c032de1148b4e94", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "85e30f488b5c5a6bea37e060cf07b0a234fa555c3ad9525e6c032de1148b4e94", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85e30f488b5c5a6bea37e060cf07b0a234fa555c3ad9525e6c032de1148b4e94", kill_on_drop: false }`
[INFO] [stdout] 85e30f488b5c5a6bea37e060cf07b0a234fa555c3ad9525e6c032de1148b4e94
[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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6eec5790663c31f9037382531f3378fad5cec834ed03cb0a6ed106a4597bcdc2
[INFO] running `Command { std: "docker" "start" "-a" "6eec5790663c31f9037382531f3378fad5cec834ed03cb0a6ed106a4597bcdc2", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling prettyplease v0.2.20
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling libloading v0.8.5
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling bindgen v0.69.4
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling hashbrown v0.7.2
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling cc v1.1.6
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking ahash v0.3.8
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking mopa v0.2.2
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking hibitset v0.6.4
[INFO] [stderr]     Checking shrev v1.1.3
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]     Checking tuple_utils v0.3.0
[INFO] [stderr]    Compiling cmake v0.1.50
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking tynm v0.1.10
[INFO] [stderr]    Compiling specs-derive v0.4.1
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]     Checking shred v0.10.2
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]     Checking specs v0.16.1
[INFO] [stderr]    Compiling regex v1.10.5
[INFO] [stderr]    Compiling raylib-sys v5.0.0
[INFO] [stderr]     Checking raylib v5.0.1
[INFO] [stderr]     Checking snake_nn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rand::prelude::*`
[INFO] [stdout]  --> src/game.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::*`
[INFO] [stdout]  --> src/game.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/main.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 57 |             let (state, reward, done) = game.step(action);
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reward`
[INFO] [stdout]   --> src/main.rs:57:25
[INFO] [stdout]    |
[INFO] [stdout] 57 |             let (state, reward, done) = game.step(action);
[INFO] [stdout]    |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reward`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/main.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 let state = game.reset();
[INFO] [stdout]    |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/main.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 57 |             let (state, reward, done) = game.step(action);
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reward`
[INFO] [stdout]   --> src/main.rs:57:25
[INFO] [stdout]    |
[INFO] [stdout] 57 |             let (state, reward, done) = game.step(action);
[INFO] [stdout]    |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reward`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/main.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 let state = game.reset();
[INFO] [stdout]    |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.47s
[INFO] running `Command { std: "docker" "inspect" "6eec5790663c31f9037382531f3378fad5cec834ed03cb0a6ed106a4597bcdc2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6eec5790663c31f9037382531f3378fad5cec834ed03cb0a6ed106a4597bcdc2", kill_on_drop: false }`
[INFO] [stdout] 6eec5790663c31f9037382531f3378fad5cec834ed03cb0a6ed106a4597bcdc2
