[INFO] cloning repository https://github.com/mahnovsky/rust_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mahnovsky/rust_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahnovsky%2Frust_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahnovsky%2Frust_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 521b6f3b78c58d11a5294dc5a8d8aba0d8b26696 [INFO] checking mahnovsky/rust_game against master#c0bb140a37c81cf59a0b40c21c9413059644e294 for pr-129249-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahnovsky%2Frust_game" "/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/mahnovsky/rust_game [INFO] finished tweaking git repo https://github.com/mahnovsky/rust_game [INFO] tweaked toml for git repo https://github.com/mahnovsky/rust_game written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mahnovsky/rust_game on toolchain c0bb140a37c81cf59a0b40c21c9413059644e294 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0bb140a37c81cf59a0b40c21c9413059644e294" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mahnovsky/rust_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" "+c0bb140a37c81cf59a0b40c21c9413059644e294" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nalgebra-glm v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 06d27a69d2b6b6a0077f97406e23bd38403aeed9006faf7558a990c1e7537aba [INFO] running `Command { std: "docker" "start" "06d27a69d2b6b6a0077f97406e23bd38403aeed9006faf7558a990c1e7537aba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "06d27a69d2b6b6a0077f97406e23bd38403aeed9006faf7558a990c1e7537aba" "/opt/rustwide/cargo-home/bin/cargo" "+c0bb140a37c81cf59a0b40c21c9413059644e294" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06d27a69d2b6b6a0077f97406e23bd38403aeed9006faf7558a990c1e7537aba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "06d27a69d2b6b6a0077f97406e23bd38403aeed9006faf7558a990c1e7537aba" "/opt/rustwide/cargo-home/bin/cargo" "+c0bb140a37c81cf59a0b40c21c9413059644e294" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling cc v1.2.18 [INFO] [stderr] Checking miniz_oxide v0.8.7 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking half v2.5.0 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking strum v0.27.1 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking wide v0.7.32 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking yaml-rust2 v0.10.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling glfw-sys v5.0.0+3.3.9 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking glfw v0.59.0 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling ecs_derive v0.1.0 (/opt/rustwide/workdir/crates/ecs/ecs_derive) [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stdout] warning: unused import: `ItemEnum` [INFO] [stdout] --> crates/ecs/ecs_derive/src/lib.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | use syn::{parse, parse::Parser, parse_macro_input, ItemEnum, ItemStruct}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ecs v0.1.0 (/opt/rustwide/workdir/crates/ecs) [INFO] [stdout] warning: unused import: `std::collections::hash_map::DefaultHasher` [INFO] [stdout] --> crates/ecs/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::hash_map::DefaultHasher; [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 import: `Hasher` [INFO] [stdout] --> crates/ecs/src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rc` and `Weak` [INFO] [stdout] --> crates/ecs/src/events.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::{Rc, Weak}; [INFO] [stdout] | ^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stdout] warning: `Eq::assert_receiver_is_total_eq` should never be implemented by hand [INFO] [stdout] --> crates/ecs/src/lib.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | fn assert_receiver_is_total_eq(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method was used to add checks to the `Eq` derive macro [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #152336 [INFO] [stdout] = note: `#[warn(internal_eq_trait_method_impls)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking rav1e v0.7.1 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Checking ravif v0.11.11 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Checking nalgebra-glm v0.19.0 [INFO] [stderr] Checking rust_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Weak` [INFO] [stdout] --> src/game.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | use std::rc::{Rc, Weak}; [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 import: `Damagable` [INFO] [stdout] --> src/game.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::object_components::{Bullet, Damagable, Gun, Lifetime, Movable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlayerState` [INFO] [stdout] --> src/game.rs:24:68 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::player_config::{Player, PlayerAction, PlayerController, PlayerState}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glfw::ffi::GLFWcharfun` [INFO] [stdout] --> src/object_components.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use glfw::ffi::GLFWcharfun; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/player_config.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, fs}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Action` [INFO] [stdout] --> src/player_config.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use glfw::{Key, Action}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bullet` and `Lifetime` [INFO] [stdout] --> src/player_config.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::object_components::{Bullet, Damagable, Gun, Lifetime, Movable}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BulletSpawner`, `Bullet`, `Lifetime`, and `self` [INFO] [stdout] --> src/system/ai_system.rs:7:65 [INFO] [stdout] | [INFO] [stdout] 7 | ...der2d, object_components::{Bullet, BulletSpawner, Damagable, Gun, Lifetime, Movable}, quad_tree::{self, QuadTree}, sprite::Sprite,... [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BulletSpawner`, `Bullet`, `Collider2d`, `Damagable`, `Gun`, `Lifetime`, `bounds::Bounds`, and `sprite::Sprite` [INFO] [stdout] --> src/system/move_system.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | bounds::Bounds, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 5 | collider2d::{Collider2d, CollisionEvent}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | object_components::{Bullet, BulletSpawner, Damagable, Gun, Lifetime, Movable}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | sprite::Sprite, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UNIX_EPOCH` [INFO] [stdout] --> src/main.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/render.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use image::io::Reader as ImageReader; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/render.rs:258:26 [INFO] [stdout] | [INFO] [stdout] 258 | if let Ok(img) = ImageReader::open(file_name) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Weak` [INFO] [stdout] --> src/game.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | use std::rc::{Rc, Weak}; [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 import: `Damagable` [INFO] [stdout] --> src/game.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::object_components::{Bullet, Damagable, Gun, Lifetime, Movable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlayerState` [INFO] [stdout] --> src/game.rs:24:68 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::player_config::{Player, PlayerAction, PlayerController, PlayerState}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glfw::ffi::GLFWcharfun` [INFO] [stdout] --> src/object_components.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use glfw::ffi::GLFWcharfun; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/player_config.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, fs}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Action` [INFO] [stdout] --> src/player_config.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use glfw::{Key, Action}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bullet` and `Lifetime` [INFO] [stdout] --> src/player_config.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::object_components::{Bullet, Damagable, Gun, Lifetime, Movable}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BulletSpawner`, `Bullet`, `Lifetime`, and `self` [INFO] [stdout] --> src/system/ai_system.rs:7:65 [INFO] [stdout] | [INFO] [stdout] 7 | ...der2d, object_components::{Bullet, BulletSpawner, Damagable, Gun, Lifetime, Movable}, quad_tree::{self, QuadTree}, sprite::Sprite,... [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BulletSpawner`, `Bullet`, `Collider2d`, `Damagable`, `Gun`, `Lifetime`, `bounds::Bounds`, and `sprite::Sprite` [INFO] [stdout] --> src/system/move_system.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | bounds::Bounds, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 5 | collider2d::{Collider2d, CollisionEvent}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | object_components::{Bullet, BulletSpawner, Damagable, Gun, Lifetime, Movable}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | sprite::Sprite, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UNIX_EPOCH` [INFO] [stdout] --> src/main.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/render.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use image::io::Reader as ImageReader; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/render.rs:258:26 [INFO] [stdout] | [INFO] [stdout] 258 | if let Ok(img) = ImageReader::open(file_name) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/map.rs:90:33 [INFO] [stdout] | [INFO] [stdout] 90 | ... let mut objects = checked_cell.objects.borrow_mut(); [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: variable does not need to be mutable [INFO] [stdout] --> src/system/move_system.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | let mut quad_tree = self.quad_tree.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/system/fire_system.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe { DAMAGE_TARGETS.push((bullet.get_damage(), target)) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/system/fire_system.rs:75:36 [INFO] [stdout] | [INFO] [stdout] 75 | while let Some(info) = DAMAGE_TARGETS.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/map.rs:90:33 [INFO] [stdout] | [INFO] [stdout] 90 | ... let mut objects = checked_cell.objects.borrow_mut(); [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: variable does not need to be mutable [INFO] [stdout] --> src/system/move_system.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | let mut quad_tree = self.quad_tree.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/system/fire_system.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe { DAMAGE_TARGETS.push((bullet.get_damage(), target)) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/system/fire_system.rs:75:36 [INFO] [stdout] | [INFO] [stdout] 75 | while let Some(info) = DAMAGE_TARGETS.pop() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.58s [INFO] running `Command { std: "docker" "inspect" "06d27a69d2b6b6a0077f97406e23bd38403aeed9006faf7558a990c1e7537aba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06d27a69d2b6b6a0077f97406e23bd38403aeed9006faf7558a990c1e7537aba", kill_on_drop: false }` [INFO] [stdout] 06d27a69d2b6b6a0077f97406e23bd38403aeed9006faf7558a990c1e7537aba