[INFO] cloning repository https://github.com/YagirProtect/Rust-Pong
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YagirProtect/Rust-Pong" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYagirProtect%2FRust-Pong", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYagirProtect%2FRust-Pong'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fd1e11be43c6fc50ba9be577c4bf7e851d2d129e
[INFO] checking YagirProtect/Rust-Pong/fd1e11be43c6fc50ba9be577c4bf7e851d2d129e against 0b63defc8fd68957c635fe61f097b84df8fd9611 for pr-154715
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYagirProtect%2FRust-Pong" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/YagirProtect/Rust-Pong
[INFO] finished tweaking git repo https://github.com/YagirProtect/Rust-Pong
[INFO] tweaked toml for git repo https://github.com/YagirProtect/Rust-Pong written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/YagirProtect/Rust-Pong on toolchain 0b63defc8fd68957c635fe61f097b84df8fd9611
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0b63defc8fd68957c635fe61f097b84df8fd9611" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/YagirProtect/Rust-Pong 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" "+0b63defc8fd68957c635fe61f097b84df8fd9611" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_json v1.0.147
[INFO] [stderr]   Downloaded libredox v0.1.11
[INFO] [stderr]   Downloaded lerp v0.5.0
[INFO] [stderr]   Downloaded redox_syscall v0.6.0
[INFO] [stderr]   Downloaded zmij v0.1.9
[INFO] [stderr]   Downloaded font8x8 v0.3.1
[INFO] [stderr]   Downloaded vek v0.17.2
[INFO] [stderr]   Downloaded minifb v0.28.0
[INFO] [stderr]   Downloaded sdl2 v0.35.2
[INFO] [stderr]   Downloaded sdl2-sys v0.35.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 075722bd4f7efe2f966e2f432a06eabec5847841d765ae6151b70377b2ca22b5
[INFO] running `Command { std: "docker" "start" "075722bd4f7efe2f966e2f432a06eabec5847841d765ae6151b70377b2ca22b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "075722bd4f7efe2f966e2f432a06eabec5847841d765ae6151b70377b2ca22b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "075722bd4f7efe2f966e2f432a06eabec5847841d765ae6151b70377b2ca22b5" "/opt/rustwide/cargo-home/bin/cargo" "+0b63defc8fd68957c635fe61f097b84df8fd9611" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "075722bd4f7efe2f966e2f432a06eabec5847841d765ae6151b70377b2ca22b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "075722bd4f7efe2f966e2f432a06eabec5847841d765ae6151b70377b2ca22b5" "/opt/rustwide/cargo-home/bin/cargo" "+0b63defc8fd68957c635fe61f097b84df8fd9611" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]     Checking symphonia-core v0.5.5
[INFO] [stderr]    Compiling xml-rs v0.8.28
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling alsa-sys v0.3.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling find-msvc-tools v0.1.6
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling cc v1.2.51
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]     Checking extended v0.1.0
[INFO] [stderr]    Compiling cpal v0.16.0
[INFO] [stderr]     Checking rustix v1.1.3
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]     Checking symphonia-metadata v0.5.5
[INFO] [stderr]     Checking symphonia-utils-xiph v0.5.5
[INFO] [stderr]     Checking symphonia-codec-vorbis v0.5.5
[INFO] [stderr]    Compiling minifb v0.28.0
[INFO] [stderr]     Checking symphonia-format-ogg v0.5.5
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking nix v0.24.3
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking symphonia-format-isomp4 v0.5.5
[INFO] [stderr]     Checking symphonia-bundle-flac v0.5.5
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]     Checking alsa v0.9.1
[INFO] [stderr]     Checking symphonia-bundle-mp3 v0.5.5
[INFO] [stderr]     Checking symphonia-format-riff v0.5.5
[INFO] [stderr]     Checking symphonia-codec-pcm v0.5.5
[INFO] [stderr]     Checking symphonia-codec-aac v0.5.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking wayland-commons v0.29.5
[INFO] [stderr]    Compiling vek v0.17.2
[INFO] [stderr]    Compiling serde_json v1.0.147
[INFO] [stderr]     Checking dasp_sample v0.11.0
[INFO] [stderr]     Checking tempfile v3.24.0
[INFO] [stderr]     Checking symphonia v0.5.5
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking raw-window-handle v0.6.2
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]     Checking zmij v0.1.9
[INFO] [stderr]     Checking rodio v0.21.1
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking lerp v0.5.0
[INFO] [stderr]     Checking font8x8 v0.3.1
[INFO] [stderr]     Checking wayland-cursor v0.29.5
[INFO] [stderr]    Compiling winres v0.1.12
[INFO] [stderr]    Compiling PONG v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `c_game_scene`
[INFO] [stdout]  --> src/classes/scenes.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod c_game_scene;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `c_game_scene`, create file "src/classes/scenes/c_game_scene.rs" or "src/classes/scenes/c_game_scene/mod.rs"
[INFO] [stdout]   = note: if there is a `mod c_game_scene` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `t_scene_result`
[INFO] [stdout]  --> src/classes/scenes.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub mod t_scene_result;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `t_scene_result`, create file "src/classes/scenes/t_scene_result.rs" or "src/classes/scenes/t_scene_result/mod.rs"
[INFO] [stdout]   = note: if there is a `mod t_scene_result` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `c_menu_scene`
[INFO] [stdout]  --> src/classes/scenes.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub mod c_menu_scene;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `c_menu_scene`, create file "src/classes/scenes/c_menu_scene.rs" or "src/classes/scenes/c_menu_scene/mod.rs"
[INFO] [stdout]   = note: if there is a `mod c_menu_scene` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `e_scene_id`
[INFO] [stdout]  --> src/classes/scenes.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub mod e_scene_id;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `e_scene_id`, create file "src/classes/scenes/e_scene_id.rs" or "src/classes/scenes/e_scene_id/mod.rs"
[INFO] [stdout]   = note: if there is a `mod e_scene_id` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `c_credits_scene`
[INFO] [stdout]  --> src/classes/scenes.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub mod c_credits_scene;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `c_credits_scene`, create file "src/classes/scenes/c_credits_scene.rs" or "src/classes/scenes/c_credits_scene/mod.rs"
[INFO] [stdout]   = note: if there is a `mod c_credits_scene` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `c_game_scene`
[INFO] [stdout]  --> src/classes/scenes.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod c_game_scene;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `c_game_scene`, create file "src/classes/scenes/c_game_scene.rs" or "src/classes/scenes/c_game_scene/mod.rs"
[INFO] [stdout]   = note: if there is a `mod c_game_scene` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `t_scene_result`
[INFO] [stdout]  --> src/classes/scenes.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub mod t_scene_result;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `t_scene_result`, create file "src/classes/scenes/t_scene_result.rs" or "src/classes/scenes/t_scene_result/mod.rs"
[INFO] [stdout]   = note: if there is a `mod t_scene_result` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `c_menu_scene`
[INFO] [stdout]  --> src/classes/scenes.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub mod c_menu_scene;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `c_menu_scene`, create file "src/classes/scenes/c_menu_scene.rs" or "src/classes/scenes/c_menu_scene/mod.rs"
[INFO] [stdout]   = note: if there is a `mod c_menu_scene` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `e_scene_id`
[INFO] [stdout]  --> src/classes/scenes.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub mod e_scene_id;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `e_scene_id`, create file "src/classes/scenes/e_scene_id.rs" or "src/classes/scenes/e_scene_id/mod.rs"
[INFO] [stdout]   = note: if there is a `mod e_scene_id` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `c_credits_scene`
[INFO] [stdout]  --> src/classes/scenes.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub mod c_credits_scene;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `c_credits_scene`, create file "src/classes/scenes/c_credits_scene.rs" or "src/classes/scenes/c_credits_scene/mod.rs"
[INFO] [stdout]   = note: if there is a `mod c_credits_scene` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/services/collsions_solver.rs:54:16
[INFO] [stdout]    |
[INFO] [stdout] 54 |             if (colA.check_intersection(boundsB)){
[INFO] [stdout]    |                ^                                ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 54 -             if (colA.check_intersection(boundsB)){
[INFO] [stdout] 54 +             if colA.check_intersection(boundsB) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_config.rs:83:12
[INFO] [stdout]    |
[INFO] [stdout] 83 |         if (file_system::is_file_exist(Self::file_name().as_str())){
[INFO] [stdout]    |            ^                                                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 83 -         if (file_system::is_file_exist(Self::file_name().as_str())){
[INFO] [stdout] 83 +         if file_system::is_file_exist(Self::file_name().as_str()) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `KeyRepeat`
[INFO] [stdout]  --> src/classes/c_input.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use minifb::{Key, KeyRepeat, MouseButton, MouseMode, Window};
[INFO] [stdout]   |                   ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_input.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |         if (window.is_key_down(Key::W) | window.is_key_down(Key::Up)) {
[INFO] [stdout]    |            ^                                                        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 53 -         if (window.is_key_down(Key::W) | window.is_key_down(Key::Up)) {
[INFO] [stdout] 53 +         if window.is_key_down(Key::W) | window.is_key_down(Key::Up) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_input.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |         if (window.is_key_down(Key::S) | window.is_key_down(Key::Down)) {
[INFO] [stdout]    |            ^                                                          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 57 -         if (window.is_key_down(Key::S) | window.is_key_down(Key::Down)) {
[INFO] [stdout] 57 +         if window.is_key_down(Key::S) | window.is_key_down(Key::Down) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_player.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |         if (math::is_on_bounds_y(&self.rectangle, dir, self.move_limits.x, self.move_limits.y)) {
[INFO] [stdout]    |            ^                                                                                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 46 -         if (math::is_on_bounds_y(&self.rectangle, dir, self.move_limits.x, self.move_limits.y)) {
[INFO] [stdout] 46 +         if math::is_on_bounds_y(&self.rectangle, dir, self.move_limits.x, self.move_limits.y) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_player.rs:49:16
[INFO] [stdout]    |
[INFO] [stdout] 49 |             if (dir > 0.0) {
[INFO] [stdout]    |                ^         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 49 -             if (dir > 0.0) {
[INFO] [stdout] 49 +             if dir > 0.0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_player.rs:54:16
[INFO] [stdout]    |
[INFO] [stdout] 54 |             if (dir < 0.0) {
[INFO] [stdout]    |                ^         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 54 -             if (dir < 0.0) {
[INFO] [stdout] 54 +             if dir < 0.0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::classes::c_canvas::Canvas`
[INFO] [stdout]  --> src/classes/t_updatable.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::classes::c_canvas::Canvas;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_rect_collider.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |         if (self.last_intersection_normal != normal) {
[INFO] [stdout]    |            ^                                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 37 -         if (self.last_intersection_normal != normal) {
[INFO] [stdout] 37 +         if self.last_intersection_normal != normal {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_ball.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |         if (input.AxisRaw() != 0){
[INFO] [stdout]    |            ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 53 -         if (input.AxisRaw() != 0){
[INFO] [stdout] 53 +         if input.AxisRaw() != 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_ball.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 |         if (self.isActive){
[INFO] [stdout]    |            ^             ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 56 -         if (self.isActive){
[INFO] [stdout] 56 +         if self.isActive {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_ball.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 |         if (self.move_dir.magnitude() == 0.0 && self.isActive && self.activeTimer > 0.25){
[INFO] [stdout]    |            ^                                                                            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 60 -         if (self.move_dir.magnitude() == 0.0 && self.isActive && self.activeTimer > 0.25){
[INFO] [stdout] 60 +         if self.move_dir.magnitude() == 0.0 && self.isActive && self.activeTimer > 0.25 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_ball.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 |         if (!self.rectangle.get_intersections().has_intersection()) {
[INFO] [stdout]    |            ^                                                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 68 -         if (!self.rectangle.get_intersections().has_intersection()) {
[INFO] [stdout] 68 +         if !self.rectangle.get_intersections().has_intersection() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_ball.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 |         if (self.speedMult > 1.4){
[INFO] [stdout]    |            ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 76 -         if (self.speedMult > 1.4){
[INFO] [stdout] 76 +         if self.speedMult > 1.4 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/classes/c_ball.rs:117:12
[INFO] [stdout]     |
[INFO] [stdout] 117 |         if (self.move_dir.x.abs() < 0.3) {
[INFO] [stdout]     |            ^                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 117 -         if (self.move_dir.x.abs() < 0.3) {
[INFO] [stdout] 117 +         if self.move_dir.x.abs() < 0.3 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/classes/c_ball.rs:118:16
[INFO] [stdout]     |
[INFO] [stdout] 118 |             if (self.move_dir.x < 0.0) {
[INFO] [stdout]     |                ^                     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 118 -             if (self.move_dir.x < 0.0) {
[INFO] [stdout] 118 +             if self.move_dir.x < 0.0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/classes/c_ball.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout] 127 |         if (self.rectangle.Y() + self.rectangle.HalfH() >= self.move_limits_y.y) {
[INFO] [stdout]     |            ^                                                                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 127 -         if (self.rectangle.Y() + self.rectangle.HalfH() >= self.move_limits_y.y) {
[INFO] [stdout] 127 +         if self.rectangle.Y() + self.rectangle.HalfH() >= self.move_limits_y.y {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/classes/c_ball.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 134 |         if (self.rectangle.Y() - self.rectangle.HalfH() < self.move_limits_y.x) {
[INFO] [stdout]     |            ^                                                                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 134 -         if (self.rectangle.Y() - self.rectangle.HalfH() < self.move_limits_y.x) {
[INFO] [stdout] 134 +         if self.rectangle.Y() - self.rectangle.HalfH() < self.move_limits_y.x {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/classes/c_ball.rs:141:12
[INFO] [stdout]     |
[INFO] [stdout] 141 |         if (self.rectangle.X() < self.move_limits_x.x || self.rectangle.X() > self.move_limits_x.y) {
[INFO] [stdout]     |            ^                                                                                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 141 -         if (self.rectangle.X() < self.move_limits_x.x || self.rectangle.X() > self.move_limits_x.y) {
[INFO] [stdout] 141 +         if self.rectangle.X() < self.move_limits_x.x || self.rectangle.X() > self.move_limits_x.y {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/classes/c_ball.rs:145:16
[INFO] [stdout]     |
[INFO] [stdout] 145 |             if (self.rectangle.X() < 0.0){
[INFO] [stdout]     |                ^                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 145 -             if (self.rectangle.X() < 0.0){
[INFO] [stdout] 145 +             if self.rectangle.X() < 0.0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_player_bot.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 |         if (worldContext.get_ball_position().y > self.rectangle.Y() + self.rectangle.HalfH()/2.0){
[INFO] [stdout]    |            ^                                                                                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 47 -         if (worldContext.get_ball_position().y > self.rectangle.Y() + self.rectangle.HalfH()/2.0){
[INFO] [stdout] 47 +         if worldContext.get_ball_position().y > self.rectangle.Y() + self.rectangle.HalfH()/2.0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_player_bot.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 |         if (worldContext.get_ball_position().y < self.rectangle.Y() - self.rectangle.HalfH()/2.0){
[INFO] [stdout]    |            ^                                                                                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 50 -         if (worldContext.get_ball_position().y < self.rectangle.Y() - self.rectangle.HalfH()/2.0){
[INFO] [stdout] 50 +         if worldContext.get_ball_position().y < self.rectangle.Y() - self.rectangle.HalfH()/2.0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_player_bot.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 |         if (math::is_on_bounds_y(&self.rectangle, self.axis, self.move_limits.x, self.move_limits.y)) {
[INFO] [stdout]    |            ^                                                                                        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 56 -         if (math::is_on_bounds_y(&self.rectangle, self.axis, self.move_limits.x, self.move_limits.y)) {
[INFO] [stdout] 56 +         if math::is_on_bounds_y(&self.rectangle, self.axis, self.move_limits.x, self.move_limits.y) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_player_bot.rs:59:16
[INFO] [stdout]    |
[INFO] [stdout] 59 |             if (self.axis > 0.0) {
[INFO] [stdout]    |                ^               ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 59 -             if (self.axis > 0.0) {
[INFO] [stdout] 59 +             if self.axis > 0.0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_player_bot.rs:64:16
[INFO] [stdout]    |
[INFO] [stdout] 64 |             if (self.axis < 0.0) {
[INFO] [stdout]    |                ^               ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 64 -             if (self.axis < 0.0) {
[INFO] [stdout] 64 +             if self.axis < 0.0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_world_context.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |         if (ballPos < 0.0){
[INFO] [stdout]    |            ^             ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 53 -         if (ballPos < 0.0){
[INFO] [stdout] 53 +         if ballPos < 0.0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/UI/c_label_button.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 |         if (self.call){
[INFO] [stdout]    |            ^         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 45 -         if (self.call){
[INFO] [stdout] 45 +         if self.call {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/UI/c_label_button.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 49 |         if (self.hit(input.MousePosition().x, input.MousePosition().y)) {
[INFO] [stdout]    |            ^                                                          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 49 -         if (self.hit(input.MousePosition().x, input.MousePosition().y)) {
[INFO] [stdout] 49 +         if self.hit(input.MousePosition().x, input.MousePosition().y) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/UI/c_label_button.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 |         if (input.MouseIsDown()) {
[INFO] [stdout]    |            ^                   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 59 -         if (input.MouseIsDown()) {
[INFO] [stdout] 59 +         if input.MouseIsDown() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/UI/c_label_button.rs:60:15
[INFO] [stdout]    |
[INFO] [stdout] 60 |             if(!self.is_down){
[INFO] [stdout]    |               ^             ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 60 -             if(!self.is_down){
[INFO] [stdout] 60 +             if !self.is_down {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/UI/c_label_button.rs:63:18
[INFO] [stdout]    |
[INFO] [stdout] 63 |         }else if (self.is_down){
[INFO] [stdout]    |                  ^            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 63 -         }else if (self.is_down){
[INFO] [stdout] 63 +         }else if self.is_down {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/UI/c_label_button.rs:66:16
[INFO] [stdout]    |
[INFO] [stdout] 66 |             if (self.is_inside) {
[INFO] [stdout]    |                ^              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 66 -             if (self.is_inside) {
[INFO] [stdout] 66 +             if self.is_inside {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/classes/c_audio.rs:28:35
[INFO] [stdout]    |
[INFO] [stdout] 28 |         self.beep(200.0, 80, 0.8);;
[INFO] [stdout]    |                                   ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/classes/c_audio.rs:33:35
[INFO] [stdout]    |
[INFO] [stdout] 33 |         self.beep(500.0, 80, 0.8);;
[INFO] [stdout]    |                                   ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/classes/c_audio.rs:37:35
[INFO] [stdout]    |
[INFO] [stdout] 37 |         self.beep(700.0, 80, 0.8);;
[INFO] [stdout]    |                                   ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/classes/c_audio.rs:41:35
[INFO] [stdout]    |
[INFO] [stdout] 41 |         self.beep(300.0, 80, 0.8);;
[INFO] [stdout]    |                                   ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/services/collsions_solver.rs:54:16
[INFO] [stdout]    |
[INFO] [stdout] 54 |             if (colA.check_intersection(boundsB)){
[INFO] [stdout]    |                ^                                ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 54 -             if (colA.check_intersection(boundsB)){
[INFO] [stdout] 54 +             if colA.check_intersection(boundsB) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_config.rs:83:12
[INFO] [stdout]    |
[INFO] [stdout] 83 |         if (file_system::is_file_exist(Self::file_name().as_str())){
[INFO] [stdout]    |            ^                                                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 83 -         if (file_system::is_file_exist(Self::file_name().as_str())){
[INFO] [stdout] 83 +         if file_system::is_file_exist(Self::file_name().as_str()) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `KeyRepeat`
[INFO] [stdout]  --> src/classes/c_input.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use minifb::{Key, KeyRepeat, MouseButton, MouseMode, Window};
[INFO] [stdout]   |                   ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_input.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |         if (window.is_key_down(Key::W) | window.is_key_down(Key::Up)) {
[INFO] [stdout]    |            ^                                                        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 53 -         if (window.is_key_down(Key::W) | window.is_key_down(Key::Up)) {
[INFO] [stdout] 53 +         if window.is_key_down(Key::W) | window.is_key_down(Key::Up) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_input.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |         if (window.is_key_down(Key::S) | window.is_key_down(Key::Down)) {
[INFO] [stdout]    |            ^                                                          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 57 -         if (window.is_key_down(Key::S) | window.is_key_down(Key::Down)) {
[INFO] [stdout] 57 +         if window.is_key_down(Key::S) | window.is_key_down(Key::Down) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_player.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |         if (math::is_on_bounds_y(&self.rectangle, dir, self.move_limits.x, self.move_limits.y)) {
[INFO] [stdout]    |            ^                                                                                  ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 46 -         if (math::is_on_bounds_y(&self.rectangle, dir, self.move_limits.x, self.move_limits.y)) {
[INFO] [stdout] 46 +         if math::is_on_bounds_y(&self.rectangle, dir, self.move_limits.x, self.move_limits.y) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_player.rs:49:16
[INFO] [stdout]    |
[INFO] [stdout] 49 |             if (dir > 0.0) {
[INFO] [stdout]    |                ^         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 49 -             if (dir > 0.0) {
[INFO] [stdout] 49 +             if dir > 0.0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_player.rs:54:16
[INFO] [stdout]    |
[INFO] [stdout] 54 |             if (dir < 0.0) {
[INFO] [stdout]    |                ^         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 54 -             if (dir < 0.0) {
[INFO] [stdout] 54 +             if dir < 0.0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::classes::c_canvas::Canvas`
[INFO] [stdout]  --> src/classes/t_updatable.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::classes::c_canvas::Canvas;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_rect_collider.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |         if (self.last_intersection_normal != normal) {
[INFO] [stdout]    |            ^                                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 37 -         if (self.last_intersection_normal != normal) {
[INFO] [stdout] 37 +         if self.last_intersection_normal != normal {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_ball.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |         if (input.AxisRaw() != 0){
[INFO] [stdout]    |            ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 53 -         if (input.AxisRaw() != 0){
[INFO] [stdout] 53 +         if input.AxisRaw() != 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_ball.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 |         if (self.isActive){
[INFO] [stdout]    |            ^             ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 56 -         if (self.isActive){
[INFO] [stdout] 56 +         if self.isActive {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_ball.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 |         if (self.move_dir.magnitude() == 0.0 && self.isActive && self.activeTimer > 0.25){
[INFO] [stdout]    |            ^                                                                            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 60 -         if (self.move_dir.magnitude() == 0.0 && self.isActive && self.activeTimer > 0.25){
[INFO] [stdout] 60 +         if self.move_dir.magnitude() == 0.0 && self.isActive && self.activeTimer > 0.25 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_ball.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 |         if (!self.rectangle.get_intersections().has_intersection()) {
[INFO] [stdout]    |            ^                                                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 68 -         if (!self.rectangle.get_intersections().has_intersection()) {
[INFO] [stdout] 68 +         if !self.rectangle.get_intersections().has_intersection() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_ball.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 |         if (self.speedMult > 1.4){
[INFO] [stdout]    |            ^                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 76 -         if (self.speedMult > 1.4){
[INFO] [stdout] 76 +         if self.speedMult > 1.4 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/classes/c_ball.rs:117:12
[INFO] [stdout]     |
[INFO] [stdout] 117 |         if (self.move_dir.x.abs() < 0.3) {
[INFO] [stdout]     |            ^                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 117 -         if (self.move_dir.x.abs() < 0.3) {
[INFO] [stdout] 117 +         if self.move_dir.x.abs() < 0.3 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/classes/c_ball.rs:118:16
[INFO] [stdout]     |
[INFO] [stdout] 118 |             if (self.move_dir.x < 0.0) {
[INFO] [stdout]     |                ^                     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 118 -             if (self.move_dir.x < 0.0) {
[INFO] [stdout] 118 +             if self.move_dir.x < 0.0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/classes/c_ball.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout] 127 |         if (self.rectangle.Y() + self.rectangle.HalfH() >= self.move_limits_y.y) {
[INFO] [stdout]     |            ^                                                                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 127 -         if (self.rectangle.Y() + self.rectangle.HalfH() >= self.move_limits_y.y) {
[INFO] [stdout] 127 +         if self.rectangle.Y() + self.rectangle.HalfH() >= self.move_limits_y.y {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/classes/c_ball.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 134 |         if (self.rectangle.Y() - self.rectangle.HalfH() < self.move_limits_y.x) {
[INFO] [stdout]     |            ^                                                                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 134 -         if (self.rectangle.Y() - self.rectangle.HalfH() < self.move_limits_y.x) {
[INFO] [stdout] 134 +         if self.rectangle.Y() - self.rectangle.HalfH() < self.move_limits_y.x {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/classes/c_ball.rs:141:12
[INFO] [stdout]     |
[INFO] [stdout] 141 |         if (self.rectangle.X() < self.move_limits_x.x || self.rectangle.X() > self.move_limits_x.y) {
[INFO] [stdout]     |            ^                                                                                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 141 -         if (self.rectangle.X() < self.move_limits_x.x || self.rectangle.X() > self.move_limits_x.y) {
[INFO] [stdout] 141 +         if self.rectangle.X() < self.move_limits_x.x || self.rectangle.X() > self.move_limits_x.y {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/classes/c_ball.rs:145:16
[INFO] [stdout]     |
[INFO] [stdout] 145 |             if (self.rectangle.X() < 0.0){
[INFO] [stdout]     |                ^                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 145 -             if (self.rectangle.X() < 0.0){
[INFO] [stdout] 145 +             if self.rectangle.X() < 0.0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_player_bot.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 |         if (worldContext.get_ball_position().y > self.rectangle.Y() + self.rectangle.HalfH()/2.0){
[INFO] [stdout]    |            ^                                                                                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 47 -         if (worldContext.get_ball_position().y > self.rectangle.Y() + self.rectangle.HalfH()/2.0){
[INFO] [stdout] 47 +         if worldContext.get_ball_position().y > self.rectangle.Y() + self.rectangle.HalfH()/2.0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_player_bot.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 |         if (worldContext.get_ball_position().y < self.rectangle.Y() - self.rectangle.HalfH()/2.0){
[INFO] [stdout]    |            ^                                                                                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 50 -         if (worldContext.get_ball_position().y < self.rectangle.Y() - self.rectangle.HalfH()/2.0){
[INFO] [stdout] 50 +         if worldContext.get_ball_position().y < self.rectangle.Y() - self.rectangle.HalfH()/2.0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_player_bot.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 |         if (math::is_on_bounds_y(&self.rectangle, self.axis, self.move_limits.x, self.move_limits.y)) {
[INFO] [stdout]    |            ^                                                                                        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 56 -         if (math::is_on_bounds_y(&self.rectangle, self.axis, self.move_limits.x, self.move_limits.y)) {
[INFO] [stdout] 56 +         if math::is_on_bounds_y(&self.rectangle, self.axis, self.move_limits.x, self.move_limits.y) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_player_bot.rs:59:16
[INFO] [stdout]    |
[INFO] [stdout] 59 |             if (self.axis > 0.0) {
[INFO] [stdout]    |                ^               ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 59 -             if (self.axis > 0.0) {
[INFO] [stdout] 59 +             if self.axis > 0.0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_player_bot.rs:64:16
[INFO] [stdout]    |
[INFO] [stdout] 64 |             if (self.axis < 0.0) {
[INFO] [stdout]    |                ^               ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 64 -             if (self.axis < 0.0) {
[INFO] [stdout] 64 +             if self.axis < 0.0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/c_world_context.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |         if (ballPos < 0.0){
[INFO] [stdout]    |            ^             ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 53 -         if (ballPos < 0.0){
[INFO] [stdout] 53 +         if ballPos < 0.0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/UI/c_label_button.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 |         if (self.call){
[INFO] [stdout]    |            ^         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 45 -         if (self.call){
[INFO] [stdout] 45 +         if self.call {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/UI/c_label_button.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 49 |         if (self.hit(input.MousePosition().x, input.MousePosition().y)) {
[INFO] [stdout]    |            ^                                                          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 49 -         if (self.hit(input.MousePosition().x, input.MousePosition().y)) {
[INFO] [stdout] 49 +         if self.hit(input.MousePosition().x, input.MousePosition().y) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/UI/c_label_button.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 |         if (input.MouseIsDown()) {
[INFO] [stdout]    |            ^                   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 59 -         if (input.MouseIsDown()) {
[INFO] [stdout] 59 +         if input.MouseIsDown() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/UI/c_label_button.rs:60:15
[INFO] [stdout]    |
[INFO] [stdout] 60 |             if(!self.is_down){
[INFO] [stdout]    |               ^             ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 60 -             if(!self.is_down){
[INFO] [stdout] 60 +             if !self.is_down {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/UI/c_label_button.rs:63:18
[INFO] [stdout]    |
[INFO] [stdout] 63 |         }else if (self.is_down){
[INFO] [stdout]    |                  ^            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 63 -         }else if (self.is_down){
[INFO] [stdout] 63 +         }else if self.is_down {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/classes/UI/c_label_button.rs:66:16
[INFO] [stdout]    |
[INFO] [stdout] 66 |             if (self.is_inside) {
[INFO] [stdout]    |                ^              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 66 -             if (self.is_inside) {
[INFO] [stdout] 66 +             if self.is_inside {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/classes/c_audio.rs:28:35
[INFO] [stdout]    |
[INFO] [stdout] 28 |         self.beep(200.0, 80, 0.8);;
[INFO] [stdout]    |                                   ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/classes/c_audio.rs:33:35
[INFO] [stdout]    |
[INFO] [stdout] 33 |         self.beep(500.0, 80, 0.8);;
[INFO] [stdout]    |                                   ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/classes/c_audio.rs:37:35
[INFO] [stdout]    |
[INFO] [stdout] 37 |         self.beep(700.0, 80, 0.8);;
[INFO] [stdout]    |                                   ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/classes/c_audio.rs:41:35
[INFO] [stdout]    |
[INFO] [stdout] 41 |         self.beep(300.0, 80, 0.8);;
[INFO] [stdout]    |                                   ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0583`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0583`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `PONG` (bin "PONG") due to 5 previous errors; 38 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `PONG` (bin "PONG" test) due to 5 previous errors; 38 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "075722bd4f7efe2f966e2f432a06eabec5847841d765ae6151b70377b2ca22b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "075722bd4f7efe2f966e2f432a06eabec5847841d765ae6151b70377b2ca22b5", kill_on_drop: false }`
[INFO] [stdout] 075722bd4f7efe2f966e2f432a06eabec5847841d765ae6151b70377b2ca22b5
