[INFO] cloning repository https://github.com/XBDJ504764827/zzzXBDJBansBackend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/XBDJ504764827/zzzXBDJBansBackend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXBDJ504764827%2FzzzXBDJBansBackend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXBDJ504764827%2FzzzXBDJBansBackend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 795f67d880733a05d9e7d79c79b475810f3f3825 [INFO] checking XBDJ504764827/zzzXBDJBansBackend against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXBDJ504764827%2FzzzXBDJBansBackend" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/XBDJ504764827/zzzXBDJBansBackend [INFO] finished tweaking git repo https://github.com/XBDJ504764827/zzzXBDJBansBackend [INFO] tweaked toml for git repo https://github.com/XBDJ504764827/zzzXBDJBansBackend written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/XBDJ504764827/zzzXBDJBansBackend on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/XBDJ504764827/zzzXBDJBansBackend 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c31f9cb04c0753b45a733619f90131778d8a67e29c3164f880e8e82020f5fc0 [INFO] running `Command { std: "docker" "start" "-a" "9c31f9cb04c0753b45a733619f90131778d8a67e29c3164f880e8e82020f5fc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c31f9cb04c0753b45a733619f90131778d8a67e29c3164f880e8e82020f5fc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c31f9cb04c0753b45a733619f90131778d8a67e29c3164f880e8e82020f5fc0", kill_on_drop: false }` [INFO] [stdout] 9c31f9cb04c0753b45a733619f90131778d8a67e29c3164f880e8e82020f5fc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 806a5e2ecdc33a64437be9c5983d832f378c461a56a845161cdad9b82ed017a0 [INFO] running `Command { std: "docker" "start" "-a" "806a5e2ecdc33a64437be9c5983d832f378c461a56a845161cdad9b82ed017a0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling cc v1.2.54 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zmij v1.0.16 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling base64ct v1.8.3 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling webpki-roots v1.0.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling uuid v1.20.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking ryu v1.0.22 [INFO] [stderr] Compiling rsa v0.9.10 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Compiling time-macros v0.2.26 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling err-derive v0.3.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking iri-string v0.7.10 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking time v0.3.46 [INFO] [stderr] Checking arcstr v1.2.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking xxhash-rust v0.8.15 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking rcon v0.6.0 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking sqlx-mysql v0.8.6 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking redis v1.0.2 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking zzzXBDJBansBackend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/bin/debug_query.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/bin/debug_query.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LoginResponse` [INFO] [stdout] --> src/handlers/auth.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::models::user::{LoginRequest, LoginResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/bg_task.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/bg_task.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LoginResponse` [INFO] [stdout] --> src/handlers/auth.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::models::user::{LoginRequest, LoginResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/bg_task.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/bg_task.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/handlers/ban.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut steam_id = params.steam_id.unwrap_or_default(); [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/handlers/ban.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | Ok(Some(mut b)) => { [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/handlers/ban.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | Ok(Some(mut b)) => { [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/handlers/ban.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut steam_id = params.steam_id.unwrap_or_default(); [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/handlers/ban.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | Ok(Some(mut b)) => { [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/handlers/ban.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | Ok(Some(mut b)) => { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_name` [INFO] [stdout] --> src/db.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let db_name = database_url.split('/').last().expect("Invalid DB URL format"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_url` [INFO] [stdout] --> src/db.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let server_url = database_url.get(..database_url.rfind('/').unwrap_or(database_url.len())).unwrap_or(&database_url); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ban_clone` [INFO] [stdout] --> src/handlers/ban.rs:347:25 [INFO] [stdout] | [INFO] [stdout] 347 | let ban_clone = ban.clone(); // Ban struct needs simple Clone derive or manual clone [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ban_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string_len` [INFO] [stdout] --> src/utils/rcon.rs:215:22 [INFO] [stdout] | [INFO] [stdout] 215 | ... let string_len = size - 8 - 1; // Exclude last null. (Body + Null) means Size covers Body+1+1. So Size-8 gives Body + 2? [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parts` [INFO] [stdout] --> src/handlers/server.rs:352:26 [INFO] [stdout] | [INFO] [stdout] 352 | let parts: Vec<&str> = line.split_whitespace().collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_name` [INFO] [stdout] --> src/db.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let db_name = database_url.split('/').last().expect("Invalid DB URL format"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_url` [INFO] [stdout] --> src/db.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let server_url = database_url.get(..database_url.rfind('/').unwrap_or(database_url.len())).unwrap_or(&database_url); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ban_clone` [INFO] [stdout] --> src/handlers/ban.rs:347:25 [INFO] [stdout] | [INFO] [stdout] 347 | let ban_clone = ban.clone(); // Ban struct needs simple Clone derive or manual clone [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ban_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string_len` [INFO] [stdout] --> src/utils/rcon.rs:215:22 [INFO] [stdout] | [INFO] [stdout] 215 | ... let string_len = size - 8 - 1; // Exclude last null. (Body + Null) means Size covers Body+1+1. So Size-8 gives Body + 2? [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_string_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parts` [INFO] [stdout] --> src/handlers/server.rs:352:26 [INFO] [stdout] | [INFO] [stdout] 352 | let parts: Vec<&str> = line.split_whitespace().collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date_str` [INFO] [stdout] --> src/utils/mod.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let date_str = &duration_str[6..]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_date_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date_str` [INFO] [stdout] --> src/utils/mod.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let date_str = &duration_str[6..]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_date_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoginResponse` is never constructed [INFO] [stdout] --> src/models/user.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct LoginResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoginResponse` is never constructed [INFO] [stdout] --> src/models/user.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct LoginResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 44s [INFO] running `Command { std: "docker" "inspect" "806a5e2ecdc33a64437be9c5983d832f378c461a56a845161cdad9b82ed017a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "806a5e2ecdc33a64437be9c5983d832f378c461a56a845161cdad9b82ed017a0", kill_on_drop: false }` [INFO] [stdout] 806a5e2ecdc33a64437be9c5983d832f378c461a56a845161cdad9b82ed017a0