[INFO] cloning repository https://github.com/phanidharguttikonda0/ipl_auction [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phanidharguttikonda0/ipl_auction" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphanidharguttikonda0%2Fipl_auction", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphanidharguttikonda0%2Fipl_auction'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e65dded8058e36fc1b605d563eac0c60996e605 [INFO] checking phanidharguttikonda0/ipl_auction against master#42f4793e5a514858221b07ac379029d90353913e for pr-148952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphanidharguttikonda0%2Fipl_auction" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/phanidharguttikonda0/ipl_auction [INFO] finished tweaking git repo https://github.com/phanidharguttikonda0/ipl_auction [INFO] tweaked toml for git repo https://github.com/phanidharguttikonda0/ipl_auction written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/phanidharguttikonda0/ipl_auction on toolchain 42f4793e5a514858221b07ac379029d90353913e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/phanidharguttikonda0/ipl_auction 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" "+42f4793e5a514858221b07ac379029d90353913e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-properties v0.1.4 [INFO] [stderr] Downloaded redis-derive v0.2.0 [INFO] [stderr] Downloaded json-web-token v0.2.0 [INFO] [stderr] Downloaded b64-url v0.5.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.28.0 [INFO] [stderr] Downloaded jsonwebtoken v10.2.0 [INFO] [stderr] Downloaded tungstenite v0.28.0 [INFO] [stderr] Downloaded num-bigint-dig v0.8.5 [INFO] [stderr] Downloaded unicode-normalization v0.1.25 [INFO] [stderr] Downloaded p384 v0.13.1 [INFO] [stderr] Downloaded redis v0.32.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db0950d19bc3a96da7cb86b25d6fec7199df8f6c4ec0c34334a3a05d6ffa1d83 [INFO] running `Command { std: "docker" "start" "-a" "db0950d19bc3a96da7cb86b25d6fec7199df8f6c4ec0c34334a3a05d6ffa1d83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db0950d19bc3a96da7cb86b25d6fec7199df8f6c4ec0c34334a3a05d6ffa1d83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db0950d19bc3a96da7cb86b25d6fec7199df8f6c4ec0c34334a3a05d6ffa1d83", kill_on_drop: false }` [INFO] [stdout] db0950d19bc3a96da7cb86b25d6fec7199df8f6c4ec0c34334a3a05d6ffa1d83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b6f61897bce7cc1c798489e194e0cd1132411821391de1eae8a3d6a56f7d98f [INFO] running `Command { std: "docker" "start" "-a" "1b6f61897bce7cc1c798489e194e0cd1132411821391de1eae8a3d6a56f7d98f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.109 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling num-bigint-dig v0.8.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking b64-url v0.5.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking p384 v0.13.1 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking axum-core v0.5.5 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking tungstenite v0.28.0 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking json-web-token v0.2.0 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Checking rsa v0.9.8 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling redis v0.32.7 [INFO] [stderr] Checking jsonwebtoken v10.2.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-tungstenite v0.28.0 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking axum v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling redis-derive v0.2.0 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking ipl_auction v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `middleware` [INFO] [stdout] --> src/main.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::{http, middleware, Router}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::middlewares::authentication::auth_check` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::middlewares::authentication::auth_check; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Any` [INFO] [stdout] --> src/main.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | use tower_http::cors::{CorsLayer, Any}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower::ServiceBuilder` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tower::ServiceBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::broadcast` [INFO] [stdout] --> src/models/app_state.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::sync::broadcast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRedisValue` and `ToRedisArgs` [INFO] [stdout] --> src/models/player_models.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use redis_derive::{FromRedisValue, ToRedisArgs}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Utc` [INFO] [stdout] --> src/models/authentication_models.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Utc, Duration}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Extension` [INFO] [stdout] --> src/auction.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::Extension; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::broadcast` [INFO] [stdout] --> src/auction.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::sync::broadcast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NewJoiner` [INFO] [stdout] --> src/auction.rs:10:86 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::models::auction_models::{AuctionParticipant, AuctionRoom, Bid, BidOutput, NewJoiner}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::authentication_models::Claims` [INFO] [stdout] --> src/auction.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::models::authentication_models::Claims; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aio::PubSub` [INFO] [stdout] --> src/services/auction_room.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | use redis::{Client, aio::PubSub}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::room_models::Participant` [INFO] [stdout] --> src/services/auction_room.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | use crate::models::room_models::Participant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/services/auction.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenv::dotenv` [INFO] [stdout] --> src/services/auction.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::auction_models::SoldPlayer` [INFO] [stdout] --> src/services/auction.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::models::auction_models::SoldPlayer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TeamDetails` [INFO] [stdout] --> src/services/auction.rs:8:69 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::models::player_models::{PlayerDetails, SoldPlayerOutput, TeamDetails, UnSoldPlayerOutput}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pool` and `Postgres` [INFO] [stdout] --> src/services/other.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{Pool, Postgres}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParticipantsWithTeam` [INFO] [stdout] --> src/controllers/rooms.rs:9:47 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::models::room_models::{Participant, ParticipantsWithTeam, Rooms}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::response::IntoResponse` [INFO] [stdout] --> src/controllers/player.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlayerBrought` [INFO] [stdout] --> src/controllers/player.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::models::player_models::{PlayerBrought, PlayerDetails, SoldPlayerOutput, TeamDetails, UnSoldPlayerOutput}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `middleware` [INFO] [stdout] --> src/main.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::{http, middleware, Router}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::middlewares::authentication::auth_check` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::middlewares::authentication::auth_check; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Any` [INFO] [stdout] --> src/main.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | use tower_http::cors::{CorsLayer, Any}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower::ServiceBuilder` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tower::ServiceBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::broadcast` [INFO] [stdout] --> src/models/app_state.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::sync::broadcast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRedisValue` and `ToRedisArgs` [INFO] [stdout] --> src/models/player_models.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use redis_derive::{FromRedisValue, ToRedisArgs}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Utc` [INFO] [stdout] --> src/models/authentication_models.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Utc, Duration}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Extension` [INFO] [stdout] --> src/auction.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::Extension; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::broadcast` [INFO] [stdout] --> src/auction.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::sync::broadcast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NewJoiner` [INFO] [stdout] --> src/auction.rs:10:86 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::models::auction_models::{AuctionParticipant, AuctionRoom, Bid, BidOutput, NewJoiner}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::authentication_models::Claims` [INFO] [stdout] --> src/auction.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::models::authentication_models::Claims; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aio::PubSub` [INFO] [stdout] --> src/services/auction_room.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | use redis::{Client, aio::PubSub}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::room_models::Participant` [INFO] [stdout] --> src/services/auction_room.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 334 | use crate::models::room_models::Participant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/services/auction.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenv::dotenv` [INFO] [stdout] --> src/services/auction.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::auction_models::SoldPlayer` [INFO] [stdout] --> src/services/auction.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::models::auction_models::SoldPlayer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TeamDetails` [INFO] [stdout] --> src/services/auction.rs:8:69 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::models::player_models::{PlayerDetails, SoldPlayerOutput, TeamDetails, UnSoldPlayerOutput}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pool` and `Postgres` [INFO] [stdout] --> src/services/other.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{Pool, Postgres}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParticipantsWithTeam` [INFO] [stdout] --> src/controllers/rooms.rs:9:47 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::models::room_models::{Participant, ParticipantsWithTeam, Rooms}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::response::IntoResponse` [INFO] [stdout] --> src/controllers/player.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlayerBrought` [INFO] [stdout] --> src/controllers/player.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::models::player_models::{PlayerBrought, PlayerDetails, SoldPlayerOutput, TeamDetails, UnSoldPlayerOutput}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auction.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | async fn socket_handler(mut web_socket: WebSocket, room_id: String,participant_id: i32, app_state: Arc) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auction.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | let (mut tx, mut rx) = tokio::sync::mpsc::unbounded_channel::() ; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auction.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | async fn socket_handler(mut web_socket: WebSocket, room_id: String,participant_id: i32, app_state: Arc) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auction.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | let (mut tx, mut rx) = tokio::sync::mpsc::unbounded_channel::() ; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | let mut value: AuctionRoom = serde_json::from_str(&value).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut value: RedisResult = self.connection.get(room_id.clone()).await ; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | Ok(mut value) => { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auction.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | let mut rooms = state.rooms.read().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auction.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | let mut rooms = state.rooms.read().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | let mut value: AuctionRoom = serde_json::from_str(&value).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | let mut value: RedisResult = self.connection.get(room_id.clone()).await ; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:270:16 [INFO] [stdout] | [INFO] [stdout] 270 | Ok(mut value) => { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:271:21 [INFO] [stdout] | [INFO] [stdout] 271 | let mut value: AuctionRoom = serde_json::from_str(&value).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | let mut value: AuctionRoom = serde_json::from_str(&value).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut value: RedisResult = self.connection.get(room_id.clone()).await ; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | Ok(mut value) => { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auction.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | let mut rooms = state.rooms.read().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | Ok(mut value) => { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/auction.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | let mut rooms = state.rooms.read().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | let mut value: AuctionRoom = serde_json::from_str(&value).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | let mut value: RedisResult = self.connection.get(room_id.clone()).await ; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:270:16 [INFO] [stdout] | [INFO] [stdout] 270 | Ok(mut value) => { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:271:21 [INFO] [stdout] | [INFO] [stdout] 271 | let mut value: AuctionRoom = serde_json::from_str(&value).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | let mut room: RedisResult= self.connection.get(room_id.clone()).await ; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:173:16 [INFO] [stdout] | [INFO] [stdout] 173 | Ok(mut room) => { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | let mut previous_bid = current_bid.bid_amount ; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | Ok(mut value) => { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:284:16 [INFO] [stdout] | [INFO] [stdout] 284 | Ok(mut value) => { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | let mut room: RedisResult= self.connection.get(room_id.clone()).await ; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:173:16 [INFO] [stdout] | [INFO] [stdout] 173 | Ok(mut room) => { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | let mut previous_bid = current_bid.bid_amount ; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:284:16 [INFO] [stdout] | [INFO] [stdout] 284 | Ok(mut value) => { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | let mut rooms_lock = rooms.read().await; // acquire mutable write lock [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/auction_room.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | let mut rooms_lock = rooms.read().await; // acquire mutable write lock [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/other.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut redis_connection = RedisConnection::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/other.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut redis_connection = RedisConnection::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::aio::AsyncPushSender` [INFO] [stdout] --> src/auction.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use redis::aio::AsyncPushSender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Commands` [INFO] [stdout] --> src/services/auction_room.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use redis::{AsyncCommands, Commands, RedisResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::AsyncCommands` [INFO] [stdout] --> src/services/auction.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use redis::AsyncCommands; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::aio::AsyncPushSender` [INFO] [stdout] --> src/auction.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use redis::aio::AsyncPushSender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Commands` [INFO] [stdout] --> src/services/auction_room.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use redis::{AsyncCommands, Commands, RedisResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::AsyncCommands` [INFO] [stdout] --> src/services/auction.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use redis::AsyncCommands; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/auction.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/auction.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | },Err(err ) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/auction.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/auction.rs:221:37 [INFO] [stdout] | [INFO] [stdout] 221 | ... Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/auction.rs:281:56 [INFO] [stdout] | [INFO] [stdout] 281 | ... Ok(result) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/auction.rs:307:45 [INFO] [stdout] | [INFO] [stdout] 307 | ... Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/auction.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/auction.rs:316:33 [INFO] [stdout] | [INFO] [stdout] 316 | ... Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/auction.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | },Err(err ) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/auction.rs:380:29 [INFO] [stdout] | [INFO] [stdout] 380 | Message::Binary(bytes) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/auction.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/auction.rs:221:37 [INFO] [stdout] | [INFO] [stdout] 221 | ... Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/auction.rs:281:56 [INFO] [stdout] | [INFO] [stdout] 281 | ... Ok(result) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/auction.rs:307:45 [INFO] [stdout] | [INFO] [stdout] 307 | ... Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/auction.rs:316:33 [INFO] [stdout] | [INFO] [stdout] 316 | ... Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/auction.rs:380:29 [INFO] [stdout] | [INFO] [stdout] 380 | Message::Binary(bytes) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/auction.rs:381:27 [INFO] [stdout] | [INFO] [stdout] 381 | Message::Ping(bytes) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/auction.rs:382:27 [INFO] [stdout] | [INFO] [stdout] 382 | Message::Pong(bytes) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/auction.rs:381:27 [INFO] [stdout] | [INFO] [stdout] 381 | Message::Ping(bytes) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/auction.rs:382:27 [INFO] [stdout] | [INFO] [stdout] 382 | Message::Pong(bytes) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/services/auction_room.rs:254:25 [INFO] [stdout] | [INFO] [stdout] 254 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/services/auction_room.rs:254:25 [INFO] [stdout] | [INFO] [stdout] 254 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/services/auction_room.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | let res = self.connection.set_ex::<_,_, ()>(&timer_key, "active", expiry_time as u64).await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/services/auction_room.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/services/auction_room.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | let res = self.connection.set_ex::<_,_, ()>(&timer_key, "active", expiry_time as u64).await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/services/auction_room.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `room_id` [INFO] [stdout] --> src/auction.rs:413:36 [INFO] [stdout] | [INFO] [stdout] 413 | pub async fn bid_allowance_handler(room_id: String, current_bid: f32, balance: f32, total_players_brought: u8) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_room_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/services/auction_room.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `room_id` [INFO] [stdout] --> src/auction.rs:413:36 [INFO] [stdout] | [INFO] [stdout] 413 | pub async fn bid_allowance_handler(room_id: String, current_bid: f32, balance: f32, total_players_brought: u8) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_room_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/services/auction_room.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/services/auction_room.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/services/auction_room.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/services/other.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let val = redis_connection.await.load_players_to_redis(players).await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/controllers/rooms.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/controllers/rooms.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/controllers/rooms.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/controllers/rooms.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/services/other.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let val = redis_connection.await.load_players_to_redis(players).await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/controllers/rooms.rs:206:86 [INFO] [stdout] | [INFO] [stdout] 206 | ...e>, Extension(user): Extension, Path(room_id): Path) -> Result<(StatusCode, Json>... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/controllers/rooms.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `claims` [INFO] [stdout] --> src/controllers/player.rs:12:81 [INFO] [stdout] | [INFO] [stdout] 12 | ...Arc>, Extension(claims):Extension,Path(participant_id): Path) -> Result<(StatusCode, Json), (... [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_claims` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/controllers/player.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/controllers/player.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `claims` [INFO] [stdout] --> src/controllers/player.rs:62:81 [INFO] [stdout] | [INFO] [stdout] 62 | ...Arc>, Extension(claims):Extension,Path(participant_id): Path) -> Result<(StatusCode, Json src/controllers/rooms.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/controllers/rooms.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/controllers/rooms.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/controllers/rooms.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/controllers/rooms.rs:206:86 [INFO] [stdout] | [INFO] [stdout] 206 | ...e>, Extension(user): Extension, Path(room_id): Path) -> Result<(StatusCode, Json>... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/controllers/rooms.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `claims` [INFO] [stdout] --> src/controllers/player.rs:12:81 [INFO] [stdout] | [INFO] [stdout] 12 | ...Arc>, Extension(claims):Extension,Path(participant_id): Path) -> Result<(StatusCode, Json), (... [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_claims` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/controllers/player.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/controllers/player.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `claims` [INFO] [stdout] --> src/controllers/player.rs:62:81 [INFO] [stdout] | [INFO] [stdout] 62 | ...Arc>, Extension(claims):Extension,Path(participant_id): Path) -> Result<(StatusCode, Json src/models/auction_models.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct NewJoiner { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParticipantsWithTeam` is never constructed [INFO] [stdout] --> src/models/room_models.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ParticipantsWithTeam { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Teams` is never constructed [INFO] [stdout] --> src/models/room_models.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Teams { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/models/player_models.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Teams{ [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 6 | MumbaiIndians, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 7 | ChennaiSuperKings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | SunRisersHyderabad, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | PunjabKings, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | RajasthanRoyals, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | RoyalChallengersBangalore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | KolkataKnightRiders, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | DelhiCapitals, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | LucknowSuperGaints, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | GujaratTitans, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 16 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Teams` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RoomStatus` is never used [INFO] [stdout] --> src/models/player_models.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum RoomStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `check_room_status` is never used [INFO] [stdout] --> src/models/player_models.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl RoomStatus { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 45 | pub fn check_room_status(room_status: String) -> RoomStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlayerBrought` is never constructed [INFO] [stdout] --> src/models/player_models.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct PlayerBrought { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NewJoiner` is never constructed [INFO] [stdout] --> src/models/auction_models.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct NewJoiner { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParticipantsWithTeam` is never constructed [INFO] [stdout] --> src/models/room_models.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ParticipantsWithTeam { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Teams` is never constructed [INFO] [stdout] --> src/models/room_models.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Teams { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/models/player_models.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Teams{ [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 6 | MumbaiIndians, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 7 | ChennaiSuperKings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | SunRisersHyderabad, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | PunjabKings, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | RajasthanRoyals, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | RoyalChallengersBangalore, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | KolkataKnightRiders, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | DelhiCapitals, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | LucknowSuperGaints, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | GujaratTitans, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 16 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Teams` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RoomStatus` is never used [INFO] [stdout] --> src/models/player_models.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum RoomStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `check_room_status` is never used [INFO] [stdout] --> src/models/player_models.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl RoomStatus { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 45 | pub fn check_room_status(room_status: String) -> RoomStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlayerBrought` is never constructed [INFO] [stdout] --> src/models/player_models.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct PlayerBrought { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 34s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "1b6f61897bce7cc1c798489e194e0cd1132411821391de1eae8a3d6a56f7d98f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b6f61897bce7cc1c798489e194e0cd1132411821391de1eae8a3d6a56f7d98f", kill_on_drop: false }` [INFO] [stdout] 1b6f61897bce7cc1c798489e194e0cd1132411821391de1eae8a3d6a56f7d98f