[INFO] cloning repository https://github.com/cmoyates/window-platformer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cmoyates/window-platformer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmoyates%2Fwindow-platformer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmoyates%2Fwindow-platformer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46399d5b930c9d4f78eedc5780b3061683e91b30 [INFO] checking cmoyates/window-platformer against master#ecb170afc878648c3ae355dbd596c8e4b6f7ebdc for pr-139022 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmoyates%2Fwindow-platformer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cmoyates/window-platformer on toolchain ecb170afc878648c3ae355dbd596c8e4b6f7ebdc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cmoyates/window-platformer [INFO] finished tweaking git repo https://github.com/cmoyates/window-platformer [INFO] tweaked toml for git repo https://github.com/cmoyates/window-platformer written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cmoyates/window-platformer 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" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sfml v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb62ad649f88fa29ceeb28a1031bad6d4cb67c2cf810a7eba0758e7d25263c6b [INFO] running `Command { std: "docker" "start" "-a" "cb62ad649f88fa29ceeb28a1031bad6d4cb67c2cf810a7eba0758e7d25263c6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb62ad649f88fa29ceeb28a1031bad6d4cb67c2cf810a7eba0758e7d25263c6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb62ad649f88fa29ceeb28a1031bad6d4cb67c2cf810a7eba0758e7d25263c6b", kill_on_drop: false }` [INFO] [stdout] cb62ad649f88fa29ceeb28a1031bad6d4cb67c2cf810a7eba0758e7d25263c6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 647c0e4fa5c15a9b6904bf1c924b9f2496b21a1726db18d893358f34eaf740b7 [INFO] running `Command { std: "docker" "start" "-a" "647c0e4fa5c15a9b6904bf1c924b9f2496b21a1726db18d893358f34eaf740b7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking widestring v1.0.2 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling link-cplusplus v1.0.9 [INFO] [stderr] Compiling sfml v0.21.0 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Checking window-platformer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PlatformRect` [INFO] [stdout] --> src/main.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use levels::{Level, PlatformRect}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Shape` and `mouse` [INFO] [stdout] --> src/main.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | graphics::{Color, RenderTarget, RenderWindow, Shape, Transformable}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | system::Vector2, [INFO] [stdout] 14 | window::{mouse, Event, Key, Style, VideoMode}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sfml::system::Vector2` [INFO] [stdout] --> src/entities/entity_memory_pool.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sfml::system::Vector2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlatformRect` [INFO] [stdout] --> src/main.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use levels::{Level, PlatformRect}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Shape` and `mouse` [INFO] [stdout] --> src/main.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | graphics::{Color, RenderTarget, RenderWindow, Shape, Transformable}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | system::Vector2, [INFO] [stdout] 14 | window::{mouse, Event, Key, Style, VideoMode}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sfml::system::Vector2` [INFO] [stdout] --> src/entities/entity_memory_pool.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sfml::system::Vector2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transformable` [INFO] [stdout] --> src/main.rs:12:58 [INFO] [stdout] | [INFO] [stdout] 12 | graphics::{Color, RenderTarget, RenderWindow, Shape, Transformable}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transformable` [INFO] [stdout] --> src/main.rs:12:58 [INFO] [stdout] | [INFO] [stdout] 12 | graphics::{Color, RenderTarget, RenderWindow, Shape, Transformable}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut window_map: HashMap = HashMap::new(); [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: field `player_spawn_position` is never read [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | player_spawn_position: Vector2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_active` and `set_active` are never used [INFO] [stdout] --> src/components.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Component: Any { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 10 | fn is_active(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | [INFO] [stdout] 12 | fn set_active(&mut self, active: bool); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_percentage_elapsed` and `get_percentage_remaining` are never used [INFO] [stdout] --> src/components.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl CLifetime { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get_percentage_elapsed(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_percentage_remaining(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/components.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 250 | impl CAIBasic { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 251 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/components.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 286 | impl CHealth { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 287 | pub fn new(health: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/components.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 326 | impl CDamage { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 327 | pub fn new(damage: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all_entities`, `get_entities_by_tag`, and `get_entity_count_by_tag` are never used [INFO] [stdout] --> src/entities/entity_manager.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl EntityManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_all_entities(&self) -> &EntityVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_entities_by_tag(&self, tag: EntityTag) -> Option<&EntityVec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn get_entity_count_by_tag(&self, tag: EntityTag) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `POOL` is never used [INFO] [stdout] --> src/entities/entity_memory_pool.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub static POOL: Lazy> = [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_tag`, `get_entity_count`, `get_pool`, and `get_pool_mut` are never used [INFO] [stdout] --> src/entities/entity_memory_pool.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl EntityMemoryPool { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn get_tag(&self, id: usize) -> &EntityTag { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn get_entity_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get_pool(&self) -> &EntityComponentVectorTuple { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_pool_mut(&mut self) -> &mut EntityComponentVectorTuple { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:146:52 [INFO] [stdout] | [INFO] [stdout] 146 | death_sfx: Sound::with_buffer(unsafe { &DEATH_SFX }), [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 146 | death_sfx: Sound::with_buffer(unsafe { &raw const DEATH_SFX }), [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:147:61 [INFO] [stdout] | [INFO] [stdout] 147 | level_complete_sfx: Sound::with_buffer(unsafe { &LEVEL_COMPLETE_SFX }), [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 147 | level_complete_sfx: Sound::with_buffer(unsafe { &raw const LEVEL_COMPLETE_SFX }), [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:148:51 [INFO] [stdout] | [INFO] [stdout] 148 | jump_sfx: Sound::with_buffer(unsafe { &JUMP_SFX }), [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 148 | jump_sfx: Sound::with_buffer(unsafe { &raw const JUMP_SFX }), [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut window_map: HashMap = HashMap::new(); [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: field `player_spawn_position` is never read [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | player_spawn_position: Vector2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_active` and `set_active` are never used [INFO] [stdout] --> src/components.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Component: Any { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 10 | fn is_active(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | [INFO] [stdout] 12 | fn set_active(&mut self, active: bool); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_percentage_elapsed` and `get_percentage_remaining` are never used [INFO] [stdout] --> src/components.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl CLifetime { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get_percentage_elapsed(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_percentage_remaining(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/components.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 250 | impl CAIBasic { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 251 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/components.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 286 | impl CHealth { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 287 | pub fn new(health: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/components.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 326 | impl CDamage { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 327 | pub fn new(damage: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all_entities`, `get_entities_by_tag`, and `get_entity_count_by_tag` are never used [INFO] [stdout] --> src/entities/entity_manager.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl EntityManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_all_entities(&self) -> &EntityVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_entities_by_tag(&self, tag: EntityTag) -> Option<&EntityVec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn get_entity_count_by_tag(&self, tag: EntityTag) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `POOL` is never used [INFO] [stdout] --> src/entities/entity_memory_pool.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub static POOL: Lazy> = [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_tag`, `get_entity_count`, `get_pool`, and `get_pool_mut` are never used [INFO] [stdout] --> src/entities/entity_memory_pool.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl EntityMemoryPool { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn get_tag(&self, id: usize) -> &EntityTag { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn get_entity_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get_pool(&self) -> &EntityComponentVectorTuple { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn get_pool_mut(&mut self) -> &mut EntityComponentVectorTuple { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:146:52 [INFO] [stdout] | [INFO] [stdout] 146 | death_sfx: Sound::with_buffer(unsafe { &DEATH_SFX }), [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 146 | death_sfx: Sound::with_buffer(unsafe { &raw const DEATH_SFX }), [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:147:61 [INFO] [stdout] | [INFO] [stdout] 147 | level_complete_sfx: Sound::with_buffer(unsafe { &LEVEL_COMPLETE_SFX }), [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 147 | level_complete_sfx: Sound::with_buffer(unsafe { &raw const LEVEL_COMPLETE_SFX }), [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:148:51 [INFO] [stdout] | [INFO] [stdout] 148 | jump_sfx: Sound::with_buffer(unsafe { &JUMP_SFX }), [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 148 | jump_sfx: Sound::with_buffer(unsafe { &raw const JUMP_SFX }), [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.02s [INFO] running `Command { std: "docker" "inspect" "647c0e4fa5c15a9b6904bf1c924b9f2496b21a1726db18d893358f34eaf740b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "647c0e4fa5c15a9b6904bf1c924b9f2496b21a1726db18d893358f34eaf740b7", kill_on_drop: false }` [INFO] [stdout] 647c0e4fa5c15a9b6904bf1c924b9f2496b21a1726db18d893358f34eaf740b7