[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] b99aa355bf7b8806f9e72c96e65ac031738d0b10
[INFO] checking hurshbajaj/IONIC-Loadblncr against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhurshbajaj%2FIONIC-Loadblncr" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hurshbajaj/IONIC-Loadblncr on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded console-api v0.8.1
[INFO] [stderr] Downloaded sha256 v1.6.0
[INFO] [stderr] Downloaded hyperlocal v0.8.0
[INFO] [stderr] Downloaded deadpool v0.12.3
[INFO] [stderr] Downloaded deadpool-redis v0.22.0
[INFO] [stderr] Downloaded console-subscriber v0.4.1
[INFO] [stderr] Downloaded redis v0.32.5
[INFO] [stderr] Downloaded redis v0.25.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 212f038fe409f47e1211df4c23d53b29f8d6127fb076b862392165d02ea52ba2
[INFO] running `Command { std: "docker" "start" "-a" "212f038fe409f47e1211df4c23d53b29f8d6127fb076b862392165d02ea52ba2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "212f038fe409f47e1211df4c23d53b29f8d6127fb076b862392165d02ea52ba2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "212f038fe409f47e1211df4c23d53b29f8d6127fb076b862392165d02ea52ba2", kill_on_drop: false }`
[INFO] [stdout] 212f038fe409f47e1211df4c23d53b29f8d6127fb076b862392165d02ea52ba2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8354f1bb1478e7772aa8d778fe3cc638fa2af45f7ab942f7ee1e410249ccf232
[INFO] running `Command { std: "docker" "start" "-a" "8354f1bb1478e7772aa8d778fe3cc638fa2af45f7ab942f7ee1e410249ccf232", kill_on_drop: false }`
[INFO] [stderr] Compiling syn v2.0.104
[INFO] [stderr] Compiling libc v0.2.174
[INFO] [stderr] Checking smallvec v1.15.1
[INFO] [stderr] Compiling rustversion v1.0.21
[INFO] [stderr] Compiling num-traits v0.2.19
[INFO] [stderr] Checking indexmap v2.10.0
[INFO] [stderr] Compiling anyhow v1.0.98
[INFO] [stderr] Checking ppv-lite86 v0.2.21
[INFO] [stderr] Compiling indexmap v1.9.3
[INFO] [stderr] Checking regex v1.11.1
[INFO] [stderr] Checking miniz_oxide v0.8.9
[INFO] [stderr] Checking thread_local v1.1.9
[INFO] [stderr] Compiling owo-colors v4.2.2
[INFO] [stderr] Checking digest v0.10.7
[INFO] [stderr] Compiling rustix v0.38.44
[INFO] [stderr] Checking crc32fast v1.4.2
[INFO] [stderr] Compiling rustix v1.0.7
[INFO] [stderr] Compiling color-spantrace v0.3.0
[INFO] [stderr] Checking nom v7.1.3
[INFO] [stderr] Checking itertools v0.13.0
[INFO] [stderr] Checking object v0.36.7
[INFO] [stderr] Checking http-body v0.4.6
[INFO] [stderr] Compiling indoc v2.0.6
[INFO] [stderr] Checking castaway v0.2.3
[INFO] [stderr] Checking rustc-demangle v0.1.25
[INFO] [stderr] Checking sha2 v0.10.9
[INFO] [stderr] Compiling document-features v0.2.11
[INFO] [stderr] Checking compact_str v0.8.1
[INFO] [stderr] Checking eyre v0.6.12
[INFO] [stderr] Checking flate2 v1.1.2
[INFO] [stderr] Checking crossbeam-channel v0.5.15
[INFO] [stderr] Checking lru v0.12.5
[INFO] [stderr] Checking sha1_smol v1.0.1
[INFO] [stderr] Checking humantime v2.2.0
[INFO] [stderr] Checking iana-time-zone v0.1.63
[INFO] [stderr] Checking num-integer v0.1.46
[INFO] [stderr] Checking hmac v0.12.1
[INFO] [stderr] Checking chrono v0.4.41
[INFO] [stderr] Checking urlencoding v2.1.3
[INFO] [stderr] Checking dotenv v0.15.0
[INFO] [stderr] Checking parking_lot_core v0.9.11
[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 getrandom v0.2.16
[INFO] [stderr] Checking socket2 v0.6.0
[INFO] [stderr] Checking num_cpus v1.17.0
[INFO] [stderr] Checking num-bigint v0.4.6
[INFO] [stderr] Checking parking_lot v0.12.4
[INFO] [stderr] Checking dashmap v6.1.0
[INFO] [stderr] Checking rand_core v0.6.4
[INFO] [stderr] Checking signal-hook v0.3.18
[INFO] [stderr] Checking signal-hook-mio v0.2.4
[INFO] [stderr] Checking rand_chacha v0.3.1
[INFO] [stderr] Checking crossterm v0.28.1
[INFO] [stderr] Checking unicode-truncate v1.1.0
[INFO] [stderr] Checking rand v0.8.5
[INFO] [stderr] Checking hdrhistogram v7.5.4
[INFO] [stderr] Checking backtrace v0.3.75
[INFO] [stderr] Compiling synstructure v0.13.2
[INFO] [stderr] Compiling darling_core v0.20.11
[INFO] [stderr] Compiling tokio-macros v2.5.0
[INFO] [stderr] Compiling tracing-attributes v0.1.30
[INFO] [stderr] Compiling futures-macro v0.3.31
[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 strum_macros v0.26.4
[INFO] [stderr] Compiling derive_more-impl v2.0.1
[INFO] [stderr] Compiling zerofrom-derive v0.1.6
[INFO] [stderr] Compiling yoke-derive v0.8.0
[INFO] [stderr] Checking async-stream v0.3.6
[INFO] [stderr] Checking futures-util v0.3.31
[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 tracing v0.1.41
[INFO] [stderr] Checking tracing-subscriber v0.3.19
[INFO] [stderr] Checking zerofrom v0.1.6
[INFO] [stderr] Checking yoke v0.8.0
[INFO] [stderr] Checking pin-project v1.1.10
[INFO] [stderr] Checking zerovec v0.11.2
[INFO] [stderr] Checking zerotrie v0.2.2
[INFO] [stderr] Checking prost v0.13.5
[INFO] [stderr] Checking strum v0.26.3
[INFO] [stderr] Compiling darling_macro v0.20.11
[INFO] [stderr] Checking prost-types v0.13.5
[INFO] [stderr] Compiling darling v0.20.11
[INFO] [stderr] Compiling instability v0.3.7
[INFO] [stderr] Checking tracing-error v0.2.1
[INFO] [stderr] Checking color-eyre v0.6.5
[INFO] [stderr] Checking tinystr v0.8.1
[INFO] [stderr] Checking potential_utf v0.1.2
[INFO] [stderr] Checking ratatui v0.29.0
[INFO] [stderr] Checking icu_collections v2.0.0
[INFO] [stderr] Checking icu_locale_core v2.0.0
[INFO] [stderr] Checking serde v1.0.219
[INFO] [stderr] Checking icu_provider v2.0.0
[INFO] [stderr] Checking icu_normalizer v2.0.0
[INFO] [stderr] Checking icu_properties v2.0.1
[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 tokio-util v0.7.15
[INFO] [stderr] Checking tower v0.5.2
[INFO] [stderr] Checking tokio-stream v0.1.17
[INFO] [stderr] Checking deadpool-runtime v0.1.4
[INFO] [stderr] Checking sha256 v1.6.0
[INFO] [stderr] Checking deadpool v0.12.3
[INFO] [stderr] Checking idna_adapter v1.2.1
[INFO] [stderr] Checking idna v1.0.3
[INFO] [stderr] Checking h2 v0.4.10
[INFO] [stderr] Checking combine v4.6.7
[INFO] [stderr] Checking tower v0.4.13
[INFO] [stderr] Checking h2 v0.3.26
[INFO] [stderr] Checking url v2.5.4
[INFO] [stderr] Checking serde_json v1.0.140
[INFO] [stderr] Checking serde_path_to_error v0.1.17
[INFO] [stderr] Checking serde_urlencoded v0.7.1
[INFO] [stderr] Checking hyper v0.14.32
[INFO] [stderr] Checking redis v0.32.5
[INFO] [stderr] Checking redis v0.25.4
[INFO] [stderr] Checking hyper v1.6.0
[INFO] [stderr] Checking hyper-util v0.1.14
[INFO] [stderr] Checking hyper-timeout v0.5.2
[INFO] [stderr] Checking axum v0.7.9
[INFO] [stderr] Checking hyperlocal v0.8.0
[INFO] [stderr] Checking deadpool-redis v0.22.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: variant `Load_balance_Verification_Fail` should have an upper camel case name
[INFO] [stdout] --> src/structs.rs:131:5
[INFO] [stdout] |
[INFO] [stdout] 131 | 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)]` (part of `#[warn(nonstandard_style)]`) 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:170:10
[INFO] [stdout] |
[INFO] [stdout] 170 | pub enum client_type{
[INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ClientType`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `path::Path`
[INFO] [stdout] --> src/main.rs:8:11
[INFO] [stdout] |
[INFO] [stdout] 8 | use std::{path::Path, process::Stdio, sync::{atomic::AtomicU64, Arc}, time::{Duration, Instant}};
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) 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:131:5
[INFO] [stdout] |
[INFO] [stdout] 131 | 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)]` (part of `#[warn(nonstandard_style)]`) 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:170:10
[INFO] [stdout] |
[INFO] [stdout] 170 | pub enum client_type{
[INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ClientType`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `path::Path`
[INFO] [stdout] --> src/main.rs:8:11
[INFO] [stdout] |
[INFO] [stdout] 8 | use std::{path::Path, process::Stdio, sync::{atomic::AtomicU64, Arc}, time::{Duration, Instant}};
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/proxies.rs:219:20
[INFO] [stdout] |
[INFO] [stdout] 219 | 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: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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/proxies.rs:219:20
[INFO] [stdout] |
[INFO] [stdout] 219 | 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/timeline.rs:148:9
[INFO] [stdout] |
[INFO] [stdout] 148 | 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/timeline.rs:148:9
[INFO] [stdout] |
[INFO] [stdout] 148 | 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:120:25
[INFO] [stdout] |
[INFO] [stdout] 120 | 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/CLIclient.rs:120:25
[INFO] [stdout] |
[INFO] [stdout] 120 | 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:445:32
[INFO] [stdout] |
[INFO] [stdout] 445 | let naive = NaiveDateTime::from_timestamp_opt(secs, nsecs).expect("Invalid timestamp");
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(deprecated)]` on by default
[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:445:32
[INFO] [stdout] |
[INFO] [stdout] 445 | let naive = NaiveDateTime::from_timestamp_opt(secs, nsecs).expect("Invalid timestamp");
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout] --> src/proxies.rs:131:20
[INFO] [stdout] |
[INFO] [stdout] 131 | if let Err(err) = updateTARGET(config_snapshot.clone()).await {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout] --> src/proxies.rs:131:20
[INFO] [stdout] |
[INFO] [stdout] 131 | if let Err(err) = updateTARGET(config_snapshot.clone()).await {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `list_logs`
[INFO] [stdout] --> src/CLIclient.rs:295:17
[INFO] [stdout] |
[INFO] [stdout] 295 | 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: `list_logs`
[INFO] [stdout] --> src/CLIclient.rs:295:17
[INFO] [stdout] |
[INFO] [stdout] 295 | 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: variable does not need to be mutable
[INFO] [stdout] --> src/main.rs:234:37
[INFO] [stdout] |
[INFO] [stdout] 234 | ... 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:235:37
[INFO] [stdout] |
[INFO] [stdout] 235 | ... let mut newS = NewS.read().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:258:37
[INFO] [stdout] |
[INFO] [stdout] 258 | ... 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:259:37
[INFO] [stdout] |
[INFO] [stdout] 259 | ... let mut newS = NewS.read().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:131:13
[INFO] [stdout] |
[INFO] [stdout] 131 | let mut cfg = RedisConfig::from_url(format!("redis://127.0.0.1:{redis_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/main.rs:145:9
[INFO] [stdout] |
[INFO] [stdout] 145 | let mut client;
[INFO] [stdout] | ----^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `clientRun`
[INFO] [stdout] --> src/main.rs:26:9
[INFO] [stdout] |
[INFO] [stdout] 26 | 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: `ps`
[INFO] [stdout] --> src/main.rs:193:9
[INFO] [stdout] |
[INFO] [stdout] 193 | 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:311:9
[INFO] [stdout] |
[INFO] [stdout] 311 | 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: variants `UpstreamServerFailed` and `DoSsus` are never constructed
[INFO] [stdout] --> src/structs.rs:123:5
[INFO] [stdout] |
[INFO] [stdout] 122 | pub enum ErrorTypes {
[INFO] [stdout] | ---------- variants in this enum
[INFO] [stdout] 123 | UpstreamServerFailed,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 | 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)]` (part of `#[warn(unused)]`) 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:420:14
[INFO] [stdout] |
[INFO] [stdout] 420 | 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:17:5
[INFO] [stdout] |
[INFO] [stdout] 17 | mod CLIclient;
[INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `cliclient`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable `clientRun` should have a snake case name
[INFO] [stdout] --> src/main.rs:26:9
[INFO] [stdout] |
[INFO] [stdout] 26 | let clientRun = tokio::spawn(async {
[INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `client_run`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout] --> src/main.rs:40:33
[INFO] [stdout] |
[INFO] [stdout] 40 | if Path::new(config_path.clone()).exists() {
[INFO] [stdout] | ^^^^^^^^ help: remove this redundant call
[INFO] [stdout] |
[INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable `NewS` should have a snake case name
[INFO] [stdout] --> src/main.rs:234:41
[INFO] [stdout] |
[INFO] [stdout] 234 | ... 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:235:41
[INFO] [stdout] |
[INFO] [stdout] 235 | ... let mut newS = NewS.read().await;
[INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `new_s`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `tokio::sync::RwLockReadGuard` that must be used
[INFO] [stdout] --> src/main.rs:245:33
[INFO] [stdout] |
[INFO] [stdout] 245 | ... cg.servers.last().unwrap().read().await;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: if unused the RwLock will immediately unlock
[INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 245 | let _ = cg.servers.last().unwrap().read().await;
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable `NewS` should have a snake case name
[INFO] [stdout] --> src/main.rs:258:41
[INFO] [stdout] |
[INFO] [stdout] 258 | ... 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 does not need to be mutable
[INFO] [stdout] --> src/main.rs:234:37
[INFO] [stdout] |
[INFO] [stdout] 234 | ... 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 `newS` should have a snake case name
[INFO] [stdout] --> src/main.rs:259:41
[INFO] [stdout] |
[INFO] [stdout] 259 | ... let mut newS = NewS.read().await;
[INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `new_s`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/main.rs:235:37
[INFO] [stdout] |
[INFO] [stdout] 235 | ... let mut newS = NewS.read().await;
[INFO] [stdout] | ----^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `tokio::sync::RwLockReadGuard` that must be used
[INFO] [stdout] --> src/main.rs:269:33
[INFO] [stdout] |
[INFO] [stdout] 269 | ... cg.servers.last().unwrap().read().await;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: if unused the RwLock will immediately unlock
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 269 | let _ = cg.servers.last().unwrap().read().await;
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout] --> src/main.rs:343:21
[INFO] [stdout] |
[INFO] [stdout] 343 | 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] 343 | 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:311:9
[INFO] [stdout] |
[INFO] [stdout] 311 | let healthCheck = tokio::spawn(async move {
[INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `health_check`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: structure field `Method_hash_check` should have a snake case name
[INFO] [stdout] --> src/structs.rs:94:9
[INFO] [stdout] |
[INFO] [stdout] 94 | 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:101:9
[INFO] [stdout] |
[INFO] [stdout] 101 | 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:102:9
[INFO] [stdout] |
[INFO] [stdout] 102 | 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:52:9
[INFO] [stdout] |
[INFO] [stdout] 52 | 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:92:13
[INFO] [stdout] |
[INFO] [stdout] 92 | 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: function `updateTARGET` should have a snake case name
[INFO] [stdout] --> src/proxies.rs:399:10
[INFO] [stdout] |
[INFO] [stdout] 399 | async fn updateTARGET(config: Config) -> anyhow::Result<()> {
[INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `update_target`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/main.rs:258:37
[INFO] [stdout] |
[INFO] [stdout] 258 | ... 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:259:37
[INFO] [stdout] |
[INFO] [stdout] 259 | ... let mut newS = NewS.read().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:131:13
[INFO] [stdout] |
[INFO] [stdout] 131 | let mut cfg = RedisConfig::from_url(format!("redis://127.0.0.1:{redis_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/main.rs:145:9
[INFO] [stdout] |
[INFO] [stdout] 145 | let mut client;
[INFO] [stdout] | ----^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[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(|| RwLock::new(false));
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout] |
[INFO] [stdout] 17 - pub static proc_shutdown: Lazy> = Lazy::new(|| RwLock::new(false));
[INFO] [stdout] 17 + pub static PROC_SHUTDOWN: Lazy> = Lazy::new(|| RwLock::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(|| RwLock::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(|| RwLock::new(load_from_file("./config.json")));
[INFO] [stdout] 19 + pub static CONFIG_PRE: Lazy>> = Lazy::new(|| RwLock::new(load_from_file("./config.json")));
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `clientRun`
[INFO] [stdout] --> src/main.rs:26:9
[INFO] [stdout] |
[INFO] [stdout] 26 | 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: `ps`
[INFO] [stdout] --> src/main.rs:193:9
[INFO] [stdout] |
[INFO] [stdout] 193 | 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:311:9
[INFO] [stdout] |
[INFO] [stdout] 311 | 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: 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(|| RwLock::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(|| RwLock::new(1u64));
[INFO] [stdout] 22 + pub static MAX_RES: Lazy> = Lazy::new(|| RwLock::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(|| RwLock::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(|| RwLock::new([0u64, 0u64]));
[INFO] [stdout] 31 + pub static AT_SERVER_IDX: Lazy> = Lazy::new(|| RwLock::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:59:9
[INFO] [stdout] |
[INFO] [stdout] 59 | 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:62:9
[INFO] [stdout] |
[INFO] [stdout] 62 | 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:63:9
[INFO] [stdout] |
[INFO] [stdout] 63 | 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:134:12
[INFO] [stdout] |
[INFO] [stdout] 134 | 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] 134 - pub static error_token: &'static str = "\x1b[31m[ERROR]\x1b[0m";
[INFO] [stdout] 134 + 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:17:12
[INFO] [stdout] |
[INFO] [stdout] 17 | 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] 17 - pub static reqs: Lazy>> = Lazy::new(|| Arc::new(RwLock::new(0u64)));
[INFO] [stdout] 17 + 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:19:12
[INFO] [stdout] |
[INFO] [stdout] 19 | 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] 19 - pub static server_names: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![])));
[INFO] [stdout] 19 + 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:20:12
[INFO] [stdout] |
[INFO] [stdout] 20 | 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] 20 - pub static server_rts: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![])));
[INFO] [stdout] 20 + 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:21:12
[INFO] [stdout] |
[INFO] [stdout] 21 | 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] 21 - pub static server_is_actives: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![])));
[INFO] [stdout] 21 + 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:23:12
[INFO] [stdout] |
[INFO] [stdout] 23 | 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] 23 - pub static total: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64)));
[INFO] [stdout] 23 + 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:24:12
[INFO] [stdout] |
[INFO] [stdout] 24 | 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] 24 - pub static total_bad: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64)));
[INFO] [stdout] 24 + 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:25:12
[INFO] [stdout] |
[INFO] [stdout] 25 | 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] 25 - pub static total_ddos_a: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64)));
[INFO] [stdout] 25 + 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:27:12
[INFO] [stdout] |
[INFO] [stdout] 27 | 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] 27 - pub static blocked_ips: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![])));
[INFO] [stdout] 27 + 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:28:8
[INFO] [stdout] |
[INFO] [stdout] 28 | 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] 28 - static rps_ema: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64)));
[INFO] [stdout] 28 + 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:29:8
[INFO] [stdout] |
[INFO] [stdout] 29 | 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] 29 - static rps: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64)));
[INFO] [stdout] 29 + 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:30:8
[INFO] [stdout] |
[INFO] [stdout] 30 | 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] 30 - static rpsc: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![])));
[INFO] [stdout] 30 + 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:32:8
[INFO] [stdout] |
[INFO] [stdout] 32 | 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] 32 - static logs: Lazy>>> = Lazy::new(|| Arc::new(RwLock_std::new(vec![])));
[INFO] [stdout] 32 + 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:47:8
[INFO] [stdout] |
[INFO] [stdout] 47 | 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] 47 - static rt_avg: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64)));
[INFO] [stdout] 47 + 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:48:12
[INFO] [stdout] |
[INFO] [stdout] 48 | 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] 48 - pub static rt_avg_c: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![])));
[INFO] [stdout] 48 + 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:119:25
[INFO] [stdout] |
[INFO] [stdout] 119 | 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:127:25
[INFO] [stdout] |
[INFO] [stdout] 127 | 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:250:18
[INFO] [stdout] |
[INFO] [stdout] 250 | ... 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::RwLockReadGuard` that must be used
[INFO] [stdout] --> src/CLIclient.rs:359:21
[INFO] [stdout] |
[INFO] [stdout] 359 | server.read().await;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: if unused the RwLock will immediately unlock
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 359 | let _ = server.read().await;
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout] --> src/CLIclient.rs:360:21
[INFO] [stdout] |
[INFO] [stdout] 360 | 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] 360 | let _ = kill_server();
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout] --> src/CLIclient.rs:365:21
[INFO] [stdout] |
[INFO] [stdout] 365 | 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] 365 | let _ = utils::kill_socket(i.as_str());
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variants `UpstreamServerFailed` and `DoSsus` are never constructed
[INFO] [stdout] --> src/structs.rs:123:5
[INFO] [stdout] |
[INFO] [stdout] 122 | pub enum ErrorTypes {
[INFO] [stdout] | ---------- variants in this enum
[INFO] [stdout] 123 | UpstreamServerFailed,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 | 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)]` (part of `#[warn(unused)]`) 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:420:14
[INFO] [stdout] |
[INFO] [stdout] 420 | 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:17:5
[INFO] [stdout] |
[INFO] [stdout] 17 | mod CLIclient;
[INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `cliclient`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable `clientRun` should have a snake case name
[INFO] [stdout] --> src/main.rs:26:9
[INFO] [stdout] |
[INFO] [stdout] 26 | let clientRun = tokio::spawn(async {
[INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `client_run`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout] --> src/main.rs:40:33
[INFO] [stdout] |
[INFO] [stdout] 40 | if Path::new(config_path.clone()).exists() {
[INFO] [stdout] | ^^^^^^^^ help: remove this redundant call
[INFO] [stdout] |
[INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable `NewS` should have a snake case name
[INFO] [stdout] --> src/main.rs:234:41
[INFO] [stdout] |
[INFO] [stdout] 234 | ... 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:235:41
[INFO] [stdout] |
[INFO] [stdout] 235 | ... let mut newS = NewS.read().await;
[INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `new_s`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `tokio::sync::RwLockReadGuard` that must be used
[INFO] [stdout] --> src/main.rs:245:33
[INFO] [stdout] |
[INFO] [stdout] 245 | ... cg.servers.last().unwrap().read().await;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: if unused the RwLock will immediately unlock
[INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 245 | let _ = cg.servers.last().unwrap().read().await;
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable `NewS` should have a snake case name
[INFO] [stdout] --> src/main.rs:258:41
[INFO] [stdout] |
[INFO] [stdout] 258 | ... 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:259:41
[INFO] [stdout] |
[INFO] [stdout] 259 | ... let mut newS = NewS.read().await;
[INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `new_s`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `tokio::sync::RwLockReadGuard` that must be used
[INFO] [stdout] --> src/main.rs:269:33
[INFO] [stdout] |
[INFO] [stdout] 269 | ... cg.servers.last().unwrap().read().await;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: if unused the RwLock will immediately unlock
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 269 | let _ = cg.servers.last().unwrap().read().await;
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout] --> src/main.rs:343:21
[INFO] [stdout] |
[INFO] [stdout] 343 | 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] 343 | 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:311:9
[INFO] [stdout] |
[INFO] [stdout] 311 | let healthCheck = tokio::spawn(async move {
[INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `health_check`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: structure field `Method_hash_check` should have a snake case name
[INFO] [stdout] --> src/structs.rs:94:9
[INFO] [stdout] |
[INFO] [stdout] 94 | 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:101:9
[INFO] [stdout] |
[INFO] [stdout] 101 | 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:102:9
[INFO] [stdout] |
[INFO] [stdout] 102 | 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:52:9
[INFO] [stdout] |
[INFO] [stdout] 52 | 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:92:13
[INFO] [stdout] |
[INFO] [stdout] 92 | 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: function `updateTARGET` should have a snake case name
[INFO] [stdout] --> src/proxies.rs:399:10
[INFO] [stdout] |
[INFO] [stdout] 399 | async fn updateTARGET(config: Config) -> 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(|| RwLock::new(false));
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout] |
[INFO] [stdout] 17 - pub static proc_shutdown: Lazy> = Lazy::new(|| RwLock::new(false));
[INFO] [stdout] 17 + pub static PROC_SHUTDOWN: Lazy> = Lazy::new(|| RwLock::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(|| RwLock::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(|| RwLock::new(load_from_file("./config.json")));
[INFO] [stdout] 19 + pub static CONFIG_PRE: Lazy>> = Lazy::new(|| RwLock::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(|| RwLock::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(|| RwLock::new(1u64));
[INFO] [stdout] 22 + pub static MAX_RES: Lazy> = Lazy::new(|| RwLock::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(|| RwLock::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(|| RwLock::new([0u64, 0u64]));
[INFO] [stdout] 31 + pub static AT_SERVER_IDX: Lazy> = Lazy::new(|| RwLock::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:59:9
[INFO] [stdout] |
[INFO] [stdout] 59 | 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:62:9
[INFO] [stdout] |
[INFO] [stdout] 62 | 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:63:9
[INFO] [stdout] |
[INFO] [stdout] 63 | 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:134:12
[INFO] [stdout] |
[INFO] [stdout] 134 | 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] 134 - pub static error_token: &'static str = "\x1b[31m[ERROR]\x1b[0m";
[INFO] [stdout] 134 + 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:17:12
[INFO] [stdout] |
[INFO] [stdout] 17 | 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] 17 - pub static reqs: Lazy>> = Lazy::new(|| Arc::new(RwLock::new(0u64)));
[INFO] [stdout] 17 + 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:19:12
[INFO] [stdout] |
[INFO] [stdout] 19 | 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] 19 - pub static server_names: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![])));
[INFO] [stdout] 19 + 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:20:12
[INFO] [stdout] |
[INFO] [stdout] 20 | 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] 20 - pub static server_rts: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![])));
[INFO] [stdout] 20 + 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:21:12
[INFO] [stdout] |
[INFO] [stdout] 21 | 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] 21 - pub static server_is_actives: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![])));
[INFO] [stdout] 21 + 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:23:12
[INFO] [stdout] |
[INFO] [stdout] 23 | 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] 23 - pub static total: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64)));
[INFO] [stdout] 23 + 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:24:12
[INFO] [stdout] |
[INFO] [stdout] 24 | 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] 24 - pub static total_bad: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64)));
[INFO] [stdout] 24 + 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:25:12
[INFO] [stdout] |
[INFO] [stdout] 25 | 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] 25 - pub static total_ddos_a: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64)));
[INFO] [stdout] 25 + 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:27:12
[INFO] [stdout] |
[INFO] [stdout] 27 | 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] 27 - pub static blocked_ips: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![])));
[INFO] [stdout] 27 + 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:28:8
[INFO] [stdout] |
[INFO] [stdout] 28 | 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] 28 - static rps_ema: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64)));
[INFO] [stdout] 28 + 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:29:8
[INFO] [stdout] |
[INFO] [stdout] 29 | 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] 29 - static rps: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64)));
[INFO] [stdout] 29 + 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:30:8
[INFO] [stdout] |
[INFO] [stdout] 30 | 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] 30 - static rpsc: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![])));
[INFO] [stdout] 30 + 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:32:8
[INFO] [stdout] |
[INFO] [stdout] 32 | 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] 32 - static logs: Lazy>>> = Lazy::new(|| Arc::new(RwLock_std::new(vec![])));
[INFO] [stdout] 32 + 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:47:8
[INFO] [stdout] |
[INFO] [stdout] 47 | 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] 47 - static rt_avg: Lazy> = Lazy::new(|| Arc::new(AtomicU64::new(0u64)));
[INFO] [stdout] 47 + 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:48:12
[INFO] [stdout] |
[INFO] [stdout] 48 | 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] 48 - pub static rt_avg_c: Lazy>>> = Lazy::new(|| Arc::new(RwLock::new(vec![])));
[INFO] [stdout] 48 + 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:119:25
[INFO] [stdout] |
[INFO] [stdout] 119 | 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:127:25
[INFO] [stdout] |
[INFO] [stdout] 127 | 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:250:18
[INFO] [stdout] |
[INFO] [stdout] 250 | ... 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::RwLockReadGuard` that must be used
[INFO] [stdout] --> src/CLIclient.rs:359:21
[INFO] [stdout] |
[INFO] [stdout] 359 | server.read().await;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: if unused the RwLock will immediately unlock
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 359 | let _ = server.read().await;
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout] --> src/CLIclient.rs:360:21
[INFO] [stdout] |
[INFO] [stdout] 360 | 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] 360 | let _ = kill_server();
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout] --> src/CLIclient.rs:365:21
[INFO] [stdout] |
[INFO] [stdout] 365 | 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] 365 | let _ = utils::kill_socket(i.as_str());
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s
[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" "8354f1bb1478e7772aa8d778fe3cc638fa2af45f7ab942f7ee1e410249ccf232", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8354f1bb1478e7772aa8d778fe3cc638fa2af45f7ab942f7ee1e410249ccf232", kill_on_drop: false }`
[INFO] [stdout] 8354f1bb1478e7772aa8d778fe3cc638fa2af45f7ab942f7ee1e410249ccf232