[INFO] cloning repository https://github.com/foss-v/bomber-man [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/foss-v/bomber-man" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoss-v%2Fbomber-man", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoss-v%2Fbomber-man'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6f2c8510ace4a7e5dc0adbb81ecd29f07edf3f5 [INFO] building foss-v/bomber-man against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoss-v%2Fbomber-man" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/foss-v/bomber-man [INFO] finished tweaking git repo https://github.com/foss-v/bomber-man [INFO] tweaked toml for git repo https://github.com/foss-v/bomber-man written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/foss-v/bomber-man on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/foss-v/bomber-man 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a92c102c6a797dee4df7f4d26182ae995dbae7c27a3e9496582b87b485745ad [INFO] running `Command { std: "docker" "start" "-a" "2a92c102c6a797dee4df7f4d26182ae995dbae7c27a3e9496582b87b485745ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a92c102c6a797dee4df7f4d26182ae995dbae7c27a3e9496582b87b485745ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a92c102c6a797dee4df7f4d26182ae995dbae7c27a3e9496582b87b485745ad", kill_on_drop: false }` [INFO] [stdout] 2a92c102c6a797dee4df7f4d26182ae995dbae7c27a3e9496582b87b485745ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] c7a652d25a9b0dc2fe05d6e38b31d6f985ecf7d31a2d4ff278f26042034f1919 [INFO] running `Command { std: "docker" "start" "-a" "c7a652d25a9b0dc2fe05d6e38b31d6f985ecf7d31a2d4ff278f26042034f1919", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling wasi v0.11.1+wasi-snapshot-preview1 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling bomber-man v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `owner_id` is never read [INFO] [stdout] --> src/bomb.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Bomb { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub owner_id: Option, // For multiplayer or enemy bombs [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bomb` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `center` is never read [INFO] [stdout] --> src/bomb.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Explosion { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 36 | pub center: Position, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Explosion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `health` is never read [INFO] [stdout] --> src/enemy.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Enemy { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub health: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enemy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/enemy.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Fleeing(Position), // Fleeing from danger [INFO] [stdout] | ------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AIState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 - Fleeing(Position), // Fleeing from danger [INFO] [stdout] 24 + Fleeing(()), // Fleeing from danger [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Chasing` and `Stunned` are never constructed [INFO] [stdout] --> src/enemy.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum AIState { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 22 | Wandering, [INFO] [stdout] 23 | Chasing(Position), // Chasing target position [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | Fleeing(Position), // Fleeing from danger [INFO] [stdout] 25 | Stunned(Duration), // Temporarily unable to move [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AIState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `health` is never read [INFO] [stdout] --> src/player.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 8 | pub position: Position, [INFO] [stdout] 9 | pub health: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Paused` and `Victory` are never constructed [INFO] [stdout] --> src/types.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub enum GameState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 55 | Playing, [INFO] [stdout] 56 | Paused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | Victory, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.40s [INFO] running `Command { std: "docker" "inspect" "c7a652d25a9b0dc2fe05d6e38b31d6f985ecf7d31a2d4ff278f26042034f1919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7a652d25a9b0dc2fe05d6e38b31d6f985ecf7d31a2d4ff278f26042034f1919", kill_on_drop: false }` [INFO] [stdout] c7a652d25a9b0dc2fe05d6e38b31d6f985ecf7d31a2d4ff278f26042034f1919 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 298dbbd218770a868a62c87417d10221973ee6d86feb569a71f7e7353314f516 [INFO] running `Command { std: "docker" "start" "-a" "298dbbd218770a868a62c87417d10221973ee6d86feb569a71f7e7353314f516", kill_on_drop: false }` [INFO] [stderr] Compiling bomber-man v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `owner_id` is never read [INFO] [stdout] --> src/bomb.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Bomb { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub owner_id: Option, // For multiplayer or enemy bombs [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bomb` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `center` is never read [INFO] [stdout] --> src/bomb.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Explosion { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 36 | pub center: Position, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Explosion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `health` is never read [INFO] [stdout] --> src/enemy.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Enemy { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub health: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enemy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/enemy.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Fleeing(Position), // Fleeing from danger [INFO] [stdout] | ------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AIState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 - Fleeing(Position), // Fleeing from danger [INFO] [stdout] 24 + Fleeing(()), // Fleeing from danger [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Chasing` and `Stunned` are never constructed [INFO] [stdout] --> src/enemy.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum AIState { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 22 | Wandering, [INFO] [stdout] 23 | Chasing(Position), // Chasing target position [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | Fleeing(Position), // Fleeing from danger [INFO] [stdout] 25 | Stunned(Duration), // Temporarily unable to move [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AIState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `health` is never read [INFO] [stdout] --> src/player.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 8 | pub position: Position, [INFO] [stdout] 9 | pub health: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Paused` and `Victory` are never constructed [INFO] [stdout] --> src/types.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub enum GameState { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 55 | Playing, [INFO] [stdout] 56 | Paused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | Victory, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "298dbbd218770a868a62c87417d10221973ee6d86feb569a71f7e7353314f516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "298dbbd218770a868a62c87417d10221973ee6d86feb569a71f7e7353314f516", kill_on_drop: false }` [INFO] [stdout] 298dbbd218770a868a62c87417d10221973ee6d86feb569a71f7e7353314f516