[INFO] cloning repository https://github.com/capiyo/fanclash-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/capiyo/fanclash-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcapiyo%2Ffanclash-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcapiyo%2Ffanclash-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1bfce0ab14d825a4658469dfa4bb50b64ac33e93
[INFO] testing capiyo/fanclash-api against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcapiyo%2Ffanclash-api" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/capiyo/fanclash-api
[INFO] finished tweaking git repo https://github.com/capiyo/fanclash-api
[INFO] tweaked toml for git repo https://github.com/capiyo/fanclash-api written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/capiyo/fanclash-api on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/capiyo/fanclash-api 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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 26814f7c44d988d8f8e8dcc2c45e9a120906ea12c31622eacd3cb65cb8f9f5d6
[INFO] running `Command { std: "docker" "start" "-a" "26814f7c44d988d8f8e8dcc2c45e9a120906ea12c31622eacd3cb65cb8f9f5d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "26814f7c44d988d8f8e8dcc2c45e9a120906ea12c31622eacd3cb65cb8f9f5d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26814f7c44d988d8f8e8dcc2c45e9a120906ea12c31622eacd3cb65cb8f9f5d6", kill_on_drop: false }`
[INFO] [stdout] 26814f7c44d988d8f8e8dcc2c45e9a120906ea12c31622eacd3cb65cb8f9f5d6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e36b146aa5c1a7df6229bc50b2ac2ea5cc322bad7cf84201a653e16c5132238f
[INFO] running `Command { std: "docker" "start" "-a" "e36b146aa5c1a7df6229bc50b2ac2ea5cc322bad7cf84201a653e16c5132238f", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling portable-atomic v1.11.1
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling find-msvc-tools v0.1.5
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling signal-hook-registry v1.4.7
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling mio v1.1.0
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling cc v1.2.48
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling rustls-pki-types v1.13.1
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling num_threads v0.1.7
[INFO] [stderr]    Compiling rustls v0.23.35
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling tracing-core v0.1.35
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling moka v0.12.11
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]    Compiling rustls-native-certs v0.8.3
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling rustc_version_runtime v0.3.0
[INFO] [stderr]    Compiling error-stack v0.5.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling rustls v0.22.4
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling tagptr v0.2.0
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling iri-string v0.7.10
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling rustls-native-certs v0.6.3
[INFO] [stderr]    Compiling headers-core v0.3.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling resolv-conf v0.7.6
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling headers v0.4.1
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling blowfish v0.9.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling headers-core v0.2.0
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling pbkdf2 v0.12.2
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling webpki-roots v1.0.4
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling pem v3.0.6
[INFO] [stderr]    Compiling deranged v0.5.5
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling serde_bytes v0.11.19
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]    Compiling sha1_smol v1.0.1
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling seahash v4.1.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling cfb v0.7.3
[INFO] [stderr]    Compiling headers v0.3.9
[INFO] [stderr]    Compiling bcrypt v0.15.1
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling infer v0.13.0
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[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 serde_derive v1.0.228
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling macro_magic_core_macros v0.5.1
[INFO] [stderr]    Compiling rustls-webpki v0.103.8
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling derive-syn-parse v0.2.0
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling macro_magic_core v0.5.1
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]    Compiling tracing v0.1.43
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling typed-builder-macro v0.22.0
[INFO] [stderr]    Compiling macro_magic_macros v0.5.1
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling macro_magic v0.5.1
[INFO] [stderr]    Compiling validator_derive v0.18.2
[INFO] [stderr]    Compiling mongodb-internal-macros v3.4.1
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling typed-builder v0.22.0
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling derive-where v1.6.0
[INFO] [stderr]    Compiling serde_with_macros v3.16.1
[INFO] [stderr]    Compiling icu_properties v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling derive_more v2.0.1
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling serde_with v3.16.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling simple_asn1 v0.6.3
[INFO] [stderr]    Compiling bson v2.15.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling jsonwebtoken v9.3.1
[INFO] [stderr]    Compiling validator v0.18.1
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling hickory-proto v0.25.2
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling combine v4.6.7
[INFO] [stderr]    Compiling hickory-resolver v0.25.2
[INFO] [stderr]    Compiling mongodb v3.4.1
[INFO] [stderr]    Compiling redis v0.24.0
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling hyper-util v0.1.18
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling gcp_auth v0.12.6
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling hyper-rustls v0.24.2
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling yup-oauth2 v8.3.2
[INFO] [stderr]    Compiling rs-firebase-admin-sdk v2.4.0
[INFO] [stderr]    Compiling axum-extra v0.9.6
[INFO] [stderr]    Compiling api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `GameQuery as ModelGameQuery`
[INFO] [stdout]   --> src/handlers/games.rs:12:33
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::models::game::{Game, GameQuery as ModelGameQuery, LiveGamesResponse, LiveUpdate};
[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 imports: `AppError` and `Result`
[INFO] [stdout]   --> src/handlers/auth_otp.rs:18:21
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::errors::{AppError, Result};
[INFO] [stdout]    |                     ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PledgeId`
[INFO] [stdout]   --> src/handlers/bets.rs:16:45
[INFO] [stdout]    |
[INFO] [stdout] 16 |         Bet, BetResponse, CreateBetRequest, PledgeId, SuccessResponse, UpdateBalanceRequest,
[INFO] [stdout]    |                                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]   --> src/handlers/mpesa_handlers.rs:11:26
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/handlers/sub_fixture_handler.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use uuid::Uuid;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sub_fixture_handler::*`
[INFO] [stdout]   --> src/handlers/mod.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub use sub_fixture_handler::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_helpers`
[INFO] [stdout]  --> src/models/bets.rs:3:36
[INFO] [stdout]   |
[INFO] [stdout] 3 | use mongodb::bson::{oid::ObjectId, serde_helpers};
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sub_fixture::*`
[INFO] [stdout]   --> src/models/mod.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub use sub_fixture::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `delete` and `post`
[INFO] [stdout]  --> src/routes/bets.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 |     routing::{get, post, put, delete},
[INFO] [stdout]   |                    ^^^^       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `post`
[INFO] [stdout]  --> src/routes/games.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 |     routing::{get, post},
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vote_routes::*`
[INFO] [stdout]   --> src/routes/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub use vote_routes::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `yup_oauth2::ServiceAccountKey`
[INFO] [stdout]  --> src/services/fcm_service.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use yup_oauth2::ServiceAccountKey;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/handlers/games.rs:176:9
[INFO] [stdout]     |
[INFO] [stdout] 176 |     let mut sorted: Vec<Game> = not_started
[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: unused variable: `options`
[INFO] [stdout]    --> src/handlers/bets.rs:309:9
[INFO] [stdout]     |
[INFO] [stdout] 309 |     let options = mongodb::options::FindOneAndUpdateOptions::builder()
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `home_votes`
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1366:13
[INFO] [stdout]      |
[INFO] [stdout] 1366 |         let home_votes = vote_collection
[INFO] [stdout]      |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_home_votes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `draw_votes`
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1373:13
[INFO] [stdout]      |
[INFO] [stdout] 1373 |         let draw_votes = vote_collection
[INFO] [stdout]      |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_draw_votes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `away_votes`
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1380:13
[INFO] [stdout]      |
[INFO] [stdout] 1380 |         let away_votes = vote_collection
[INFO] [stdout]      |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_away_votes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `jwt_secret`, `sms_api_key`, `sms_username`, `sms_from`, and `mpesa_validation_url` are never read
[INFO] [stdout]   --> src/config.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct AppConfig {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout]  8 |     // ── Core ─────────────────────────────────────────────────────────────────
[INFO] [stdout]  9 |     pub jwt_secret: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub sms_api_key: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 13 |     pub sms_username: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 14 |     pub sms_from: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub mpesa_validation_url: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppConfig` has derived impls for the traits `Clone` and `Debug`, but these are 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: methods `is_mpesa_configured` and `is_sms_configured` are never used
[INFO] [stdout]    --> src/config.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl AppConfig {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn is_mpesa_configured(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn is_sms_configured(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/errors.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum AppError {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 27 |     NoImageProvided,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     DuplicateKey,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     MpesaError(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     AuthError,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68 |     Unauthorized,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     RateLimitExceeded,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     ServiceUnavailable(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     ConfigurationError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 92 |     RedisError(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     HttpClientError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `missing_field`, `mpesa`, `external_api`, `cloudinary`, `configuration`, and `redis` are never used
[INFO] [stdout]    --> src/errors.rs:233:12
[INFO] [stdout]     |
[INFO] [stdout] 228 | impl AppError {
[INFO] [stdout]     | ------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 233 |     pub fn missing_field(field: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 237 |     pub fn mpesa(msg: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 241 |     pub fn external_api(msg: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 245 |     pub fn cloudinary(msg: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 249 |     pub fn configuration(msg: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     pub fn redis(msg: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_game_by_match_id` is never used
[INFO] [stdout]   --> src/handlers/games.rs:73:14
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub async fn get_game_by_match_id(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_live_games` is never used
[INFO] [stdout]   --> src/handlers/games.rs:86:14
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub async fn get_live_games(State(state): State<AppState>) -> Result<Json<LiveGamesResponse>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_kickoff_utc` is never used
[INFO] [stdout]    --> src/handlers/games.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn parse_kickoff_utc(date_iso: &str, time_str: &str) -> Option<chrono::DateTime<Utc>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_upcoming_games` is never used
[INFO] [stdout]    --> src/handlers/games.rs:125:14
[INFO] [stdout]     |
[INFO] [stdout] 125 | pub async fn get_upcoming_games(State(state): State<AppState>) -> Result<Json<Vec<Game>>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_game_score` is never used
[INFO] [stdout]    --> src/handlers/games.rs:191:14
[INFO] [stdout]     |
[INFO] [stdout] 191 | pub async fn update_game_score(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_game_status` is never used
[INFO] [stdout]    --> src/handlers/games.rs:299:14
[INFO] [stdout]     |
[INFO] [stdout] 299 | pub async fn update_game_status(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/handlers/kalka.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_numbers` is never used
[INFO] [stdout]   --> src/handlers/kalka.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn get_numbers() -> (f64, f64) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_number` is never used
[INFO] [stdout]   --> src/handlers/kalka.rs:68:4
[INFO] [stdout]    |
[INFO] [stdout] 68 | fn get_number() -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]   --> src/handlers/kalka.rs:81:4
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn add(a: f64, b: f64) -> f64 {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `subtract` is never used
[INFO] [stdout]   --> src/handlers/kalka.rs:85:4
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn subtract(a: f64, b: f64) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `multiply` is never used
[INFO] [stdout]   --> src/handlers/kalka.rs:89:4
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn multiply(a: f64, b: f64) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `divide` is never used
[INFO] [stdout]   --> src/handlers/kalka.rs:93:4
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn divide(a: f64, b: f64) -> f64 {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serve_image` is never used
[INFO] [stdout]   --> src/handlers/upload.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub async fn serve_image(Path(file_name): Path<String>) -> Result<Response> {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RecentArchiveQuery` is never constructed
[INFO] [stdout]    --> src/handlers/archive.rs:293:12
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub struct RecentArchiveQuery {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_recent_archive_activities` is never used
[INFO] [stdout]    --> src/handlers/archive.rs:297:14
[INFO] [stdout]     |
[INFO] [stdout] 297 | pub async fn get_recent_archive_activities(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_user_activity` is never used
[INFO] [stdout]    --> src/handlers/archive.rs:321:14
[INFO] [stdout]     |
[INFO] [stdout] 321 | pub async fn check_user_activity(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_archives_by_username` is never used
[INFO] [stdout]    --> src/handlers/archive.rs:484:14
[INFO] [stdout]     |
[INFO] [stdout] 484 | pub async fn get_archives_by_username(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `reset_token` is never read
[INFO] [stdout]   --> src/handlers/auth_otp.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct ResetPasswordRequest {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] 37 |     pub user_id: String,
[INFO] [stdout] 38 |     pub reset_token: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ResetPasswordRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `result_type`, `originator_conversation_id`, `conversation_id`, and `result_parameters` are never read
[INFO] [stdout]   --> src/handlers/b2c_handlers.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct B2CResult {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 41 |     #[serde(rename = "ResultType")]
[INFO] [stdout] 42 |     pub result_type: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub originator_conversation_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub conversation_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub result_parameters: B2CResultParameters,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `B2CResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `result_parameter` is never read
[INFO] [stdout]   --> src/handlers/b2c_handlers.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct B2CResultParameters {
[INFO] [stdout]    |            ------------------- field in this struct
[INFO] [stdout] 65 |     #[serde(rename = "ResultParameter")]
[INFO] [stdout] 66 |     pub result_parameter: Vec<B2CResultParameter>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `B2CResultParameters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `key` and `value` are never read
[INFO] [stdout]   --> src/handlers/b2c_handlers.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct B2CResultParameter {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 71 |     #[serde(rename = "Key")]
[INFO] [stdout] 72 |     pub key: String,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub value: serde_json::Value,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `B2CResultParameter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_b2c_status` is never used
[INFO] [stdout]    --> src/handlers/b2c_handlers.rs:173:14
[INFO] [stdout]     |
[INFO] [stdout] 173 | pub async fn get_b2c_status() -> impl IntoResponse {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `health_check` is never used
[INFO] [stdout]    --> src/handlers/chat_handlers.rs:558:14
[INFO] [stdout]     |
[INFO] [stdout] 558 | pub async fn health_check() -> impl IntoResponse {
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ValidationRequest` is never constructed
[INFO] [stdout]   --> src/handlers/mpesa_handlers.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct ValidationRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_user_token_status` is never used
[INFO] [stdout]    --> src/handlers/notification_handler.rs:304:14
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub async fn get_user_token_status(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `migrate_posts` is never used
[INFO] [stdout]    --> src/handlers/posta.rs:468:14
[INFO] [stdout]     |
[INFO] [stdout] 468 | pub async fn migrate_posts(
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_bulk_sub_fixture_stats` is never used
[INFO] [stdout]    --> src/handlers/sub_fixture_handler.rs:477:14
[INFO] [stdout]     |
[INFO] [stdout] 477 | pub async fn get_bulk_sub_fixture_stats(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_trending_sub_fixtures` is never used
[INFO] [stdout]    --> src/handlers/sub_fixture_handler.rs:541:14
[INFO] [stdout]     |
[INFO] [stdout] 541 | pub async fn get_trending_sub_fixtures(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_sub_fixture` is never used
[INFO] [stdout]    --> src/handlers/sub_fixture_handler.rs:584:14
[INFO] [stdout]     |
[INFO] [stdout] 584 | pub async fn create_sub_fixture(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_sub_fixture` is never used
[INFO] [stdout]    --> src/handlers/sub_fixture_handler.rs:617:14
[INFO] [stdout]     |
[INFO] [stdout] 617 | pub async fn update_sub_fixture(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_sub_fixture` is never used
[INFO] [stdout]    --> src/handlers/sub_fixture_handler.rs:670:14
[INFO] [stdout]     |
[INFO] [stdout] 670 | pub async fn delete_sub_fixture(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_vote_stats` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1141:14
[INFO] [stdout]      |
[INFO] [stdout] 1141 | pub async fn get_vote_stats(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_like_stats` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1148:14
[INFO] [stdout]      |
[INFO] [stdout] 1148 | pub async fn get_like_stats(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_comment_stats` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1155:14
[INFO] [stdout]      |
[INFO] [stdout] 1155 | pub async fn get_comment_stats(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_fixture_stats` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1162:14
[INFO] [stdout]      |
[INFO] [stdout] 1162 | pub async fn get_fixture_stats(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_counts_for_fixture` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1196:14
[INFO] [stdout]      |
[INFO] [stdout] 1196 | pub async fn get_all_counts_for_fixture(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_user_stats` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1276:14
[INFO] [stdout]      |
[INFO] [stdout] 1276 | pub async fn get_user_stats(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_total_counts` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1312:14
[INFO] [stdout]      |
[INFO] [stdout] 1312 | pub async fn get_total_counts(State(state): State<AppState>) -> Result<Json<TotalCountsResponse>> {
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_batch_fixture_counts` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1348:14
[INFO] [stdout]      |
[INFO] [stdout] 1348 | pub async fn get_batch_fixture_counts(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cleanup_old_votes` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1461:14
[INFO] [stdout]      |
[INFO] [stdout] 1461 | pub async fn cleanup_old_votes(State(state): State<AppState>) -> Result<Json<serde_json::Value>> {
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_overview_stats` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1492:14
[INFO] [stdout]      |
[INFO] [stdout] 1492 | pub async fn get_overview_stats(State(state): State<AppState>) -> Result<Json<serde_json::Value>> {
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_comment_counts_for_multiple_fixtures` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1578:14
[INFO] [stdout]      |
[INFO] [stdout] 1578 | pub async fn get_comment_counts_for_multiple_fixtures(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_total_likes_for_multiple_fixtures` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1601:14
[INFO] [stdout]      |
[INFO] [stdout] 1601 | pub async fn get_total_likes_for_multiple_fixtures(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_combined_stats_for_multiple_fixtures` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1621:14
[INFO] [stdout]      |
[INFO] [stdout] 1621 | pub async fn get_combined_stats_for_multiple_fixtures(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_realtime_vote_updates` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1663:14
[INFO] [stdout]      |
[INFO] [stdout] 1663 | pub async fn get_realtime_vote_updates(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_comment_counts_by_selection` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1810:14
[INFO] [stdout]      |
[INFO] [stdout] 1810 | pub async fn get_comment_counts_by_selection(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_fixture_engagement_summary` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1863:14
[INFO] [stdout]      |
[INFO] [stdout] 1863 | pub async fn get_fixture_engagement_summary(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `auth_middleware` is never used
[INFO] [stdout]   --> src/middleware/auth.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn auth_middleware(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateGame` is never constructed
[INFO] [stdout]   --> src/models/game.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct CreateGame {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateGameScore` is never constructed
[INFO] [stdout]   --> src/models/game.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct UpdateGameScore {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LiveUpdate` is never constructed
[INFO] [stdout]   --> src/models/game.rs:90:12
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub struct LiveUpdate {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GameQuery` is never constructed
[INFO] [stdout]   --> src/models/game.rs:98:12
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub struct GameQuery {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ApiResponse` is never constructed
[INFO] [stdout]    --> src/models/game.rs:109:12
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub struct ApiResponse<T> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PaginatedGames` is never constructed
[INFO] [stdout]    --> src/models/game.rs:117:12
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub struct PaginatedGames {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LiveGamesResponse` is never constructed
[INFO] [stdout]    --> src/models/game.rs:126:12
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub struct LiveGamesResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GameStats` is never constructed
[INFO] [stdout]    --> src/models/game.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub struct GameStats {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LeagueStats` is never constructed
[INFO] [stdout]    --> src/models/game.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub struct LeagueStats {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BulkGameUpdate` is never constructed
[INFO] [stdout]    --> src/models/game.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub struct BulkGameUpdate {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GameStatusUpdate` is never constructed
[INFO] [stdout]    --> src/models/game.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub struct GameStatusUpdate {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_upcoming`, `is_live_game`, `is_completed`, `formatted_score`, and `display_date` are never used
[INFO] [stdout]    --> src/models/game.rs:167:12
[INFO] [stdout]     |
[INFO] [stdout] 166 | impl Game {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] 167 |     pub fn is_upcoming(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub fn is_live_game(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub fn is_completed(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |     pub fn formatted_score(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     pub fn display_date(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/models/archive.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl ActivityType {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 32 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `bet_id` is never read
[INFO] [stdout]    --> src/models/bets.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub struct UpdateBetRequest {
[INFO] [stdout]     |            ---------------- field in this struct
[INFO] [stdout] 130 |     pub bet_id: String, // ObjectId as string
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UpdateBetRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorResponse` is never constructed
[INFO] [stdout]    --> src/models/bets.rs:223:12
[INFO] [stdout]     |
[INFO] [stdout] 223 | pub struct ErrorResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PaginatedResponse` is never constructed
[INFO] [stdout]    --> src/models/chat.rs:165:12
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub struct PaginatedResponse<T> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorResponse` is never constructed
[INFO] [stdout]    --> src/models/chat.rs:217:12
[INFO] [stdout]     |
[INFO] [stdout] 217 | pub struct ErrorResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/models/chat.rs:225:12
[INFO] [stdout]     |
[INFO] [stdout] 224 | impl ErrorResponse {
[INFO] [stdout]     | ------------------ associated function in this implementation
[INFO] [stdout] 225 |     pub fn new(error: &str, message: &str) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HealthCheckResponse` is never constructed
[INFO] [stdout]    --> src/models/chat.rs:238:12
[INFO] [stdout]     |
[INFO] [stdout] 238 | pub struct HealthCheckResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PostComments` is never constructed
[INFO] [stdout]   --> src/models/comments.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct PostComments {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateComment` is never constructed
[INFO] [stdout]   --> src/models/comments.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct CreateComment {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateComment` is never constructed
[INFO] [stdout]   --> src/models/comments.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct UpdateComment {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommentResponse` is never constructed
[INFO] [stdout]   --> src/models/comments.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct CommentResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommentQuery` is never constructed
[INFO] [stdout]    --> src/models/comments.rs:112:12
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub struct CommentQuery {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ApiResponse` is never constructed
[INFO] [stdout]    --> src/models/comments.rs:123:12
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub struct ApiResponse<T> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `success` and `with_message` are never used
[INFO] [stdout]    --> src/models/comments.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 129 | impl<T> ApiResponse<T> {
[INFO] [stdout]     | ---------------------- associated functions in this implementation
[INFO] [stdout] 130 |     pub fn success(data: T) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     pub fn with_message(data: T, message: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorResponse` is never constructed
[INFO] [stdout]    --> src/models/comments.rs:148:12
[INFO] [stdout]     |
[INFO] [stdout] 148 | pub struct ErrorResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/models/comments.rs:156:12
[INFO] [stdout]     |
[INFO] [stdout] 155 | impl ErrorResponse {
[INFO] [stdout]     | ------------------ associated function in this implementation
[INFO] [stdout] 156 |     pub fn new(error: &str, message: &str) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PaginatedComments` is never constructed
[INFO] [stdout]    --> src/models/comments.rs:170:12
[INFO] [stdout]     |
[INFO] [stdout] 170 | pub struct PaginatedComments {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PaginatedGames` is never constructed
[INFO] [stdout]    --> src/models/comments.rs:180:12
[INFO] [stdout]     |
[INFO] [stdout] 180 | pub struct PaginatedGames {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LiveGamesResponse` is never constructed
[INFO] [stdout]    --> src/models/comments.rs:190:12
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub struct LiveGamesResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommentStats` is never constructed
[INFO] [stdout]    --> src/models/comments.rs:199:12
[INFO] [stdout]     |
[INFO] [stdout] 199 | pub struct CommentStats {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BulkCommentRequest` is never constructed
[INFO] [stdout]    --> src/models/comments.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub struct BulkCommentRequest {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BulkCommentResponse` is never constructed
[INFO] [stdout]    --> src/models/comments.rs:221:12
[INFO] [stdout]     |
[INFO] [stdout] 221 | pub struct BulkCommentResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FailedComment` is never constructed
[INFO] [stdout]    --> src/models/comments.rs:229:12
[INFO] [stdout]     |
[INFO] [stdout] 229 | pub struct FailedComment {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_comment` is never used
[INFO] [stdout]    --> src/models/comments.rs:253:8
[INFO] [stdout]     |
[INFO] [stdout] 253 | pub fn validate_comment(comment: &str) -> Result<(), String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_poster_name` is never used
[INFO] [stdout]    --> src/models/comments.rs:263:8
[INFO] [stdout]     |
[INFO] [stdout] 263 | pub fn validate_poster_name(name: &str) -> Result<(), String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Game` is never constructed
[INFO] [stdout]  --> src/models/livegames.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Game {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LiveUpdate` is never constructed
[INFO] [stdout]   --> src/models/livegames.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct LiveUpdate {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LiveGamesResponse` is never constructed
[INFO] [stdout]   --> src/models/livegames.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct LiveGamesResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LiveQuery` is never constructed
[INFO] [stdout]   --> src/models/livegames.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct LiveQuery {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NotificationResponse` is never constructed
[INFO] [stdout]   --> src/models/notification.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct NotificationResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `vote_alerts`, `like_alerts`, and `comment_alerts` are never read
[INFO] [stdout]   --> src/models/notification.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct UpdatePreferencesRequest {
[INFO] [stdout]    |            ------------------------ fields in this struct
[INFO] [stdout] 67 |     pub user_id: String,
[INFO] [stdout] 68 |     pub vote_alerts: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 69 |     pub like_alerts: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 70 |     pub comment_alerts: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UpdatePreferencesRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Payment` is never constructed
[INFO] [stdout]  --> src/models/payment.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Payment {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreatePayment` is never constructed
[INFO] [stdout]   --> src/models/payment.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct CreatePayment {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PaymentQuery` is never constructed
[INFO] [stdout]   --> src/models/payment.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct PaymentQuery {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `starter_id` is never read
[INFO] [stdout]   --> src/models/pledges.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct PledgeQuery {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub starter_id: Option<String>, // Added field
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PledgeQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_timestamps` and `has_text` are never used
[INFO] [stdout]    --> src/models/posta.rs:138:12
[INFO] [stdout]     |
[INFO] [stdout]  51 | impl Post {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 138 |     pub fn update_timestamps(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn has_text(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update_timestamps` is never used
[INFO] [stdout]    --> src/models/posta.rs:204:12
[INFO] [stdout]     |
[INFO] [stdout] 182 | impl Comment {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 204 |     pub fn update_timestamps(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateSubFixtureRequest` is never constructed
[INFO] [stdout]   --> src/models/sub_fixture.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub struct CreateSubFixtureRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateSubFixtureRequest` is never constructed
[INFO] [stdout]    --> src/models/sub_fixture.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub struct UpdateSubFixtureRequest {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BulkStatsRequest` is never constructed
[INFO] [stdout]    --> src/models/sub_fixture.rs:128:12
[INFO] [stdout]     |
[INFO] [stdout] 128 | pub struct BulkStatsRequest {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MpesaTransaction` is never constructed
[INFO] [stdout]   --> src/models/transaction.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct MpesaTransaction {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateMpesaTransaction` is never constructed
[INFO] [stdout]   --> src/models/transaction.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct CreateMpesaTransaction {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MpesaTransactionQuery` is never constructed
[INFO] [stdout]   --> src/models/transaction.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct MpesaTransactionQuery {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CallbackData` is never constructed
[INFO] [stdout]   --> src/models/transaction.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct CallbackData {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CallbackBody` is never constructed
[INFO] [stdout]   --> src/models/transaction.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct CallbackBody {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StkCallback` is never constructed
[INFO] [stdout]   --> src/models/transaction.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub struct StkCallback {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CallbackMetadata` is never constructed
[INFO] [stdout]   --> src/models/transaction.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub struct CallbackMetadata {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MetadataItem` is never constructed
[INFO] [stdout]   --> src/models/transaction.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub struct MetadataItem {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommentWithUser` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:288:12
[INFO] [stdout]     |
[INFO] [stdout] 288 | pub struct CommentWithUser {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserVoteStatus` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:329:12
[INFO] [stdout]     |
[INFO] [stdout] 329 | pub struct UserVoteStatus {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FixtureStats` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:348:12
[INFO] [stdout]     |
[INFO] [stdout] 348 | pub struct FixtureStats {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StatsResponse` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:407:12
[INFO] [stdout]     |
[INFO] [stdout] 407 | pub struct StatsResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `limit` and `skip` are never read
[INFO] [stdout]    --> src/models/vote.rs:421:9
[INFO] [stdout]     |
[INFO] [stdout] 415 | pub struct VoteQuery {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 421 |     pub limit: Option<i64>,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 422 |     pub skip: Option<u64>,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `VoteQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `limit`, `skip`, and `sort_by` are never read
[INFO] [stdout]    --> src/models/vote.rs:437:9
[INFO] [stdout]     |
[INFO] [stdout] 426 | pub struct CommentQuery {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 437 |     pub limit: Option<i64>,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 438 |     pub skip: Option<u64>,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 441 |     pub sort_by: Option<String>, // "newest", "oldest", "most_liked"
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CommentQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_create_vote` is never used
[INFO] [stdout]    --> src/models/vote.rs:592:12
[INFO] [stdout]     |
[INFO] [stdout] 591 | impl Vote {
[INFO] [stdout]     | --------- associated function in this implementation
[INFO] [stdout] 592 |     pub fn from_create_vote(create_vote: CreateVote) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_create_like` is never used
[INFO] [stdout]    --> src/models/vote.rs:610:12
[INFO] [stdout]     |
[INFO] [stdout] 609 | impl Like {
[INFO] [stdout]     | --------- associated function in this implementation
[INFO] [stdout] 610 |     pub fn from_create_like(create_like: CreateLike) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_create_comment` is never used
[INFO] [stdout]    --> src/models/vote.rs:632:12
[INFO] [stdout]     |
[INFO] [stdout] 631 | impl Comment {
[INFO] [stdout]     | ------------ associated function in this implementation
[INFO] [stdout] 632 |     pub fn from_create_comment(create_comment: CreateComment) -> Result<Self, String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bson_datetime_to_iso_string` is never used
[INFO] [stdout]    --> src/models/vote.rs:670:8
[INFO] [stdout]     |
[INFO] [stdout] 670 | pub fn bson_datetime_to_iso_string(dt: &BsonDateTime) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `option_bson_datetime_to_iso_string` is never used
[INFO] [stdout]    --> src/models/vote.rs:680:8
[INFO] [stdout]     |
[INFO] [stdout] 680 | pub fn option_bson_datetime_to_iso_string(dt: &Option<BsonDateTime>) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ApiResponse` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:688:12
[INFO] [stdout]     |
[INFO] [stdout] 688 | pub struct ApiResponse<T> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PaginatedResponse` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:698:12
[INFO] [stdout]     |
[INFO] [stdout] 698 | pub struct PaginatedResponse<T> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorResponse` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:707:12
[INFO] [stdout]     |
[INFO] [stdout] 707 | pub struct ErrorResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/models/vote.rs:715:12
[INFO] [stdout]     |
[INFO] [stdout] 714 | impl ErrorResponse {
[INFO] [stdout]     | ------------------ associated function in this implementation
[INFO] [stdout] 715 |     pub fn new(error: &str, message: &str) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TotalCounts` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:729:12
[INFO] [stdout]     |
[INFO] [stdout] 729 | pub struct TotalCounts {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TotalCountsResponse` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:751:12
[INFO] [stdout]     |
[INFO] [stdout] 751 | pub struct TotalCountsResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FixtureCounts` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:759:12
[INFO] [stdout]     |
[INFO] [stdout] 759 | pub struct FixtureCounts {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FixtureCountsResponse` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:802:12
[INFO] [stdout]     |
[INFO] [stdout] 802 | pub struct FixtureCountsResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BatchFixtureCountsRequest` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:810:12
[INFO] [stdout]     |
[INFO] [stdout] 810 | pub struct BatchFixtureCountsRequest {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FixtureCountItem` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:820:12
[INFO] [stdout]     |
[INFO] [stdout] 820 | pub struct FixtureCountItem {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BatchFixtureCountsResponse` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:854:12
[INFO] [stdout]     |
[INFO] [stdout] 854 | pub struct BatchFixtureCountsResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VoteBreakdown` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:863:12
[INFO] [stdout]     |
[INFO] [stdout] 863 | pub struct VoteBreakdown {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DetailedFixtureStats` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:885:12
[INFO] [stdout]     |
[INFO] [stdout] 885 | pub struct DetailedFixtureStats {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DetailedFixtureStatsResponse` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:922:12
[INFO] [stdout]     |
[INFO] [stdout] 922 | pub struct DetailedFixtureStatsResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserActivitySummary` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:932:12
[INFO] [stdout]     |
[INFO] [stdout] 932 | pub struct UserActivitySummary {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FixtureEngagement` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:963:12
[INFO] [stdout]     |
[INFO] [stdout] 963 | pub struct FixtureEngagement {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VoteUpdate` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:996:12
[INFO] [stdout]     |
[INFO] [stdout] 996 | pub struct VoteUpdate {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LikeWithUser` is never constructed
[INFO] [stdout]     --> src/models/vote.rs:1018:12
[INFO] [stdout]      |
[INFO] [stdout] 1018 | pub struct LikeWithUser {
[INFO] [stdout]      |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BatchStatsRequest` is never constructed
[INFO] [stdout]     --> src/models/vote.rs:1044:12
[INFO] [stdout]      |
[INFO] [stdout] 1044 | pub struct BatchStatsRequest {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BatchStatsResponse` is never constructed
[INFO] [stdout]     --> src/models/vote.rs:1060:12
[INFO] [stdout]      |
[INFO] [stdout] 1060 | pub struct BatchStatsResponse {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PopularFixture` is never constructed
[INFO] [stdout]     --> src/models/vote.rs:1071:12
[INFO] [stdout]      |
[INFO] [stdout] 1071 | pub struct PopularFixture {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserVoteHistory` is never constructed
[INFO] [stdout]     --> src/models/vote.rs:1099:12
[INFO] [stdout]      |
[INFO] [stdout] 1099 | pub struct UserVoteHistory {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserVoteEntry` is never constructed
[INFO] [stdout]     --> src/models/vote.rs:1116:12
[INFO] [stdout]      |
[INFO] [stdout] 1116 | pub struct UserVoteEntry {
[INFO] [stdout]      |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vote_stats_routes` is never used
[INFO] [stdout]    --> src/routes/vote_routes.rs:141:8
[INFO] [stdout]     |
[INFO] [stdout] 141 | pub fn vote_stats_routes() -> Router<AppState> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vote_admin_routes` is never used
[INFO] [stdout]    --> src/routes/vote_routes.rs:210:8
[INFO] [stdout]     |
[INFO] [stdout] 210 | pub fn vote_admin_routes() -> Router<AppState> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `expires_in` is never read
[INFO] [stdout]   --> src/services/mpesa_service.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct AuthResponse {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 15 |     pub access_token: String,
[INFO] [stdout] 16 |     pub expires_in: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AuthResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check_connectivity` is never used
[INFO] [stdout]    --> src/services/mpesa_service.rs:419:18
[INFO] [stdout]     |
[INFO] [stdout] 103 | impl MpesaService {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 419 |     pub async fn check_connectivity(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConnectivityStatus` is never constructed
[INFO] [stdout]    --> src/services/mpesa_service.rs:453:12
[INFO] [stdout]     |
[INFO] [stdout] 453 | pub struct ConnectivityStatus {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Result` should have a snake case name
[INFO] [stdout]   --> src/handlers/b2c_handlers.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub Result: B2CResult,
[INFO] [stdout]    |         ^^^^^^ help: convert the identifier to snake case: `result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Body` should have a snake case name
[INFO] [stdout]   --> src/handlers/mpesa_handlers.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub Body: CallbackBody,
[INFO] [stdout]    |         ^^^^ help: convert the identifier to snake case: `body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Body` should have a snake case name
[INFO] [stdout]   --> src/models/transaction.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub Body: CallbackBody,
[INFO] [stdout]    |         ^^^^ help: convert the identifier to snake case: `body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `stkCallback` should have a snake case name
[INFO] [stdout]   --> src/models/transaction.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub stkCallback: StkCallback,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: convert the identifier to snake case: `stk_callback`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Item` should have a snake case name
[INFO] [stdout]   --> src/models/transaction.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub Item: Vec<MetadataItem>,
[INFO] [stdout]    |         ^^^^ help: convert the identifier to snake case (notice the capitalization): `item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Name` should have a snake case name
[INFO] [stdout]   --> src/models/transaction.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |     pub Name: String,
[INFO] [stdout]    |         ^^^^ help: convert the identifier to snake case: `name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Value` should have a snake case name
[INFO] [stdout]   --> src/models/transaction.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |     pub Value: serde_json::Value,
[INFO] [stdout]    |         ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 16s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.24.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "e36b146aa5c1a7df6229bc50b2ac2ea5cc322bad7cf84201a653e16c5132238f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e36b146aa5c1a7df6229bc50b2ac2ea5cc322bad7cf84201a653e16c5132238f", kill_on_drop: false }`
[INFO] [stdout] e36b146aa5c1a7df6229bc50b2ac2ea5cc322bad7cf84201a653e16c5132238f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 772c6bb589174dc480cfdcea24cddc58cd30aae351e6e10a74333788a19ea25a
[INFO] running `Command { std: "docker" "start" "-a" "772c6bb589174dc480cfdcea24cddc58cd30aae351e6e10a74333788a19ea25a", kill_on_drop: false }`
[INFO] [stderr]    Compiling api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `GameQuery as ModelGameQuery`
[INFO] [stdout]   --> src/handlers/games.rs:12:33
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::models::game::{Game, GameQuery as ModelGameQuery, LiveGamesResponse, LiveUpdate};
[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 imports: `AppError` and `Result`
[INFO] [stdout]   --> src/handlers/auth_otp.rs:18:21
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::errors::{AppError, Result};
[INFO] [stdout]    |                     ^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PledgeId`
[INFO] [stdout]   --> src/handlers/bets.rs:16:45
[INFO] [stdout]    |
[INFO] [stdout] 16 |         Bet, BetResponse, CreateBetRequest, PledgeId, SuccessResponse, UpdateBalanceRequest,
[INFO] [stdout]    |                                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]   --> src/handlers/mpesa_handlers.rs:11:26
[INFO] [stdout]    |
[INFO] [stdout] 11 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/handlers/sub_fixture_handler.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use uuid::Uuid;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sub_fixture_handler::*`
[INFO] [stdout]   --> src/handlers/mod.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub use sub_fixture_handler::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_helpers`
[INFO] [stdout]  --> src/models/bets.rs:3:36
[INFO] [stdout]   |
[INFO] [stdout] 3 | use mongodb::bson::{oid::ObjectId, serde_helpers};
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sub_fixture::*`
[INFO] [stdout]   --> src/models/mod.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub use sub_fixture::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `delete` and `post`
[INFO] [stdout]  --> src/routes/bets.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 |     routing::{get, post, put, delete},
[INFO] [stdout]   |                    ^^^^       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `post`
[INFO] [stdout]  --> src/routes/games.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 |     routing::{get, post},
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vote_routes::*`
[INFO] [stdout]   --> src/routes/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub use vote_routes::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `yup_oauth2::ServiceAccountKey`
[INFO] [stdout]  --> src/services/fcm_service.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use yup_oauth2::ServiceAccountKey;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/handlers/games.rs:176:9
[INFO] [stdout]     |
[INFO] [stdout] 176 |     let mut sorted: Vec<Game> = not_started
[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: unused variable: `options`
[INFO] [stdout]    --> src/handlers/bets.rs:309:9
[INFO] [stdout]     |
[INFO] [stdout] 309 |     let options = mongodb::options::FindOneAndUpdateOptions::builder()
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `home_votes`
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1366:13
[INFO] [stdout]      |
[INFO] [stdout] 1366 |         let home_votes = vote_collection
[INFO] [stdout]      |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_home_votes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `draw_votes`
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1373:13
[INFO] [stdout]      |
[INFO] [stdout] 1373 |         let draw_votes = vote_collection
[INFO] [stdout]      |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_draw_votes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `away_votes`
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1380:13
[INFO] [stdout]      |
[INFO] [stdout] 1380 |         let away_votes = vote_collection
[INFO] [stdout]      |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_away_votes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `jwt_secret`, `sms_api_key`, `sms_username`, `sms_from`, and `mpesa_validation_url` are never read
[INFO] [stdout]   --> src/config.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct AppConfig {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout]  8 |     // ── Core ─────────────────────────────────────────────────────────────────
[INFO] [stdout]  9 |     pub jwt_secret: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub sms_api_key: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 13 |     pub sms_username: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 14 |     pub sms_from: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub mpesa_validation_url: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppConfig` has derived impls for the traits `Clone` and `Debug`, but these are 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: methods `is_mpesa_configured` and `is_sms_configured` are never used
[INFO] [stdout]    --> src/config.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl AppConfig {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn is_mpesa_configured(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn is_sms_configured(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/errors.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum AppError {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 27 |     NoImageProvided,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     DuplicateKey,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     MpesaError(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     AuthError,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68 |     Unauthorized,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     RateLimitExceeded,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     ServiceUnavailable(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     ConfigurationError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 92 |     RedisError(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     HttpClientError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `missing_field`, `mpesa`, `external_api`, `cloudinary`, `configuration`, and `redis` are never used
[INFO] [stdout]    --> src/errors.rs:233:12
[INFO] [stdout]     |
[INFO] [stdout] 228 | impl AppError {
[INFO] [stdout]     | ------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 233 |     pub fn missing_field(field: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 237 |     pub fn mpesa(msg: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 241 |     pub fn external_api(msg: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 245 |     pub fn cloudinary(msg: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 249 |     pub fn configuration(msg: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     pub fn redis(msg: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_game_by_match_id` is never used
[INFO] [stdout]   --> src/handlers/games.rs:73:14
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub async fn get_game_by_match_id(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_live_games` is never used
[INFO] [stdout]   --> src/handlers/games.rs:86:14
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub async fn get_live_games(State(state): State<AppState>) -> Result<Json<LiveGamesResponse>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_kickoff_utc` is never used
[INFO] [stdout]    --> src/handlers/games.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn parse_kickoff_utc(date_iso: &str, time_str: &str) -> Option<chrono::DateTime<Utc>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_upcoming_games` is never used
[INFO] [stdout]    --> src/handlers/games.rs:125:14
[INFO] [stdout]     |
[INFO] [stdout] 125 | pub async fn get_upcoming_games(State(state): State<AppState>) -> Result<Json<Vec<Game>>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_game_score` is never used
[INFO] [stdout]    --> src/handlers/games.rs:191:14
[INFO] [stdout]     |
[INFO] [stdout] 191 | pub async fn update_game_score(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_game_status` is never used
[INFO] [stdout]    --> src/handlers/games.rs:299:14
[INFO] [stdout]     |
[INFO] [stdout] 299 | pub async fn update_game_status(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]  --> src/handlers/kalka.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() {
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_numbers` is never used
[INFO] [stdout]   --> src/handlers/kalka.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn get_numbers() -> (f64, f64) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_number` is never used
[INFO] [stdout]   --> src/handlers/kalka.rs:68:4
[INFO] [stdout]    |
[INFO] [stdout] 68 | fn get_number() -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]   --> src/handlers/kalka.rs:81:4
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn add(a: f64, b: f64) -> f64 {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `subtract` is never used
[INFO] [stdout]   --> src/handlers/kalka.rs:85:4
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn subtract(a: f64, b: f64) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `multiply` is never used
[INFO] [stdout]   --> src/handlers/kalka.rs:89:4
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn multiply(a: f64, b: f64) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `divide` is never used
[INFO] [stdout]   --> src/handlers/kalka.rs:93:4
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn divide(a: f64, b: f64) -> f64 {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serve_image` is never used
[INFO] [stdout]   --> src/handlers/upload.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub async fn serve_image(Path(file_name): Path<String>) -> Result<Response> {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RecentArchiveQuery` is never constructed
[INFO] [stdout]    --> src/handlers/archive.rs:293:12
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub struct RecentArchiveQuery {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_recent_archive_activities` is never used
[INFO] [stdout]    --> src/handlers/archive.rs:297:14
[INFO] [stdout]     |
[INFO] [stdout] 297 | pub async fn get_recent_archive_activities(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_user_activity` is never used
[INFO] [stdout]    --> src/handlers/archive.rs:321:14
[INFO] [stdout]     |
[INFO] [stdout] 321 | pub async fn check_user_activity(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_archives_by_username` is never used
[INFO] [stdout]    --> src/handlers/archive.rs:484:14
[INFO] [stdout]     |
[INFO] [stdout] 484 | pub async fn get_archives_by_username(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `reset_token` is never read
[INFO] [stdout]   --> src/handlers/auth_otp.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct ResetPasswordRequest {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] 37 |     pub user_id: String,
[INFO] [stdout] 38 |     pub reset_token: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ResetPasswordRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `result_type`, `originator_conversation_id`, `conversation_id`, and `result_parameters` are never read
[INFO] [stdout]   --> src/handlers/b2c_handlers.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct B2CResult {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 41 |     #[serde(rename = "ResultType")]
[INFO] [stdout] 42 |     pub result_type: i32,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub originator_conversation_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub conversation_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub result_parameters: B2CResultParameters,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `B2CResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `result_parameter` is never read
[INFO] [stdout]   --> src/handlers/b2c_handlers.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct B2CResultParameters {
[INFO] [stdout]    |            ------------------- field in this struct
[INFO] [stdout] 65 |     #[serde(rename = "ResultParameter")]
[INFO] [stdout] 66 |     pub result_parameter: Vec<B2CResultParameter>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `B2CResultParameters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `key` and `value` are never read
[INFO] [stdout]   --> src/handlers/b2c_handlers.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct B2CResultParameter {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 71 |     #[serde(rename = "Key")]
[INFO] [stdout] 72 |     pub key: String,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub value: serde_json::Value,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `B2CResultParameter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_b2c_status` is never used
[INFO] [stdout]    --> src/handlers/b2c_handlers.rs:173:14
[INFO] [stdout]     |
[INFO] [stdout] 173 | pub async fn get_b2c_status() -> impl IntoResponse {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `health_check` is never used
[INFO] [stdout]    --> src/handlers/chat_handlers.rs:558:14
[INFO] [stdout]     |
[INFO] [stdout] 558 | pub async fn health_check() -> impl IntoResponse {
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ValidationRequest` is never constructed
[INFO] [stdout]   --> src/handlers/mpesa_handlers.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct ValidationRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_user_token_status` is never used
[INFO] [stdout]    --> src/handlers/notification_handler.rs:304:14
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub async fn get_user_token_status(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `migrate_posts` is never used
[INFO] [stdout]    --> src/handlers/posta.rs:468:14
[INFO] [stdout]     |
[INFO] [stdout] 468 | pub async fn migrate_posts(
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_bulk_sub_fixture_stats` is never used
[INFO] [stdout]    --> src/handlers/sub_fixture_handler.rs:477:14
[INFO] [stdout]     |
[INFO] [stdout] 477 | pub async fn get_bulk_sub_fixture_stats(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_trending_sub_fixtures` is never used
[INFO] [stdout]    --> src/handlers/sub_fixture_handler.rs:541:14
[INFO] [stdout]     |
[INFO] [stdout] 541 | pub async fn get_trending_sub_fixtures(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_sub_fixture` is never used
[INFO] [stdout]    --> src/handlers/sub_fixture_handler.rs:584:14
[INFO] [stdout]     |
[INFO] [stdout] 584 | pub async fn create_sub_fixture(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_sub_fixture` is never used
[INFO] [stdout]    --> src/handlers/sub_fixture_handler.rs:617:14
[INFO] [stdout]     |
[INFO] [stdout] 617 | pub async fn update_sub_fixture(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_sub_fixture` is never used
[INFO] [stdout]    --> src/handlers/sub_fixture_handler.rs:670:14
[INFO] [stdout]     |
[INFO] [stdout] 670 | pub async fn delete_sub_fixture(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_vote_stats` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1141:14
[INFO] [stdout]      |
[INFO] [stdout] 1141 | pub async fn get_vote_stats(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_like_stats` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1148:14
[INFO] [stdout]      |
[INFO] [stdout] 1148 | pub async fn get_like_stats(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_comment_stats` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1155:14
[INFO] [stdout]      |
[INFO] [stdout] 1155 | pub async fn get_comment_stats(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_fixture_stats` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1162:14
[INFO] [stdout]      |
[INFO] [stdout] 1162 | pub async fn get_fixture_stats(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_counts_for_fixture` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1196:14
[INFO] [stdout]      |
[INFO] [stdout] 1196 | pub async fn get_all_counts_for_fixture(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_user_stats` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1276:14
[INFO] [stdout]      |
[INFO] [stdout] 1276 | pub async fn get_user_stats(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_total_counts` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1312:14
[INFO] [stdout]      |
[INFO] [stdout] 1312 | pub async fn get_total_counts(State(state): State<AppState>) -> Result<Json<TotalCountsResponse>> {
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_batch_fixture_counts` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1348:14
[INFO] [stdout]      |
[INFO] [stdout] 1348 | pub async fn get_batch_fixture_counts(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cleanup_old_votes` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1461:14
[INFO] [stdout]      |
[INFO] [stdout] 1461 | pub async fn cleanup_old_votes(State(state): State<AppState>) -> Result<Json<serde_json::Value>> {
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_overview_stats` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1492:14
[INFO] [stdout]      |
[INFO] [stdout] 1492 | pub async fn get_overview_stats(State(state): State<AppState>) -> Result<Json<serde_json::Value>> {
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_comment_counts_for_multiple_fixtures` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1578:14
[INFO] [stdout]      |
[INFO] [stdout] 1578 | pub async fn get_comment_counts_for_multiple_fixtures(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_total_likes_for_multiple_fixtures` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1601:14
[INFO] [stdout]      |
[INFO] [stdout] 1601 | pub async fn get_total_likes_for_multiple_fixtures(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_combined_stats_for_multiple_fixtures` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1621:14
[INFO] [stdout]      |
[INFO] [stdout] 1621 | pub async fn get_combined_stats_for_multiple_fixtures(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_realtime_vote_updates` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1663:14
[INFO] [stdout]      |
[INFO] [stdout] 1663 | pub async fn get_realtime_vote_updates(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_comment_counts_by_selection` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1810:14
[INFO] [stdout]      |
[INFO] [stdout] 1810 | pub async fn get_comment_counts_by_selection(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_fixture_engagement_summary` is never used
[INFO] [stdout]     --> src/handlers/vote_handlers.rs:1863:14
[INFO] [stdout]      |
[INFO] [stdout] 1863 | pub async fn get_fixture_engagement_summary(
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `auth_middleware` is never used
[INFO] [stdout]   --> src/middleware/auth.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn auth_middleware(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateGame` is never constructed
[INFO] [stdout]   --> src/models/game.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct CreateGame {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateGameScore` is never constructed
[INFO] [stdout]   --> src/models/game.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct UpdateGameScore {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LiveUpdate` is never constructed
[INFO] [stdout]   --> src/models/game.rs:90:12
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub struct LiveUpdate {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GameQuery` is never constructed
[INFO] [stdout]   --> src/models/game.rs:98:12
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub struct GameQuery {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ApiResponse` is never constructed
[INFO] [stdout]    --> src/models/game.rs:109:12
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub struct ApiResponse<T> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PaginatedGames` is never constructed
[INFO] [stdout]    --> src/models/game.rs:117:12
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub struct PaginatedGames {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LiveGamesResponse` is never constructed
[INFO] [stdout]    --> src/models/game.rs:126:12
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub struct LiveGamesResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GameStats` is never constructed
[INFO] [stdout]    --> src/models/game.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub struct GameStats {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LeagueStats` is never constructed
[INFO] [stdout]    --> src/models/game.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub struct LeagueStats {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BulkGameUpdate` is never constructed
[INFO] [stdout]    --> src/models/game.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub struct BulkGameUpdate {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GameStatusUpdate` is never constructed
[INFO] [stdout]    --> src/models/game.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub struct GameStatusUpdate {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_upcoming`, `is_live_game`, `is_completed`, `formatted_score`, and `display_date` are never used
[INFO] [stdout]    --> src/models/game.rs:167:12
[INFO] [stdout]     |
[INFO] [stdout] 166 | impl Game {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] 167 |     pub fn is_upcoming(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub fn is_live_game(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub fn is_completed(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |     pub fn formatted_score(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     pub fn display_date(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/models/archive.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl ActivityType {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 32 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `bet_id` is never read
[INFO] [stdout]    --> src/models/bets.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub struct UpdateBetRequest {
[INFO] [stdout]     |            ---------------- field in this struct
[INFO] [stdout] 130 |     pub bet_id: String, // ObjectId as string
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `UpdateBetRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorResponse` is never constructed
[INFO] [stdout]    --> src/models/bets.rs:223:12
[INFO] [stdout]     |
[INFO] [stdout] 223 | pub struct ErrorResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PaginatedResponse` is never constructed
[INFO] [stdout]    --> src/models/chat.rs:165:12
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub struct PaginatedResponse<T> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorResponse` is never constructed
[INFO] [stdout]    --> src/models/chat.rs:217:12
[INFO] [stdout]     |
[INFO] [stdout] 217 | pub struct ErrorResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/models/chat.rs:225:12
[INFO] [stdout]     |
[INFO] [stdout] 224 | impl ErrorResponse {
[INFO] [stdout]     | ------------------ associated function in this implementation
[INFO] [stdout] 225 |     pub fn new(error: &str, message: &str) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HealthCheckResponse` is never constructed
[INFO] [stdout]    --> src/models/chat.rs:238:12
[INFO] [stdout]     |
[INFO] [stdout] 238 | pub struct HealthCheckResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PostComments` is never constructed
[INFO] [stdout]   --> src/models/comments.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct PostComments {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateComment` is never constructed
[INFO] [stdout]   --> src/models/comments.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct CreateComment {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateComment` is never constructed
[INFO] [stdout]   --> src/models/comments.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct UpdateComment {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommentResponse` is never constructed
[INFO] [stdout]   --> src/models/comments.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct CommentResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommentQuery` is never constructed
[INFO] [stdout]    --> src/models/comments.rs:112:12
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub struct CommentQuery {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ApiResponse` is never constructed
[INFO] [stdout]    --> src/models/comments.rs:123:12
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub struct ApiResponse<T> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `success` and `with_message` are never used
[INFO] [stdout]    --> src/models/comments.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 129 | impl<T> ApiResponse<T> {
[INFO] [stdout]     | ---------------------- associated functions in this implementation
[INFO] [stdout] 130 |     pub fn success(data: T) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     pub fn with_message(data: T, message: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorResponse` is never constructed
[INFO] [stdout]    --> src/models/comments.rs:148:12
[INFO] [stdout]     |
[INFO] [stdout] 148 | pub struct ErrorResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/models/comments.rs:156:12
[INFO] [stdout]     |
[INFO] [stdout] 155 | impl ErrorResponse {
[INFO] [stdout]     | ------------------ associated function in this implementation
[INFO] [stdout] 156 |     pub fn new(error: &str, message: &str) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PaginatedComments` is never constructed
[INFO] [stdout]    --> src/models/comments.rs:170:12
[INFO] [stdout]     |
[INFO] [stdout] 170 | pub struct PaginatedComments {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PaginatedGames` is never constructed
[INFO] [stdout]    --> src/models/comments.rs:180:12
[INFO] [stdout]     |
[INFO] [stdout] 180 | pub struct PaginatedGames {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LiveGamesResponse` is never constructed
[INFO] [stdout]    --> src/models/comments.rs:190:12
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub struct LiveGamesResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommentStats` is never constructed
[INFO] [stdout]    --> src/models/comments.rs:199:12
[INFO] [stdout]     |
[INFO] [stdout] 199 | pub struct CommentStats {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BulkCommentRequest` is never constructed
[INFO] [stdout]    --> src/models/comments.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub struct BulkCommentRequest {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BulkCommentResponse` is never constructed
[INFO] [stdout]    --> src/models/comments.rs:221:12
[INFO] [stdout]     |
[INFO] [stdout] 221 | pub struct BulkCommentResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FailedComment` is never constructed
[INFO] [stdout]    --> src/models/comments.rs:229:12
[INFO] [stdout]     |
[INFO] [stdout] 229 | pub struct FailedComment {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_comment` is never used
[INFO] [stdout]    --> src/models/comments.rs:253:8
[INFO] [stdout]     |
[INFO] [stdout] 253 | pub fn validate_comment(comment: &str) -> Result<(), String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_poster_name` is never used
[INFO] [stdout]    --> src/models/comments.rs:263:8
[INFO] [stdout]     |
[INFO] [stdout] 263 | pub fn validate_poster_name(name: &str) -> Result<(), String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Game` is never constructed
[INFO] [stdout]  --> src/models/livegames.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Game {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LiveUpdate` is never constructed
[INFO] [stdout]   --> src/models/livegames.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct LiveUpdate {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LiveGamesResponse` is never constructed
[INFO] [stdout]   --> src/models/livegames.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct LiveGamesResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LiveQuery` is never constructed
[INFO] [stdout]   --> src/models/livegames.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct LiveQuery {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NotificationResponse` is never constructed
[INFO] [stdout]   --> src/models/notification.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct NotificationResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `vote_alerts`, `like_alerts`, and `comment_alerts` are never read
[INFO] [stdout]   --> src/models/notification.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct UpdatePreferencesRequest {
[INFO] [stdout]    |            ------------------------ fields in this struct
[INFO] [stdout] 67 |     pub user_id: String,
[INFO] [stdout] 68 |     pub vote_alerts: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 69 |     pub like_alerts: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 70 |     pub comment_alerts: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UpdatePreferencesRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Payment` is never constructed
[INFO] [stdout]  --> src/models/payment.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Payment {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreatePayment` is never constructed
[INFO] [stdout]   --> src/models/payment.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct CreatePayment {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PaymentQuery` is never constructed
[INFO] [stdout]   --> src/models/payment.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct PaymentQuery {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `starter_id` is never read
[INFO] [stdout]   --> src/models/pledges.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct PledgeQuery {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub starter_id: Option<String>, // Added field
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PledgeQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_timestamps` and `has_text` are never used
[INFO] [stdout]    --> src/models/posta.rs:138:12
[INFO] [stdout]     |
[INFO] [stdout]  51 | impl Post {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 138 |     pub fn update_timestamps(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn has_text(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update_timestamps` is never used
[INFO] [stdout]    --> src/models/posta.rs:204:12
[INFO] [stdout]     |
[INFO] [stdout] 182 | impl Comment {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 204 |     pub fn update_timestamps(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateSubFixtureRequest` is never constructed
[INFO] [stdout]   --> src/models/sub_fixture.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub struct CreateSubFixtureRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateSubFixtureRequest` is never constructed
[INFO] [stdout]    --> src/models/sub_fixture.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub struct UpdateSubFixtureRequest {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BulkStatsRequest` is never constructed
[INFO] [stdout]    --> src/models/sub_fixture.rs:128:12
[INFO] [stdout]     |
[INFO] [stdout] 128 | pub struct BulkStatsRequest {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MpesaTransaction` is never constructed
[INFO] [stdout]   --> src/models/transaction.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct MpesaTransaction {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateMpesaTransaction` is never constructed
[INFO] [stdout]   --> src/models/transaction.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct CreateMpesaTransaction {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MpesaTransactionQuery` is never constructed
[INFO] [stdout]   --> src/models/transaction.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct MpesaTransactionQuery {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CallbackData` is never constructed
[INFO] [stdout]   --> src/models/transaction.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct CallbackData {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CallbackBody` is never constructed
[INFO] [stdout]   --> src/models/transaction.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct CallbackBody {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StkCallback` is never constructed
[INFO] [stdout]   --> src/models/transaction.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub struct StkCallback {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CallbackMetadata` is never constructed
[INFO] [stdout]   --> src/models/transaction.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub struct CallbackMetadata {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MetadataItem` is never constructed
[INFO] [stdout]   --> src/models/transaction.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub struct MetadataItem {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommentWithUser` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:288:12
[INFO] [stdout]     |
[INFO] [stdout] 288 | pub struct CommentWithUser {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserVoteStatus` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:329:12
[INFO] [stdout]     |
[INFO] [stdout] 329 | pub struct UserVoteStatus {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FixtureStats` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:348:12
[INFO] [stdout]     |
[INFO] [stdout] 348 | pub struct FixtureStats {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StatsResponse` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:407:12
[INFO] [stdout]     |
[INFO] [stdout] 407 | pub struct StatsResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `limit` and `skip` are never read
[INFO] [stdout]    --> src/models/vote.rs:421:9
[INFO] [stdout]     |
[INFO] [stdout] 415 | pub struct VoteQuery {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 421 |     pub limit: Option<i64>,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 422 |     pub skip: Option<u64>,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `VoteQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `limit`, `skip`, and `sort_by` are never read
[INFO] [stdout]    --> src/models/vote.rs:437:9
[INFO] [stdout]     |
[INFO] [stdout] 426 | pub struct CommentQuery {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 437 |     pub limit: Option<i64>,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 438 |     pub skip: Option<u64>,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 441 |     pub sort_by: Option<String>, // "newest", "oldest", "most_liked"
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CommentQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_create_vote` is never used
[INFO] [stdout]    --> src/models/vote.rs:592:12
[INFO] [stdout]     |
[INFO] [stdout] 591 | impl Vote {
[INFO] [stdout]     | --------- associated function in this implementation
[INFO] [stdout] 592 |     pub fn from_create_vote(create_vote: CreateVote) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_create_like` is never used
[INFO] [stdout]    --> src/models/vote.rs:610:12
[INFO] [stdout]     |
[INFO] [stdout] 609 | impl Like {
[INFO] [stdout]     | --------- associated function in this implementation
[INFO] [stdout] 610 |     pub fn from_create_like(create_like: CreateLike) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_create_comment` is never used
[INFO] [stdout]    --> src/models/vote.rs:632:12
[INFO] [stdout]     |
[INFO] [stdout] 631 | impl Comment {
[INFO] [stdout]     | ------------ associated function in this implementation
[INFO] [stdout] 632 |     pub fn from_create_comment(create_comment: CreateComment) -> Result<Self, String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bson_datetime_to_iso_string` is never used
[INFO] [stdout]    --> src/models/vote.rs:670:8
[INFO] [stdout]     |
[INFO] [stdout] 670 | pub fn bson_datetime_to_iso_string(dt: &BsonDateTime) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `option_bson_datetime_to_iso_string` is never used
[INFO] [stdout]    --> src/models/vote.rs:680:8
[INFO] [stdout]     |
[INFO] [stdout] 680 | pub fn option_bson_datetime_to_iso_string(dt: &Option<BsonDateTime>) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ApiResponse` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:688:12
[INFO] [stdout]     |
[INFO] [stdout] 688 | pub struct ApiResponse<T> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PaginatedResponse` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:698:12
[INFO] [stdout]     |
[INFO] [stdout] 698 | pub struct PaginatedResponse<T> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorResponse` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:707:12
[INFO] [stdout]     |
[INFO] [stdout] 707 | pub struct ErrorResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/models/vote.rs:715:12
[INFO] [stdout]     |
[INFO] [stdout] 714 | impl ErrorResponse {
[INFO] [stdout]     | ------------------ associated function in this implementation
[INFO] [stdout] 715 |     pub fn new(error: &str, message: &str) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TotalCounts` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:729:12
[INFO] [stdout]     |
[INFO] [stdout] 729 | pub struct TotalCounts {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TotalCountsResponse` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:751:12
[INFO] [stdout]     |
[INFO] [stdout] 751 | pub struct TotalCountsResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FixtureCounts` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:759:12
[INFO] [stdout]     |
[INFO] [stdout] 759 | pub struct FixtureCounts {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FixtureCountsResponse` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:802:12
[INFO] [stdout]     |
[INFO] [stdout] 802 | pub struct FixtureCountsResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BatchFixtureCountsRequest` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:810:12
[INFO] [stdout]     |
[INFO] [stdout] 810 | pub struct BatchFixtureCountsRequest {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FixtureCountItem` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:820:12
[INFO] [stdout]     |
[INFO] [stdout] 820 | pub struct FixtureCountItem {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BatchFixtureCountsResponse` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:854:12
[INFO] [stdout]     |
[INFO] [stdout] 854 | pub struct BatchFixtureCountsResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VoteBreakdown` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:863:12
[INFO] [stdout]     |
[INFO] [stdout] 863 | pub struct VoteBreakdown {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DetailedFixtureStats` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:885:12
[INFO] [stdout]     |
[INFO] [stdout] 885 | pub struct DetailedFixtureStats {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DetailedFixtureStatsResponse` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:922:12
[INFO] [stdout]     |
[INFO] [stdout] 922 | pub struct DetailedFixtureStatsResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserActivitySummary` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:932:12
[INFO] [stdout]     |
[INFO] [stdout] 932 | pub struct UserActivitySummary {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FixtureEngagement` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:963:12
[INFO] [stdout]     |
[INFO] [stdout] 963 | pub struct FixtureEngagement {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VoteUpdate` is never constructed
[INFO] [stdout]    --> src/models/vote.rs:996:12
[INFO] [stdout]     |
[INFO] [stdout] 996 | pub struct VoteUpdate {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LikeWithUser` is never constructed
[INFO] [stdout]     --> src/models/vote.rs:1018:12
[INFO] [stdout]      |
[INFO] [stdout] 1018 | pub struct LikeWithUser {
[INFO] [stdout]      |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BatchStatsRequest` is never constructed
[INFO] [stdout]     --> src/models/vote.rs:1044:12
[INFO] [stdout]      |
[INFO] [stdout] 1044 | pub struct BatchStatsRequest {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BatchStatsResponse` is never constructed
[INFO] [stdout]     --> src/models/vote.rs:1060:12
[INFO] [stdout]      |
[INFO] [stdout] 1060 | pub struct BatchStatsResponse {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PopularFixture` is never constructed
[INFO] [stdout]     --> src/models/vote.rs:1071:12
[INFO] [stdout]      |
[INFO] [stdout] 1071 | pub struct PopularFixture {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserVoteHistory` is never constructed
[INFO] [stdout]     --> src/models/vote.rs:1099:12
[INFO] [stdout]      |
[INFO] [stdout] 1099 | pub struct UserVoteHistory {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserVoteEntry` is never constructed
[INFO] [stdout]     --> src/models/vote.rs:1116:12
[INFO] [stdout]      |
[INFO] [stdout] 1116 | pub struct UserVoteEntry {
[INFO] [stdout]      |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vote_stats_routes` is never used
[INFO] [stdout]    --> src/routes/vote_routes.rs:141:8
[INFO] [stdout]     |
[INFO] [stdout] 141 | pub fn vote_stats_routes() -> Router<AppState> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vote_admin_routes` is never used
[INFO] [stdout]    --> src/routes/vote_routes.rs:210:8
[INFO] [stdout]     |
[INFO] [stdout] 210 | pub fn vote_admin_routes() -> Router<AppState> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `expires_in` is never read
[INFO] [stdout]   --> src/services/mpesa_service.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct AuthResponse {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 15 |     pub access_token: String,
[INFO] [stdout] 16 |     pub expires_in: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AuthResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check_connectivity` is never used
[INFO] [stdout]    --> src/services/mpesa_service.rs:419:18
[INFO] [stdout]     |
[INFO] [stdout] 103 | impl MpesaService {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 419 |     pub async fn check_connectivity(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConnectivityStatus` is never constructed
[INFO] [stdout]    --> src/services/mpesa_service.rs:453:12
[INFO] [stdout]     |
[INFO] [stdout] 453 | pub struct ConnectivityStatus {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Result` should have a snake case name
[INFO] [stdout]   --> src/handlers/b2c_handlers.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub Result: B2CResult,
[INFO] [stdout]    |         ^^^^^^ help: convert the identifier to snake case: `result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Body` should have a snake case name
[INFO] [stdout]   --> src/handlers/mpesa_handlers.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub Body: CallbackBody,
[INFO] [stdout]    |         ^^^^ help: convert the identifier to snake case: `body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Body` should have a snake case name
[INFO] [stdout]   --> src/models/transaction.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub Body: CallbackBody,
[INFO] [stdout]    |         ^^^^ help: convert the identifier to snake case: `body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `stkCallback` should have a snake case name
[INFO] [stdout]   --> src/models/transaction.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub stkCallback: StkCallback,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: convert the identifier to snake case: `stk_callback`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Item` should have a snake case name
[INFO] [stdout]   --> src/models/transaction.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub Item: Vec<MetadataItem>,
[INFO] [stdout]    |         ^^^^ help: convert the identifier to snake case (notice the capitalization): `item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Name` should have a snake case name
[INFO] [stdout]   --> src/models/transaction.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |     pub Name: String,
[INFO] [stdout]    |         ^^^^ help: convert the identifier to snake case: `name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Value` should have a snake case name
[INFO] [stdout]   --> src/models/transaction.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |     pub Value: serde_json::Value,
[INFO] [stdout]    |         ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 29.25s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.24.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "772c6bb589174dc480cfdcea24cddc58cd30aae351e6e10a74333788a19ea25a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "772c6bb589174dc480cfdcea24cddc58cd30aae351e6e10a74333788a19ea25a", kill_on_drop: false }`
[INFO] [stdout] 772c6bb589174dc480cfdcea24cddc58cd30aae351e6e10a74333788a19ea25a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8bc99e4b03d77e4f4595bc5c6b9aa5aea677b125d6393fea14f82efbf8a945a9
[INFO] running `Command { std: "docker" "start" "-a" "8bc99e4b03d77e4f4595bc5c6b9aa5aea677b125d6393fea14f82efbf8a945a9", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `GameQuery as ModelGameQuery`
[INFO] [stderr]   --> src/handlers/games.rs:12:33
[INFO] [stderr]    |
[INFO] [stderr] 12 | use crate::models::game::{Game, GameQuery as ModelGameQuery, LiveGamesResponse, LiveUpdate};
[INFO] [stderr]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `AppError` and `Result`
[INFO] [stderr]   --> src/handlers/auth_otp.rs:18:21
[INFO] [stderr]    |
[INFO] [stderr] 18 | use crate::errors::{AppError, Result};
[INFO] [stderr]    |                     ^^^^^^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `PledgeId`
[INFO] [stderr]   --> src/handlers/bets.rs:16:45
[INFO] [stderr]    |
[INFO] [stderr] 16 |         Bet, BetResponse, CreateBetRequest, PledgeId, SuccessResponse, UpdateBalanceRequest,
[INFO] [stderr]    |                                             ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Serialize`
[INFO] [stderr]   --> src/handlers/mpesa_handlers.rs:11:26
[INFO] [stderr]    |
[INFO] [stderr] 11 | use serde::{Deserialize, Serialize};
[INFO] [stderr]    |                          ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `uuid::Uuid`
[INFO] [stderr]   --> src/handlers/sub_fixture_handler.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use uuid::Uuid;
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sub_fixture_handler::*`
[INFO] [stderr]   --> src/handlers/mod.rs:18:9
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub use sub_fixture_handler::*;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_helpers`
[INFO] [stderr]  --> src/models/bets.rs:3:36
[INFO] [stderr]   |
[INFO] [stderr] 3 | use mongodb::bson::{oid::ObjectId, serde_helpers};
[INFO] [stderr]   |                                    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sub_fixture::*`
[INFO] [stderr]   --> src/models/mod.rs:18:9
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub use sub_fixture::*;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `delete` and `post`
[INFO] [stderr]  --> src/routes/bets.rs:3:20
[INFO] [stderr]   |
[INFO] [stderr] 3 |     routing::{get, post, put, delete},
[INFO] [stderr]   |                    ^^^^       ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `post`
[INFO] [stderr]  --> src/routes/games.rs:2:20
[INFO] [stderr]   |
[INFO] [stderr] 2 |     routing::{get, post},
[INFO] [stderr]   |                    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `vote_routes::*`
[INFO] [stderr]   --> src/routes/mod.rs:13:9
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub use vote_routes::*;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `yup_oauth2::ServiceAccountKey`
[INFO] [stderr]  --> src/services/fcm_service.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use yup_oauth2::ServiceAccountKey;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/handlers/games.rs:176:9
[INFO] [stderr]     |
[INFO] [stderr] 176 |     let mut sorted: Vec<Game> = not_started
[INFO] [stderr]     |         ----^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `options`
[INFO] [stderr]    --> src/handlers/bets.rs:309:9
[INFO] [stderr]     |
[INFO] [stderr] 309 |     let options = mongodb::options::FindOneAndUpdateOptions::builder()
[INFO] [stderr]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `home_votes`
[INFO] [stderr]     --> src/handlers/vote_handlers.rs:1366:13
[INFO] [stderr]      |
[INFO] [stderr] 1366 |         let home_votes = vote_collection
[INFO] [stderr]      |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_home_votes`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `draw_votes`
[INFO] [stderr]     --> src/handlers/vote_handlers.rs:1373:13
[INFO] [stderr]      |
[INFO] [stderr] 1373 |         let draw_votes = vote_collection
[INFO] [stderr]      |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_draw_votes`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `away_votes`
[INFO] [stderr]     --> src/handlers/vote_handlers.rs:1380:13
[INFO] [stderr]      |
[INFO] [stderr] 1380 |         let away_votes = vote_collection
[INFO] [stderr]      |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_away_votes`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `jwt_secret`, `sms_api_key`, `sms_username`, `sms_from`, and `mpesa_validation_url` are never read
[INFO] [stderr]   --> src/config.rs:9:9
[INFO] [stderr]    |
[INFO] [stderr]  7 | pub struct AppConfig {
[INFO] [stderr]    |            --------- fields in this struct
[INFO] [stderr]  8 |     // ── Core ─────────────────────────────────────────────────────────────────
[INFO] [stderr]  9 |     pub jwt_secret: String,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 12 |     pub sms_api_key: String,
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr] 13 |     pub sms_username: String,
[INFO] [stderr]    |         ^^^^^^^^^^^^
[INFO] [stderr] 14 |     pub sms_from: String,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 27 |     pub mpesa_validation_url: String,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `AppConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: methods `is_mpesa_configured` and `is_sms_configured` are never used
[INFO] [stderr]    --> src/config.rs:127:12
[INFO] [stderr]     |
[INFO] [stderr]  34 | impl AppConfig {
[INFO] [stderr]     | -------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 127 |     pub fn is_mpesa_configured(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 134 |     pub fn is_sms_configured(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple variants are never constructed
[INFO] [stderr]   --> src/errors.rs:27:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub enum AppError {
[INFO] [stderr]    |          -------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 27 |     NoImageProvided,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 59 |     DuplicateKey,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 62 |     MpesaError(String),
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 65 |     AuthError,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 68 |     Unauthorized,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 74 |     RateLimitExceeded,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 77 |     ServiceUnavailable(String),
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 86 |     ConfigurationError(String),
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 92 |     RedisError(String),
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 95 |     HttpClientError(String),
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `missing_field`, `mpesa`, `external_api`, `cloudinary`, `configuration`, and `redis` are never used
[INFO] [stderr]    --> src/errors.rs:233:12
[INFO] [stderr]     |
[INFO] [stderr] 228 | impl AppError {
[INFO] [stderr]     | ------------- associated functions in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 233 |     pub fn missing_field(field: impl Into<String>) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 237 |     pub fn mpesa(msg: impl Into<String>) -> Self {
[INFO] [stderr]     |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 241 |     pub fn external_api(msg: impl Into<String>) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 245 |     pub fn cloudinary(msg: impl Into<String>) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 249 |     pub fn configuration(msg: impl Into<String>) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 257 |     pub fn redis(msg: impl Into<String>) -> Self {
[INFO] [stderr]     |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_game_by_match_id` is never used
[INFO] [stderr]   --> src/handlers/games.rs:73:14
[INFO] [stderr]    |
[INFO] [stderr] 73 | pub async fn get_game_by_match_id(
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_live_games` is never used
[INFO] [stderr]   --> src/handlers/games.rs:86:14
[INFO] [stderr]    |
[INFO] [stderr] 86 | pub async fn get_live_games(State(state): State<AppState>) -> Result<Json<LiveGamesResponse>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `parse_kickoff_utc` is never used
[INFO] [stderr]    --> src/handlers/games.rs:113:4
[INFO] [stderr]     |
[INFO] [stderr] 113 | fn parse_kickoff_utc(date_iso: &str, time_str: &str) -> Option<chrono::DateTime<Utc>> {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_upcoming_games` is never used
[INFO] [stderr]    --> src/handlers/games.rs:125:14
[INFO] [stderr]     |
[INFO] [stderr] 125 | pub async fn get_upcoming_games(State(state): State<AppState>) -> Result<Json<Vec<Game>>> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `update_game_score` is never used
[INFO] [stderr]    --> src/handlers/games.rs:191:14
[INFO] [stderr]     |
[INFO] [stderr] 191 | pub async fn update_game_score(
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `update_game_status` is never used
[INFO] [stderr]    --> src/handlers/games.rs:299:14
[INFO] [stderr]     |
[INFO] [stderr] 299 | pub async fn update_game_status(
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `main` is never used
[INFO] [stderr]  --> src/handlers/kalka.rs:3:4
[INFO] [stderr]   |
[INFO] [stderr] 3 | fn main() {
[INFO] [stderr]   |    ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_numbers` is never used
[INFO] [stderr]   --> src/handlers/kalka.rs:58:4
[INFO] [stderr]    |
[INFO] [stderr] 58 | fn get_numbers() -> (f64, f64) {
[INFO] [stderr]    |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_number` is never used
[INFO] [stderr]   --> src/handlers/kalka.rs:68:4
[INFO] [stderr]    |
[INFO] [stderr] 68 | fn get_number() -> f64 {
[INFO] [stderr]    |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `add` is never used
[INFO] [stderr]   --> src/handlers/kalka.rs:81:4
[INFO] [stderr]    |
[INFO] [stderr] 81 | fn add(a: f64, b: f64) -> f64 {
[INFO] [stderr]    |    ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `subtract` is never used
[INFO] [stderr]   --> src/handlers/kalka.rs:85:4
[INFO] [stderr]    |
[INFO] [stderr] 85 | fn subtract(a: f64, b: f64) -> f64 {
[INFO] [stderr]    |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `multiply` is never used
[INFO] [stderr]   --> src/handlers/kalka.rs:89:4
[INFO] [stderr]    |
[INFO] [stderr] 89 | fn multiply(a: f64, b: f64) -> f64 {
[INFO] [stderr]    |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `divide` is never used
[INFO] [stderr]   --> src/handlers/kalka.rs:93:4
[INFO] [stderr]    |
[INFO] [stderr] 93 | fn divide(a: f64, b: f64) -> f64 {
[INFO] [stderr]    |    ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `serve_image` is never used
[INFO] [stderr]   --> src/handlers/upload.rs:11:14
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub async fn serve_image(Path(file_name): Path<String>) -> Result<Response> {
[INFO] [stderr]    |              ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `RecentArchiveQuery` is never constructed
[INFO] [stderr]    --> src/handlers/archive.rs:293:12
[INFO] [stderr]     |
[INFO] [stderr] 293 | pub struct RecentArchiveQuery {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_recent_archive_activities` is never used
[INFO] [stderr]    --> src/handlers/archive.rs:297:14
[INFO] [stderr]     |
[INFO] [stderr] 297 | pub async fn get_recent_archive_activities(
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `check_user_activity` is never used
[INFO] [stderr]    --> src/handlers/archive.rs:321:14
[INFO] [stderr]     |
[INFO] [stderr] 321 | pub async fn check_user_activity(
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_archives_by_username` is never used
[INFO] [stderr]    --> src/handlers/archive.rs:484:14
[INFO] [stderr]     |
[INFO] [stderr] 484 | pub async fn get_archives_by_username(
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `reset_token` is never read
[INFO] [stderr]   --> src/handlers/auth_otp.rs:38:9
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub struct ResetPasswordRequest {
[INFO] [stderr]    |            -------------------- field in this struct
[INFO] [stderr] 37 |     pub user_id: String,
[INFO] [stderr] 38 |     pub reset_token: String,
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ResetPasswordRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `result_type`, `originator_conversation_id`, `conversation_id`, and `result_parameters` are never read
[INFO] [stderr]   --> src/handlers/b2c_handlers.rs:42:9
[INFO] [stderr]    |
[INFO] [stderr] 40 | pub struct B2CResult {
[INFO] [stderr]    |            --------- fields in this struct
[INFO] [stderr] 41 |     #[serde(rename = "ResultType")]
[INFO] [stderr] 42 |     pub result_type: i32,
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 51 |     pub originator_conversation_id: String,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 54 |     pub conversation_id: String,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 60 |     pub result_parameters: B2CResultParameters,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `B2CResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `result_parameter` is never read
[INFO] [stderr]   --> src/handlers/b2c_handlers.rs:66:9
[INFO] [stderr]    |
[INFO] [stderr] 64 | pub struct B2CResultParameters {
[INFO] [stderr]    |            ------------------- field in this struct
[INFO] [stderr] 65 |     #[serde(rename = "ResultParameter")]
[INFO] [stderr] 66 |     pub result_parameter: Vec<B2CResultParameter>,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `B2CResultParameters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `key` and `value` are never read
[INFO] [stderr]   --> src/handlers/b2c_handlers.rs:72:9
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub struct B2CResultParameter {
[INFO] [stderr]    |            ------------------ fields in this struct
[INFO] [stderr] 71 |     #[serde(rename = "Key")]
[INFO] [stderr] 72 |     pub key: String,
[INFO] [stderr]    |         ^^^
[INFO] [stderr] ...
[INFO] [stderr] 75 |     pub value: serde_json::Value,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `B2CResultParameter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_b2c_status` is never used
[INFO] [stderr]    --> src/handlers/b2c_handlers.rs:173:14
[INFO] [stderr]     |
[INFO] [stderr] 173 | pub async fn get_b2c_status() -> impl IntoResponse {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `health_check` is never used
[INFO] [stderr]    --> src/handlers/chat_handlers.rs:558:14
[INFO] [stderr]     |
[INFO] [stderr] 558 | pub async fn health_check() -> impl IntoResponse {
[INFO] [stderr]     |              ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ValidationRequest` is never constructed
[INFO] [stderr]   --> src/handlers/mpesa_handlers.rs:26:12
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub struct ValidationRequest {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_user_token_status` is never used
[INFO] [stderr]    --> src/handlers/notification_handler.rs:304:14
[INFO] [stderr]     |
[INFO] [stderr] 304 | pub async fn get_user_token_status(
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `migrate_posts` is never used
[INFO] [stderr]    --> src/handlers/posta.rs:468:14
[INFO] [stderr]     |
[INFO] [stderr] 468 | pub async fn migrate_posts(
[INFO] [stderr]     |              ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_bulk_sub_fixture_stats` is never used
[INFO] [stderr]    --> src/handlers/sub_fixture_handler.rs:477:14
[INFO] [stderr]     |
[INFO] [stderr] 477 | pub async fn get_bulk_sub_fixture_stats(
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_trending_sub_fixtures` is never used
[INFO] [stderr]    --> src/handlers/sub_fixture_handler.rs:541:14
[INFO] [stderr]     |
[INFO] [stderr] 541 | pub async fn get_trending_sub_fixtures(
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_sub_fixture` is never used
[INFO] [stderr]    --> src/handlers/sub_fixture_handler.rs:584:14
[INFO] [stderr]     |
[INFO] [stderr] 584 | pub async fn create_sub_fixture(
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `update_sub_fixture` is never used
[INFO] [stderr]    --> src/handlers/sub_fixture_handler.rs:617:14
[INFO] [stderr]     |
[INFO] [stderr] 617 | pub async fn update_sub_fixture(
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `delete_sub_fixture` is never used
[INFO] [stderr]    --> src/handlers/sub_fixture_handler.rs:670:14
[INFO] [stderr]     |
[INFO] [stderr] 670 | pub async fn delete_sub_fixture(
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_vote_stats` is never used
[INFO] [stderr]     --> src/handlers/vote_handlers.rs:1141:14
[INFO] [stderr]      |
[INFO] [stderr] 1141 | pub async fn get_vote_stats(
[INFO] [stderr]      |              ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_like_stats` is never used
[INFO] [stderr]     --> src/handlers/vote_handlers.rs:1148:14
[INFO] [stderr]      |
[INFO] [stderr] 1148 | pub async fn get_like_stats(
[INFO] [stderr]      |              ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_comment_stats` is never used
[INFO] [stderr]     --> src/handlers/vote_handlers.rs:1155:14
[INFO] [stderr]      |
[INFO] [stderr] 1155 | pub async fn get_comment_stats(
[INFO] [stderr]      |              ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_fixture_stats` is never used
[INFO] [stderr]     --> src/handlers/vote_handlers.rs:1162:14
[INFO] [stderr]      |
[INFO] [stderr] 1162 | pub async fn get_fixture_stats(
[INFO] [stderr]      |              ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_all_counts_for_fixture` is never used
[INFO] [stderr]     --> src/handlers/vote_handlers.rs:1196:14
[INFO] [stderr]      |
[INFO] [stderr] 1196 | pub async fn get_all_counts_for_fixture(
[INFO] [stderr]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_user_stats` is never used
[INFO] [stderr]     --> src/handlers/vote_handlers.rs:1276:14
[INFO] [stderr]      |
[INFO] [stderr] 1276 | pub async fn get_user_stats(
[INFO] [stderr]      |              ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_total_counts` is never used
[INFO] [stderr]     --> src/handlers/vote_handlers.rs:1312:14
[INFO] [stderr]      |
[INFO] [stderr] 1312 | pub async fn get_total_counts(State(state): State<AppState>) -> Result<Json<TotalCountsResponse>> {
[INFO] [stderr]      |              ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_batch_fixture_counts` is never used
[INFO] [stderr]     --> src/handlers/vote_handlers.rs:1348:14
[INFO] [stderr]      |
[INFO] [stderr] 1348 | pub async fn get_batch_fixture_counts(
[INFO] [stderr]      |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `cleanup_old_votes` is never used
[INFO] [stderr]     --> src/handlers/vote_handlers.rs:1461:14
[INFO] [stderr]      |
[INFO] [stderr] 1461 | pub async fn cleanup_old_votes(State(state): State<AppState>) -> Result<Json<serde_json::Value>> {
[INFO] [stderr]      |              ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_overview_stats` is never used
[INFO] [stderr]     --> src/handlers/vote_handlers.rs:1492:14
[INFO] [stderr]      |
[INFO] [stderr] 1492 | pub async fn get_overview_stats(State(state): State<AppState>) -> Result<Json<serde_json::Value>> {
[INFO] [stderr]      |              ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_comment_counts_for_multiple_fixtures` is never used
[INFO] [stderr]     --> src/handlers/vote_handlers.rs:1578:14
[INFO] [stderr]      |
[INFO] [stderr] 1578 | pub async fn get_comment_counts_for_multiple_fixtures(
[INFO] [stderr]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_total_likes_for_multiple_fixtures` is never used
[INFO] [stderr]     --> src/handlers/vote_handlers.rs:1601:14
[INFO] [stderr]      |
[INFO] [stderr] 1601 | pub async fn get_total_likes_for_multiple_fixtures(
[INFO] [stderr]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_combined_stats_for_multiple_fixtures` is never used
[INFO] [stderr]     --> src/handlers/vote_handlers.rs:1621:14
[INFO] [stderr]      |
[INFO] [stderr] 1621 | pub async fn get_combined_stats_for_multiple_fixtures(
[INFO] [stderr]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_realtime_vote_updates` is never used
[INFO] [stderr]     --> src/handlers/vote_handlers.rs:1663:14
[INFO] [stderr]      |
[INFO] [stderr] 1663 | pub async fn get_realtime_vote_updates(
[INFO] [stderr]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_comment_counts_by_selection` is never used
[INFO] [stderr]     --> src/handlers/vote_handlers.rs:1810:14
[INFO] [stderr]      |
[INFO] [stderr] 1810 | pub async fn get_comment_counts_by_selection(
[INFO] [stderr]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_fixture_engagement_summary` is never used
[INFO] [stderr]     --> src/handlers/vote_handlers.rs:1863:14
[INFO] [stderr]      |
[INFO] [stderr] 1863 | pub async fn get_fixture_engagement_summary(
[INFO] [stderr]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `auth_middleware` is never used
[INFO] [stderr]   --> src/middleware/auth.rs:10:14
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub async fn auth_middleware(
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CreateGame` is never constructed
[INFO] [stderr]   --> src/models/game.rs:64:12
[INFO] [stderr]    |
[INFO] [stderr] 64 | pub struct CreateGame {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UpdateGameScore` is never constructed
[INFO] [stderr]   --> src/models/game.rs:80:12
[INFO] [stderr]    |
[INFO] [stderr] 80 | pub struct UpdateGameScore {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `LiveUpdate` is never constructed
[INFO] [stderr]   --> src/models/game.rs:90:12
[INFO] [stderr]    |
[INFO] [stderr] 90 | pub struct LiveUpdate {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `GameQuery` is never constructed
[INFO] [stderr]   --> src/models/game.rs:98:12
[INFO] [stderr]    |
[INFO] [stderr] 98 | pub struct GameQuery {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ApiResponse` is never constructed
[INFO] [stderr]    --> src/models/game.rs:109:12
[INFO] [stderr]     |
[INFO] [stderr] 109 | pub struct ApiResponse<T> {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PaginatedGames` is never constructed
[INFO] [stderr]    --> src/models/game.rs:117:12
[INFO] [stderr]     |
[INFO] [stderr] 117 | pub struct PaginatedGames {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `LiveGamesResponse` is never constructed
[INFO] [stderr]    --> src/models/game.rs:126:12
[INFO] [stderr]     |
[INFO] [stderr] 126 | pub struct LiveGamesResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `GameStats` is never constructed
[INFO] [stderr]    --> src/models/game.rs:134:12
[INFO] [stderr]     |
[INFO] [stderr] 134 | pub struct GameStats {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `LeagueStats` is never constructed
[INFO] [stderr]    --> src/models/game.rs:143:12
[INFO] [stderr]     |
[INFO] [stderr] 143 | pub struct LeagueStats {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BulkGameUpdate` is never constructed
[INFO] [stderr]    --> src/models/game.rs:153:12
[INFO] [stderr]     |
[INFO] [stderr] 153 | pub struct BulkGameUpdate {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `GameStatusUpdate` is never constructed
[INFO] [stderr]    --> src/models/game.rs:159:12
[INFO] [stderr]     |
[INFO] [stderr] 159 | pub struct GameStatusUpdate {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `is_upcoming`, `is_live_game`, `is_completed`, `formatted_score`, and `display_date` are never used
[INFO] [stderr]    --> src/models/game.rs:167:12
[INFO] [stderr]     |
[INFO] [stderr] 166 | impl Game {
[INFO] [stderr]     | --------- methods in this implementation
[INFO] [stderr] 167 |     pub fn is_upcoming(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 171 |     pub fn is_live_game(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 175 |     pub fn is_completed(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 179 |     pub fn formatted_score(&self) -> String {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 186 |     pub fn display_date(&self) -> String {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `as_str` is never used
[INFO] [stderr]   --> src/models/archive.rs:32:12
[INFO] [stderr]    |
[INFO] [stderr] 31 | impl ActivityType {
[INFO] [stderr]    | ----------------- method in this implementation
[INFO] [stderr] 32 |     pub fn as_str(&self) -> &str {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `bet_id` is never read
[INFO] [stderr]    --> src/models/bets.rs:130:9
[INFO] [stderr]     |
[INFO] [stderr] 129 | pub struct UpdateBetRequest {
[INFO] [stderr]     |            ---------------- field in this struct
[INFO] [stderr] 130 |     pub bet_id: String, // ObjectId as string
[INFO] [stderr]     |         ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `UpdateBetRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ErrorResponse` is never constructed
[INFO] [stderr]    --> src/models/bets.rs:223:12
[INFO] [stderr]     |
[INFO] [stderr] 223 | pub struct ErrorResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PaginatedResponse` is never constructed
[INFO] [stderr]    --> src/models/chat.rs:165:12
[INFO] [stderr]     |
[INFO] [stderr] 165 | pub struct PaginatedResponse<T> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ErrorResponse` is never constructed
[INFO] [stderr]    --> src/models/chat.rs:217:12
[INFO] [stderr]     |
[INFO] [stderr] 217 | pub struct ErrorResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]    --> src/models/chat.rs:225:12
[INFO] [stderr]     |
[INFO] [stderr] 224 | impl ErrorResponse {
[INFO] [stderr]     | ------------------ associated function in this implementation
[INFO] [stderr] 225 |     pub fn new(error: &str, message: &str) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `HealthCheckResponse` is never constructed
[INFO] [stderr]    --> src/models/chat.rs:238:12
[INFO] [stderr]     |
[INFO] [stderr] 238 | pub struct HealthCheckResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PostComments` is never constructed
[INFO] [stderr]   --> src/models/comments.rs:16:12
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub struct PostComments {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CreateComment` is never constructed
[INFO] [stderr]   --> src/models/comments.rs:41:12
[INFO] [stderr]    |
[INFO] [stderr] 41 | pub struct CreateComment {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UpdateComment` is never constructed
[INFO] [stderr]   --> src/models/comments.rs:52:12
[INFO] [stderr]    |
[INFO] [stderr] 52 | pub struct UpdateComment {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CommentResponse` is never constructed
[INFO] [stderr]   --> src/models/comments.rs:61:12
[INFO] [stderr]    |
[INFO] [stderr] 61 | pub struct CommentResponse {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CommentQuery` is never constructed
[INFO] [stderr]    --> src/models/comments.rs:112:12
[INFO] [stderr]     |
[INFO] [stderr] 112 | pub struct CommentQuery {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ApiResponse` is never constructed
[INFO] [stderr]    --> src/models/comments.rs:123:12
[INFO] [stderr]     |
[INFO] [stderr] 123 | pub struct ApiResponse<T> {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `success` and `with_message` are never used
[INFO] [stderr]    --> src/models/comments.rs:130:12
[INFO] [stderr]     |
[INFO] [stderr] 129 | impl<T> ApiResponse<T> {
[INFO] [stderr]     | ---------------------- associated functions in this implementation
[INFO] [stderr] 130 |     pub fn success(data: T) -> Self {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 138 |     pub fn with_message(data: T, message: String) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ErrorResponse` is never constructed
[INFO] [stderr]    --> src/models/comments.rs:148:12
[INFO] [stderr]     |
[INFO] [stderr] 148 | pub struct ErrorResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]    --> src/models/comments.rs:156:12
[INFO] [stderr]     |
[INFO] [stderr] 155 | impl ErrorResponse {
[INFO] [stderr]     | ------------------ associated function in this implementation
[INFO] [stderr] 156 |     pub fn new(error: &str, message: &str) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PaginatedComments` is never constructed
[INFO] [stderr]    --> src/models/comments.rs:170:12
[INFO] [stderr]     |
[INFO] [stderr] 170 | pub struct PaginatedComments {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PaginatedGames` is never constructed
[INFO] [stderr]    --> src/models/comments.rs:180:12
[INFO] [stderr]     |
[INFO] [stderr] 180 | pub struct PaginatedGames {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `LiveGamesResponse` is never constructed
[INFO] [stderr]    --> src/models/comments.rs:190:12
[INFO] [stderr]     |
[INFO] [stderr] 190 | pub struct LiveGamesResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CommentStats` is never constructed
[INFO] [stderr]    --> src/models/comments.rs:199:12
[INFO] [stderr]     |
[INFO] [stderr] 199 | pub struct CommentStats {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BulkCommentRequest` is never constructed
[INFO] [stderr]    --> src/models/comments.rs:216:12
[INFO] [stderr]     |
[INFO] [stderr] 216 | pub struct BulkCommentRequest {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BulkCommentResponse` is never constructed
[INFO] [stderr]    --> src/models/comments.rs:221:12
[INFO] [stderr]     |
[INFO] [stderr] 221 | pub struct BulkCommentResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `FailedComment` is never constructed
[INFO] [stderr]    --> src/models/comments.rs:229:12
[INFO] [stderr]     |
[INFO] [stderr] 229 | pub struct FailedComment {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `validate_comment` is never used
[INFO] [stderr]    --> src/models/comments.rs:253:8
[INFO] [stderr]     |
[INFO] [stderr] 253 | pub fn validate_comment(comment: &str) -> Result<(), String> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `validate_poster_name` is never used
[INFO] [stderr]    --> src/models/comments.rs:263:8
[INFO] [stderr]     |
[INFO] [stderr] 263 | pub fn validate_poster_name(name: &str) -> Result<(), String> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Game` is never constructed
[INFO] [stderr]  --> src/models/livegames.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct Game {
[INFO] [stderr]   |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `LiveUpdate` is never constructed
[INFO] [stderr]   --> src/models/livegames.rs:31:12
[INFO] [stderr]    |
[INFO] [stderr] 31 | pub struct LiveUpdate {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `LiveGamesResponse` is never constructed
[INFO] [stderr]   --> src/models/livegames.rs:40:12
[INFO] [stderr]    |
[INFO] [stderr] 40 | pub struct LiveGamesResponse {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `LiveQuery` is never constructed
[INFO] [stderr]   --> src/models/livegames.rs:48:12
[INFO] [stderr]    |
[INFO] [stderr] 48 | pub struct LiveQuery {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `NotificationResponse` is never constructed
[INFO] [stderr]   --> src/models/notification.rs:46:12
[INFO] [stderr]    |
[INFO] [stderr] 46 | pub struct NotificationResponse {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `vote_alerts`, `like_alerts`, and `comment_alerts` are never read
[INFO] [stderr]   --> src/models/notification.rs:68:9
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub struct UpdatePreferencesRequest {
[INFO] [stderr]    |            ------------------------ fields in this struct
[INFO] [stderr] 67 |     pub user_id: String,
[INFO] [stderr] 68 |     pub vote_alerts: bool,
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr] 69 |     pub like_alerts: bool,
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr] 70 |     pub comment_alerts: bool,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `UpdatePreferencesRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Payment` is never constructed
[INFO] [stderr]  --> src/models/payment.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct Payment {
[INFO] [stderr]   |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CreatePayment` is never constructed
[INFO] [stderr]   --> src/models/payment.rs:22:12
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub struct CreatePayment {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PaymentQuery` is never constructed
[INFO] [stderr]   --> src/models/payment.rs:28:12
[INFO] [stderr]    |
[INFO] [stderr] 28 | pub struct PaymentQuery {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `starter_id` is never read
[INFO] [stderr]   --> src/models/pledges.rs:45:9
[INFO] [stderr]    |
[INFO] [stderr] 40 | pub struct PledgeQuery {
[INFO] [stderr]    |            ----------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 45 |     pub starter_id: Option<String>, // Added field
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `PledgeQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `update_timestamps` and `has_text` are never used
[INFO] [stderr]    --> src/models/posta.rs:138:12
[INFO] [stderr]     |
[INFO] [stderr]  51 | impl Post {
[INFO] [stderr]     | --------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 138 |     pub fn update_timestamps(&mut self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 150 |     pub fn has_text(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `update_timestamps` is never used
[INFO] [stderr]    --> src/models/posta.rs:204:12
[INFO] [stderr]     |
[INFO] [stderr] 182 | impl Comment {
[INFO] [stderr]     | ------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 204 |     pub fn update_timestamps(&mut self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CreateSubFixtureRequest` is never constructed
[INFO] [stderr]   --> src/models/sub_fixture.rs:86:12
[INFO] [stderr]    |
[INFO] [stderr] 86 | pub struct CreateSubFixtureRequest {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UpdateSubFixtureRequest` is never constructed
[INFO] [stderr]    --> src/models/sub_fixture.rs:101:12
[INFO] [stderr]     |
[INFO] [stderr] 101 | pub struct UpdateSubFixtureRequest {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BulkStatsRequest` is never constructed
[INFO] [stderr]    --> src/models/sub_fixture.rs:128:12
[INFO] [stderr]     |
[INFO] [stderr] 128 | pub struct BulkStatsRequest {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MpesaTransaction` is never constructed
[INFO] [stderr]   --> src/models/transaction.rs:26:12
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub struct MpesaTransaction {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CreateMpesaTransaction` is never constructed
[INFO] [stderr]   --> src/models/transaction.rs:40:12
[INFO] [stderr]    |
[INFO] [stderr] 40 | pub struct CreateMpesaTransaction {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MpesaTransactionQuery` is never constructed
[INFO] [stderr]   --> src/models/transaction.rs:50:12
[INFO] [stderr]    |
[INFO] [stderr] 50 | pub struct MpesaTransactionQuery {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CallbackData` is never constructed
[INFO] [stderr]   --> src/models/transaction.rs:56:12
[INFO] [stderr]    |
[INFO] [stderr] 56 | pub struct CallbackData {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CallbackBody` is never constructed
[INFO] [stderr]   --> src/models/transaction.rs:62:12
[INFO] [stderr]    |
[INFO] [stderr] 62 | pub struct CallbackBody {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `StkCallback` is never constructed
[INFO] [stderr]   --> src/models/transaction.rs:68:12
[INFO] [stderr]    |
[INFO] [stderr] 68 | pub struct StkCallback {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CallbackMetadata` is never constructed
[INFO] [stderr]   --> src/models/transaction.rs:82:12
[INFO] [stderr]    |
[INFO] [stderr] 82 | pub struct CallbackMetadata {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MetadataItem` is never constructed
[INFO] [stderr]   --> src/models/transaction.rs:88:12
[INFO] [stderr]    |
[INFO] [stderr] 88 | pub struct MetadataItem {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CommentWithUser` is never constructed
[INFO] [stderr]    --> src/models/vote.rs:288:12
[INFO] [stderr]     |
[INFO] [stderr] 288 | pub struct CommentWithUser {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UserVoteStatus` is never constructed
[INFO] [stderr]    --> src/models/vote.rs:329:12
[INFO] [stderr]     |
[INFO] [stderr] 329 | pub struct UserVoteStatus {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `FixtureStats` is never constructed
[INFO] [stderr]    --> src/models/vote.rs:348:12
[INFO] [stderr]     |
[INFO] [stderr] 348 | pub struct FixtureStats {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `StatsResponse` is never constructed
[INFO] [stderr]    --> src/models/vote.rs:407:12
[INFO] [stderr]     |
[INFO] [stderr] 407 | pub struct StatsResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `limit` and `skip` are never read
[INFO] [stderr]    --> src/models/vote.rs:421:9
[INFO] [stderr]     |
[INFO] [stderr] 415 | pub struct VoteQuery {
[INFO] [stderr]     |            --------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 421 |     pub limit: Option<i64>,
[INFO] [stderr]     |         ^^^^^
[INFO] [stderr] 422 |     pub skip: Option<u64>,
[INFO] [stderr]     |         ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `VoteQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `limit`, `skip`, and `sort_by` are never read
[INFO] [stderr]    --> src/models/vote.rs:437:9
[INFO] [stderr]     |
[INFO] [stderr] 426 | pub struct CommentQuery {
[INFO] [stderr]     |            ------------ fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 437 |     pub limit: Option<i64>,
[INFO] [stderr]     |         ^^^^^
[INFO] [stderr] 438 |     pub skip: Option<u64>,
[INFO] [stderr]     |         ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 441 |     pub sort_by: Option<String>, // "newest", "oldest", "most_liked"
[INFO] [stderr]     |         ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `CommentQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from_create_vote` is never used
[INFO] [stderr]    --> src/models/vote.rs:592:12
[INFO] [stderr]     |
[INFO] [stderr] 591 | impl Vote {
[INFO] [stderr]     | --------- associated function in this implementation
[INFO] [stderr] 592 |     pub fn from_create_vote(create_vote: CreateVote) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from_create_like` is never used
[INFO] [stderr]    --> src/models/vote.rs:610:12
[INFO] [stderr]     |
[INFO] [stderr] 609 | impl Like {
[INFO] [stderr]     | --------- associated function in this implementation
[INFO] [stderr] 610 |     pub fn from_create_like(create_like: CreateLike) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from_create_comment` is never used
[INFO] [stderr]    --> src/models/vote.rs:632:12
[INFO] [stderr]     |
[INFO] [stderr] 631 | impl Comment {
[INFO] [stderr]     | ------------ associated function in this implementation
[INFO] [stderr] 632 |     pub fn from_create_comment(create_comment: CreateComment) -> Result<Self, String> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `bson_datetime_to_iso_string` is never used
[INFO] [stderr]    --> src/models/vote.rs:670:8
[INFO] [stderr]     |
[INFO] [stderr] 670 | pub fn bson_datetime_to_iso_string(dt: &BsonDateTime) -> String {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `option_bson_datetime_to_iso_string` is never used
[INFO] [stderr]    --> src/models/vote.rs:680:8
[INFO] [stderr]     |
[INFO] [stderr] 680 | pub fn option_bson_datetime_to_iso_string(dt: &Option<BsonDateTime>) -> Option<String> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ApiResponse` is never constructed
[INFO] [stderr]    --> src/models/vote.rs:688:12
[INFO] [stderr]     |
[INFO] [stderr] 688 | pub struct ApiResponse<T> {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PaginatedResponse` is never constructed
[INFO] [stderr]    --> src/models/vote.rs:698:12
[INFO] [stderr]     |
[INFO] [stderr] 698 | pub struct PaginatedResponse<T> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ErrorResponse` is never constructed
[INFO] [stderr]    --> src/models/vote.rs:707:12
[INFO] [stderr]     |
[INFO] [stderr] 707 | pub struct ErrorResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]    --> src/models/vote.rs:715:12
[INFO] [stderr]     |
[INFO] [stderr] 714 | impl ErrorResponse {
[INFO] [stderr]     | ------------------ associated function in this implementation
[INFO] [stderr] 715 |     pub fn new(error: &str, message: &str) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `TotalCounts` is never constructed
[INFO] [stderr]    --> src/models/vote.rs:729:12
[INFO] [stderr]     |
[INFO] [stderr] 729 | pub struct TotalCounts {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `TotalCountsResponse` is never constructed
[INFO] [stderr]    --> src/models/vote.rs:751:12
[INFO] [stderr]     |
[INFO] [stderr] 751 | pub struct TotalCountsResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `FixtureCounts` is never constructed
[INFO] [stderr]    --> src/models/vote.rs:759:12
[INFO] [stderr]     |
[INFO] [stderr] 759 | pub struct FixtureCounts {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `FixtureCountsResponse` is never constructed
[INFO] [stderr]    --> src/models/vote.rs:802:12
[INFO] [stderr]     |
[INFO] [stderr] 802 | pub struct FixtureCountsResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BatchFixtureCountsRequest` is never constructed
[INFO] [stderr]    --> src/models/vote.rs:810:12
[INFO] [stderr]     |
[INFO] [stderr] 810 | pub struct BatchFixtureCountsRequest {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `FixtureCountItem` is never constructed
[INFO] [stderr]    --> src/models/vote.rs:820:12
[INFO] [stderr]     |
[INFO] [stderr] 820 | pub struct FixtureCountItem {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BatchFixtureCountsResponse` is never constructed
[INFO] [stderr]    --> src/models/vote.rs:854:12
[INFO] [stderr]     |
[INFO] [stderr] 854 | pub struct BatchFixtureCountsResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `VoteBreakdown` is never constructed
[INFO] [stderr]    --> src/models/vote.rs:863:12
[INFO] [stderr]     |
[INFO] [stderr] 863 | pub struct VoteBreakdown {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `DetailedFixtureStats` is never constructed
[INFO] [stderr]    --> src/models/vote.rs:885:12
[INFO] [stderr]     |
[INFO] [stderr] 885 | pub struct DetailedFixtureStats {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `DetailedFixtureStatsResponse` is never constructed
[INFO] [stderr]    --> src/models/vote.rs:922:12
[INFO] [stderr]     |
[INFO] [stderr] 922 | pub struct DetailedFixtureStatsResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UserActivitySummary` is never constructed
[INFO] [stderr]    --> src/models/vote.rs:932:12
[INFO] [stderr]     |
[INFO] [stderr] 932 | pub struct UserActivitySummary {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `FixtureEngagement` is never constructed
[INFO] [stderr]    --> src/models/vote.rs:963:12
[INFO] [stderr]     |
[INFO] [stderr] 963 | pub struct FixtureEngagement {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `VoteUpdate` is never constructed
[INFO] [stderr]    --> src/models/vote.rs:996:12
[INFO] [stderr]     |
[INFO] [stderr] 996 | pub struct VoteUpdate {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `LikeWithUser` is never constructed
[INFO] [stderr]     --> src/models/vote.rs:1018:12
[INFO] [stderr]      |
[INFO] [stderr] 1018 | pub struct LikeWithUser {
[INFO] [stderr]      |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BatchStatsRequest` is never constructed
[INFO] [stderr]     --> src/models/vote.rs:1044:12
[INFO] [stderr]      |
[INFO] [stderr] 1044 | pub struct BatchStatsRequest {
[INFO] [stderr]      |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BatchStatsResponse` is never constructed
[INFO] [stderr]     --> src/models/vote.rs:1060:12
[INFO] [stderr]      |
[INFO] [stderr] 1060 | pub struct BatchStatsResponse {
[INFO] [stderr]      |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PopularFixture` is never constructed
[INFO] [stderr]     --> src/models/vote.rs:1071:12
[INFO] [stderr]      |
[INFO] [stderr] 1071 | pub struct PopularFixture {
[INFO] [stderr]      |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UserVoteHistory` is never constructed
[INFO] [stderr]     --> src/models/vote.rs:1099:12
[INFO] [stderr]      |
[INFO] [stderr] 1099 | pub struct UserVoteHistory {
[INFO] [stderr]      |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UserVoteEntry` is never constructed
[INFO] [stderr]     --> src/models/vote.rs:1116:12
[INFO] [stderr]      |
[INFO] [stderr] 1116 | pub struct UserVoteEntry {
[INFO] [stderr]      |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `vote_stats_routes` is never used
[INFO] [stderr]    --> src/routes/vote_routes.rs:141:8
[INFO] [stderr]     |
[INFO] [stderr] 141 | pub fn vote_stats_routes() -> Router<AppState> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `vote_admin_routes` is never used
[INFO] [stderr]    --> src/routes/vote_routes.rs:210:8
[INFO] [stderr]     |
[INFO] [stderr] 210 | pub fn vote_admin_routes() -> Router<AppState> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `expires_in` is never read
[INFO] [stderr]   --> src/services/mpesa_service.rs:16:9
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub struct AuthResponse {
[INFO] [stderr]    |            ------------ field in this struct
[INFO] [stderr] 15 |     pub access_token: String,
[INFO] [stderr] 16 |     pub expires_in: String,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `AuthResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `check_connectivity` is never used
[INFO] [stderr]    --> src/services/mpesa_service.rs:419:18
[INFO] [stderr]     |
[INFO] [stderr] 103 | impl MpesaService {
[INFO] [stderr]     | ----------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 419 |     pub async fn check_connectivity(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ConnectivityStatus` is never constructed
[INFO] [stderr]    --> src/services/mpesa_service.rs:453:12
[INFO] [stderr]     |
[INFO] [stderr] 453 | pub struct ConnectivityStatus {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `Result` should have a snake case name
[INFO] [stderr]   --> src/handlers/b2c_handlers.rs:36:9
[INFO] [stderr]    |
[INFO] [stderr] 36 |     pub Result: B2CResult,
[INFO] [stderr]    |         ^^^^^^ help: convert the identifier to snake case: `result`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `Body` should have a snake case name
[INFO] [stderr]   --> src/handlers/mpesa_handlers.rs:44:9
[INFO] [stderr]    |
[INFO] [stderr] 44 |     pub Body: CallbackBody,
[INFO] [stderr]    |         ^^^^ help: convert the identifier to snake case: `body`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `Body` should have a snake case name
[INFO] [stderr]   --> src/models/transaction.rs:58:9
[INFO] [stderr]    |
[INFO] [stderr] 58 |     pub Body: CallbackBody,
[INFO] [stderr]    |         ^^^^ help: convert the identifier to snake case: `body`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `stkCallback` should have a snake case name
[INFO] [stderr]   --> src/models/transaction.rs:64:9
[INFO] [stderr]    |
[INFO] [stderr] 64 |     pub stkCallback: StkCallback,
[INFO] [stderr]    |         ^^^^^^^^^^^ help: convert the identifier to snake case: `stk_callback`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `Item` should have a snake case name
[INFO] [stderr]   --> src/models/transaction.rs:84:9
[INFO] [stderr]    |
[INFO] [stderr] 84 |     pub Item: Vec<MetadataItem>,
[INFO] [stderr]    |         ^^^^ help: convert the identifier to snake case (notice the capitalization): `item`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `Name` should have a snake case name
[INFO] [stderr]   --> src/models/transaction.rs:90:9
[INFO] [stderr]    |
[INFO] [stderr] 90 |     pub Name: String,
[INFO] [stderr]    |         ^^^^ help: convert the identifier to snake case: `name`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `Value` should have a snake case name
[INFO] [stderr]   --> src/models/transaction.rs:92:9
[INFO] [stderr]    |
[INFO] [stderr] 92 |     pub Value: serde_json::Value,
[INFO] [stderr]    |         ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value`
[INFO] [stderr] 
[INFO] [stderr] warning: `api` (bin "api" test) generated 176 warnings (run `cargo fix --bin "api" -p api --tests` to apply 17 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.24.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/api-8531fed37a45ce92)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "8bc99e4b03d77e4f4595bc5c6b9aa5aea677b125d6393fea14f82efbf8a945a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8bc99e4b03d77e4f4595bc5c6b9aa5aea677b125d6393fea14f82efbf8a945a9", kill_on_drop: false }`
[INFO] [stdout] 8bc99e4b03d77e4f4595bc5c6b9aa5aea677b125d6393fea14f82efbf8a945a9
