[INFO] cloning repository https://github.com/hurshbajaj/IONIC-Loadblncr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hurshbajaj/IONIC-Loadblncr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhurshbajaj%2FIONIC-Loadblncr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhurshbajaj%2FIONIC-Loadblncr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7786f717bda2f66b3f32f49c1ab7dce441ac9395 [INFO] checking hurshbajaj/IONIC-Loadblncr/7786f717bda2f66b3f32f49c1ab7dce441ac9395 against master#4b596bbd847672da87763b76171687d3544863c2 for pr-144544 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhurshbajaj%2FIONIC-Loadblncr" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hurshbajaj/IONIC-Loadblncr [INFO] finished tweaking git repo https://github.com/hurshbajaj/IONIC-Loadblncr [INFO] tweaked toml for git repo https://github.com/hurshbajaj/IONIC-Loadblncr written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hurshbajaj/IONIC-Loadblncr on toolchain 4b596bbd847672da87763b76171687d3544863c2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hurshbajaj/IONIC-Loadblncr 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" "+4b596bbd847672da87763b76171687d3544863c2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded valuable v0.1.1 [INFO] [stderr] Downloaded matchers v0.1.0 [INFO] [stderr] Downloaded urlencoding v2.1.3 [INFO] [stderr] Downloaded prost-derive v0.13.5 [INFO] [stderr] Downloaded indoc v2.0.6 [INFO] [stderr] Downloaded strum_macros v0.26.4 [INFO] [stderr] Downloaded async-trait v0.1.88 [INFO] [stderr] Downloaded tracing-subscriber v0.3.19 [INFO] [stderr] Downloaded redis v0.25.4 [INFO] [stderr] Downloaded dashmap v6.1.0 [INFO] [stderr] Downloaded tokio v1.45.1 [INFO] [stderr] Downloaded color-spantrace v0.3.0 [INFO] [stderr] Downloaded windows-interface v0.59.1 [INFO] [stderr] Downloaded windows-core v0.61.2 [INFO] [stderr] Downloaded windows-implement v0.60.0 [INFO] [stderr] Downloaded iana-time-zone v0.1.63 [INFO] [stderr] Downloaded signal-hook v0.3.18 [INFO] [stderr] Downloaded itertools v0.14.0 [INFO] [stderr] Downloaded chrono v0.4.41 [INFO] [stderr] Downloaded hyper-util v0.1.14 [INFO] [stderr] Downloaded color-eyre v0.6.5 [INFO] [stderr] Downloaded derive_more-impl v2.0.1 [INFO] [stderr] Downloaded tonic v0.12.3 [INFO] [stderr] Downloaded axum v0.7.9 [INFO] [stderr] Downloaded h2 v0.4.10 [INFO] [stderr] Downloaded crossterm v0.29.0 [INFO] [stderr] Downloaded hdrhistogram v7.5.4 [INFO] [stderr] Downloaded cc v1.2.27 [INFO] [stderr] Downloaded console-subscriber v0.4.1 [INFO] [stderr] Downloaded tower v0.4.13 [INFO] [stderr] Downloaded regex-syntax v0.6.29 [INFO] [stderr] Downloaded regex-automata v0.1.10 [INFO] [stderr] Downloaded rustix v1.0.7 [INFO] [stderr] Downloaded derive_more v2.0.1 [INFO] [stderr] Downloaded unicode-width v0.2.0 [INFO] [stderr] Downloaded hashbrown v0.14.5 [INFO] [stderr] Downloaded itertools v0.13.0 [INFO] [stderr] Downloaded prost-types v0.13.5 [INFO] [stderr] Downloaded compact_str v0.8.1 [INFO] [stderr] Downloaded darling_core v0.20.11 [INFO] [stderr] Downloaded humantime v2.2.0 [INFO] [stderr] Downloaded axum-core v0.4.5 [INFO] [stderr] Downloaded thread_local v1.1.9 [INFO] [stderr] Downloaded convert_case v0.7.1 [INFO] [stderr] Downloaded ident_case v1.0.1 [INFO] [stderr] Downloaded strum v0.26.3 [INFO] [stderr] Downloaded sha1_smol v1.0.1 [INFO] [stderr] Downloaded windows-strings v0.4.2 [INFO] [stderr] Downloaded eyre v0.6.12 [INFO] [stderr] Downloaded indenter v0.3.3 [INFO] [stderr] Downloaded prost v0.13.5 [INFO] [stderr] Downloaded document-features v0.2.11 [INFO] [stderr] Downloaded hmac v0.12.1 [INFO] [stderr] Downloaded ratatui v0.29.0 [INFO] [stderr] Downloaded castaway v0.2.3 [INFO] [stderr] Downloaded signal-hook-mio v0.2.4 [INFO] [stderr] Downloaded darling_macro v0.20.11 [INFO] [stderr] Downloaded darling v0.20.11 [INFO] [stderr] Downloaded lru v0.12.5 [INFO] [stderr] Downloaded either v1.15.0 [INFO] [stderr] Downloaded unicode-truncate v1.1.0 [INFO] [stderr] Downloaded owo-colors v4.2.2 [INFO] [stderr] Downloaded tracing-error v0.2.1 [INFO] [stderr] Downloaded console-api v0.8.1 [INFO] [stderr] Downloaded async-stream-impl v0.3.6 [INFO] [stderr] Downloaded async-stream v0.3.6 [INFO] [stderr] Downloaded matchit v0.7.3 [INFO] [stderr] Downloaded hyper-timeout v0.5.2 [INFO] [stderr] Downloaded sharded-slab v0.1.7 [INFO] [stderr] Downloaded hyperlocal v0.8.0 [INFO] [stderr] Downloaded instability v0.3.7 [INFO] [stderr] Downloaded h2 v0.3.26 [INFO] [stderr] Downloaded crossterm v0.28.1 [INFO] [stderr] Downloaded sha256 v1.6.0 [INFO] [stderr] Downloaded tracing-attributes v0.1.30 [INFO] [stderr] Downloaded sha2 v0.10.9 [INFO] [stderr] Downloaded redox_syscall v0.5.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db8c8055fc3565935811b977af9136ed4b61506ad0cbf3961778faf52214e656 [INFO] running `Command { std: "docker" "start" "-a" "db8c8055fc3565935811b977af9136ed4b61506ad0cbf3961778faf52214e656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db8c8055fc3565935811b977af9136ed4b61506ad0cbf3961778faf52214e656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db8c8055fc3565935811b977af9136ed4b61506ad0cbf3961778faf52214e656", kill_on_drop: false }` [INFO] [stdout] db8c8055fc3565935811b977af9136ed4b61506ad0cbf3961778faf52214e656 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4efb7fce5c94e5f3fa62341ad340457a3cdc727c75e1764a75a4eb943aa9946a [INFO] running `Command { std: "docker" "start" "-a" "4efb7fce5c94e5f3fa62341ad340457a3cdc727c75e1764a75a4eb943aa9946a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rustc-demangle v0.1.25 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking prost v0.13.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking prost-types v0.13.5 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking tracing-error v0.2.1 [INFO] [stderr] Checking color-eyre v0.6.5 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking sha256 v1.6.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking redis v0.25.4 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking hyperlocal v0.8.0 [INFO] [stderr] Checking tonic v0.12.3 [INFO] [stderr] Checking console-api v0.8.1 [INFO] [stderr] Checking console-subscriber v0.4.1 [INFO] [stderr] Checking load_balancer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/utils.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::timeline::{self, *}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Load_balance_Verification_Fail` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | Load_balance_Verification_Fail, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadBalanceVerificationFail` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `client_type` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | pub enum client_type{ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ClientType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*` and `self` [INFO] [stdout] --> src/proxies.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::{timeline::{self, *}, CLIclient::{self, *}}; [INFO] [stdout] | ^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/proxies.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::utils::{self, *}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/timeline.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command` and `Stdio` [INFO] [stdout] --> src/timeline.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dashmap::DashMap` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use dashmap::DashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Compression`, `GzDecoder`, and `GzEncoder` [INFO] [stdout] --> src/main.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use flate2::{write::{GzDecoder, GzEncoder}, Compression}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `KeyCode`, and `self` [INFO] [stdout] --> src/main.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | use ratatui::crossterm::event::{self, Event, KeyCode}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sha256` and `digest::typenum::Max` [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use sha2::{digest::typenum::Max, Digest, Sha256}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU16`, `Command`, `Cursor`, `File`, `Ipv4Addr`, `OpenOptions`, `SocketAddrV4`, `TcpListener`, `current`, `f64::MANTISSA_DIGITS`, `iter::from_fn`, `os::raw`, `path::Path`, `self`, `self`, `stderr`, and `str::FromStr` [INFO] [stdout] --> src/main.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | ...::{f64::MANTISSA_DIGITS, fs::{self, File, OpenOptions}, io::{stderr, Cursor, Read, Write}, iter::from_fn, net::{Ipv4Addr, SocketAddrV4, TcpListener}, os::raw, path::Path, process::{Command, Stdio}, str::FromStr, sync::{atomic::{AtomicU16, AtomicU64}, Arc}, thread::{self, current}, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MutexGuard`, `self`, and `timeout` [INFO] [stdout] --> src/main.rs:14:45 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::{io::AsyncReadExt, sync::{Mutex, MutexGuard}, time::{self, timeout}}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Body`, `HeaderName`, `HeaderValue`, `Request`, `Uri`, `body::to_bytes`, and `client::HttpConnector` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | body::to_bytes, client::HttpConnector, header::{HeaderName, HeaderValue}, service::{make_service_fn, service_fn}, Body, Client, Request, Response, Server as HyperServer, Uri [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^ ^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | use anyhow::{self, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `de::Error` [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use serde::{de::Error, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::join_all` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use futures::future::join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UnixConnector` and `Uri as local_uri` [INFO] [stdout] --> src/main.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | use hyperlocal::{UnixClientExt, UnixConnector, Uri as local_uri}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenv::dotenv` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hmac` [INFO] [stdout] --> src/main.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | use hmac::{Hmac, Mac}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Engine as _` and `engine::general_purpose` [INFO] [stdout] --> src/main.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | use base64::{engine::general_purpose, Engine as _}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command`, `Stdio`, and `fmt::format` [INFO] [stdout] --> src/CLIclient.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fmt::format, process::{Command, Stdio}, sync::{atomic::{AtomicU64, Ordering}, Arc}, time::{Duration, Instant}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/CLIclient.rs:402:29 [INFO] [stdout] | [INFO] [stdout] 402 | ... (self.screen + 1) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 402 - (self.screen + 1) [INFO] [stdout] 402 + self.screen + 1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/CLIclient.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 418 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::process::Command as async_cmd` [INFO] [stdout] --> src/CLIclient.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | use tokio::process::Command as async_cmd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicU32` [INFO] [stdout] --> src/main.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | use std::sync::atomic::{AtomicU32, Ordering}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `COOKIE`, `LOCATION`, and `SET_COOKIE` [INFO] [stdout] --> src/main.rs:386:21 [INFO] [stdout] | [INFO] [stdout] 386 | use hyper::header::{SET_COOKIE, LOCATION, COOKIE}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `urlencoding` [INFO] [stdout] --> src/main.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | use urlencoding; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config`, `ErrorTypes`, `IpStruct`, and `RateLimitMap` [INFO] [stdout] --> src/main.rs:389:74 [INFO] [stdout] | [INFO] [stdout] 389 | use crate::{proxies::{health_check_proxy, proxy}, structs::{client_type, Config, ErrorTypes, IpStruct, RateLimitMap, Server, SlidingQuant... [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/utils.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::timeline::{self, *}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Load_balance_Verification_Fail` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | Load_balance_Verification_Fail, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadBalanceVerificationFail` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `client_type` should have an upper camel case name [INFO] [stdout] --> src/structs.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | pub enum client_type{ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ClientType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*` and `self` [INFO] [stdout] --> src/proxies.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::{timeline::{self, *}, CLIclient::{self, *}}; [INFO] [stdout] | ^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/proxies.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::utils::{self, *}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/timeline.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command` and `Stdio` [INFO] [stdout] --> src/timeline.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dashmap::DashMap` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use dashmap::DashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Compression`, `GzDecoder`, and `GzEncoder` [INFO] [stdout] --> src/main.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use flate2::{write::{GzDecoder, GzEncoder}, Compression}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `KeyCode`, and `self` [INFO] [stdout] --> src/main.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | use ratatui::crossterm::event::{self, Event, KeyCode}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sha256` and `digest::typenum::Max` [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use sha2::{digest::typenum::Max, Digest, Sha256}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU16`, `Command`, `Cursor`, `File`, `Ipv4Addr`, `OpenOptions`, `SocketAddrV4`, `TcpListener`, `current`, `f64::MANTISSA_DIGITS`, `iter::from_fn`, `os::raw`, `path::Path`, `self`, `self`, `stderr`, and `str::FromStr` [INFO] [stdout] --> src/main.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | ...::{f64::MANTISSA_DIGITS, fs::{self, File, OpenOptions}, io::{stderr, Cursor, Read, Write}, iter::from_fn, net::{Ipv4Addr, SocketAddrV4, TcpListener}, os::raw, path::Path, process::{Command, Stdio}, str::FromStr, sync::{atomic::{AtomicU16, AtomicU64}, Arc}, thread::{self, current}, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MutexGuard`, `self`, and `timeout` [INFO] [stdout] --> src/main.rs:14:45 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::{io::AsyncReadExt, sync::{Mutex, MutexGuard}, time::{self, timeout}}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Body`, `HeaderName`, `HeaderValue`, `Request`, `Uri`, `body::to_bytes`, and `client::HttpConnector` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | body::to_bytes, client::HttpConnector, header::{HeaderName, HeaderValue}, service::{make_service_fn, service_fn}, Body, Client, Request, Response, Server as HyperServer, Uri [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^ ^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | use anyhow::{self, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `de::Error` [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use serde::{de::Error, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::join_all` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use futures::future::join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UnixConnector` and `Uri as local_uri` [INFO] [stdout] --> src/main.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | use hyperlocal::{UnixClientExt, UnixConnector, Uri as local_uri}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenv::dotenv` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hmac` [INFO] [stdout] --> src/main.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | use hmac::{Hmac, Mac}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Engine as _` and `engine::general_purpose` [INFO] [stdout] --> src/main.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | use base64::{engine::general_purpose, Engine as _}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command`, `Stdio`, and `fmt::format` [INFO] [stdout] --> src/CLIclient.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fmt::format, process::{Command, Stdio}, sync::{atomic::{AtomicU64, Ordering}, Arc}, time::{Duration, Instant}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/CLIclient.rs:402:29 [INFO] [stdout] | [INFO] [stdout] 402 | ... (self.screen + 1) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 402 - (self.screen + 1) [INFO] [stdout] 402 + self.screen + 1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/CLIclient.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 418 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::process::Command as async_cmd` [INFO] [stdout] --> src/CLIclient.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | use tokio::process::Command as async_cmd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicU32` [INFO] [stdout] --> src/main.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | use std::sync::atomic::{AtomicU32, Ordering}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `COOKIE`, `LOCATION`, and `SET_COOKIE` [INFO] [stdout] --> src/main.rs:386:21 [INFO] [stdout] | [INFO] [stdout] 386 | use hyper::header::{SET_COOKIE, LOCATION, COOKIE}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `urlencoding` [INFO] [stdout] --> src/main.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | use urlencoding; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config`, `ErrorTypes`, `IpStruct`, and `RateLimitMap` [INFO] [stdout] --> src/main.rs:389:74 [INFO] [stdout] | [INFO] [stdout] 389 | use crate::{proxies::{health_check_proxy, proxy}, structs::{client_type, Config, ErrorTypes, IpStruct, RateLimitMap, Server, SlidingQuant... [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `redis::aio::Connection`: aio::Connection is deprecated. Use aio::MultiplexedConnection instead. [INFO] [stdout] --> src/proxies.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | redis_conn: Arc>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `redis::aio::Connection`: aio::Connection is deprecated. Use aio::MultiplexedConnection instead. [INFO] [stdout] --> src/proxies.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | redis_conn: Arc>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dos_threshhold` [INFO] [stdout] --> src/proxies.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | dos_threshhold: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dos_threshhold` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/proxies.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | Err(x) => return Err(anyhow::Error::msg(format_error_type(ErrorTypes::Load_balance_Verification_Fail))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proxied_req` is never read [INFO] [stdout] --> src/proxies.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | let mut proxied_req = Request::builder(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/proxies.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 132 | let (ipc, path) = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dos_threshhold` [INFO] [stdout] --> src/proxies.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | dos_threshhold: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dos_threshhold` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/proxies.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | Err(x) => return Err(anyhow::Error::msg(format_error_type(ErrorTypes::Load_balance_Verification_Fail))) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `proxied_req` is never read [INFO] [stdout] --> src/proxies.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | let mut proxied_req = Request::builder(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/proxies.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 132 | let (ipc, path) = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/proxies.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let mut cache_req: Request; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/proxies.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let mut timeout_result; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/proxies.rs:193:20 [INFO] [stdout] | [INFO] [stdout] 193 | Ok(mut response) => { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/proxies.rs:205:29 [INFO] [stdout] | [INFO] [stdout] 205 | let mut cg = CONFIG.lock().await; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `req` is never read [INFO] [stdout] --> src/proxies.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | let mut req = Request::builder().body(Body::empty()).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/proxies.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let mut cache_req: Request; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/proxies.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let mut timeout_result; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/proxies.rs:193:20 [INFO] [stdout] | [INFO] [stdout] 193 | Ok(mut response) => { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/proxies.rs:205:29 [INFO] [stdout] | [INFO] [stdout] 205 | let mut cg = CONFIG.lock().await; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/proxies.rs:409:19 [INFO] [stdout] | [INFO] [stdout] 409 | let (servers, mut at_idx) = { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/timeline.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let mut port; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `req` is never read [INFO] [stdout] --> src/proxies.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | let mut req = Request::builder().body(Body::empty()).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/CLIclient.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | let mut g = rpsc.write().await; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/proxies.rs:409:19 [INFO] [stdout] | [INFO] [stdout] 409 | let (servers, mut at_idx) = { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/timeline.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let mut port; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/CLIclient.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | let mut g = rpsc.write().await; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/CLIclient.rs:447:32 [INFO] [stdout] | [INFO] [stdout] 447 | let naive = NaiveDateTime::from_timestamp_opt(secs, nsecs).expect("Invalid timestamp"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `redis::Client::get_async_connection`: aio::Connection is deprecated. Use client::get_multiplexed_async_connection instead. [INFO] [stdout] --> src/main.rs:147:31 [INFO] [stdout] | [INFO] [stdout] 147 | if let Ok(c) = client.get_async_connection().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> src/CLIclient.rs:9:50 [INFO] [stdout] | [INFO] [stdout] 9 | layout::{Constraint, Layout}, style::{Style, Stylize}, symbols, text::Line, widgets::{Axis, Block, Borders, Chart, Dataset, List, Lis... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::AsyncCommands` [INFO] [stdout] --> src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | use redis::AsyncCommands; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::AsyncCommands` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use redis::AsyncCommands; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/main.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | use sha2::{digest::typenum::Max, Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mac` [INFO] [stdout] --> src/main.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | use hmac::{Hmac, Mac}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:13:91 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{f64::MANTISSA_DIGITS, fs::{self, File, OpenOptions}, io::{stderr, Cursor, Read, Write}, iter::from_fn, net::{Ipv4Addr, SocketAd... [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:13:85 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{f64::MANTISSA_DIGITS, fs::{self, File, OpenOptions}, io::{stderr, Cursor, Read, Write}, iter::from_fn, net::{Ipv4Addr, SocketAd... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/utils.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let port = at_port.load(Ordering::SeqCst).to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/CLIclient.rs:447:32 [INFO] [stdout] | [INFO] [stdout] 447 | let naive = NaiveDateTime::from_timestamp_opt(secs, nsecs).expect("Invalid timestamp"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `redis::Client::get_async_connection`: aio::Connection is deprecated. Use client::get_multiplexed_async_connection instead. [INFO] [stdout] --> src/main.rs:147:31 [INFO] [stdout] | [INFO] [stdout] 147 | if let Ok(c) = client.get_async_connection().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> src/CLIclient.rs:9:50 [INFO] [stdout] | [INFO] [stdout] 9 | layout::{Constraint, Layout}, style::{Style, Stylize}, symbols, text::Line, widgets::{Axis, Block, Borders, Chart, Dataset, List, Lis... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::AsyncCommands` [INFO] [stdout] --> src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | use redis::AsyncCommands; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::AsyncCommands` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use redis::AsyncCommands; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/main.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | use sha2::{digest::typenum::Max, Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mac` [INFO] [stdout] --> src/main.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | use hmac::{Hmac, Mac}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:13:91 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{f64::MANTISSA_DIGITS, fs::{self, File, OpenOptions}, io::{stderr, Cursor, Read, Write}, iter::from_fn, net::{Ipv4Addr, SocketAd... [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:13:85 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{f64::MANTISSA_DIGITS, fs::{self, File, OpenOptions}, io::{stderr, Cursor, Read, Write}, iter::from_fn, net::{Ipv4Addr, SocketAd... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/proxies.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | let now = Instant::now(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/utils.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let port = at_port.load(Ordering::SeqCst).to_string(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/proxies.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | let mut entry = RATE_LIMITS.entry(ip.clone()).or_insert_with(|| AtomicU32::new(0)); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list_logs` [INFO] [stdout] --> src/CLIclient.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | let list_logs = List::new(visible_logs) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_list_logs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clientRun` [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let clientRun = tokio::spawn(async { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clientRun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `redis` [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let redis = tokio::spawn( async { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_redis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/main.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | let ps = tokio::spawn(async { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `healthCheck` [INFO] [stdout] --> src/main.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | let healthCheck = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_healthCheck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/proxies.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | let now = Instant::now(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/proxies.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | let mut entry = RATE_LIMITS.entry(ip.clone()).or_insert_with(|| AtomicU32::new(0)); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:254:37 [INFO] [stdout] | [INFO] [stdout] 254 | ... let mut NewS = cg.servers.last().unwrap().clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:255:37 [INFO] [stdout] | [INFO] [stdout] 255 | ... let mut newS = NewS.lock().await; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:278:37 [INFO] [stdout] | [INFO] [stdout] 278 | ... let mut NewS = cg.servers.last().unwrap().clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:279:37 [INFO] [stdout] | [INFO] [stdout] 279 | ... let mut newS = NewS.lock().await; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list_logs` [INFO] [stdout] --> src/CLIclient.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | let list_logs = List::new(visible_logs) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_list_logs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clientRun` [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let clientRun = tokio::spawn(async { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clientRun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `redis` [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let redis = tokio::spawn( async { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_redis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/main.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | let ps = tokio::spawn(async { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `healthCheck` [INFO] [stdout] --> src/main.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | let healthCheck = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_healthCheck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let mut client; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UpstreamServerFailed` and `DoSsus` are never constructed [INFO] [stdout] --> src/structs.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 120 | pub enum ErrorTypes { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 121 | UpstreamServerFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | DoSsus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorTypes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MaxConcurrent` is never used [INFO] [stdout] --> src/timeline.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub static MaxConcurrent: Lazy = Lazy::new(|| AtomicU64::new(0)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `erase_numbered_confs` is never used [INFO] [stdout] --> src/CLIclient.rs:422:14 [INFO] [stdout] | [INFO] [stdout] 422 | pub async fn erase_numbered_confs(path: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `CLIclient` should have a snake case name [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | mod CLIclient; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `cliclient` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | CLIclient::establish().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = CLIclient::establish().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `clientRun` should have a snake case name [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let clientRun = tokio::spawn(async { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `client_run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | check_startup().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = check_startup().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NewS` should have a snake case name [INFO] [stdout] --> src/main.rs:254:41 [INFO] [stdout] | [INFO] [stdout] 254 | ... let mut NewS = cg.servers.last().unwrap().clone(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `new_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newS` should have a snake case name [INFO] [stdout] --> src/main.rs:255:41 [INFO] [stdout] | [INFO] [stdout] 255 | ... let mut newS = NewS.lock().await; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `new_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `tokio::sync::MutexGuard` that must be used [INFO] [stdout] --> src/main.rs:265:33 [INFO] [stdout] | [INFO] [stdout] 265 | ... cg.servers.last().unwrap().lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if unused the Mutex will immediately unlock [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 265 | let _ = cg.servers.last().unwrap().lock().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NewS` should have a snake case name [INFO] [stdout] --> src/main.rs:278:41 [INFO] [stdout] | [INFO] [stdout] 278 | ... let mut NewS = cg.servers.last().unwrap().clone(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `new_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newS` should have a snake case name [INFO] [stdout] --> src/main.rs:279:41 [INFO] [stdout] | [INFO] [stdout] 279 | ... let mut newS = NewS.lock().await; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `new_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `tokio::sync::MutexGuard` that must be used [INFO] [stdout] --> src/main.rs:289:33 [INFO] [stdout] | [INFO] [stdout] 289 | ... cg.servers.last().unwrap().lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if unused the Mutex will immediately unlock [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 289 | let _ = cg.servers.last().unwrap().lock().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:365:21 [INFO] [stdout] | [INFO] [stdout] 365 | health_check_proxy(client, timeout_dur, srv, path).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 365 | let _ = health_check_proxy(client, timeout_dur, srv, path).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `healthCheck` should have a snake case name [INFO] [stdout] --> src/main.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | let healthCheck = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `health_check` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | fs::remove_file(format!("{}{}.sock", path, at_port.load(Ordering::SeqCst))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 121 | let _ = fs::remove_file(format!("{}{}.sock", path, at_port.load(Ordering::SeqCst))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Method_hash_check` should have a snake case name [INFO] [stdout] --> src/structs.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub Method_hash_check: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `method_hash_check` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Check_out` should have a snake case name [INFO] [stdout] --> src/structs.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | pub Check_out: bool, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `check_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Check_in` should have a snake case name [INFO] [stdout] --> src/structs.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub Check_in: bool, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `check_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hmac` should have a snake case name [INFO] [stdout] --> src/proxies.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let Hmac = req.headers() [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `hmac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/proxies.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let mut X = CLIclient::reqs.write().await; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/proxies.rs:208:28 [INFO] [stdout] | [INFO] [stdout] 208 | if ci - 1 < 0{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused comparison that must be used [INFO] [stdout] --> src/proxies.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | cg.servers[cn].lock().await.is_active == false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 213 | let _ = cg.servers[cn].lock().await.is_active == false; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `updateTARGET` should have a snake case name [INFO] [stdout] --> src/proxies.rs:408:10 [INFO] [stdout] | [INFO] [stdout] 408 | async fn updateTARGET() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `update_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `proc_shutdown` should have an upper case name [INFO] [stdout] --> src/timeline.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub static proc_shutdown: Lazy> = Lazy::new(|| Mutex::new(false)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 17 - pub static proc_shutdown: Lazy> = Lazy::new(|| Mutex::new(false)); [INFO] [stdout] 17 + pub static PROC_SHUTDOWN: Lazy> = Lazy::new(|| Mutex::new(false)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `CONFIG_pre` should have an upper case name [INFO] [stdout] --> src/timeline.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub static CONFIG_pre: Lazy>> = Lazy::new(|| Mutex::new(load_from_file("./config.json"))); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 19 - pub static CONFIG_pre: Lazy>> = Lazy::new(|| Mutex::new(load_from_file("./config.json"))); [INFO] [stdout] 19 + pub static CONFIG_PRE: Lazy>> = Lazy::new(|| Mutex::new(load_from_file("./config.json"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:254:37 [INFO] [stdout] | [INFO] [stdout] 254 | ... let mut NewS = cg.servers.last().unwrap().clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:255:37 [INFO] [stdout] | [INFO] [stdout] 255 | ... let mut newS = NewS.lock().await; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:278:37 [INFO] [stdout] | [INFO] [stdout] 278 | ... let mut NewS = cg.servers.last().unwrap().clone(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:279:37 [INFO] [stdout] | [INFO] [stdout] 279 | ... let mut newS = NewS.lock().await; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `max_res` should have an upper case name [INFO] [stdout] --> src/timeline.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub static max_res: Lazy> = Lazy::new(|| Mutex::new(1u64)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 22 - pub static max_res: Lazy> = Lazy::new(|| Mutex::new(1u64)); [INFO] [stdout] 22 + pub static MAX_RES: Lazy> = Lazy::new(|| Mutex::new(1u64)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `max_res_o` should have an upper case name [INFO] [stdout] --> src/timeline.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub static max_res_o: Lazy = Lazy::new(|| AtomicU64::new(1)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 24 - pub static max_res_o: Lazy = Lazy::new(|| AtomicU64::new(1)); [INFO] [stdout] 24 + pub static MAX_RES_O: Lazy = Lazy::new(|| AtomicU64::new(1)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `max_res_n` should have an upper case name [INFO] [stdout] --> src/timeline.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub static max_res_n: Lazy = Lazy::new(|| AtomicU64::new(1)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 25 - pub static max_res_n: Lazy = Lazy::new(|| AtomicU64::new(1)); [INFO] [stdout] 25 + pub static MAX_RES_N: Lazy = Lazy::new(|| AtomicU64::new(1)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `ban_list` should have an upper case name [INFO] [stdout] --> src/timeline.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub static ban_list: Lazy>> = Lazy::new(|| RwLock::new(vec![])); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 27 - pub static ban_list: Lazy>> = Lazy::new(|| RwLock::new(vec![])); [INFO] [stdout] 27 + pub static BAN_LIST: Lazy>> = Lazy::new(|| RwLock::new(vec![])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `atServerIdx` should have an upper case name [INFO] [stdout] --> src/timeline.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub static atServerIdx: Lazy> = Lazy::new(|| Mutex::new([0u64, 0u64])); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 31 - pub static atServerIdx: Lazy> = Lazy::new(|| Mutex::new([0u64, 0u64])); [INFO] [stdout] 31 + pub static AT_SERVER_IDX: Lazy> = Lazy::new(|| Mutex::new([0u64, 0u64])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `MaxConcurrent` should have an upper case name [INFO] [stdout] --> src/timeline.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub static MaxConcurrent: Lazy = Lazy::new(|| AtomicU64::new(0)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `MAX_CONCURRENT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `at_port` should have an upper case name [INFO] [stdout] --> src/timeline.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub static at_port: Lazy = Lazy::new(|| AtomicU16::new(0)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 39 - pub static at_port: Lazy = Lazy::new(|| AtomicU16::new(0)); [INFO] [stdout] 39 + pub static AT_PORT: Lazy = Lazy::new(|| AtomicU16::new(0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Method_hash_check` should have a snake case name [INFO] [stdout] --> src/timeline.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | Method_hash_check: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `method_hash_check` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Check_in` should have a snake case name [INFO] [stdout] --> src/timeline.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | Check_in: bool, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `check_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Check_out` should have a snake case name [INFO] [stdout] --> src/timeline.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | Check_out: bool, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `check_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `error_token` should have an upper case name [INFO] [stdout] --> src/timeline.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub static error_token: &'static str = "\x1b[31m[ERROR]\x1b[0m"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 132 - pub static error_token: &'static str = "\x1b[31m[ERROR]\x1b[0m"; [INFO] [stdout] 132 + pub static ERROR_TOKEN: &'static str = "\x1b[31m[ERROR]\x1b[0m"; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `reqs` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub static reqs: Lazy>> = Lazy::new(|| Arc::new(RwLock::new(0u64))); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 16 - pub static reqs: Lazy>> = Lazy::new(|| Arc::new(RwLock::new(0u64))); [INFO] [stdout] 16 + pub static REQS: Lazy>> = Lazy::new(|| Arc::new(RwLock::new(0u64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `server_names` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub static server_names: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 18 - pub static server_names: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] 18 + pub static SERVER_NAMES: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `server_rts` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub static server_rts: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 19 - pub static server_rts: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] 19 + pub static SERVER_RTS: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `server_is_actives` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub static server_is_actives: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 20 - pub static server_is_actives: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] 20 + pub static SERVER_IS_ACTIVES: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `total` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub static total: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 22 - pub static total: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] 22 + pub static TOTAL: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `total_bad` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub static total_bad: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 23 - pub static total_bad: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] 23 + pub static TOTAL_BAD: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `total_ddos_a` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub static total_ddos_a: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 24 - pub static total_ddos_a: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] 24 + pub static TOTAL_DDOS_A: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `blocked_ips` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub static blocked_ips: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 26 - pub static blocked_ips: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] 26 + pub static BLOCKED_IPS: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rps_ema` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | static rps_ema: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 27 - static rps_ema: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] 27 + static RPS_EMA: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rps` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | static rps: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 28 - static rps: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] 28 + static RPS: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rpsc` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | static rpsc: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 29 - static rpsc: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] 29 + static RPSC: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `logs` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | static logs: Lazy>>> = Lazy::new(|| Arc::new(RwLock_std::new(vec![]))); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 31 - static logs: Lazy>>> = Lazy::new(|| Arc::new(RwLock_std::new(vec![]))); [INFO] [stdout] 31 + static LOGS: Lazy>>> = Lazy::new(|| Arc::new(RwLock_std::new(vec![]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rt_avg` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | static rt_avg: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 46 - static rt_avg: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] 46 + static RT_AVG: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rt_avg_c` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub static rt_avg_c: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 47 - pub static rt_avg_c: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] 47 + pub static RT_AVG_C: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Rpsc` should have a snake case name [INFO] [stdout] --> src/CLIclient.rs:118:25 [INFO] [stdout] | [INFO] [stdout] 118 | let mut Rpsc = { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `rpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Reqs` should have a snake case name [INFO] [stdout] --> src/CLIclient.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | let mut Reqs = reqs.write().await; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `reqs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Total_req_sect` should have a snake case name [INFO] [stdout] --> src/CLIclient.rs:249:18 [INFO] [stdout] | [INFO] [stdout] 249 | ... let [Total_req_sect, bad_req_sect, ddos_attempt_sect] = Layout::vertical([Constraint::Fill(1), Constraint::Fill(1), Constraint::Fil... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `total_req_sect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `tokio::sync::MutexGuard` that must be used [INFO] [stdout] --> src/CLIclient.rs:358:21 [INFO] [stdout] | [INFO] [stdout] 358 | server.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if unused the Mutex will immediately unlock [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 358 | let _ = server.lock().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/CLIclient.rs:359:21 [INFO] [stdout] | [INFO] [stdout] 359 | kill_server(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 359 | let _ = kill_server(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/CLIclient.rs:364:21 [INFO] [stdout] | [INFO] [stdout] 364 | utils::kill_socket(i.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 364 | let _ = utils::kill_socket(i.as_str()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let mut client; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UpstreamServerFailed` and `DoSsus` are never constructed [INFO] [stdout] --> src/structs.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 120 | pub enum ErrorTypes { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 121 | UpstreamServerFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | DoSsus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorTypes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MaxConcurrent` is never used [INFO] [stdout] --> src/timeline.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub static MaxConcurrent: Lazy = Lazy::new(|| AtomicU64::new(0)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `erase_numbered_confs` is never used [INFO] [stdout] --> src/CLIclient.rs:422:14 [INFO] [stdout] | [INFO] [stdout] 422 | pub async fn erase_numbered_confs(path: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `CLIclient` should have a snake case name [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | mod CLIclient; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `cliclient` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | CLIclient::establish().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = CLIclient::establish().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `clientRun` should have a snake case name [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let clientRun = tokio::spawn(async { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `client_run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | check_startup().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = check_startup().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NewS` should have a snake case name [INFO] [stdout] --> src/main.rs:254:41 [INFO] [stdout] | [INFO] [stdout] 254 | ... let mut NewS = cg.servers.last().unwrap().clone(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `new_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newS` should have a snake case name [INFO] [stdout] --> src/main.rs:255:41 [INFO] [stdout] | [INFO] [stdout] 255 | ... let mut newS = NewS.lock().await; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `new_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `tokio::sync::MutexGuard` that must be used [INFO] [stdout] --> src/main.rs:265:33 [INFO] [stdout] | [INFO] [stdout] 265 | ... cg.servers.last().unwrap().lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if unused the Mutex will immediately unlock [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 265 | let _ = cg.servers.last().unwrap().lock().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NewS` should have a snake case name [INFO] [stdout] --> src/main.rs:278:41 [INFO] [stdout] | [INFO] [stdout] 278 | ... let mut NewS = cg.servers.last().unwrap().clone(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `new_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newS` should have a snake case name [INFO] [stdout] --> src/main.rs:279:41 [INFO] [stdout] | [INFO] [stdout] 279 | ... let mut newS = NewS.lock().await; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `new_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `tokio::sync::MutexGuard` that must be used [INFO] [stdout] --> src/main.rs:289:33 [INFO] [stdout] | [INFO] [stdout] 289 | ... cg.servers.last().unwrap().lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if unused the Mutex will immediately unlock [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 289 | let _ = cg.servers.last().unwrap().lock().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:365:21 [INFO] [stdout] | [INFO] [stdout] 365 | health_check_proxy(client, timeout_dur, srv, path).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 365 | let _ = health_check_proxy(client, timeout_dur, srv, path).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `healthCheck` should have a snake case name [INFO] [stdout] --> src/main.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | let healthCheck = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `health_check` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | fs::remove_file(format!("{}{}.sock", path, at_port.load(Ordering::SeqCst))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 121 | let _ = fs::remove_file(format!("{}{}.sock", path, at_port.load(Ordering::SeqCst))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Method_hash_check` should have a snake case name [INFO] [stdout] --> src/structs.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub Method_hash_check: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `method_hash_check` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Check_out` should have a snake case name [INFO] [stdout] --> src/structs.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | pub Check_out: bool, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `check_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Check_in` should have a snake case name [INFO] [stdout] --> src/structs.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub Check_in: bool, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `check_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hmac` should have a snake case name [INFO] [stdout] --> src/proxies.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let Hmac = req.headers() [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `hmac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/proxies.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let mut X = CLIclient::reqs.write().await; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/proxies.rs:208:28 [INFO] [stdout] | [INFO] [stdout] 208 | if ci - 1 < 0{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused comparison that must be used [INFO] [stdout] --> src/proxies.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | cg.servers[cn].lock().await.is_active == false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 213 | let _ = cg.servers[cn].lock().await.is_active == false; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `updateTARGET` should have a snake case name [INFO] [stdout] --> src/proxies.rs:408:10 [INFO] [stdout] | [INFO] [stdout] 408 | async fn updateTARGET() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `update_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `proc_shutdown` should have an upper case name [INFO] [stdout] --> src/timeline.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub static proc_shutdown: Lazy> = Lazy::new(|| Mutex::new(false)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 17 - pub static proc_shutdown: Lazy> = Lazy::new(|| Mutex::new(false)); [INFO] [stdout] 17 + pub static PROC_SHUTDOWN: Lazy> = Lazy::new(|| Mutex::new(false)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `CONFIG_pre` should have an upper case name [INFO] [stdout] --> src/timeline.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub static CONFIG_pre: Lazy>> = Lazy::new(|| Mutex::new(load_from_file("./config.json"))); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 19 - pub static CONFIG_pre: Lazy>> = Lazy::new(|| Mutex::new(load_from_file("./config.json"))); [INFO] [stdout] 19 + pub static CONFIG_PRE: Lazy>> = Lazy::new(|| Mutex::new(load_from_file("./config.json"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `max_res` should have an upper case name [INFO] [stdout] --> src/timeline.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub static max_res: Lazy> = Lazy::new(|| Mutex::new(1u64)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 22 - pub static max_res: Lazy> = Lazy::new(|| Mutex::new(1u64)); [INFO] [stdout] 22 + pub static MAX_RES: Lazy> = Lazy::new(|| Mutex::new(1u64)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `max_res_o` should have an upper case name [INFO] [stdout] --> src/timeline.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub static max_res_o: Lazy = Lazy::new(|| AtomicU64::new(1)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 24 - pub static max_res_o: Lazy = Lazy::new(|| AtomicU64::new(1)); [INFO] [stdout] 24 + pub static MAX_RES_O: Lazy = Lazy::new(|| AtomicU64::new(1)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `max_res_n` should have an upper case name [INFO] [stdout] --> src/timeline.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub static max_res_n: Lazy = Lazy::new(|| AtomicU64::new(1)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 25 - pub static max_res_n: Lazy = Lazy::new(|| AtomicU64::new(1)); [INFO] [stdout] 25 + pub static MAX_RES_N: Lazy = Lazy::new(|| AtomicU64::new(1)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `ban_list` should have an upper case name [INFO] [stdout] --> src/timeline.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub static ban_list: Lazy>> = Lazy::new(|| RwLock::new(vec![])); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 27 - pub static ban_list: Lazy>> = Lazy::new(|| RwLock::new(vec![])); [INFO] [stdout] 27 + pub static BAN_LIST: Lazy>> = Lazy::new(|| RwLock::new(vec![])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `atServerIdx` should have an upper case name [INFO] [stdout] --> src/timeline.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub static atServerIdx: Lazy> = Lazy::new(|| Mutex::new([0u64, 0u64])); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 31 - pub static atServerIdx: Lazy> = Lazy::new(|| Mutex::new([0u64, 0u64])); [INFO] [stdout] 31 + pub static AT_SERVER_IDX: Lazy> = Lazy::new(|| Mutex::new([0u64, 0u64])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `MaxConcurrent` should have an upper case name [INFO] [stdout] --> src/timeline.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub static MaxConcurrent: Lazy = Lazy::new(|| AtomicU64::new(0)); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `MAX_CONCURRENT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `at_port` should have an upper case name [INFO] [stdout] --> src/timeline.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub static at_port: Lazy = Lazy::new(|| AtomicU16::new(0)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 39 - pub static at_port: Lazy = Lazy::new(|| AtomicU16::new(0)); [INFO] [stdout] 39 + pub static AT_PORT: Lazy = Lazy::new(|| AtomicU16::new(0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Method_hash_check` should have a snake case name [INFO] [stdout] --> src/timeline.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | Method_hash_check: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `method_hash_check` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Check_in` should have a snake case name [INFO] [stdout] --> src/timeline.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | Check_in: bool, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `check_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Check_out` should have a snake case name [INFO] [stdout] --> src/timeline.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | Check_out: bool, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `check_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `error_token` should have an upper case name [INFO] [stdout] --> src/timeline.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub static error_token: &'static str = "\x1b[31m[ERROR]\x1b[0m"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 132 - pub static error_token: &'static str = "\x1b[31m[ERROR]\x1b[0m"; [INFO] [stdout] 132 + pub static ERROR_TOKEN: &'static str = "\x1b[31m[ERROR]\x1b[0m"; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `reqs` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub static reqs: Lazy>> = Lazy::new(|| Arc::new(RwLock::new(0u64))); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 16 - pub static reqs: Lazy>> = Lazy::new(|| Arc::new(RwLock::new(0u64))); [INFO] [stdout] 16 + pub static REQS: Lazy>> = Lazy::new(|| Arc::new(RwLock::new(0u64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `server_names` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub static server_names: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 18 - pub static server_names: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] 18 + pub static SERVER_NAMES: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `server_rts` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub static server_rts: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 19 - pub static server_rts: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] 19 + pub static SERVER_RTS: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `server_is_actives` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub static server_is_actives: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 20 - pub static server_is_actives: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] 20 + pub static SERVER_IS_ACTIVES: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `total` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub static total: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 22 - pub static total: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] 22 + pub static TOTAL: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `total_bad` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub static total_bad: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 23 - pub static total_bad: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] 23 + pub static TOTAL_BAD: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `total_ddos_a` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub static total_ddos_a: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 24 - pub static total_ddos_a: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] 24 + pub static TOTAL_DDOS_A: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `blocked_ips` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub static blocked_ips: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 26 - pub static blocked_ips: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] 26 + pub static BLOCKED_IPS: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rps_ema` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | static rps_ema: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 27 - static rps_ema: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] 27 + static RPS_EMA: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rps` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | static rps: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 28 - static rps: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] 28 + static RPS: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rpsc` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | static rpsc: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 29 - static rpsc: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] 29 + static RPSC: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `logs` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | static logs: Lazy>>> = Lazy::new(|| Arc::new(RwLock_std::new(vec![]))); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 31 - static logs: Lazy>>> = Lazy::new(|| Arc::new(RwLock_std::new(vec![]))); [INFO] [stdout] 31 + static LOGS: Lazy>>> = Lazy::new(|| Arc::new(RwLock_std::new(vec![]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rt_avg` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | static rt_avg: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 46 - static rt_avg: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] 46 + static RT_AVG: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `rt_avg_c` should have an upper case name [INFO] [stdout] --> src/CLIclient.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub static rt_avg_c: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 47 - pub static rt_avg_c: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] 47 + pub static RT_AVG_C: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Rpsc` should have a snake case name [INFO] [stdout] --> src/CLIclient.rs:118:25 [INFO] [stdout] | [INFO] [stdout] 118 | let mut Rpsc = { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `rpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Reqs` should have a snake case name [INFO] [stdout] --> src/CLIclient.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | let mut Reqs = reqs.write().await; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `reqs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Total_req_sect` should have a snake case name [INFO] [stdout] --> src/CLIclient.rs:249:18 [INFO] [stdout] | [INFO] [stdout] 249 | ... let [Total_req_sect, bad_req_sect, ddos_attempt_sect] = Layout::vertical([Constraint::Fill(1), Constraint::Fill(1), Constraint::Fil... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `total_req_sect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `tokio::sync::MutexGuard` that must be used [INFO] [stdout] --> src/CLIclient.rs:358:21 [INFO] [stdout] | [INFO] [stdout] 358 | server.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if unused the Mutex will immediately unlock [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 358 | let _ = server.lock().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/CLIclient.rs:359:21 [INFO] [stdout] | [INFO] [stdout] 359 | kill_server(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 359 | let _ = kill_server(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/CLIclient.rs:364:21 [INFO] [stdout] | [INFO] [stdout] 364 | utils::kill_socket(i.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 364 | let _ = utils::kill_socket(i.as_str()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.49s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.25.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "4efb7fce5c94e5f3fa62341ad340457a3cdc727c75e1764a75a4eb943aa9946a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4efb7fce5c94e5f3fa62341ad340457a3cdc727c75e1764a75a4eb943aa9946a", kill_on_drop: false }` [INFO] [stdout] 4efb7fce5c94e5f3fa62341ad340457a3cdc727c75e1764a75a4eb943aa9946a