[INFO] cloning repository https://github.com/ChangedNameTo/tt-herald-discord [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ChangedNameTo/tt-herald-discord" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChangedNameTo%2Ftt-herald-discord", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChangedNameTo%2Ftt-herald-discord'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3475be6f6c292a59abbe65c586018c32042ec703 [INFO] checking ChangedNameTo/tt-herald-discord against try#ddcf048784667508cd676fef4667f88ae15628a3 for pr-148271 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChangedNameTo%2Ftt-herald-discord" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ChangedNameTo/tt-herald-discord [INFO] finished tweaking git repo https://github.com/ChangedNameTo/tt-herald-discord [INFO] tweaked toml for git repo https://github.com/ChangedNameTo/tt-herald-discord written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ChangedNameTo/tt-herald-discord on toolchain ddcf048784667508cd676fef4667f88ae15628a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ChangedNameTo/tt-herald-discord 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" "+ddcf048784667508cd676fef4667f88ae15628a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd5ce1dca8efe8dd21cbd43e616ee9ac39620044fd5ec5f936b0c474cab65ec5 [INFO] running `Command { std: "docker" "start" "-a" "cd5ce1dca8efe8dd21cbd43e616ee9ac39620044fd5ec5f936b0c474cab65ec5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd5ce1dca8efe8dd21cbd43e616ee9ac39620044fd5ec5f936b0c474cab65ec5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd5ce1dca8efe8dd21cbd43e616ee9ac39620044fd5ec5f936b0c474cab65ec5", kill_on_drop: false }` [INFO] [stdout] cd5ce1dca8efe8dd21cbd43e616ee9ac39620044fd5ec5f936b0c474cab65ec5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07d9159896156285627af56135615bd2aba9c447c059195487dd2c27d5b45d99 [INFO] running `Command { std: "docker" "start" "-a" "07d9159896156285627af56135615bd2aba9c447c059195487dd2c27d5b45d99", kill_on_drop: false }` [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling serenity v0.10.10 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling command_attr v0.3.8 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking typemap_rev v0.1.5 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking async-tungstenite v0.11.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking rust-discord-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `user_id` and `country_code` are never read [INFO] [stdout] --> src/api/herald.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Owner { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | #[serde(rename = "userId")] [INFO] [stdout] 11 | pub user_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub country_code: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Owner` 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: fields `address`, `zip_code`, and `country_code` are never read [INFO] [stdout] --> src/api/herald.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Location { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 24 | pub name: String, [INFO] [stdout] 25 | pub address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | #[serde(rename = "zipCode")] [INFO] [stdout] 27 | pub zip_code: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub country_code: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Location` 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: multiple fields are never read [INFO] [stdout] --> src/api/herald.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Tournament { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | pub created_date: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub number_of_prospects: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub number_of_teams: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | #[serde(rename = "numberOfRegisteredTeams")] [INFO] [stdout] 59 | pub number_of_registered_teams: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | #[serde(rename = "numberOfApprovedTeams")] [INFO] [stdout] 61 | pub number_of_approved_teams: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | #[serde(rename = "numberOfCheckedInTeams")] [INFO] [stdout] 63 | pub number_of_checked_in_teams: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | #[serde(rename = "requiredActiveRosterSize")] [INFO] [stdout] 65 | pub required_active_roster_size: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub image_url: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tournament` 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: fields `total_elements` and `total_pages` are never read [INFO] [stdout] --> src/api/herald.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct TournamentSearchResponse { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 99 | pub content: Vec, [INFO] [stdout] 100 | pub total_elements: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 101 | pub total_pages: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TournamentSearchResponse` 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 `get_tournament_by_id` is never used [INFO] [stdout] --> src/api/herald.rs:279:18 [INFO] [stdout] | [INFO] [stdout] 136 | impl HeraldClient { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 279 | pub async fn get_tournament_by_id(&self, tournament_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pairings` is never used [INFO] [stdout] --> src/api/herald.rs:400:14 [INFO] [stdout] | [INFO] [stdout] 400 | pub async fn get_pairings() -> Result, ApiError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_matchups` is never used [INFO] [stdout] --> src/api/herald.rs:413:14 [INFO] [stdout] | [INFO] [stdout] 413 | pub async fn get_matchups() -> Result, ApiError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_scores` is never used [INFO] [stdout] --> src/api/herald.rs:426:14 [INFO] [stdout] | [INFO] [stdout] 426 | pub async fn get_scores() -> Result, ApiError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rankings` is never used [INFO] [stdout] --> src/api/herald.rs:439:14 [INFO] [stdout] | [INFO] [stdout] 439 | pub async fn get_rankings() -> Result, ApiError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_tournament_by_id` is never used [INFO] [stdout] --> src/api/herald.rs:473:14 [INFO] [stdout] | [INFO] [stdout] 473 | pub async fn get_tournament_by_id(tournament_id: &str) -> Result, ApiError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_tournaments` is never used [INFO] [stdout] --> src/api/herald.rs:483:14 [INFO] [stdout] | [INFO] [stdout] 483 | pub async fn get_tournaments() -> Result, ApiError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserMapping` is never constructed [INFO] [stdout] --> src/database.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct UserMapping { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserTournament` is never constructed [INFO] [stdout] --> src/database.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct UserTournament { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_user_registered` is never used [INFO] [stdout] --> src/database.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl Database { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn is_user_registered(&self, discord_user_id: UserId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `set_scores` are never used [INFO] [stdout] --> src/models/pairing.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Pairing { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 16 | pub fn new(player_one: String, player_two: String, round: u32, match_id: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn set_scores(&mut self, score_one: u32, score_two: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update_score` are never used [INFO] [stdout] --> src/models/matchup.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Matchup { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 16 | pub fn new(player_one: String, player_two: String, round: u32, match_id: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn update_score(&mut self, score_one: u32, score_two: u32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/score.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Score { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(player_name: String, score: u32, match_id: String, timestamp: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/ranking.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Ranking { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | pub fn new(player_name: String, score: u32, rank: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `country_code` are never read [INFO] [stdout] --> src/api/herald.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Owner { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | #[serde(rename = "userId")] [INFO] [stdout] 11 | pub user_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub country_code: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Owner` 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: fields `address`, `zip_code`, and `country_code` are never read [INFO] [stdout] --> src/api/herald.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Location { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 24 | pub name: String, [INFO] [stdout] 25 | pub address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | #[serde(rename = "zipCode")] [INFO] [stdout] 27 | pub zip_code: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub country_code: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Location` 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: multiple fields are never read [INFO] [stdout] --> src/api/herald.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Tournament { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | pub created_date: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub number_of_prospects: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub number_of_teams: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | #[serde(rename = "numberOfRegisteredTeams")] [INFO] [stdout] 59 | pub number_of_registered_teams: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | #[serde(rename = "numberOfApprovedTeams")] [INFO] [stdout] 61 | pub number_of_approved_teams: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | #[serde(rename = "numberOfCheckedInTeams")] [INFO] [stdout] 63 | pub number_of_checked_in_teams: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | #[serde(rename = "requiredActiveRosterSize")] [INFO] [stdout] 65 | pub required_active_roster_size: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub image_url: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tournament` 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: fields `total_elements` and `total_pages` are never read [INFO] [stdout] --> src/api/herald.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct TournamentSearchResponse { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 99 | pub content: Vec, [INFO] [stdout] 100 | pub total_elements: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 101 | pub total_pages: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TournamentSearchResponse` 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 `get_tournament_by_id` is never used [INFO] [stdout] --> src/api/herald.rs:279:18 [INFO] [stdout] | [INFO] [stdout] 136 | impl HeraldClient { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 279 | pub async fn get_tournament_by_id(&self, tournament_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pairings` is never used [INFO] [stdout] --> src/api/herald.rs:400:14 [INFO] [stdout] | [INFO] [stdout] 400 | pub async fn get_pairings() -> Result, ApiError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_matchups` is never used [INFO] [stdout] --> src/api/herald.rs:413:14 [INFO] [stdout] | [INFO] [stdout] 413 | pub async fn get_matchups() -> Result, ApiError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_scores` is never used [INFO] [stdout] --> src/api/herald.rs:426:14 [INFO] [stdout] | [INFO] [stdout] 426 | pub async fn get_scores() -> Result, ApiError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_rankings` is never used [INFO] [stdout] --> src/api/herald.rs:439:14 [INFO] [stdout] | [INFO] [stdout] 439 | pub async fn get_rankings() -> Result, ApiError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_tournament_by_id` is never used [INFO] [stdout] --> src/api/herald.rs:473:14 [INFO] [stdout] | [INFO] [stdout] 473 | pub async fn get_tournament_by_id(tournament_id: &str) -> Result, ApiError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_tournaments` is never used [INFO] [stdout] --> src/api/herald.rs:483:14 [INFO] [stdout] | [INFO] [stdout] 483 | pub async fn get_tournaments() -> Result, ApiError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserMapping` is never constructed [INFO] [stdout] --> src/database.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct UserMapping { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserTournament` is never constructed [INFO] [stdout] --> src/database.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct UserTournament { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_user_registered` is never used [INFO] [stdout] --> src/database.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl Database { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn is_user_registered(&self, discord_user_id: UserId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `set_scores` are never used [INFO] [stdout] --> src/models/pairing.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Pairing { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 16 | pub fn new(player_one: String, player_two: String, round: u32, match_id: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn set_scores(&mut self, score_one: u32, score_two: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update_score` are never used [INFO] [stdout] --> src/models/matchup.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Matchup { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 16 | pub fn new(player_one: String, player_two: String, round: u32, match_id: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn update_score(&mut self, score_one: u32, score_two: u32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/score.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Score { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(player_name: String, score: u32, match_id: String, timestamp: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/ranking.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Ranking { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | pub fn new(player_name: String, score: u32, rank: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "07d9159896156285627af56135615bd2aba9c447c059195487dd2c27d5b45d99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07d9159896156285627af56135615bd2aba9c447c059195487dd2c27d5b45d99", kill_on_drop: false }` [INFO] [stdout] 07d9159896156285627af56135615bd2aba9c447c059195487dd2c27d5b45d99