[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#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [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 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3627e2df24e134ef1bb40556ac199a7e4f25a5aa9c2934d099a01bc9a920cb34 [INFO] running `Command { std: "docker" "start" "-a" "3627e2df24e134ef1bb40556ac199a7e4f25a5aa9c2934d099a01bc9a920cb34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3627e2df24e134ef1bb40556ac199a7e4f25a5aa9c2934d099a01bc9a920cb34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3627e2df24e134ef1bb40556ac199a7e4f25a5aa9c2934d099a01bc9a920cb34", kill_on_drop: false }` [INFO] [stdout] 3627e2df24e134ef1bb40556ac199a7e4f25a5aa9c2934d099a01bc9a920cb34 [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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3156362a442c0ad6256d117d4c8d3071a5f0ce5943f3d7c466f6891ee2836f38 [INFO] running `Command { std: "docker" "start" "-a" "3156362a442c0ad6256d117d4c8d3071a5f0ce5943f3d7c466f6891ee2836f38", kill_on_drop: false }` [INFO] [stderr] Compiling sfml-build v0.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling libc v0.2.132 [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 ryu v1.0.11 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking itoa v1.0.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] 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 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Position` and `Vector` [INFO] [stdout] --> src/CollisionSystem/Symulation.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::MathUtilities::{Position, Vector}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Circle`, `CollisionShape`, and `Rectangle` [INFO] [stdout] --> src/CollisionSystem/Symulation.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Circle, Collidable, Collider, CollisionInfo, CollisionMask, CollisionShape, Rectangle, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/CollisionSystem/Tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/CollisionSystem.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/CollisionSystem.rs:172:33 [INFO] [stdout] | [INFO] [stdout] 172 | Some(CollisionInfo::new((nearest_on_rectangle - point_on_circle))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 172 - Some(CollisionInfo::new((nearest_on_rectangle - point_on_circle))) [INFO] [stdout] 172 + Some(CollisionInfo::new(nearest_on_rectangle - point_on_circle)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnimationPlayer` and `Animation` [INFO] [stdout] --> src/Objects/Animations/Tests.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Animation, AnimationPlayer}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::clone` [INFO] [stdout] --> src/Objects/Animations.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::clone; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::Copy` [INFO] [stdout] --> src/Objects/Animations.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::marker::Copy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array`, `collections::HashMap`, and `hash::Hash` [INFO] [stdout] --> src/InputSystem.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, hash::Hash, array}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Objects::Interfaces::Updatable` [INFO] [stdout] --> src/ControllFlow/Tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Objects::Interfaces::Updatable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::FlowState` [INFO] [stdout] --> src/ControllFlow/Tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::FlowState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::State` [INFO] [stdout] --> src/ControllFlow/Tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::State; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::StateMachine` [INFO] [stdout] --> src/ControllFlow/Tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::StateMachine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TestState1InnerState` and `TestState2InnerState` [INFO] [stdout] --> src/ControllFlow/Tests.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use TestInnerStates::{TestState1InnerState, TestState2InnerState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TestStateEnums::TestStatesEnum` [INFO] [stdout] --> src/ControllFlow/Tests.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use TestStateEnums::TestStatesEnum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Player.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Player.rs:3:139 [INFO] [stdout] | [INFO] [stdout] 3 | ...onMask, CollisionInfo}, MathUtilities::{Vector, Point, Position, self}, InputSystem::{InputConsumer, Input, Keys}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CircleShape` and `Sprite` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Player.rs:7:66 [INFO] [stdout] | [INFO] [stdout] 7 | graphics::{RenderTarget, RenderWindow, Transformable, Shape, CircleShape, Color, Sprite, RectangleShape}, system::Vector2f [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Player.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | if(self.move_direction.get_x() > 0.0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 79 - if(self.move_direction.get_x() > 0.0) [INFO] [stdout] 79 + if self.move_direction.get_x() > 0.0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Player.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | else if (self.move_direction.get_x() < 0.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - else if (self.move_direction.get_x() < 0.0) { [INFO] [stdout] 83 + else if self.move_direction.get_x() < 0.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sfml::system::Vector2f` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Enemy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sfml::system::Vector2f; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Initializable` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Enemy.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::Objects::Interfaces::{Drawable, Initializable, Updatable, Destroyable}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Index` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Level.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops::Index, vec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasicTimer`, `MathUtilities::Position`, and `Timer` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Level.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | MathUtilities::Position, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | Timers::{BasicTimer, Timer}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Level.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | Weapons::{self, SimpleMissile::SimpleMissile}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Position` and `Vector` [INFO] [stdout] --> src/CollisionSystem/Symulation.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::MathUtilities::{Position, Vector}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Circle`, `CollisionShape`, and `Rectangle` [INFO] [stdout] --> src/CollisionSystem/Symulation.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Circle, Collidable, Collider, CollisionInfo, CollisionMask, CollisionShape, Rectangle, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/CollisionSystem.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/CollisionSystem.rs:172:33 [INFO] [stdout] | [INFO] [stdout] 172 | Some(CollisionInfo::new((nearest_on_rectangle - point_on_circle))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 172 - Some(CollisionInfo::new((nearest_on_rectangle - point_on_circle))) [INFO] [stdout] 172 + Some(CollisionInfo::new(nearest_on_rectangle - point_on_circle)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::clone` [INFO] [stdout] --> src/Objects/Animations.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::clone; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::Copy` [INFO] [stdout] --> src/Objects/Animations.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::marker::Copy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array`, `collections::HashMap`, and `hash::Hash` [INFO] [stdout] --> src/InputSystem.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, hash::Hash, array}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::FlowState` [INFO] [stdout] --> src/ControllFlow/Tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::FlowState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::State` [INFO] [stdout] --> src/ControllFlow/Tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::State; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/ControllFlow/Tests.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Player.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Player.rs:3:139 [INFO] [stdout] | [INFO] [stdout] 3 | ...onMask, CollisionInfo}, MathUtilities::{Vector, Point, Position, self}, InputSystem::{InputConsumer, Input, Keys}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CircleShape` and `Sprite` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Player.rs:7:66 [INFO] [stdout] | [INFO] [stdout] 7 | graphics::{RenderTarget, RenderWindow, Transformable, Shape, CircleShape, Color, Sprite, RectangleShape}, system::Vector2f [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Player.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | if(self.move_direction.get_x() > 0.0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 79 - if(self.move_direction.get_x() > 0.0) [INFO] [stdout] 79 + if self.move_direction.get_x() > 0.0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Player.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | else if (self.move_direction.get_x() < 0.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - else if (self.move_direction.get_x() < 0.0) { [INFO] [stdout] 83 + else if self.move_direction.get_x() < 0.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sfml::system::Vector2f` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Enemy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sfml::system::Vector2f; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Initializable` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Enemy.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::Objects::Interfaces::{Drawable, Initializable, Updatable, Destroyable}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Index` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Level.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops::Index, vec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BasicTimer`, `MathUtilities::Position`, and `Timer` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Level.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | MathUtilities::Position, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | Timers::{BasicTimer, Timer}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Level.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | Weapons::{self, SimpleMissile::SimpleMissile}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/InputSystem.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | 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:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | 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:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | 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: `key` [INFO] [stdout] --> src/InputSystem.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | 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:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | 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:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | 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: `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:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | 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:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | 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: `direction` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Enemy.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | 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/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: `delta_time` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Enemy.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | 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:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | 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:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | 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:158:31 [INFO] [stdout] | [INFO] [stdout] 158 | 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: unused variable: `delta_time` [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay/GameObjects/Level.rs:158:31 [INFO] [stdout] | [INFO] [stdout] 158 | 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:214:8 [INFO] [stdout] | [INFO] [stdout] 73 | impl Collider { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 214 | fn is_point_in_rectangle( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | 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:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum PlayersAnimations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/Objects/Animations.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl PlayersAnimations { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 18 | 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:102:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl AnimationPlayer { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | 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:71:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl Input{ [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | 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:22:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | 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:92:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 21 | let file =File::open(file_path).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | currently_loaded_level: Level::new(level_config), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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:214:8 [INFO] [stdout] | [INFO] [stdout] 73 | impl Collider { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 214 | fn is_point_in_rectangle( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | 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:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum PlayersAnimations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/Objects/Animations.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl PlayersAnimations { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 18 | 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:102:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl AnimationPlayer { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | 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:71:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl Input{ [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | 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:22:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | 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:92:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/Program/ProgramControllFlow/InnerStates/GamePlay.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 21 | let file =File::open(file_path).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | currently_loaded_level: Level::new(level_config), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vampire_survivors_clone` (bin "vampire_survivors_clone") due to 2 previous errors; 50 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `vampire_survivors_clone` (bin "vampire_survivors_clone" test) due to 2 previous errors; 47 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3156362a442c0ad6256d117d4c8d3071a5f0ce5943f3d7c466f6891ee2836f38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3156362a442c0ad6256d117d4c8d3071a5f0ce5943f3d7c466f6891ee2836f38", kill_on_drop: false }` [INFO] [stdout] 3156362a442c0ad6256d117d4c8d3071a5f0ce5943f3d7c466f6891ee2836f38