[INFO] cloning repository https://github.com/Win-Shein/chansport [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Win-Shein/chansport" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWin-Shein%2Fchansport", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWin-Shein%2Fchansport'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff0c77efab92a04bfd23c78f5935231e9e094a0a [INFO] checking Win-Shein/chansport against c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40 for pr-160391-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWin-Shein%2Fchansport" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Win-Shein/chansport [INFO] finished tweaking git repo https://github.com/Win-Shein/chansport [INFO] tweaked toml for git repo https://github.com/Win-Shein/chansport written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Win-Shein/chansport on toolchain c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Win-Shein/chansport 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" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 005164b56fbc617adfd5b0a3e318caff20b52866f6569746c55f1c0426c497e4 [INFO] running `Command { std: "docker" "start" "005164b56fbc617adfd5b0a3e318caff20b52866f6569746c55f1c0426c497e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "005164b56fbc617adfd5b0a3e318caff20b52866f6569746c55f1c0426c497e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "005164b56fbc617adfd5b0a3e318caff20b52866f6569746c55f1c0426c497e4" "/opt/rustwide/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "005164b56fbc617adfd5b0a3e318caff20b52866f6569746c55f1c0426c497e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "005164b56fbc617adfd5b0a3e318caff20b52866f6569746c55f1c0426c497e4" "/opt/rustwide/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.190 [INFO] [stderr] Checking smallvec v1.16.3 [INFO] [stderr] Compiling cc v1.7.0 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling syn v3.0.7 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling thiserror v2.0.21 [INFO] [stderr] Compiling icu_properties_data v2.3.0 [INFO] [stderr] Compiling icu_normalizer_data v2.3.0 [INFO] [stderr] Checking futures-util v0.3.34 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Checking zeroize v1.9.1 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.23 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling crc-catalog v2.5.0 [INFO] [stderr] Compiling event-listener v5.4.2 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Checking rustls-pki-types v1.15.1 [INFO] [stderr] Compiling spin v0.9.9 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking hybrid-array v0.4.15 [INFO] [stderr] Compiling serde_json v1.0.152 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crossbeam-queue v0.3.14 [INFO] [stderr] Compiling chrono v0.4.45 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling flume v0.12.0 [INFO] [stderr] Compiling hashlink v0.11.1 [INFO] [stderr] Compiling futures-executor v0.3.34 [INFO] [stderr] Compiling crc32fast v1.5.2 [INFO] [stderr] Compiling mio v1.2.4 [INFO] [stderr] Compiling socket2 v0.6.5 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling cookie v0.18.2 [INFO] [stderr] Compiling rustls v0.23.45 [INFO] [stderr] Checking time v0.3.55 [INFO] [stderr] Compiling tokio v1.53.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Checking miniz_oxide v0.9.1 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking crypto-common v0.2.2 [INFO] [stderr] Checking inout v0.2.2 [INFO] [stderr] Checking getrandom v0.4.3 [INFO] [stderr] Checking webpki-roots v1.0.9 [INFO] [stderr] Checking futures-channel v0.3.34 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking cpufeatures v0.3.1 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking flate2 v1.1.10 [INFO] [stderr] Checking unicase v2.10.0 [INFO] [stderr] Checking chacha20 v0.10.2 [INFO] [stderr] Checking unicode-ident v1.0.26 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.37.0 [INFO] [stderr] Checking rand v0.10.3 [INFO] [stderr] Checking cipher v0.5.2 [INFO] [stderr] Checking blowfish v0.10.0 [INFO] [stderr] Checking bcrypt v0.19.3 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling axum-macros v0.5.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Compiling synstructure v0.14.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.8 [INFO] [stderr] Compiling yoke-derive v0.8.4 [INFO] [stderr] Compiling zerovec-derive v0.11.6 [INFO] [stderr] Compiling displaydoc v0.2.7 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling tokio-macros v2.7.2 [INFO] [stderr] Compiling thiserror-impl v2.0.21 [INFO] [stderr] Checking rustls-webpki v0.103.15 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Compiling yoke v0.8.3 [INFO] [stderr] Compiling zerotrie v0.2.5 [INFO] [stderr] Compiling zerovec v0.11.8 [INFO] [stderr] Checking tinystr v0.8.4 [INFO] [stderr] Checking potential_utf v0.1.6 [INFO] [stderr] Compiling icu_collections v2.3.0 [INFO] [stderr] Checking icu_locale_core v2.3.0 [INFO] [stderr] Checking serde v1.0.229 [INFO] [stderr] Compiling tokio-stream v0.1.19 [INFO] [stderr] Compiling either v1.19.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking minijinja v3.0.0 [INFO] [stderr] Checking icu_provider v2.3.1 [INFO] [stderr] Checking icu_normalizer v2.3.0 [INFO] [stderr] Checking icu_properties v2.3.0 [INFO] [stderr] Compiling idna_adapter v1.2.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling sqlx-core v0.9.0 [INFO] [stderr] Checking ureq v2.12.1 [INFO] [stderr] Checking hyper v1.12.0 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking hyper-util v0.1.21 [INFO] [stderr] Checking axum v0.8.9 [INFO] [stderr] Compiling sqlx-sqlite v0.9.0 [INFO] [stderr] Compiling sqlx-macros-core v0.9.0 [INFO] [stderr] Compiling sqlx-macros v0.9.0 [INFO] [stderr] Checking sqlx v0.9.0 [INFO] [stderr] Checking axum-extra v0.12.6 [INFO] [stderr] Checking myanbet365 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `form_str` is never used [INFO] [stdout] --> src/handlers/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn form_str(m: &HashMap, k: &str) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `form_num` is never used [INFO] [stdout] --> src/handlers/mod.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn form_num(m: &HashMap, k: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_id` is never used [INFO] [stdout] --> src/handlers/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn is_valid_id(v: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `balance`, `bet_limit`, and `created_at` are never read [INFO] [stdout] --> src/models.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub balance: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | pub commission: f64, [INFO] [stdout] 11 | pub bet_limit: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | pub status: String, [INFO] [stdout] 13 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` 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 `balance`, `bet_limit`, `status`, and `created_at` are never read [INFO] [stdout] --> src/models.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Member { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub balance: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | pub commission: f64, [INFO] [stdout] 22 | pub bet_limit: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Member` 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: field `created_at` is never read [INFO] [stdout] --> src/models.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Match { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Match` 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: field `created_at` is never read [INFO] [stdout] --> src/models.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct UserSettledBet { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserSettledBet` 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 `id`, `bet_type`, `created_at`, `match_time`, `body_odd`, and `total_odd` are never read [INFO] [stdout] --> src/models.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct OutstandingBet { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 74 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub bet_type: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub match_time: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 85 | pub body_odd: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 86 | pub total_odd: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutstandingBet` 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 `id`, `username`, `bet_type`, `valid_amount`, `created_at`, and `match_time` are never read [INFO] [stdout] --> src/models.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct SettledBet { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 92 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 93 | pub user_id: i64, [INFO] [stdout] 94 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 95 | pub bet_type: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub valid_amount: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 101 | pub status: String, [INFO] [stdout] 102 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub match_time: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SettledBet` 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: function `form_str` is never used [INFO] [stdout] --> src/handlers/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn form_str(m: &HashMap, k: &str) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `form_num` is never used [INFO] [stdout] --> src/handlers/mod.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn form_num(m: &HashMap, k: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `match_id`, `match_time`, and `bet_type` are never read [INFO] [stdout] --> src/models.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct ExposureRow { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 125 | pub match_id: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub match_time: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 129 | pub bet_type: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExposureRow` 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: function `is_valid_id` is never used [INFO] [stdout] --> src/handlers/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn is_valid_id(v: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `comm_rate` are never read [INFO] [stdout] --> src/models.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct PendingBet { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 138 | pub id: i64, [INFO] [stdout] 139 | pub user_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub comm_rate: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PendingBet` 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 `balance`, `bet_limit`, and `created_at` are never read [INFO] [stdout] --> src/models.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub balance: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | pub commission: f64, [INFO] [stdout] 11 | pub bet_limit: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | pub status: String, [INFO] [stdout] 13 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` 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: field `away_team` is never read [INFO] [stdout] --> src/settlement.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct BetInput { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 117 | pub away_team: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BetInput` 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: function `now_str` is never used [INFO] [stdout] --> src/timeutil.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn now_str() -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `balance`, `bet_limit`, `status`, and `created_at` are never read [INFO] [stdout] --> src/models.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Member { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub balance: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | pub commission: f64, [INFO] [stdout] 22 | pub bet_limit: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Member` 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: field `created_at` is never read [INFO] [stdout] --> src/models.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Match { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Match` 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: field `created_at` is never read [INFO] [stdout] --> src/models.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct UserSettledBet { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserSettledBet` 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 `id`, `bet_type`, `created_at`, `match_time`, `body_odd`, and `total_odd` are never read [INFO] [stdout] --> src/models.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct OutstandingBet { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 74 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub bet_type: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub match_time: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 85 | pub body_odd: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 86 | pub total_odd: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutstandingBet` 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 `id`, `username`, `bet_type`, `valid_amount`, `created_at`, and `match_time` are never read [INFO] [stdout] --> src/models.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct SettledBet { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 92 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 93 | pub user_id: i64, [INFO] [stdout] 94 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 95 | pub bet_type: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub valid_amount: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 101 | pub status: String, [INFO] [stdout] 102 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub match_time: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SettledBet` 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 `match_id`, `match_time`, and `bet_type` are never read [INFO] [stdout] --> src/models.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct ExposureRow { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 125 | pub match_id: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub match_time: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 129 | pub bet_type: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExposureRow` 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 `user_id` and `comm_rate` are never read [INFO] [stdout] --> src/models.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct PendingBet { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 138 | pub id: i64, [INFO] [stdout] 139 | pub user_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub comm_rate: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PendingBet` 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: field `away_team` is never read [INFO] [stdout] --> src/settlement.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct BetInput { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 117 | pub away_team: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BetInput` 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: function `now_str` is never used [INFO] [stdout] --> src/timeutil.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn now_str() -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "005164b56fbc617adfd5b0a3e318caff20b52866f6569746c55f1c0426c497e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "005164b56fbc617adfd5b0a3e318caff20b52866f6569746c55f1c0426c497e4", kill_on_drop: false }` [INFO] [stdout] 005164b56fbc617adfd5b0a3e318caff20b52866f6569746c55f1c0426c497e4