[INFO] cloning repository https://github.com/christopher862-dev/suroi-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/christopher862-dev/suroi-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristopher862-dev%2Fsuroi-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristopher862-dev%2Fsuroi-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa58d7f226227b15a1529b26486804e9939f9fe2 [INFO] checking christopher862-dev/suroi-backend against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristopher862-dev%2Fsuroi-backend" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/christopher862-dev/suroi-backend [INFO] finished tweaking git repo https://github.com/christopher862-dev/suroi-backend [INFO] tweaked toml for git repo https://github.com/christopher862-dev/suroi-backend written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/christopher862-dev/suroi-backend on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/christopher862-dev/suroi-backend 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f92c684d42264769694e4c3355df778d5187ed84189ec472d598624a3149b01d [INFO] running `Command { std: "docker" "start" "-a" "f92c684d42264769694e4c3355df778d5187ed84189ec472d598624a3149b01d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f92c684d42264769694e4c3355df778d5187ed84189ec472d598624a3149b01d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f92c684d42264769694e4c3355df778d5187ed84189ec472d598624a3149b01d", kill_on_drop: false }` [INFO] [stdout] f92c684d42264769694e4c3355df778d5187ed84189ec472d598624a3149b01d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa4b65126f3e89b2f11739e1d4defe57905cd3f920864331c90101dea9d5d6a0 [INFO] running `Command { std: "docker" "start" "-a" "aa4b65126f3e89b2f11739e1d4defe57905cd3f920864331c90101dea9d5d6a0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking suroi_backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `consts` and `self` [INFO] [stdout] --> src/utils/misc.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::ansi_coloring::{self, style_text, consts}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::random::weighted_random` [INFO] [stdout] --> src/utils/misc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::utils::random::weighted_random; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/utils/misc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/utils/misc.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::config::{self, CONFIG}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/utils/misc.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{Local, Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `console_log` [INFO] [stdout] --> src/utils/misc.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! console_log { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `console_warn` [INFO] [stdout] --> src/utils/misc.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | macro_rules! console_warn { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `console_log` and `console_warn` [INFO] [stdout] --> src/utils/misc.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) use {console_log, console_warn}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `phf::phf_map` [INFO] [stdout] --> src/typings.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use phf::phf_map; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `consts` and `self` [INFO] [stdout] --> src/utils/misc.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::ansi_coloring::{self, style_text, consts}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::random::weighted_random` [INFO] [stdout] --> src/utils/misc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::utils::random::weighted_random; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/utils/misc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/utils/misc.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::config::{self, CONFIG}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/utils/misc.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{Local, Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `console_log` [INFO] [stdout] --> src/utils/misc.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! console_log { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `console_warn` [INFO] [stdout] --> src/utils/misc.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | macro_rules! console_warn { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `console_log` and `console_warn` [INFO] [stdout] --> src/utils/misc.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) use {console_log, console_warn}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `phf::phf_map` [INFO] [stdout] --> src/typings.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use phf::phf_map; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/utils/hitbox.rs:316:29 [INFO] [stdout] | [INFO] [stdout] 316 | fn collides_with(&self, other: &Hitbox) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/utils/hitbox.rs:320:37 [INFO] [stdout] | [INFO] [stdout] 320 | fn resolve_collision(&mut self, other: &mut Hitbox) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/utils/hitbox.rs:324:27 [INFO] [stdout] | [INFO] [stdout] 324 | fn distance_to(&self, other: &Hitbox) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/utils/hitbox.rs:328:25 [INFO] [stdout] | [INFO] [stdout] 328 | fn transform(&self, pos: Vec2D, scale: Option, orientation: Option) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/utils/hitbox.rs:328:37 [INFO] [stdout] | [INFO] [stdout] 328 | fn transform(&self, pos: Vec2D, scale: Option, orientation: Option) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/utils/hitbox.rs:328:57 [INFO] [stdout] | [INFO] [stdout] 328 | fn transform(&self, pos: Vec2D, scale: Option, orientation: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/utils/hitbox.rs:332:25 [INFO] [stdout] | [INFO] [stdout] 332 | fn scale(&mut self, scale: f64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/utils/hitbox.rs:336:31 [INFO] [stdout] | [INFO] [stdout] 336 | fn intersects_line(&self, a: Vec2D, b: Vec2D) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/utils/hitbox.rs:336:41 [INFO] [stdout] | [INFO] [stdout] 336 | fn intersects_line(&self, a: Vec2D, b: Vec2D) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/utils/hitbox.rs:348:29 [INFO] [stdout] | [INFO] [stdout] 348 | fn is_vec_inside(&self, vec: Vec2D) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/utils/hitbox.rs:356:31 [INFO] [stdout] | [INFO] [stdout] 356 | fn panic_unknown_subclass(other: &Hitbox) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/utils/suroi_bitstream.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | for i in 0..self.read_bits(bit_count) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/utils/suroi_bitstream.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | for i in 0..length { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GameObject` is more private than the item `ObjectPool::get_category` [INFO] [stdout] --> src/utils/object_pool.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_category(&mut self, key: ObjectCategory) -> &mut HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ObjectPool::get_category` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GameObject` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/utils/object_pool.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct GameObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GameObject` is more private than the item `ObjectPool::add` [INFO] [stdout] --> src/utils/object_pool.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn add(&mut self, object: GameObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ObjectPool::add` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GameObject` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/utils/object_pool.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct GameObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GameObject` is more private than the item `ObjectPool::delete` [INFO] [stdout] --> src/utils/object_pool.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn delete(&mut self, object: GameObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ObjectPool::delete` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GameObject` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/utils/object_pool.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct GameObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GameObject` is more private than the item `ObjectPool::has` [INFO] [stdout] --> src/utils/object_pool.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn has(&self, object: GameObject) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ObjectPool::has` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GameObject` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/utils/object_pool.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct GameObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GameObject` is more private than the item `ObjectPool::category_has` [INFO] [stdout] --> src/utils/object_pool.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn category_has(&mut self, object: GameObject) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ObjectPool::category_has` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GameObject` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/utils/object_pool.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct GameObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GameObject` is more private than the item `ObjectPool::get` [INFO] [stdout] --> src/utils/object_pool.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get(&mut self, id: u64) -> Option<&mut GameObject> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ObjectPool::get` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GameObject` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/utils/object_pool.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct GameObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GameObject` is more private than the item `ObjectPool::iter` [INFO] [stdout] --> src/utils/object_pool.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn iter(&self) -> std::collections::hash_map::Values<'_, u64, GameObject> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ObjectPool::iter` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GameObject` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/utils/object_pool.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct GameObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CollisionRecord` is never constructed [INFO] [stdout] --> src/utils/math.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CollisionRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CollisionResponse` is never constructed [INFO] [stdout] --> src/utils/math.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct CollisionResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IntersectionResponse` is never constructed [INFO] [stdout] --> src/utils/math.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct IntersectionResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sign` is never used [INFO] [stdout] --> src/utils/math.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_sign(number: f64, inverse: bool /* <- wtf?? */) -> i8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_orientations` is never used [INFO] [stdout] --> src/utils/math.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn add_orientations(n1: f64, n2: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `abs_mod` is never used [INFO] [stdout] --> src/utils/math.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn abs_mod(a: f64, n: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lerp` is never used [INFO] [stdout] --> src/utils/math.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn lerp(start: f64, end: f64, interp_factor: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp` is never used [INFO] [stdout] --> src/utils/math.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn clamp(value: f64, min: f64, max: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remap` is never used [INFO] [stdout] --> src/utils/math.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn remap(value: f64, min0: f64, max0: f64, min1: f64, max1: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `between_points` is never used [INFO] [stdout] --> src/utils/math.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn between_points(a: &Vec2D, b: &Vec2D) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize` is never used [INFO] [stdout] --> src/utils/math.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn normalize(radians: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minimize` is never used [INFO] [stdout] --> src/utils/math.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn minimize(start: f64, end: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deg_to_rad` is never used [INFO] [stdout] --> src/utils/math.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn deg_to_rad(degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rad_to_deg` is never used [INFO] [stdout] --> src/utils/math.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn rad_to_deg(radians: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `orientation_to_rotation` is never used [INFO] [stdout] --> src/utils/math.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn orientation_to_rotation(orientation: Orientation) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Circle` is never constructed [INFO] [stdout] --> src/utils/math.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct Circle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/utils/math.rs:143:16 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `translate`, `scale`, `rotate_90`, and `transform` are never used [INFO] [stdout] --> src/utils/math.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 148 | impl Rectangle { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn translate(&mut self, pos: Vec2D) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn scale(&mut self, scale: f64) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn rotate_90(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn transform(&mut self, pos: Vec2D, scale: f64, orientation: Orientation) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance` is never used [INFO] [stdout] --> src/utils/math.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn distance(a: Vec2D, b: Vec2D) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance_squared` is never used [INFO] [stdout] --> src/utils/math.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn distance_squared(a: Vec2D, b: Vec2D) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `signed_tri_area` is never used [INFO] [stdout] --> src/utils/math.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn signed_tri_area(a: Vec2D, b: Vec2D, c: Vec2D) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `circles` is never used [INFO] [stdout] --> src/utils/math.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn circles( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rect_circle` is never used [INFO] [stdout] --> src/utils/math.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn rect_circle( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_line` is never used [INFO] [stdout] --> src/utils/math.rs:291:12 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn line_line(start1: Vec2D, end1: Vec2D, start2: Vec2D, end2: Vec2D) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_circle` is never used [INFO] [stdout] --> src/utils/math.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn line_circle( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_rect` is never used [INFO] [stdout] --> src/utils/math.rs:354:12 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn line_rect( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_rect_test` is never used [INFO] [stdout] --> src/utils/math.rs:424:12 [INFO] [stdout] | [INFO] [stdout] 424 | pub fn line_rect_test(start_point: Vec2D, end_point: Vec2D, min: Vec2D, max: Vec2D) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rects` is never used [INFO] [stdout] --> src/utils/math.rs:474:12 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn rects(min0: Vec2D, max0: Vec2D, min1: Vec2D, max1: Vec2D) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ray_line` is never used [INFO] [stdout] --> src/utils/math.rs:498:12 [INFO] [stdout] | [INFO] [stdout] 498 | pub fn ray_line(origin: Vec2D, dir: Vec2D, start: Vec2D, end: Vec2D) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ray_polygon` is never used [INFO] [stdout] --> src/utils/math.rs:517:12 [INFO] [stdout] | [INFO] [stdout] 517 | pub fn ray_polygon(origin: Vec2D, dir: Vec2D, polygon: &[Vec2D]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_circles` is never used [INFO] [stdout] --> src/utils/math.rs:658:12 [INFO] [stdout] | [INFO] [stdout] 658 | pub fn check_circles(center_a: Vec2D, radius_a: f64, center_b: Vec2D, radius_b: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_rect_circle` is never used [INFO] [stdout] --> src/utils/math.rs:676:12 [INFO] [stdout] | [INFO] [stdout] 676 | pub fn check_rect_circle(min: Vec2D, max: Vec2D, pos: Vec2D, rad: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_rects` is never used [INFO] [stdout] --> src/utils/math.rs:700:12 [INFO] [stdout] | [INFO] [stdout] 700 | pub fn check_rects(min_a: Vec2D, max_a: Vec2D, min_b: Vec2D, max_b: Vec2D) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `circles` is never used [INFO] [stdout] --> src/utils/math.rs:561:16 [INFO] [stdout] | [INFO] [stdout] 561 | pub fn circles( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `circle_rect` is never used [INFO] [stdout] --> src/utils/math.rs:590:16 [INFO] [stdout] | [INFO] [stdout] 590 | pub fn circle_rect( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rects` is never used [INFO] [stdout] --> src/utils/math.rs:618:16 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn rects(min1: Vec2D, max1: Vec2D, min2: Vec2D, max2: Vec2D) -> CollisionRecord { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_line` is never used [INFO] [stdout] --> src/utils/math.rs:636:16 [INFO] [stdout] | [INFO] [stdout] 636 | pub fn to_line(p: Vec2D, start: Vec2D, end: Vec2D) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linear` is never used [INFO] [stdout] --> src/utils/math.rs:708:12 [INFO] [stdout] | [INFO] [stdout] 708 | pub fn linear(t: f64) -> f64 { t } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_in` is never used [INFO] [stdout] --> src/utils/math.rs:710:12 [INFO] [stdout] | [INFO] [stdout] 710 | pub fn sine_in(t: f64) -> f64 { 1.0 - (HALF_PI * t).cos() } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_out` is never used [INFO] [stdout] --> src/utils/math.rs:711:12 [INFO] [stdout] | [INFO] [stdout] 711 | pub fn sine_out(t: f64) -> f64 { (HALF_PI * t).sin() } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_in_out` is never used [INFO] [stdout] --> src/utils/math.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 712 | pub fn sine_in_out(t: f64) -> f64 { 0.5 * (1.0 - (PI * t).cos()) } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `circ_in` is never used [INFO] [stdout] --> src/utils/math.rs:714:12 [INFO] [stdout] | [INFO] [stdout] 714 | pub fn circ_in(t: f64) -> f64 { 1.0 - (1.0 - (t * t)).sqrt() } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `circ_out` is never used [INFO] [stdout] --> src/utils/math.rs:715:12 [INFO] [stdout] | [INFO] [stdout] 715 | pub fn circ_out(t: f64) -> f64 { (1.0 - (t - 1.0).powi(2)).sqrt() } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `circ_in_out` is never used [INFO] [stdout] --> src/utils/math.rs:716:12 [INFO] [stdout] | [INFO] [stdout] 716 | pub fn circ_in_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elastic_in` is never used [INFO] [stdout] --> src/utils/math.rs:724:12 [INFO] [stdout] | [INFO] [stdout] 724 | pub fn elastic_in(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elastic_out` is never used [INFO] [stdout] --> src/utils/math.rs:731:12 [INFO] [stdout] | [INFO] [stdout] 731 | pub fn elastic_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elastic_in_out` is never used [INFO] [stdout] --> src/utils/math.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn elastic_in_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elastic_out_2` is never used [INFO] [stdout] --> src/utils/math.rs:750:12 [INFO] [stdout] | [INFO] [stdout] 750 | pub fn elastic_out_2(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quadratic_in` is never used [INFO] [stdout] --> src/utils/math.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn quadratic_in(t: f64) -> f64 { t.powi(2) } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quadratic_out` is never used [INFO] [stdout] --> src/utils/math.rs:755:12 [INFO] [stdout] | [INFO] [stdout] 755 | pub fn quadratic_out(t: f64) -> f64 { 1.0 - (1.0 - t).powi(2) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quadratic_in_out` is never used [INFO] [stdout] --> src/utils/math.rs:756:12 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn quadratic_in_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cubic_in` is never used [INFO] [stdout] --> src/utils/math.rs:764:12 [INFO] [stdout] | [INFO] [stdout] 764 | pub fn cubic_in(t: f64) -> f64 { t.powi(3) } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cubic_out` is never used [INFO] [stdout] --> src/utils/math.rs:765:12 [INFO] [stdout] | [INFO] [stdout] 765 | pub fn cubic_out(t: f64) -> f64 { 1.0 - (1.0 - t).powi(3) } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cubic_in_out` is never used [INFO] [stdout] --> src/utils/math.rs:766:12 [INFO] [stdout] | [INFO] [stdout] 766 | pub fn cubic_in_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quartic_in` is never used [INFO] [stdout] --> src/utils/math.rs:774:12 [INFO] [stdout] | [INFO] [stdout] 774 | pub fn quartic_in(t: f64) -> f64 { t.powi(4) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quartic_out` is never used [INFO] [stdout] --> src/utils/math.rs:775:12 [INFO] [stdout] | [INFO] [stdout] 775 | pub fn quartic_out(t: f64) -> f64 { 1.0 - (1.0 - t).powi(4) } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quartic_in_out` is never used [INFO] [stdout] --> src/utils/math.rs:776:12 [INFO] [stdout] | [INFO] [stdout] 776 | pub fn quartic_in_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quintic_in` is never used [INFO] [stdout] --> src/utils/math.rs:784:12 [INFO] [stdout] | [INFO] [stdout] 784 | pub fn quintic_in(t: f64) -> f64 { t.powi(5) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quintic_out` is never used [INFO] [stdout] --> src/utils/math.rs:785:12 [INFO] [stdout] | [INFO] [stdout] 785 | pub fn quintic_out(t: f64) -> f64 { 1.0 - (1.0 - t).powi(5) } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quintic_in_out` is never used [INFO] [stdout] --> src/utils/math.rs:786:12 [INFO] [stdout] | [INFO] [stdout] 786 | pub fn quintic_in_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sextic_in` is never used [INFO] [stdout] --> src/utils/math.rs:794:12 [INFO] [stdout] | [INFO] [stdout] 794 | pub fn sextic_in(t: f64) -> f64 { t.powi(6) } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sextic_out` is never used [INFO] [stdout] --> src/utils/math.rs:795:12 [INFO] [stdout] | [INFO] [stdout] 795 | pub fn sextic_out(t: f64) -> f64 { 1.0 - (1.0 - t).powi(6) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sextic_in_out` is never used [INFO] [stdout] --> src/utils/math.rs:796:12 [INFO] [stdout] | [INFO] [stdout] 796 | pub fn sextic_in_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expo_in` is never used [INFO] [stdout] --> src/utils/math.rs:804:12 [INFO] [stdout] | [INFO] [stdout] 804 | pub fn expo_in(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expo_out` is never used [INFO] [stdout] --> src/utils/math.rs:811:12 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn expo_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expo_in_out` is never used [INFO] [stdout] --> src/utils/math.rs:818:12 [INFO] [stdout] | [INFO] [stdout] 818 | pub fn expo_in_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `back_in` is never used [INFO] [stdout] --> src/utils/math.rs:828:12 [INFO] [stdout] | [INFO] [stdout] 828 | pub fn back_in(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `back_out` is never used [INFO] [stdout] --> src/utils/math.rs:831:12 [INFO] [stdout] | [INFO] [stdout] 831 | pub fn back_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `back_in_out` is never used [INFO] [stdout] --> src/utils/math.rs:834:12 [INFO] [stdout] | [INFO] [stdout] 834 | pub fn back_in_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `weighted_random` is never used [INFO] [stdout] --> src/utils/random.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn weighted_random<'a, T>(items: &'a [T], weights: &[f64]) -> &'a T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_float` is never used [INFO] [stdout] --> src/utils/random.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn random_float(min: f64, max: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random` is never used [INFO] [stdout] --> src/utils/random.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn random(min: T, max: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_bool` is never used [INFO] [stdout] --> src/utils/random.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn rand_bool(probability: Option) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_sign` is never used [INFO] [stdout] --> src/utils/random.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn rand_sign() -> i8 { //IMPLEMENT ONE BIT TYPE LET'S GOOO [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_vec2D` is never used [INFO] [stdout] --> src/utils/random.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn rand_vec2D(min_x: f64, max_x: f64, min_y: f64, max_y: f64) -> Vec2D { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_rotation` is never used [INFO] [stdout] --> src/utils/random.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn rand_rotation() -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_point_in_circle` is never used [INFO] [stdout] --> src/utils/random.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn random_point_in_circle(pos: Vec2D, min_radius: Option, max_radius: f64 ) -> Vec2D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec2D` is never constructed [INFO] [stdout] --> src/utils/vectors.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Vec2D { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/utils/vectors.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl Vec2D { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 71 | pub fn new(x: f64, y: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn scale(self, scalar: f64) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn clone(self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn rotate(self, angle: f64) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn squared_length(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn length(self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn direction(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn angle(self, vec2: Vec2D) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn lerp(self, end: Vec2D, interp_factor: f64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn project(self, vec2: Vec2D) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn normalize(self, fallback: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn equals(self, vec2: Vec2D, epsilon: Option) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn from_polar(angle: f64, magnitude: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn add_adjust(self, pos2: Vec2D, orientation: Orientation) -> Vec2D { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Hitbox` is never used [INFO] [stdout] --> src/utils/hitbox.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Hitbox { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Collidable` is never used [INFO] [stdout] --> src/utils/hitbox.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Collidable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CircleHitbox` is never constructed [INFO] [stdout] --> src/utils/hitbox.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct CircleHitbox { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RectangleHitbox` is never constructed [INFO] [stdout] --> src/utils/hitbox.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct RectangleHitbox { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_line` and `from_rect` are never used [INFO] [stdout] --> src/utils/hitbox.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 159 | impl RectangleHitbox { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 160 | pub fn from_line(a: Vec2D, b: Vec2D) -> RectangleHitbox { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn from_rect(width: f64, height: f64, center: Option) -> RectangleHitbox { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PolygonHitbox` is never constructed [INFO] [stdout] --> src/utils/hitbox.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 309 | pub struct PolygonHitbox {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GroupHitbox` is never constructed [INFO] [stdout] --> src/utils/hitbox.rs:362:12 [INFO] [stdout] | [INFO] [stdout] 362 | pub struct GroupHitbox { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils/hitbox.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 367 | impl GroupHitbox { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 368 | pub fn new(hitboxes: Vec) -> GroupHitbox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameObject` is never constructed [INFO] [stdout] --> src/utils/object_pool.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct GameObject { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjectPool` is never constructed [INFO] [stdout] --> src/utils/object_pool.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ObjectPool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/utils/object_pool.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl ObjectPool { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 17 | pub fn get_category(&mut self, key: ObjectCategory) -> &mut HashSet { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn add(&mut self, object: GameObject) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn delete(&mut self, object: GameObject) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn has(&self, object: GameObject) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn category_has(&mut self, object: GameObject) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get(&mut self, id: u64) -> Option<&mut GameObject> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn has_id(&self, id: u64) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn iter(&self) -> std::collections::hash_map::Values<'_, u64, GameObject> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitStream` is never constructed [INFO] [stdout] --> src/utils/bitstream.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct BitStream { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_index`, and `set_endianness` are never used [INFO] [stdout] --> src/utils/bitstream.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl BitStream { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn new(length: usize) -> BitStream { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn set_index(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn set_endianness(&mut self, endianness: Endianness) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Stream` is never used [INFO] [stdout] --> src/utils/bitstream.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait Stream { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Endianness` is never used [INFO] [stdout] --> src/utils/bitstream.rs:472:10 [INFO] [stdout] | [INFO] [stdout] 472 | pub enum Endianness { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OBJECT_CATEGORY_BITS` is never used [INFO] [stdout] --> src/utils/suroi_bitstream.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const OBJECT_CATEGORY_BITS: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OBJECT_ID_BITS` is never used [INFO] [stdout] --> src/utils/suroi_bitstream.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const OBJECT_ID_BITS: usize = 13; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_OBJECT_SCALE` is never used [INFO] [stdout] --> src/utils/suroi_bitstream.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const MIN_OBJECT_SCALE: f64 = 0.25; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_OBJECT_SCALE` is never used [INFO] [stdout] --> src/utils/suroi_bitstream.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const MAX_OBJECT_SCALE: f64 = 3.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VARIATION_BITS` is never used [INFO] [stdout] --> src/utils/suroi_bitstream.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const VARIATION_BITS: usize = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SuroiBitStream` is never constructed [INFO] [stdout] --> src/utils/suroi_bitstream.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SuroiBitStream { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils/suroi_bitstream.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl SuroiBitStream { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 23 | #[inline(always)] [INFO] [stdout] 24 | pub fn new(bytes: usize) -> SuroiBitStream { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/utils/suroi_bitstream.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl SuroiBitStream { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 71 | pub fn write_float(&mut self, value: f64, min: f64, max: f64, bit_count: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn read_float(&mut self, min: f64, max: f64, bit_count: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn write_vector( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn read_vector( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn write_object_id(&mut self, id: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn read_object_id(&mut self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn write_position(&mut self, vec: Vec2D) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn read_position(&mut self) -> Vec2D { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn write_rotation(&mut self, angle: f64, bit_count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn read_rotation(&mut self, bit_count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn write_scale(&mut self, angle: f64, bit_count: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn read_scale(&mut self, bit_count: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn write_variation(&mut self, variation: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn read_variation(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn write_player_name(&mut self, name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn read_player_name(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn write_array( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn read_array<'a, T>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn read_and_create_array( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn write_align_to_next_byte(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn read_align_to_next_byte(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DecimalSerializer` is never constructed [INFO] [stdout] --> src/utils/decimal.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct DecimalSerializer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/utils/decimal.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl DecimalSerializer { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 109 | /// Creates a new signed DecimalSerializer [INFO] [stdout] 110 | pub fn new(bits: u8, exponent_bits: u8) -> DecimalSerializer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn new_unsigned(bits: u8, exponent_bits: u8) -> DecimalSerializer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn new_sign(bits: u8, exponent_bits: u8, signed: bool) -> DecimalSerializer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn bits(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn encode_ieee>(&self, value: T) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn decode_ieee>(&self, value: T) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | fn to_inverse_binary(mut value: f64, mut bits: u8) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_string` is never used [INFO] [stdout] --> src/utils/string_utils.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn read_string(stream: &mut (impl Stream + ?Sized), bytes: Option) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_to_byte_array` is never used [INFO] [stdout] --> src/utils/string_utils.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn string_to_byte_array(string: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_utf8_string` is never used [INFO] [stdout] --> src/utils/string_utils.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn write_utf8_string(stream: &mut (impl Stream + ?Sized), string: &str, bytes: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_utf8_string` is never used [INFO] [stdout] --> src/utils/string_utils.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn read_utf8_string(stream: &mut (impl Stream + ?Sized), bytes: Option) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_ascii_string` is never used [INFO] [stdout] --> src/utils/string_utils.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn write_ascii_string(stream: &mut (impl Stream + ?Sized), string: &str, bytes: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_ascii_string` is never used [INFO] [stdout] --> src/utils/string_utils.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn read_ascii_string(stream: &mut (impl Stream + ?Sized), bytes: Option) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `internal_log` is never used [INFO] [stdout] --> src/utils/misc.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn internal_log(message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drag_const` is never used [INFO] [stdout] --> src/utils/misc.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn drag_const(aggressiveness: f32, base: Option) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_from` is never used [INFO] [stdout] --> src/utils/misc.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn remove_from(list: &mut Vec, value: T) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CARDINAL_DIRECTIONS` is never used [INFO] [stdout] --> src/utils/misc.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub const CARDINAL_DIRECTIONS: [f64; 4] = [0.0, HALF_PI, PI, 1.5 * PI]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColorData` is never constructed [INFO] [stdout] --> src/utils/ansi_coloring.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ColorData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Colors` is never constructed [INFO] [stdout] --> src/utils/ansi_coloring.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Colors { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColorStyles` is never constructed [INFO] [stdout] --> src/utils/ansi_coloring.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ColorStyles { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FontStyles` is never constructed [INFO] [stdout] --> src/utils/ansi_coloring.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct FontStyles { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_STYLES` is never used [INFO] [stdout] --> src/utils/ansi_coloring.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub const COLOR_STYLES: ColorStyles = ColorStyles { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FONT_STYLES` is never used [INFO] [stdout] --> src/utils/ansi_coloring.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | pub const FONT_STYLES: FontStyles = FontStyles { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CSI` is never used [INFO] [stdout] --> src/utils/ansi_coloring.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | pub const CSI: char = '\u{001b}'; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `style_text` is never used [INFO] [stdout] --> src/utils/ansi_coloring.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn style_text(string: &str, styles: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DATETIME_STYLE` is never used [INFO] [stdout] --> src/utils/ansi_coloring.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | pub const DATETIME_STYLE: u8 = COLOR_STYLES.foreground.green.bright; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WARN_STYLE` is never used [INFO] [stdout] --> src/utils/ansi_coloring.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 97 | pub const WARN_STYLE: u8 = COLOR_STYLES.foreground.yellow.normal; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Orientation` is never used [INFO] [stdout] --> src/typings.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Orientation { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_angle` is never used [INFO] [stdout] --> src/typings.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Orientation { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 31 | pub fn to_angle(self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Variant` is never used [INFO] [stdout] --> src/typings.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum Variant { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GameRejectType` is never used [INFO] [stdout] --> src/typings.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum GameRejectType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GameResponse` is never used [INFO] [stdout] --> src/typings.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum GameResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomTeamPlayerInfo` is never constructed [INFO] [stdout] --> src/typings.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct CustomTeamPlayerInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CustomTeamMessage` is never used [INFO] [stdout] --> src/typings.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | pub enum CustomTeamMessage<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameConstants` is never constructed [INFO] [stdout] --> src/typings.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct GameConstants<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlayerGameConstants` is never constructed [INFO] [stdout] --> src/typings.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct PlayerGameConstants<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AirdropGameConstants` is never constructed [INFO] [stdout] --> src/typings.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct AirdropGameConstants { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SpawnMode` is never used [INFO] [stdout] --> src/typings.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | pub enum SpawnMode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GasMode` is never used [INFO] [stdout] --> src/typings.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 143 | pub enum GasMode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MaxTeamSize` is never used [INFO] [stdout] --> src/typings.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | pub enum MaxTeamSize<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SSLOptions` is never constructed [INFO] [stdout] --> src/typings.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct SSLOptions<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpawnSettings` is never constructed [INFO] [stdout] --> src/typings.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct SpawnSettings { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GasSettings` is never constructed [INFO] [stdout] --> src/typings.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct GasSettings { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaxJoinAttempts` is never constructed [INFO] [stdout] --> src/typings.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub struct MaxJoinAttempts { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Punishments` is never constructed [INFO] [stdout] --> src/typings.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct Punishments<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Protection` is never constructed [INFO] [stdout] --> src/typings.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Protection<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthServer` is never constructed [INFO] [stdout] --> src/typings.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct AuthServer<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Role` is never constructed [INFO] [stdout] --> src/typings.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct Role<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameConfig` is never constructed [INFO] [stdout] --> src/typings.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | pub struct GameConfig<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TeamSize` is never used [INFO] [stdout] --> src/constants.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum TeamSize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ObjectCategory` is never used [INFO] [stdout] --> src/constants.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum ObjectCategory { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AnimationType` is never used [INFO] [stdout] --> src/constants.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum AnimationType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `KillfeedMessageType` is never used [INFO] [stdout] --> src/constants.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum KillfeedMessageType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GasState` is never used [INFO] [stdout] --> src/constants.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum GasState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FireMode` is never used [INFO] [stdout] --> src/constants.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum FireMode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InputActions` is never used [INFO] [stdout] --> src/constants.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum InputActions { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SpectateActions` is never used [INFO] [stdout] --> src/constants.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | pub enum SpectateActions { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PlayerActions` is never used [INFO] [stdout] --> src/constants.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub enum PlayerActions { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `KillfeedEventType` is never used [INFO] [stdout] --> src/constants.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | pub enum KillfeedEventType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `KillfeedEventSeverity` is never used [INFO] [stdout] --> src/constants.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | pub enum KillfeedEventSeverity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GAME_CONSTANTS` is never used [INFO] [stdout] --> src/constants.rs:122:11 [INFO] [stdout] | [INFO] [stdout] 122 | pub const GAME_CONSTANTS: GameConstants = GameConstants { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ZIndexes` is never used [INFO] [stdout] --> src/constants.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | pub enum ZIndexes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONFIG` is never used [INFO] [stdout] --> src/config.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const CONFIG: GameConfig = GameConfig { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/utils/suroi_bitstream.rs:215:10 [INFO] [stdout] | [INFO] [stdout] 215 | &'a mut self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 216 | target: &'a mut Vec, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 219 | ) -> &mut Vec { [INFO] [stdout] | ----------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 219 | ) -> &'a mut Vec { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/utils/hitbox.rs:316:29 [INFO] [stdout] | [INFO] [stdout] 316 | fn collides_with(&self, other: &Hitbox) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/utils/hitbox.rs:320:37 [INFO] [stdout] | [INFO] [stdout] 320 | fn resolve_collision(&mut self, other: &mut Hitbox) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/utils/hitbox.rs:324:27 [INFO] [stdout] | [INFO] [stdout] 324 | fn distance_to(&self, other: &Hitbox) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/utils/hitbox.rs:328:25 [INFO] [stdout] | [INFO] [stdout] 328 | fn transform(&self, pos: Vec2D, scale: Option, orientation: Option) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/utils/hitbox.rs:328:37 [INFO] [stdout] | [INFO] [stdout] 328 | fn transform(&self, pos: Vec2D, scale: Option, orientation: Option) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orientation` [INFO] [stdout] --> src/utils/hitbox.rs:328:57 [INFO] [stdout] | [INFO] [stdout] 328 | fn transform(&self, pos: Vec2D, scale: Option, orientation: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/utils/hitbox.rs:332:25 [INFO] [stdout] | [INFO] [stdout] 332 | fn scale(&mut self, scale: f64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/utils/hitbox.rs:336:31 [INFO] [stdout] | [INFO] [stdout] 336 | fn intersects_line(&self, a: Vec2D, b: Vec2D) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `blinkSlow` should have a snake case name [INFO] [stdout] --> src/utils/ansi_coloring.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub blinkSlow: u8, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `blink_slow` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/utils/hitbox.rs:336:41 [INFO] [stdout] | [INFO] [stdout] 336 | fn intersects_line(&self, a: Vec2D, b: Vec2D) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/utils/hitbox.rs:348:29 [INFO] [stdout] | [INFO] [stdout] 348 | fn is_vec_inside(&self, vec: Vec2D) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/utils/hitbox.rs:356:31 [INFO] [stdout] | [INFO] [stdout] 356 | fn panic_unknown_subclass(other: &Hitbox) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `blinkFast` should have a snake case name [INFO] [stdout] --> src/utils/ansi_coloring.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub blinkFast: u8, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `blink_fast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/utils/suroi_bitstream.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | for i in 0..self.read_bits(bit_count) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/utils/suroi_bitstream.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | for i in 0..length { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GameObject` is more private than the item `ObjectPool::get_category` [INFO] [stdout] --> src/utils/object_pool.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_category(&mut self, key: ObjectCategory) -> &mut HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ObjectPool::get_category` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GameObject` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/utils/object_pool.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct GameObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GameObject` is more private than the item `ObjectPool::add` [INFO] [stdout] --> src/utils/object_pool.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn add(&mut self, object: GameObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ObjectPool::add` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GameObject` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/utils/object_pool.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct GameObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GameObject` is more private than the item `ObjectPool::delete` [INFO] [stdout] --> src/utils/object_pool.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn delete(&mut self, object: GameObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ObjectPool::delete` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GameObject` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/utils/object_pool.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct GameObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GameObject` is more private than the item `ObjectPool::has` [INFO] [stdout] --> src/utils/object_pool.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn has(&self, object: GameObject) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ObjectPool::has` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GameObject` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/utils/object_pool.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct GameObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GameObject` is more private than the item `ObjectPool::category_has` [INFO] [stdout] --> src/utils/object_pool.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn category_has(&mut self, object: GameObject) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ObjectPool::category_has` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GameObject` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/utils/object_pool.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct GameObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GameObject` is more private than the item `ObjectPool::get` [INFO] [stdout] --> src/utils/object_pool.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get(&mut self, id: u64) -> Option<&mut GameObject> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ObjectPool::get` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GameObject` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/utils/object_pool.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct GameObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GameObject` is more private than the item `ObjectPool::iter` [INFO] [stdout] --> src/utils/object_pool.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn iter(&self) -> std::collections::hash_map::Values<'_, u64, GameObject> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ObjectPool::iter` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GameObject` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/utils/object_pool.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct GameObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CollisionRecord` is never constructed [INFO] [stdout] --> src/utils/math.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CollisionRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CollisionResponse` is never constructed [INFO] [stdout] --> src/utils/math.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct CollisionResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IntersectionResponse` is never constructed [INFO] [stdout] --> src/utils/math.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct IntersectionResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sign` is never used [INFO] [stdout] --> src/utils/math.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_sign(number: f64, inverse: bool /* <- wtf?? */) -> i8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_orientations` is never used [INFO] [stdout] --> src/utils/math.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn add_orientations(n1: f64, n2: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `abs_mod` is never used [INFO] [stdout] --> src/utils/math.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn abs_mod(a: f64, n: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lerp` is never used [INFO] [stdout] --> src/utils/math.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn lerp(start: f64, end: f64, interp_factor: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp` is never used [INFO] [stdout] --> src/utils/math.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn clamp(value: f64, min: f64, max: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remap` is never used [INFO] [stdout] --> src/utils/math.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn remap(value: f64, min0: f64, max0: f64, min1: f64, max1: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `between_points` is never used [INFO] [stdout] --> src/utils/math.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn between_points(a: &Vec2D, b: &Vec2D) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize` is never used [INFO] [stdout] --> src/utils/math.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn normalize(radians: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minimize` is never used [INFO] [stdout] --> src/utils/math.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn minimize(start: f64, end: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deg_to_rad` is never used [INFO] [stdout] --> src/utils/math.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn deg_to_rad(degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rad_to_deg` is never used [INFO] [stdout] --> src/utils/math.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn rad_to_deg(radians: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `orientation_to_rotation` is never used [INFO] [stdout] --> src/utils/math.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn orientation_to_rotation(orientation: Orientation) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Circle` is never constructed [INFO] [stdout] --> src/utils/math.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct Circle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> src/utils/math.rs:143:16 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `translate`, `scale`, `rotate_90`, and `transform` are never used [INFO] [stdout] --> src/utils/math.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 148 | impl Rectangle { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn translate(&mut self, pos: Vec2D) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn scale(&mut self, scale: f64) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn rotate_90(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn transform(&mut self, pos: Vec2D, scale: f64, orientation: Orientation) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance` is never used [INFO] [stdout] --> src/utils/math.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn distance(a: Vec2D, b: Vec2D) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance_squared` is never used [INFO] [stdout] --> src/utils/math.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn distance_squared(a: Vec2D, b: Vec2D) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `signed_tri_area` is never used [INFO] [stdout] --> src/utils/math.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn signed_tri_area(a: Vec2D, b: Vec2D, c: Vec2D) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `circles` is never used [INFO] [stdout] --> src/utils/math.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn circles( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rect_circle` is never used [INFO] [stdout] --> src/utils/math.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn rect_circle( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_line` is never used [INFO] [stdout] --> src/utils/math.rs:291:12 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn line_line(start1: Vec2D, end1: Vec2D, start2: Vec2D, end2: Vec2D) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_circle` is never used [INFO] [stdout] --> src/utils/math.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn line_circle( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_rect` is never used [INFO] [stdout] --> src/utils/math.rs:354:12 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn line_rect( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_rect_test` is never used [INFO] [stdout] --> src/utils/math.rs:424:12 [INFO] [stdout] | [INFO] [stdout] 424 | pub fn line_rect_test(start_point: Vec2D, end_point: Vec2D, min: Vec2D, max: Vec2D) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rects` is never used [INFO] [stdout] --> src/utils/math.rs:474:12 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn rects(min0: Vec2D, max0: Vec2D, min1: Vec2D, max1: Vec2D) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ray_line` is never used [INFO] [stdout] --> src/utils/math.rs:498:12 [INFO] [stdout] | [INFO] [stdout] 498 | pub fn ray_line(origin: Vec2D, dir: Vec2D, start: Vec2D, end: Vec2D) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ray_polygon` is never used [INFO] [stdout] --> src/utils/math.rs:517:12 [INFO] [stdout] | [INFO] [stdout] 517 | pub fn ray_polygon(origin: Vec2D, dir: Vec2D, polygon: &[Vec2D]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_circles` is never used [INFO] [stdout] --> src/utils/math.rs:658:12 [INFO] [stdout] | [INFO] [stdout] 658 | pub fn check_circles(center_a: Vec2D, radius_a: f64, center_b: Vec2D, radius_b: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_rect_circle` is never used [INFO] [stdout] --> src/utils/math.rs:676:12 [INFO] [stdout] | [INFO] [stdout] 676 | pub fn check_rect_circle(min: Vec2D, max: Vec2D, pos: Vec2D, rad: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_rects` is never used [INFO] [stdout] --> src/utils/math.rs:700:12 [INFO] [stdout] | [INFO] [stdout] 700 | pub fn check_rects(min_a: Vec2D, max_a: Vec2D, min_b: Vec2D, max_b: Vec2D) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `circles` is never used [INFO] [stdout] --> src/utils/math.rs:561:16 [INFO] [stdout] | [INFO] [stdout] 561 | pub fn circles( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `circle_rect` is never used [INFO] [stdout] --> src/utils/math.rs:590:16 [INFO] [stdout] | [INFO] [stdout] 590 | pub fn circle_rect( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rects` is never used [INFO] [stdout] --> src/utils/math.rs:618:16 [INFO] [stdout] | [INFO] [stdout] 618 | pub fn rects(min1: Vec2D, max1: Vec2D, min2: Vec2D, max2: Vec2D) -> CollisionRecord { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_line` is never used [INFO] [stdout] --> src/utils/math.rs:636:16 [INFO] [stdout] | [INFO] [stdout] 636 | pub fn to_line(p: Vec2D, start: Vec2D, end: Vec2D) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linear` is never used [INFO] [stdout] --> src/utils/math.rs:708:12 [INFO] [stdout] | [INFO] [stdout] 708 | pub fn linear(t: f64) -> f64 { t } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_in` is never used [INFO] [stdout] --> src/utils/math.rs:710:12 [INFO] [stdout] | [INFO] [stdout] 710 | pub fn sine_in(t: f64) -> f64 { 1.0 - (HALF_PI * t).cos() } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_out` is never used [INFO] [stdout] --> src/utils/math.rs:711:12 [INFO] [stdout] | [INFO] [stdout] 711 | pub fn sine_out(t: f64) -> f64 { (HALF_PI * t).sin() } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_in_out` is never used [INFO] [stdout] --> src/utils/math.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 712 | pub fn sine_in_out(t: f64) -> f64 { 0.5 * (1.0 - (PI * t).cos()) } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `circ_in` is never used [INFO] [stdout] --> src/utils/math.rs:714:12 [INFO] [stdout] | [INFO] [stdout] 714 | pub fn circ_in(t: f64) -> f64 { 1.0 - (1.0 - (t * t)).sqrt() } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `circ_out` is never used [INFO] [stdout] --> src/utils/math.rs:715:12 [INFO] [stdout] | [INFO] [stdout] 715 | pub fn circ_out(t: f64) -> f64 { (1.0 - (t - 1.0).powi(2)).sqrt() } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `circ_in_out` is never used [INFO] [stdout] --> src/utils/math.rs:716:12 [INFO] [stdout] | [INFO] [stdout] 716 | pub fn circ_in_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elastic_in` is never used [INFO] [stdout] --> src/utils/math.rs:724:12 [INFO] [stdout] | [INFO] [stdout] 724 | pub fn elastic_in(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elastic_out` is never used [INFO] [stdout] --> src/utils/math.rs:731:12 [INFO] [stdout] | [INFO] [stdout] 731 | pub fn elastic_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elastic_in_out` is never used [INFO] [stdout] --> src/utils/math.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn elastic_in_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `elastic_out_2` is never used [INFO] [stdout] --> src/utils/math.rs:750:12 [INFO] [stdout] | [INFO] [stdout] 750 | pub fn elastic_out_2(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quadratic_in` is never used [INFO] [stdout] --> src/utils/math.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 754 | pub fn quadratic_in(t: f64) -> f64 { t.powi(2) } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quadratic_out` is never used [INFO] [stdout] --> src/utils/math.rs:755:12 [INFO] [stdout] | [INFO] [stdout] 755 | pub fn quadratic_out(t: f64) -> f64 { 1.0 - (1.0 - t).powi(2) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quadratic_in_out` is never used [INFO] [stdout] --> src/utils/math.rs:756:12 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn quadratic_in_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cubic_in` is never used [INFO] [stdout] --> src/utils/math.rs:764:12 [INFO] [stdout] | [INFO] [stdout] 764 | pub fn cubic_in(t: f64) -> f64 { t.powi(3) } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cubic_out` is never used [INFO] [stdout] --> src/utils/math.rs:765:12 [INFO] [stdout] | [INFO] [stdout] 765 | pub fn cubic_out(t: f64) -> f64 { 1.0 - (1.0 - t).powi(3) } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cubic_in_out` is never used [INFO] [stdout] --> src/utils/math.rs:766:12 [INFO] [stdout] | [INFO] [stdout] 766 | pub fn cubic_in_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quartic_in` is never used [INFO] [stdout] --> src/utils/math.rs:774:12 [INFO] [stdout] | [INFO] [stdout] 774 | pub fn quartic_in(t: f64) -> f64 { t.powi(4) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quartic_out` is never used [INFO] [stdout] --> src/utils/math.rs:775:12 [INFO] [stdout] | [INFO] [stdout] 775 | pub fn quartic_out(t: f64) -> f64 { 1.0 - (1.0 - t).powi(4) } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quartic_in_out` is never used [INFO] [stdout] --> src/utils/math.rs:776:12 [INFO] [stdout] | [INFO] [stdout] 776 | pub fn quartic_in_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quintic_in` is never used [INFO] [stdout] --> src/utils/math.rs:784:12 [INFO] [stdout] | [INFO] [stdout] 784 | pub fn quintic_in(t: f64) -> f64 { t.powi(5) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quintic_out` is never used [INFO] [stdout] --> src/utils/math.rs:785:12 [INFO] [stdout] | [INFO] [stdout] 785 | pub fn quintic_out(t: f64) -> f64 { 1.0 - (1.0 - t).powi(5) } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quintic_in_out` is never used [INFO] [stdout] --> src/utils/math.rs:786:12 [INFO] [stdout] | [INFO] [stdout] 786 | pub fn quintic_in_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sextic_in` is never used [INFO] [stdout] --> src/utils/math.rs:794:12 [INFO] [stdout] | [INFO] [stdout] 794 | pub fn sextic_in(t: f64) -> f64 { t.powi(6) } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sextic_out` is never used [INFO] [stdout] --> src/utils/math.rs:795:12 [INFO] [stdout] | [INFO] [stdout] 795 | pub fn sextic_out(t: f64) -> f64 { 1.0 - (1.0 - t).powi(6) } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sextic_in_out` is never used [INFO] [stdout] --> src/utils/math.rs:796:12 [INFO] [stdout] | [INFO] [stdout] 796 | pub fn sextic_in_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expo_in` is never used [INFO] [stdout] --> src/utils/math.rs:804:12 [INFO] [stdout] | [INFO] [stdout] 804 | pub fn expo_in(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expo_out` is never used [INFO] [stdout] --> src/utils/math.rs:811:12 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn expo_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expo_in_out` is never used [INFO] [stdout] --> src/utils/math.rs:818:12 [INFO] [stdout] | [INFO] [stdout] 818 | pub fn expo_in_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `back_in` is never used [INFO] [stdout] --> src/utils/math.rs:828:12 [INFO] [stdout] | [INFO] [stdout] 828 | pub fn back_in(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `back_out` is never used [INFO] [stdout] --> src/utils/math.rs:831:12 [INFO] [stdout] | [INFO] [stdout] 831 | pub fn back_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `back_in_out` is never used [INFO] [stdout] --> src/utils/math.rs:834:12 [INFO] [stdout] | [INFO] [stdout] 834 | pub fn back_in_out(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `weighted_random` is never used [INFO] [stdout] --> src/utils/random.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn weighted_random<'a, T>(items: &'a [T], weights: &[f64]) -> &'a T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_float` is never used [INFO] [stdout] --> src/utils/random.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn random_float(min: f64, max: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random` is never used [INFO] [stdout] --> src/utils/random.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn random(min: T, max: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_bool` is never used [INFO] [stdout] --> src/utils/random.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn rand_bool(probability: Option) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_sign` is never used [INFO] [stdout] --> src/utils/random.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn rand_sign() -> i8 { //IMPLEMENT ONE BIT TYPE LET'S GOOO [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_vec2D` is never used [INFO] [stdout] --> src/utils/random.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn rand_vec2D(min_x: f64, max_x: f64, min_y: f64, max_y: f64) -> Vec2D { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_rotation` is never used [INFO] [stdout] --> src/utils/random.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn rand_rotation() -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_point_in_circle` is never used [INFO] [stdout] --> src/utils/random.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn random_point_in_circle(pos: Vec2D, min_radius: Option, max_radius: f64 ) -> Vec2D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/utils/vectors.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl Vec2D { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn clone(self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn rotate(self, angle: f64) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn squared_length(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn length(self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn direction(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn angle(self, vec2: Vec2D) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn lerp(self, end: Vec2D, interp_factor: f64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn project(self, vec2: Vec2D) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn normalize(self, fallback: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn from_polar(angle: f64, magnitude: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn add_adjust(self, pos2: Vec2D, orientation: Orientation) -> Vec2D { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Hitbox` is never used [INFO] [stdout] --> src/utils/hitbox.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Hitbox { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Collidable` is never used [INFO] [stdout] --> src/utils/hitbox.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Collidable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CircleHitbox` is never constructed [INFO] [stdout] --> src/utils/hitbox.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct CircleHitbox { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RectangleHitbox` is never constructed [INFO] [stdout] --> src/utils/hitbox.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct RectangleHitbox { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_line` and `from_rect` are never used [INFO] [stdout] --> src/utils/hitbox.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 159 | impl RectangleHitbox { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 160 | pub fn from_line(a: Vec2D, b: Vec2D) -> RectangleHitbox { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn from_rect(width: f64, height: f64, center: Option) -> RectangleHitbox { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PolygonHitbox` is never constructed [INFO] [stdout] --> src/utils/hitbox.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 309 | pub struct PolygonHitbox {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GroupHitbox` is never constructed [INFO] [stdout] --> src/utils/hitbox.rs:362:12 [INFO] [stdout] | [INFO] [stdout] 362 | pub struct GroupHitbox { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils/hitbox.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 367 | impl GroupHitbox { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 368 | pub fn new(hitboxes: Vec) -> GroupHitbox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameObject` is never constructed [INFO] [stdout] --> src/utils/object_pool.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct GameObject { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjectPool` is never constructed [INFO] [stdout] --> src/utils/object_pool.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ObjectPool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/utils/object_pool.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl ObjectPool { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 17 | pub fn get_category(&mut self, key: ObjectCategory) -> &mut HashSet { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn add(&mut self, object: GameObject) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn delete(&mut self, object: GameObject) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn has(&self, object: GameObject) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn category_has(&mut self, object: GameObject) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get(&mut self, id: u64) -> Option<&mut GameObject> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn has_id(&self, id: u64) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn iter(&self) -> std::collections::hash_map::Values<'_, u64, GameObject> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitStream` is never constructed [INFO] [stdout] --> src/utils/bitstream.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct BitStream { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_index`, and `set_endianness` are never used [INFO] [stdout] --> src/utils/bitstream.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl BitStream { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn new(length: usize) -> BitStream { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn set_index(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn set_endianness(&mut self, endianness: Endianness) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Stream` is never used [INFO] [stdout] --> src/utils/bitstream.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait Stream { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Endianness` is never used [INFO] [stdout] --> src/utils/bitstream.rs:472:10 [INFO] [stdout] | [INFO] [stdout] 472 | pub enum Endianness { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OBJECT_CATEGORY_BITS` is never used [INFO] [stdout] --> src/utils/suroi_bitstream.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const OBJECT_CATEGORY_BITS: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OBJECT_ID_BITS` is never used [INFO] [stdout] --> src/utils/suroi_bitstream.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const OBJECT_ID_BITS: usize = 13; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_OBJECT_SCALE` is never used [INFO] [stdout] --> src/utils/suroi_bitstream.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const MIN_OBJECT_SCALE: f64 = 0.25; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_OBJECT_SCALE` is never used [INFO] [stdout] --> src/utils/suroi_bitstream.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const MAX_OBJECT_SCALE: f64 = 3.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VARIATION_BITS` is never used [INFO] [stdout] --> src/utils/suroi_bitstream.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const VARIATION_BITS: usize = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SuroiBitStream` is never constructed [INFO] [stdout] --> src/utils/suroi_bitstream.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SuroiBitStream { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils/suroi_bitstream.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl SuroiBitStream { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 23 | #[inline(always)] [INFO] [stdout] 24 | pub fn new(bytes: usize) -> SuroiBitStream { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/utils/suroi_bitstream.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl SuroiBitStream { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 71 | pub fn write_float(&mut self, value: f64, min: f64, max: f64, bit_count: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn read_float(&mut self, min: f64, max: f64, bit_count: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn write_vector( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn read_vector( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn write_object_id(&mut self, id: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn read_object_id(&mut self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn write_position(&mut self, vec: Vec2D) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn read_position(&mut self) -> Vec2D { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn write_rotation(&mut self, angle: f64, bit_count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn read_rotation(&mut self, bit_count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn write_scale(&mut self, angle: f64, bit_count: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn read_scale(&mut self, bit_count: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn write_variation(&mut self, variation: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn read_variation(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn write_player_name(&mut self, name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn read_player_name(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn write_array( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn read_array<'a, T>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn read_and_create_array( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn write_align_to_next_byte(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn read_align_to_next_byte(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DecimalSerializer` is never constructed [INFO] [stdout] --> src/utils/decimal.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct DecimalSerializer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/utils/decimal.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl DecimalSerializer { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 109 | /// Creates a new signed DecimalSerializer [INFO] [stdout] 110 | pub fn new(bits: u8, exponent_bits: u8) -> DecimalSerializer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn new_unsigned(bits: u8, exponent_bits: u8) -> DecimalSerializer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn new_sign(bits: u8, exponent_bits: u8, signed: bool) -> DecimalSerializer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn bits(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn encode_ieee>(&self, value: T) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn decode_ieee>(&self, value: T) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | fn to_inverse_binary(mut value: f64, mut bits: u8) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_string` is never used [INFO] [stdout] --> src/utils/string_utils.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn read_string(stream: &mut (impl Stream + ?Sized), bytes: Option) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_to_byte_array` is never used [INFO] [stdout] --> src/utils/string_utils.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn string_to_byte_array(string: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_utf8_string` is never used [INFO] [stdout] --> src/utils/string_utils.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn write_utf8_string(stream: &mut (impl Stream + ?Sized), string: &str, bytes: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_utf8_string` is never used [INFO] [stdout] --> src/utils/string_utils.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn read_utf8_string(stream: &mut (impl Stream + ?Sized), bytes: Option) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_ascii_string` is never used [INFO] [stdout] --> src/utils/string_utils.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn write_ascii_string(stream: &mut (impl Stream + ?Sized), string: &str, bytes: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_ascii_string` is never used [INFO] [stdout] --> src/utils/string_utils.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn read_ascii_string(stream: &mut (impl Stream + ?Sized), bytes: Option) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `internal_log` is never used [INFO] [stdout] --> src/utils/misc.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn internal_log(message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drag_const` is never used [INFO] [stdout] --> src/utils/misc.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn drag_const(aggressiveness: f32, base: Option) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_from` is never used [INFO] [stdout] --> src/utils/misc.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn remove_from(list: &mut Vec, value: T) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CARDINAL_DIRECTIONS` is never used [INFO] [stdout] --> src/utils/misc.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub const CARDINAL_DIRECTIONS: [f64; 4] = [0.0, HALF_PI, PI, 1.5 * PI]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColorData` is never constructed [INFO] [stdout] --> src/utils/ansi_coloring.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ColorData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Colors` is never constructed [INFO] [stdout] --> src/utils/ansi_coloring.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Colors { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColorStyles` is never constructed [INFO] [stdout] --> src/utils/ansi_coloring.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ColorStyles { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FontStyles` is never constructed [INFO] [stdout] --> src/utils/ansi_coloring.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct FontStyles { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLOR_STYLES` is never used [INFO] [stdout] --> src/utils/ansi_coloring.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub const COLOR_STYLES: ColorStyles = ColorStyles { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FONT_STYLES` is never used [INFO] [stdout] --> src/utils/ansi_coloring.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | pub const FONT_STYLES: FontStyles = FontStyles { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CSI` is never used [INFO] [stdout] --> src/utils/ansi_coloring.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | pub const CSI: char = '\u{001b}'; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `style_text` is never used [INFO] [stdout] --> src/utils/ansi_coloring.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn style_text(string: &str, styles: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DATETIME_STYLE` is never used [INFO] [stdout] --> src/utils/ansi_coloring.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | pub const DATETIME_STYLE: u8 = COLOR_STYLES.foreground.green.bright; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WARN_STYLE` is never used [INFO] [stdout] --> src/utils/ansi_coloring.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 97 | pub const WARN_STYLE: u8 = COLOR_STYLES.foreground.yellow.normal; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Orientation` is never used [INFO] [stdout] --> src/typings.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Orientation { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_angle` is never used [INFO] [stdout] --> src/typings.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Orientation { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 31 | pub fn to_angle(self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Variant` is never used [INFO] [stdout] --> src/typings.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum Variant { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GameRejectType` is never used [INFO] [stdout] --> src/typings.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum GameRejectType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GameResponse` is never used [INFO] [stdout] --> src/typings.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum GameResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomTeamPlayerInfo` is never constructed [INFO] [stdout] --> src/typings.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct CustomTeamPlayerInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CustomTeamMessage` is never used [INFO] [stdout] --> src/typings.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | pub enum CustomTeamMessage<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameConstants` is never constructed [INFO] [stdout] --> src/typings.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct GameConstants<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlayerGameConstants` is never constructed [INFO] [stdout] --> src/typings.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct PlayerGameConstants<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AirdropGameConstants` is never constructed [INFO] [stdout] --> src/typings.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct AirdropGameConstants { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SpawnMode` is never used [INFO] [stdout] --> src/typings.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | pub enum SpawnMode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GasMode` is never used [INFO] [stdout] --> src/typings.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 143 | pub enum GasMode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MaxTeamSize` is never used [INFO] [stdout] --> src/typings.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | pub enum MaxTeamSize<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SSLOptions` is never constructed [INFO] [stdout] --> src/typings.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct SSLOptions<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpawnSettings` is never constructed [INFO] [stdout] --> src/typings.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct SpawnSettings { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GasSettings` is never constructed [INFO] [stdout] --> src/typings.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct GasSettings { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaxJoinAttempts` is never constructed [INFO] [stdout] --> src/typings.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub struct MaxJoinAttempts { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Punishments` is never constructed [INFO] [stdout] --> src/typings.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct Punishments<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Protection` is never constructed [INFO] [stdout] --> src/typings.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Protection<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthServer` is never constructed [INFO] [stdout] --> src/typings.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct AuthServer<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Role` is never constructed [INFO] [stdout] --> src/typings.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct Role<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameConfig` is never constructed [INFO] [stdout] --> src/typings.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | pub struct GameConfig<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TeamSize` is never used [INFO] [stdout] --> src/constants.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum TeamSize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ObjectCategory` is never used [INFO] [stdout] --> src/constants.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum ObjectCategory { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AnimationType` is never used [INFO] [stdout] --> src/constants.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum AnimationType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `KillfeedMessageType` is never used [INFO] [stdout] --> src/constants.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum KillfeedMessageType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GasState` is never used [INFO] [stdout] --> src/constants.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum GasState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FireMode` is never used [INFO] [stdout] --> src/constants.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum FireMode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InputActions` is never used [INFO] [stdout] --> src/constants.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum InputActions { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SpectateActions` is never used [INFO] [stdout] --> src/constants.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | pub enum SpectateActions { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PlayerActions` is never used [INFO] [stdout] --> src/constants.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub enum PlayerActions { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `KillfeedEventType` is never used [INFO] [stdout] --> src/constants.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | pub enum KillfeedEventType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `KillfeedEventSeverity` is never used [INFO] [stdout] --> src/constants.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | pub enum KillfeedEventSeverity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GAME_CONSTANTS` is never used [INFO] [stdout] --> src/constants.rs:122:11 [INFO] [stdout] | [INFO] [stdout] 122 | pub const GAME_CONSTANTS: GameConstants = GameConstants { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ZIndexes` is never used [INFO] [stdout] --> src/constants.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | pub enum ZIndexes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONFIG` is never used [INFO] [stdout] --> src/config.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const CONFIG: GameConfig = GameConfig { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/utils/suroi_bitstream.rs:215:10 [INFO] [stdout] | [INFO] [stdout] 215 | &'a mut self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 216 | target: &'a mut Vec, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 219 | ) -> &mut Vec { [INFO] [stdout] | ----------- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 219 | ) -> &'a mut Vec { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `blinkSlow` should have a snake case name [INFO] [stdout] --> src/utils/ansi_coloring.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub blinkSlow: u8, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `blink_slow` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `blinkFast` should have a snake case name [INFO] [stdout] --> src/utils/ansi_coloring.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub blinkFast: u8, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `blink_fast` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.39s [INFO] running `Command { std: "docker" "inspect" "aa4b65126f3e89b2f11739e1d4defe57905cd3f920864331c90101dea9d5d6a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa4b65126f3e89b2f11739e1d4defe57905cd3f920864331c90101dea9d5d6a0", kill_on_drop: false }` [INFO] [stdout] aa4b65126f3e89b2f11739e1d4defe57905cd3f920864331c90101dea9d5d6a0