[INFO] cloning repository https://github.com/rutrum/wasm4-game-jam-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rutrum/wasm4-game-jam-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frutrum%2Fwasm4-game-jam-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frutrum%2Fwasm4-game-jam-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e760ad2151dbacec1f051a2e4caf360e60464e50 [INFO] building rutrum/wasm4-game-jam-2022 against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frutrum%2Fwasm4-game-jam-2022" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/rutrum/wasm4-game-jam-2022 [INFO] finished tweaking git repo https://github.com/rutrum/wasm4-game-jam-2022 [INFO] tweaked toml for git repo https://github.com/rutrum/wasm4-game-jam-2022 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rutrum/wasm4-game-jam-2022 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/rutrum/wasm4-game-jam-2022 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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded buddy-alloc v0.4.1 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42bedb119b5edb53397cfb8ae95e939fc3eaa2869e0d8b534e064bf09bc4d327 [INFO] running `Command { std: "docker" "start" "-a" "42bedb119b5edb53397cfb8ae95e939fc3eaa2869e0d8b534e064bf09bc4d327", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42bedb119b5edb53397cfb8ae95e939fc3eaa2869e0d8b534e064bf09bc4d327", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42bedb119b5edb53397cfb8ae95e939fc3eaa2869e0d8b534e064bf09bc4d327", kill_on_drop: false }` [INFO] [stdout] 42bedb119b5edb53397cfb8ae95e939fc3eaa2869e0d8b534e064bf09bc4d327 [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=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] 346f0de81840df1f2287adc3833f5e9085565aef399297ac430023101d64dd71 [INFO] running `Command { std: "docker" "start" "-a" "346f0de81840df1f2287adc3833f5e9085565aef399297ac430023101d64dd71", kill_on_drop: false }` [INFO] [stderr] Compiling buddy-alloc v0.4.1 [INFO] [stderr] Compiling cart v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::Random` [INFO] [stdout] --> src/entity/powerup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Random; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `random` [INFO] [stdout] --> src/entity/enemy.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn spawn(t: EnemyType, random: &mut Random, cycle: Cycle) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_random` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | let mut player = &mut self.player; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bullet_speed` is never used [INFO] [stdout] --> src/entity/enemy.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl EnemyType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | fn bullet_speed(&self, cycle: Cycle) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sprites`, `pos`, `health`, `time_alive`, and `dying_counter` are never read [INFO] [stdout] --> src/entity/enemy.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct Enemy { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 80 | sprites: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 81 | t: EnemyType, [INFO] [stdout] 82 | pos: (f32, f32), [INFO] [stdout] | ^^^ [INFO] [stdout] 83 | vel: (f32, f32), [INFO] [stdout] 84 | health: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | time_alive: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 88 | dying_counter: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `time` and `is_night` are never used [INFO] [stdout] --> src/game.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | fn time(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn is_night(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wasm4/runtime.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | let rt = RUNTIME.assume_init_mut(); [INFO] [stdout] | ^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | main! { App } [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/alloc.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 13 | let fast_param = FastAllocParam::new(FAST_HEAP.as_ptr(), FAST_HEAP_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/alloc.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | let buddy_param = BuddyAllocParam::new(HEAP.as_ptr(), HEAP_SIZE, LEAF_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "346f0de81840df1f2287adc3833f5e9085565aef399297ac430023101d64dd71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "346f0de81840df1f2287adc3833f5e9085565aef399297ac430023101d64dd71", kill_on_drop: false }` [INFO] [stdout] 346f0de81840df1f2287adc3833f5e9085565aef399297ac430023101d64dd71 [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=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] 0d9089d706225fd66b01f02a6326bcebea127982421c4990fa127c5eeca4089c [INFO] running `Command { std: "docker" "start" "-a" "0d9089d706225fd66b01f02a6326bcebea127982421c4990fa127c5eeca4089c", kill_on_drop: false }` [INFO] [stderr] Compiling cart v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::Random` [INFO] [stdout] --> src/entity/powerup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Random; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `random` [INFO] [stdout] --> src/entity/enemy.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn spawn(t: EnemyType, random: &mut Random, cycle: Cycle) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_random` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | let mut player = &mut self.player; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bullet_speed` is never used [INFO] [stdout] --> src/entity/enemy.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl EnemyType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | fn bullet_speed(&self, cycle: Cycle) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sprites`, `pos`, `health`, `time_alive`, and `dying_counter` are never read [INFO] [stdout] --> src/entity/enemy.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct Enemy { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 80 | sprites: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 81 | t: EnemyType, [INFO] [stdout] 82 | pos: (f32, f32), [INFO] [stdout] | ^^^ [INFO] [stdout] 83 | vel: (f32, f32), [INFO] [stdout] 84 | health: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | time_alive: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 88 | dying_counter: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `time` and `is_night` are never used [INFO] [stdout] --> src/game.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | fn time(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn is_night(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wasm4/runtime.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | let rt = RUNTIME.assume_init_mut(); [INFO] [stdout] | ^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | main! { App } [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/alloc.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 13 | let fast_param = FastAllocParam::new(FAST_HEAP.as_ptr(), FAST_HEAP_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/alloc.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | let buddy_param = BuddyAllocParam::new(HEAP.as_ptr(), HEAP_SIZE, LEAF_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "0d9089d706225fd66b01f02a6326bcebea127982421c4990fa127c5eeca4089c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d9089d706225fd66b01f02a6326bcebea127982421c4990fa127c5eeca4089c", kill_on_drop: false }` [INFO] [stdout] 0d9089d706225fd66b01f02a6326bcebea127982421c4990fa127c5eeca4089c