[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] building nstrmx/snake-game-rs against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnstrmx%2Fsnake-game-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nstrmx/snake-game-rs on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded raylib v5.0.1 [INFO] [stderr] Downloaded raylib-sys v5.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4af5aa40c13676cea581f841b16a573332038e1f9a67573ef814a131d7a0988b [INFO] running `Command { std: "docker" "start" "-a" "4af5aa40c13676cea581f841b16a573332038e1f9a67573ef814a131d7a0988b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4af5aa40c13676cea581f841b16a573332038e1f9a67573ef814a131d7a0988b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4af5aa40c13676cea581f841b16a573332038e1f9a67573ef814a131d7a0988b", kill_on_drop: false }` [INFO] [stdout] 4af5aa40c13676cea581f841b16a573332038e1f9a67573ef814a131d7a0988b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ca618527b2ce9dddaa2f020b00e8143c064245b0d1281c3ff6bc2e9fc7b369c [INFO] running `Command { std: "docker" "start" "-a" "1ca618527b2ce9dddaa2f020b00e8143c064245b0d1281c3ff6bc2e9fc7b369c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tuple_utils v0.3.0 [INFO] [stderr] Compiling hibitset v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling shrev v1.1.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tynm v0.1.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling shred v0.10.2 [INFO] [stderr] Compiling specs v0.16.1 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling raylib-sys v5.0.0 [INFO] [stderr] Compiling raylib v5.0.1 [INFO] [stderr] Compiling 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 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 1m 13s [INFO] running `Command { std: "docker" "inspect" "1ca618527b2ce9dddaa2f020b00e8143c064245b0d1281c3ff6bc2e9fc7b369c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ca618527b2ce9dddaa2f020b00e8143c064245b0d1281c3ff6bc2e9fc7b369c", kill_on_drop: false }` [INFO] [stdout] 1ca618527b2ce9dddaa2f020b00e8143c064245b0d1281c3ff6bc2e9fc7b369c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7e19d21d5498409e452edb63b5d3d953cc43c7c47581083d2893e669ad9b0b7 [INFO] running `Command { std: "docker" "start" "-a" "e7e19d21d5498409e452edb63b5d3d953cc43c7c47581083d2893e669ad9b0b7", kill_on_drop: false }` [INFO] [stderr] Compiling 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 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 `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "e7e19d21d5498409e452edb63b5d3d953cc43c7c47581083d2893e669ad9b0b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7e19d21d5498409e452edb63b5d3d953cc43c7c47581083d2893e669ad9b0b7", kill_on_drop: false }` [INFO] [stdout] e7e19d21d5498409e452edb63b5d3d953cc43c7c47581083d2893e669ad9b0b7