[INFO] cloning repository https://github.com/Haranoi17/VampireSurvivorsClone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Haranoi17/VampireSurvivorsClone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaranoi17%2FVampireSurvivorsClone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaranoi17%2FVampireSurvivorsClone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a4229c069d43e3540dbbdb97dd15faa52112696c [INFO] checking Haranoi17/VampireSurvivorsClone/a4229c069d43e3540dbbdb97dd15faa52112696c against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaranoi17%2FVampireSurvivorsClone" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Haranoi17/VampireSurvivorsClone on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Haranoi17/VampireSurvivorsClone [INFO] finished tweaking git repo https://github.com/Haranoi17/VampireSurvivorsClone [INFO] tweaked toml for git repo https://github.com/Haranoi17/VampireSurvivorsClone written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Haranoi17/VampireSurvivorsClone 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89835458c77fcb5c85eaf458ee2ed67b844668643284e3aaa778e1e2931d77be [INFO] running `Command { std: "docker" "start" "-a" "89835458c77fcb5c85eaf458ee2ed67b844668643284e3aaa778e1e2931d77be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89835458c77fcb5c85eaf458ee2ed67b844668643284e3aaa778e1e2931d77be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89835458c77fcb5c85eaf458ee2ed67b844668643284e3aaa778e1e2931d77be", kill_on_drop: false }` [INFO] [stdout] 89835458c77fcb5c85eaf458ee2ed67b844668643284e3aaa778e1e2931d77be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f095f2dfa760438313d403e33b28dfc04742a0cf7bcd29b5168126c01d3fd536 [INFO] running `Command { std: "docker" "start" "-a" "f095f2dfa760438313d403e33b28dfc04742a0cf7bcd29b5168126c01d3fd536", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling sfml-build v0.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Compiling csfml-system-sys v0.6.0 [INFO] [stderr] Compiling csfml-window-sys v0.6.0 [INFO] [stderr] Compiling csfml-audio-sys v0.6.0 [INFO] [stderr] Compiling csfml-graphics-sys v0.6.0 [INFO] [stderr] Checking sfml v0.16.0 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking vampire_survivors_clone v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/InputSystem.rs (1 fix) [INFO] [stderr] Fixed src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Level.rs (3 fixes) [INFO] [stderr] Fixed src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Enemy.rs (2 fixes) [INFO] [stderr] Fixed src/CollisionSystem/Symulation.rs (2 fixes) [INFO] [stderr] Fixed src/ControllFlow/Tests.rs (3 fixes) [INFO] [stderr] Fixed src/CollisionSystem.rs (2 fixes) [INFO] [stderr] Fixed src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Player.rs (5 fixes) [INFO] [stderr] Fixed src/Objects/Animations.rs (2 fixes) [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/InputSystem.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | fn get_key(key: &Key){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/InputSystem.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | for i in 0..keys_count{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/InputSystem.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | fn update(&mut self, delta_time: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_state` [INFO] [stdout] --> src/ControllFlow/Tests/TestStateEnums.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | TestStatesEnum::TestState2(inner_state) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/ControllFlow/Tests/TestStateEnums.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | fn onUpdate(&mut self, delta_time: f32) -> FlowState { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/ControllFlow/Tests/TestStateEnums.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | fn draw(&mut self, window: &mut sfml::graphics::RenderWindow) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/ControllFlow/Tests/TestStateEnums.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | fn handle_input(&mut self, input: &Input) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/ControllFlow/Tests.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let s1 = Box::new(TestStatesEnum::TestState1(TestState1InnerState::default())); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/ControllFlow/Tests.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let s2 = Box::new(TestStatesEnum::TestState2(TestState2InnerState::default())); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/Menu.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | fn update(&mut self, delta_time: f32) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Weapons/SimpleMissile.rs:74:38 [INFO] [stdout] | [INFO] [stdout] 74 | fn react_to_collision(&mut self, info: CollisionInfo, other_mask: CollisionMask) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Enemy.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let direction = match option_direction { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Enemy.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | fn update(&mut self, delta_time: f32) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Level.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | fn update_word(&mut self, delta_time: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_play` [INFO] [stdout] --> src/Program/ProgramControllFlow.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | States::GamePlay(game_play) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_play` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intro` [INFO] [stdout] --> src/Program/ProgramControllFlow.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | States::Intro(intro) => {}, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_intro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `is_point_in_rectangle` and `outer_rectangle_circle` are never used [INFO] [stdout] --> src/CollisionSystem.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 72 | impl Collider { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 213 | fn is_point_in_rectangle( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn outer_rectangle_circle(rectangle: Rectangle) -> Circle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PlayersAnimations` is never used [INFO] [stdout] --> src/Objects/Animations.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum PlayersAnimations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/Objects/Animations.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl PlayersAnimations { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 16 | fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_current_animation` is never used [INFO] [stdout] --> src/Objects/Animations.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl AnimationPlayer { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn set_current_animation(&mut self, animation_name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_key` is never used [INFO] [stdout] --> src/InputSystem.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Input{ [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | fn get_key(key: &Key){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_entering` and `should_exit` are never read [INFO] [stdout] --> src/ControllFlow/Tests/TestInnerStates.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TestState2InnerState{ [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 16 | is_entering: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | should_exit: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_input` is never used [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/Menu.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl MainMenuInnerState { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | fn handle_input(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Player.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_collision` is never used [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Player.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn on_collision(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `damage` is never read [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Weapons/SimpleMissile.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SimpleMissile { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | damage: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `should_be_destroyed` is never used [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Weapons/SimpleMissile.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl SimpleMissile { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn should_be_destroyed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Program.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | while let Some(event) = self.window.poll_event() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Program.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/Objects/Animations/Tests.rs (1 fix) [INFO] [stderr] Fixed src/CollisionSystem/Tests.rs (1 fix) [INFO] [stderr] Fixed src/ControllFlow/Tests.rs (4 fixes) [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/InputSystem.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | fn get_key(key: &Key){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/InputSystem.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | for i in 0..keys_count{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/InputSystem.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | fn update(&mut self, delta_time: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_state` [INFO] [stdout] --> src/ControllFlow/Tests/TestStateEnums.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | TestStatesEnum::TestState2(inner_state) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/ControllFlow/Tests/TestStateEnums.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | fn onUpdate(&mut self, delta_time: f32) -> FlowState { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/ControllFlow/Tests/TestStateEnums.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | fn draw(&mut self, window: &mut sfml::graphics::RenderWindow) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/ControllFlow/Tests/TestStateEnums.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | fn handle_input(&mut self, input: &Input) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/Menu.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | fn update(&mut self, delta_time: f32) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Weapons/SimpleMissile.rs:74:38 [INFO] [stdout] | [INFO] [stdout] 74 | fn react_to_collision(&mut self, info: CollisionInfo, other_mask: CollisionMask) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Enemy.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let direction = match option_direction { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Enemy.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | fn update(&mut self, delta_time: f32) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Level.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | fn update_word(&mut self, delta_time: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_play` [INFO] [stdout] --> src/Program/ProgramControllFlow.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | States::GamePlay(game_play) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_play` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intro` [INFO] [stdout] --> src/Program/ProgramControllFlow.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | States::Intro(intro) => {}, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_intro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `is_point_in_rectangle` and `outer_rectangle_circle` are never used [INFO] [stdout] --> src/CollisionSystem.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 72 | impl Collider { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 213 | fn is_point_in_rectangle( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn outer_rectangle_circle(rectangle: Rectangle) -> Circle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PlayersAnimations` is never used [INFO] [stdout] --> src/Objects/Animations.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum PlayersAnimations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/Objects/Animations.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl PlayersAnimations { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 16 | fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_current_animation` is never used [INFO] [stdout] --> src/Objects/Animations.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl AnimationPlayer { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn set_current_animation(&mut self, animation_name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_key` is never used [INFO] [stdout] --> src/InputSystem.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Input{ [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | fn get_key(key: &Key){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_entering` and `should_exit` are never read [INFO] [stdout] --> src/ControllFlow/Tests/TestInnerStates.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TestState2InnerState{ [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 16 | is_entering: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | should_exit: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_input` is never used [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/Menu.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl MainMenuInnerState { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | fn handle_input(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Player.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_collision` is never used [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Player.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn on_collision(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `damage` is never read [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Weapons/SimpleMissile.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SimpleMissile { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | damage: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `should_be_destroyed` is never used [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Weapons/SimpleMissile.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl SimpleMissile { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn should_be_destroyed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/Program.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | while let Some(event) = self.window.poll_event() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/Program.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.65s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking vampire_survivors_clone v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/InputSystem.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | fn get_key(key: &Key){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/InputSystem.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | for i in 0..keys_count{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Collider` in this scope [INFO] [stdout] --> src/CollisionSystem/Tests.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | let first_collider = Collider { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/InputSystem.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | fn update(&mut self, delta_time: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | position: Vector::default(), [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionShape` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | shape: CollisionShape::Rectangle(Rectangle::new( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionShape` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::CollisionShape; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | shape: CollisionShape::Rectangle(Rectangle::new( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Rectangle` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Collider` in this scope [INFO] [stdout] --> src/CollisionSystem/Tests.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | let mut second_collider = Collider { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | position: Vector::default(), [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionShape` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | shape: CollisionShape::Rectangle(Rectangle::new( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionShape` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::CollisionShape; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:16:42 [INFO] [stdout] | [INFO] [stdout] 16 | shape: CollisionShape::Rectangle(Rectangle::new( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Rectangle` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_state` [INFO] [stdout] --> src/ControllFlow/Tests/TestStateEnums.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | TestStatesEnum::TestState2(inner_state) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/ControllFlow/Tests/TestStateEnums.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | fn onUpdate(&mut self, delta_time: f32) -> FlowState { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collider` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | assert!(Collider::collide(first_collider, second_collider).is_some()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Collider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | second_collider.position = Vector::new(-0.5, 0.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collider` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | assert!(Collider::collide(first_collider, second_collider).is_some()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Collider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | second_collider.position = Vector::new(-0.5, 0.5); [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collider` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | assert!(Collider::collide(first_collider, second_collider).is_some()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Collider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | second_collider.position = Vector::new(-1.0, 0.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collider` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | assert!(Collider::collide(first_collider, second_collider).is_none()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Collider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/ControllFlow/Tests/TestStateEnums.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | fn draw(&mut self, window: &mut sfml::graphics::RenderWindow) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | second_collider.position = Vector::new(-1.0, -1.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/ControllFlow/Tests/TestStateEnums.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | fn handle_input(&mut self, input: &Input) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collider` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | assert!(Collider::collide(first_collider, second_collider).is_none()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Collider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | second_collider.position = Vector::new(-0.99, -0.99); [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collider` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | assert!(Collider::collide(first_collider, second_collider).is_some()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Collider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | second_collider.position = Vector::new(0.99, 0.99); [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collider` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | assert!(Collider::collide(first_collider, second_collider).is_some()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Collider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Collider` in this scope [INFO] [stdout] --> src/CollisionSystem/Tests.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | let rectangle_collider = Collider { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | position: Vector::default(), [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionShape` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | shape: CollisionShape::Rectangle(Rectangle::new( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionShape` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::CollisionShape; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | shape: CollisionShape::Rectangle(Rectangle::new( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Rectangle` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Collider` in this scope [INFO] [stdout] --> src/CollisionSystem/Tests.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 55 | let mut circular_collider = Collider { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | position: Vector::default(), [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionShape` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | shape: CollisionShape::Circle(Circle::new(size_for_both_colliders)), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionShape` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::CollisionShape; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circle` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | shape: CollisionShape::Circle(Circle::new(size_for_both_colliders)), [INFO] [stdout] | ^^^^^^ use of undeclared type `Circle` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collider` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | assert!(Collider::collide(rectangle_collider, circular_collider).is_some()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Collider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | circular_collider.position = Vector::new(-0.5, -0.5); [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collider` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | assert!(Collider::collide(rectangle_collider, circular_collider).is_some()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Collider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | circular_collider.position = Vector::new(0.5, 0.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collider` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | assert!(Collider::collide(rectangle_collider, circular_collider).is_some()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Collider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:68:34 [INFO] [stdout] | [INFO] [stdout] 68 | circular_collider.position = Vector::new(0.5, 1.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collider` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | assert!(Collider::collide(rectangle_collider, circular_collider).is_some()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Collider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | circular_collider.position = Vector::new(0.5, 0.5); [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collider` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | assert!(Collider::collide(rectangle_collider, circular_collider).is_some()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Collider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | circular_collider.position = Vector::new(0.5, -0.99); [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collider` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | assert!(Collider::collide(rectangle_collider, circular_collider).is_some()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Collider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | circular_collider.position = Vector::new(0.5, -2.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collider` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | assert!(Collider::collide(rectangle_collider, circular_collider).is_none()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Collider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:81:34 [INFO] [stdout] | [INFO] [stdout] 81 | circular_collider.position = Vector::new(-0.5, -0.5); [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collider` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | assert!(Collider::collide(circular_collider, rectangle_collider).is_some()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Collider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | circular_collider.position = Vector::new(0.5, 0.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collider` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | assert!(Collider::collide(circular_collider, rectangle_collider).is_some()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Collider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/Menu.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | fn update(&mut self, delta_time: f32) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | circular_collider.position = Vector::new(0.5, 1.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collider` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | assert!(Collider::collide(circular_collider, rectangle_collider).is_some()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Collider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | circular_collider.position = Vector::new(0.5, 0.5); [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collider` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | assert!(Collider::collide(circular_collider, rectangle_collider).is_some()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Collider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | circular_collider.position = Vector::new(0.5, -0.99); [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collider` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | assert!(Collider::collide(circular_collider, rectangle_collider).is_some()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Collider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 96 | circular_collider.position = Vector::new(0.5, -2.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collider` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | assert!(Collider::collide(circular_collider, rectangle_collider).is_none()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Collider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Collider` in this scope [INFO] [stdout] --> src/CollisionSystem/Tests.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | let first_collider = Collider { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | position: Vector::default(), [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionShape` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | shape: CollisionShape::Circle(Circle::new(radius)), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionShape` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::CollisionShape; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circle` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:105:39 [INFO] [stdout] | [INFO] [stdout] 105 | shape: CollisionShape::Circle(Circle::new(radius)), [INFO] [stdout] | ^^^^^^ use of undeclared type `Circle` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Collider` in this scope [INFO] [stdout] --> src/CollisionSystem/Tests.rs:108:31 [INFO] [stdout] | [INFO] [stdout] 108 | let mut second_collider = Collider { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | position: Vector::default(), [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionShape` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | shape: CollisionShape::Circle(Circle::new(radius)), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionShape` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::CollisionShape; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Circle` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:110:39 [INFO] [stdout] | [INFO] [stdout] 110 | shape: CollisionShape::Circle(Circle::new(radius)), [INFO] [stdout] | ^^^^^^ use of undeclared type `Circle` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collider` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | assert!(Collider::collide(first_collider, second_collider).is_some()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Collider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | second_collider.position = Vector::new(2.0, 0.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collider` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | assert!(Collider::collide(first_collider, second_collider).is_none()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Collider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:118:32 [INFO] [stdout] | [INFO] [stdout] 118 | second_collider.position = Vector::new(1.99, 0.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Vector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::MathUtilities::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collider` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | assert!(Collider::collide(first_collider, second_collider).is_some()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Collider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::CollisionSystem::Collider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Animation` [INFO] [stdout] --> src/Objects/Animations/Tests.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | let animation = Animation::new(test_animation_directory); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Animation` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Objects::Animations::Animation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationPlayer` [INFO] [stdout] --> src/Objects/Animations/Tests.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | let mut animation_player = AnimationPlayer::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `AnimationPlayer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Objects::Animations::AnimationPlayer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestStatesEnum` [INFO] [stdout] --> src/ControllFlow/Tests.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | let s1 = Box::new(TestStatesEnum::TestState1(TestState1InnerState::default())); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TestStatesEnum` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use crate::ControllFlow::Tests::TestStateEnums::TestStatesEnum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestState1InnerState` [INFO] [stdout] --> src/ControllFlow/Tests.rs:10:50 [INFO] [stdout] | [INFO] [stdout] 10 | let s1 = Box::new(TestStatesEnum::TestState1(TestState1InnerState::default())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `TestState1InnerState` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::ControllFlow::Tests::TestInnerStates::TestState1InnerState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestStatesEnum` [INFO] [stdout] --> src/ControllFlow/Tests.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | let s2 = Box::new(TestStatesEnum::TestState2(TestState2InnerState::default())); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `TestStatesEnum` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use crate::ControllFlow::Tests::TestStateEnums::TestStatesEnum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestState2InnerState` [INFO] [stdout] --> src/ControllFlow/Tests.rs:11:50 [INFO] [stdout] | [INFO] [stdout] 11 | let s2 = Box::new(TestStatesEnum::TestState2(TestState2InnerState::default())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `TestState2InnerState` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::ControllFlow::Tests::TestInnerStates::TestState2InnerState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StateMachine` in this scope [INFO] [stdout] --> src/ControllFlow/Tests.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | let mut state_machine: StateMachine = StateMachine::new(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::ControllFlow::StateMachine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestStatesEnum` in this scope [INFO] [stdout] --> src/ControllFlow/Tests.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | let mut state_machine: StateMachine = StateMachine::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use crate::ControllFlow::Tests::TestStateEnums::TestStatesEnum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StateMachine` [INFO] [stdout] --> src/ControllFlow/Tests.rs:13:59 [INFO] [stdout] | [INFO] [stdout] 13 | let mut state_machine: StateMachine = StateMachine::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `StateMachine` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::ControllFlow::StateMachine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Weapons/SimpleMissile.rs:74:38 [INFO] [stdout] | [INFO] [stdout] 74 | fn react_to_collision(&mut self, info: CollisionInfo, other_mask: CollisionMask) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Enemy.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let direction = match option_direction { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Enemy.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | fn update(&mut self, delta_time: f32) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Level.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | fn update_word(&mut self, delta_time: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_play` [INFO] [stdout] --> src/Program/ProgramControllFlow.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | States::GamePlay(game_play) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_play` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intro` [INFO] [stdout] --> src/Program/ProgramControllFlow.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | States::Intro(intro) => {}, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_intro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `is_point_in_rectangle` and `outer_rectangle_circle` are never used [INFO] [stdout] --> src/CollisionSystem.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 72 | impl Collider { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 213 | fn is_point_in_rectangle( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn outer_rectangle_circle(rectangle: Rectangle) -> Circle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PlayersAnimations` is never used [INFO] [stdout] --> src/Objects/Animations.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum PlayersAnimations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/Objects/Animations.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl PlayersAnimations { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 16 | fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_current_animation` is never used [INFO] [stdout] --> src/Objects/Animations.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl AnimationPlayer { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn set_current_animation(&mut self, animation_name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_key` is never used [INFO] [stdout] --> src/InputSystem.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Input{ [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | fn get_key(key: &Key){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_entering` and `should_exit` are never read [INFO] [stdout] --> src/ControllFlow/Tests/TestInnerStates.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TestState2InnerState{ [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 16 | is_entering: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | should_exit: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_input` is never used [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/Menu.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl MainMenuInnerState { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | fn handle_input(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Player.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_collision` is never used [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Player.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn on_collision(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `damage` is never read [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Weapons/SimpleMissile.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SimpleMissile { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | damage: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `should_be_destroyed` is never used [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Weapons/SimpleMissile.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl SimpleMissile { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn should_be_destroyed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/InputSystem.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | fn get_key(key: &Key){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/InputSystem.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | for i in 0..keys_count{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/InputSystem.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | fn update(&mut self, delta_time: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_state` [INFO] [stdout] --> src/ControllFlow/Tests/TestStateEnums.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | TestStatesEnum::TestState2(inner_state) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/ControllFlow/Tests/TestStateEnums.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | fn onUpdate(&mut self, delta_time: f32) -> FlowState { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/ControllFlow/Tests/TestStateEnums.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | fn draw(&mut self, window: &mut sfml::graphics::RenderWindow) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/ControllFlow/Tests/TestStateEnums.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | fn handle_input(&mut self, input: &Input) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/Menu.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | fn update(&mut self, delta_time: f32) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Weapons/SimpleMissile.rs:74:38 [INFO] [stdout] | [INFO] [stdout] 74 | fn react_to_collision(&mut self, info: CollisionInfo, other_mask: CollisionMask) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Enemy.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let direction = match option_direction { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Enemy.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | fn update(&mut self, delta_time: f32) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Level.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | fn update_word(&mut self, delta_time: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_play` [INFO] [stdout] --> src/Program/ProgramControllFlow.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | States::GamePlay(game_play) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_play` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intro` [INFO] [stdout] --> src/Program/ProgramControllFlow.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | States::Intro(intro) => {}, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_intro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 76 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vampire_survivors_clone` (bin "vampire_survivors_clone" test) due to 77 previous errors; 14 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f095f2dfa760438313d403e33b28dfc04742a0cf7bcd29b5168126c01d3fd536", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f095f2dfa760438313d403e33b28dfc04742a0cf7bcd29b5168126c01d3fd536", kill_on_drop: false }` [INFO] [stdout] f095f2dfa760438313d403e33b28dfc04742a0cf7bcd29b5168126c01d3fd536