[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] checking rutrum/wasm4-game-jam-2022 against try#26ad8a85dc4eed299af809e52f278da81e284602 for pr-138458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frutrum%2Fwasm4-game-jam-2022" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rutrum/wasm4-game-jam-2022 on toolchain 26ad8a85dc4eed299af809e52f278da81e284602 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+26ad8a85dc4eed299af809e52f278da81e284602" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [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" "+26ad8a85dc4eed299af809e52f278da81e284602" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+26ad8a85dc4eed299af809e52f278da81e284602" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a58866f248e49b690fdf504634b0f8af7b6705ac0d9f97a1a71c9eb1ca0108d3 [INFO] running `Command { std: "docker" "start" "-a" "a58866f248e49b690fdf504634b0f8af7b6705ac0d9f97a1a71c9eb1ca0108d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a58866f248e49b690fdf504634b0f8af7b6705ac0d9f97a1a71c9eb1ca0108d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a58866f248e49b690fdf504634b0f8af7b6705ac0d9f97a1a71c9eb1ca0108d3", kill_on_drop: false }` [INFO] [stdout] a58866f248e49b690fdf504634b0f8af7b6705ac0d9f97a1a71c9eb1ca0108d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+26ad8a85dc4eed299af809e52f278da81e284602" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d67e38435fbf02a93c9bac60d19c41ba00eeeab3aa372df10d720b6ad9370d5 [INFO] running `Command { std: "docker" "start" "-a" "3d67e38435fbf02a93c9bac60d19c41ba00eeeab3aa372df10d720b6ad9370d5", kill_on_drop: false }` [INFO] [stderr] Checking buddy-alloc v0.4.1 [INFO] [stderr] Checking 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)]` on by default [INFO] [stdout] [INFO] [stdout] [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)]` 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)]` 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)]` 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)]` 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)]` 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)]` 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 is discouraged [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)]` 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 is discouraged [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 is discouraged [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] [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)]` 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 is discouraged [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)]` 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 is discouraged [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 is discouraged [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.29s [INFO] running `Command { std: "docker" "inspect" "3d67e38435fbf02a93c9bac60d19c41ba00eeeab3aa372df10d720b6ad9370d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d67e38435fbf02a93c9bac60d19c41ba00eeeab3aa372df10d720b6ad9370d5", kill_on_drop: false }` [INFO] [stdout] 3d67e38435fbf02a93c9bac60d19c41ba00eeeab3aa372df10d720b6ad9370d5