[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] testing rutrum/wasm4-game-jam-2022 against 1.83.0 for beta-1.84.0-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frutrum%2Fwasm4-game-jam-2022" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rutrum/wasm4-game-jam-2022 on toolchain 1.83.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-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-4-tc1/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" "+1.83.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 699d111da3dc9e9bdbd5159071d3c99ae00848676b588dbea8554432ac9eef59 [INFO] running `Command { std: "docker" "start" "-a" "699d111da3dc9e9bdbd5159071d3c99ae00848676b588dbea8554432ac9eef59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "699d111da3dc9e9bdbd5159071d3c99ae00848676b588dbea8554432ac9eef59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "699d111da3dc9e9bdbd5159071d3c99ae00848676b588dbea8554432ac9eef59", kill_on_drop: false }` [INFO] [stdout] 699d111da3dc9e9bdbd5159071d3c99ae00848676b588dbea8554432ac9eef59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50ab9cd90e6fff53d27a8f8bcd7b47b6a8ddd3a6ca09aae130965ddfc17c7f1d [INFO] running `Command { std: "docker" "start" "-a" "50ab9cd90e6fff53d27a8f8bcd7b47b6a8ddd3a6ca09aae130965ddfc17c7f1d", 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)]` 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: 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.95s [INFO] running `Command { std: "docker" "inspect" "50ab9cd90e6fff53d27a8f8bcd7b47b6a8ddd3a6ca09aae130965ddfc17c7f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50ab9cd90e6fff53d27a8f8bcd7b47b6a8ddd3a6ca09aae130965ddfc17c7f1d", kill_on_drop: false }` [INFO] [stdout] 50ab9cd90e6fff53d27a8f8bcd7b47b6a8ddd3a6ca09aae130965ddfc17c7f1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e86817bc7095f67f13f4608bdeddd2a23067b7d08d5eb52611a98443df6663fc [INFO] running `Command { std: "docker" "start" "-a" "e86817bc7095f67f13f4608bdeddd2a23067b7d08d5eb52611a98443df6663fc", 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)]` 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "e86817bc7095f67f13f4608bdeddd2a23067b7d08d5eb52611a98443df6663fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e86817bc7095f67f13f4608bdeddd2a23067b7d08d5eb52611a98443df6663fc", kill_on_drop: false }` [INFO] [stdout] e86817bc7095f67f13f4608bdeddd2a23067b7d08d5eb52611a98443df6663fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 05ac96d233f5495796d2ebd590a597b46b67e6c51e2cb83c63fef102e0499cc6 [INFO] running `Command { std: "docker" "start" "-a" "05ac96d233f5495796d2ebd590a597b46b67e6c51e2cb83c63fef102e0499cc6", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::Random` [INFO] [stderr] --> src/entity/powerup.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::Random; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `random` [INFO] [stderr] --> src/entity/enemy.rs:92:32 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn spawn(t: EnemyType, random: &mut Random, cycle: Cycle) -> Self { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_random` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/game.rs:390:13 [INFO] [stderr] | [INFO] [stderr] 390 | let mut player = &mut self.player; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `bullet_speed` is never used [INFO] [stderr] --> src/entity/enemy.rs:68:8 [INFO] [stderr] | [INFO] [stderr] 12 | impl EnemyType { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 68 | fn bullet_speed(&self, cycle: Cycle) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `sprites`, `pos`, `health`, `time_alive`, and `dying_counter` are never read [INFO] [stderr] --> src/entity/enemy.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 79 | pub struct Enemy { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 80 | sprites: Vec, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 81 | t: EnemyType, [INFO] [stderr] 82 | pos: (f32, f32), [INFO] [stderr] | ^^^ [INFO] [stderr] 83 | vel: (f32, f32), [INFO] [stderr] 84 | health: u32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 87 | time_alive: u32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 88 | dying_counter: u32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `time` and `is_night` are never used [INFO] [stderr] --> src/game.rs:221:8 [INFO] [stderr] | [INFO] [stderr] 41 | impl Game { [INFO] [stderr] | --------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 221 | fn time(&self) -> u32 { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 234 | fn is_night(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/wasm4/runtime.rs:24:22 [INFO] [stderr] | [INFO] [stderr] 24 | let rt = RUNTIME.assume_init_mut(); [INFO] [stderr] | ^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:83:1 [INFO] [stderr] | [INFO] [stderr] 83 | main! { App } [INFO] [stderr] | ------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/alloc.rs:13:42 [INFO] [stderr] | [INFO] [stderr] 13 | let fast_param = FastAllocParam::new(FAST_HEAP.as_ptr(), FAST_HEAP_SIZE); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/alloc.rs:14:44 [INFO] [stderr] | [INFO] [stderr] 14 | let buddy_param = BuddyAllocParam::new(HEAP.as_ptr(), HEAP_SIZE, LEAF_SIZE); [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `cart` (lib test) generated 9 warnings (run `cargo fix --lib -p cart --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cart-2ccee926c4e210fb) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "05ac96d233f5495796d2ebd590a597b46b67e6c51e2cb83c63fef102e0499cc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05ac96d233f5495796d2ebd590a597b46b67e6c51e2cb83c63fef102e0499cc6", kill_on_drop: false }` [INFO] [stdout] 05ac96d233f5495796d2ebd590a597b46b67e6c51e2cb83c63fef102e0499cc6