[INFO] cloning repository https://github.com/skhademolhosseini/Multiplayer-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/skhademolhosseini/Multiplayer-Snake-Game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskhademolhosseini%2FMultiplayer-Snake-Game", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskhademolhosseini%2FMultiplayer-Snake-Game'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5ec2e9df58188d3b03eaaef9ecaa6469c9f55192
[INFO] testing skhademolhosseini/Multiplayer-Snake-Game against beta-2025-02-28 for beta-1.86-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskhademolhosseini%2FMultiplayer-Snake-Game" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/skhademolhosseini/Multiplayer-Snake-Game on toolchain beta-2025-02-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/skhademolhosseini/Multiplayer-Snake-Game
[INFO] finished tweaking git repo https://github.com/skhademolhosseini/Multiplayer-Snake-Game
[INFO] tweaked toml for git repo https://github.com/skhademolhosseini/Multiplayer-Snake-Game written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/skhademolhosseini/Multiplayer-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" "+beta-2025-02-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a68f9c6f77a09e3078f7c6b83dcfcd83b376da42d02adc9b32e2e02bf1824cf6
[INFO] running `Command { std: "docker" "start" "-a" "a68f9c6f77a09e3078f7c6b83dcfcd83b376da42d02adc9b32e2e02bf1824cf6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a68f9c6f77a09e3078f7c6b83dcfcd83b376da42d02adc9b32e2e02bf1824cf6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a68f9c6f77a09e3078f7c6b83dcfcd83b376da42d02adc9b32e2e02bf1824cf6", kill_on_drop: false }`
[INFO] [stdout] a68f9c6f77a09e3078f7c6b83dcfcd83b376da42d02adc9b32e2e02bf1824cf6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cb476ac4683af216bdc5ef3987ff4b2e7ad33fca09d59b6b5677aa4ead7d371c
[INFO] running `Command { std: "docker" "start" "-a" "cb476ac4683af216bdc5ef3987ff4b2e7ad33fca09d59b6b5677aa4ead7d371c", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.89
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.79
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling bumpalo v3.9.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling wasm-bindgen v0.2.79
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling lib-multiplayer v0.1.0 (/opt/rustwide/workdir/libs/multiplayer)
[INFO] [stderr]    Compiling quote v1.0.16
[INFO] [stderr]    Compiling getrandom v0.2.5
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.79
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.79
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.79
[INFO] [stderr]    Compiling lib-game v0.1.0 (/opt/rustwide/workdir/libs/game)
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]  --> libs/game/src/lib.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::{RngCore, Rng};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `invincibility`
[INFO] [stdout]   --> libs/game/src/item.rs:19:76
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn new(item_type: ItemType, x: usize, y: usize, speed_effect: i32, invincibility: bool) -> Item {
[INFO] [stdout]    |                                                                            ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invincibility`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]   --> libs/game/src/lib.rs:20:32
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new(config: Config, rng: &mut dyn RngCore) -> Self {
[INFO] [stdout]    |                                ^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0170]: pattern binding `SpeedModifier` is named the same as one of the variants of the type `item::ItemType`
[INFO] [stdout]   --> libs/game/src/lib.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             SpeedModifier => snake.set_speed(item.get_speed_effect().try_into().unwrap()),
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `item::ItemType::SpeedModifier`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bindings_with_variant_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0170]: pattern binding `InvincibilityModifier` is named the same as one of the variants of the type `item::ItemType`
[INFO] [stdout]   --> libs/game/src/lib.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             InvincibilityModifier => snake.set_is_invincible()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `item::ItemType::InvincibilityModifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> libs/game/src/lib.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             SpeedModifier => snake.set_speed(item.get_speed_effect().try_into().unwrap()),
[INFO] [stdout]    |             ------------- matches any value
[INFO] [stdout] 45 |             InvincibilityModifier => snake.set_is_invincible()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `SpeedModifier`
[INFO] [stdout]   --> libs/game/src/lib.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             SpeedModifier => snake.set_speed(item.get_speed_effect().try_into().unwrap()),
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_SpeedModifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `InvincibilityModifier`
[INFO] [stdout]   --> libs/game/src/lib.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             InvincibilityModifier => snake.set_is_invincible()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_InvincibilityModifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `SpeedModifier` should have a snake case name
[INFO] [stdout]   --> libs/game/src/lib.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             SpeedModifier => snake.set_speed(item.get_speed_effect().try_into().unwrap()),
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: convert the identifier to snake case: `speed_modifier`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `InvincibilityModifier` should have a snake case name
[INFO] [stdout]   --> libs/game/src/lib.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             InvincibilityModifier => snake.set_is_invincible()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `invincibility_modifier`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0170`.
[INFO] [stdout] 
[INFO] [stdout] error: older versions of the `wasm-bindgen` crate are incompatible with current versions of Rust; please update to `wasm-bindgen` v0.2.88
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wasm-bindgen` (lib) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "cb476ac4683af216bdc5ef3987ff4b2e7ad33fca09d59b6b5677aa4ead7d371c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb476ac4683af216bdc5ef3987ff4b2e7ad33fca09d59b6b5677aa4ead7d371c", kill_on_drop: false }`
[INFO] [stdout] cb476ac4683af216bdc5ef3987ff4b2e7ad33fca09d59b6b5677aa4ead7d371c
