[INFO] cloning repository https://github.com/globallstudent/yoyo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/globallstudent/yoyo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgloballstudent%2Fyoyo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgloballstudent%2Fyoyo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ccca1757dc807724947ecce9ce8e964252e917f [INFO] checking globallstudent/yoyo against try#39605810efb1a0d52f955bfba9e4eec7a01d5deb for pr-153692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgloballstudent%2Fyoyo" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/globallstudent/yoyo [INFO] finished tweaking git repo https://github.com/globallstudent/yoyo [INFO] tweaked toml for git repo https://github.com/globallstudent/yoyo written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/globallstudent/yoyo on toolchain 39605810efb1a0d52f955bfba9e4eec7a01d5deb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/globallstudent/yoyo 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" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca71b556b71ed0ba476cd9276a692b3021a324ea314471db75e64c0175fc7470 [INFO] running `Command { std: "docker" "start" "-a" "ca71b556b71ed0ba476cd9276a692b3021a324ea314471db75e64c0175fc7470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca71b556b71ed0ba476cd9276a692b3021a324ea314471db75e64c0175fc7470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca71b556b71ed0ba476cd9276a692b3021a324ea314471db75e64c0175fc7470", kill_on_drop: false }` [INFO] [stdout] ca71b556b71ed0ba476cd9276a692b3021a324ea314471db75e64c0175fc7470 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fe5a7c19d4c66c239c9a42b7f7746fc2ba2574d39743086bde4fb9ee49a3065 [INFO] running `Command { std: "docker" "start" "-a" "8fe5a7c19d4c66c239c9a42b7f7746fc2ba2574d39743086bde4fb9ee49a3065", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking rand_core v0.10.0 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Checking ipnet v2.12.0 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling stacker v0.1.23 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking rgb v0.8.53 [INFO] [stderr] Checking uuid v1.22.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking rc-box v1.3.0 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Checking cpufeatures v0.3.0 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking chacha20 v0.10.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking rand v0.10.0 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling ar_archive_writer v0.5.1 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling psm v0.1.30 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Compiling teloxide-macros v0.10.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Checking openssl v0.10.75 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking pin-project v1.1.11 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking tungstenite v0.28.0 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.17.0 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking serde_with v3.17.0 [INFO] [stderr] Checking dptree v0.5.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling aquamarine v0.6.0 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-tungstenite v0.28.0 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking sqlx-sqlite v0.8.6 [INFO] [stderr] Checking teloxide-core v0.13.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking teloxide v0.17.0 [INFO] [stderr] Checking yoyo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `UserId` is never constructed [INFO] [stdout] --> src/db/models.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct UserId(pub i64); [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 `SessionId` is never constructed [INFO] [stdout] --> src/db/models.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SessionId(pub String); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatId` is never constructed [INFO] [stdout] --> src/db/models.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ChatId(pub i64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VocabSetId` is never constructed [INFO] [stdout] --> src/db/models.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct VocabSetId(pub i64); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VocabItemId` is never constructed [INFO] [stdout] --> src/db/models.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct VocabItemId(pub i64); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_game_player_scores` is never used [INFO] [stdout] --> src/db/queries.rs:344:14 [INFO] [stdout] | [INFO] [stdout] 344 | pub async fn save_game_player_scores( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Forbidden`, `Conflict`, and `Internal` are never constructed [INFO] [stdout] --> src/error.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Forbidden(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | Conflict(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | Internal(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `active_count` is never used [INFO] [stdout] --> src/game/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl RoomManager { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn active_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_word` is never read [INFO] [stdout] --> src/game/room.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct MemoryCard { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | pub is_word: bool, // true = word side, false = translation side [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemoryCard` 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: method `process_card_flip` is never used [INFO] [stdout] --> src/game/room.rs:620:18 [INFO] [stdout] | [INFO] [stdout] 124 | impl GameRoom { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 620 | pub async fn process_card_flip(&self, _user_id: i64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MemoryComplete`, `GameResumed`, and `Pong` are never constructed [INFO] [stdout] --> src/game/types.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum ServerMessage { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 133 | MemoryComplete { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | GameResumed, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | Pong, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerMessage` 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 `bot` is never read [INFO] [stdout] --> src/state.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 12 | pub db: SqlitePool, [INFO] [stdout] 13 | pub bot: Bot, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chat_type`, `chat_instance`, `start_param`, and `auth_date` are never read [INFO] [stdout] --> src/web/auth.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TelegramAuth { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 13 | pub user: User, [INFO] [stdout] 14 | pub chat_type: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | pub chat_instance: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub start_param: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | pub auth_date: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TelegramAuth` 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 `validate_init_data_dev` is never used [INFO] [stdout] --> src/web/auth.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn validate_init_data_dev(init_data: &str) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserId` is never constructed [INFO] [stdout] --> src/db/models.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct UserId(pub i64); [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 `SessionId` is never constructed [INFO] [stdout] --> src/db/models.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SessionId(pub String); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatId` is never constructed [INFO] [stdout] --> src/db/models.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ChatId(pub i64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VocabSetId` is never constructed [INFO] [stdout] --> src/db/models.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct VocabSetId(pub i64); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VocabItemId` is never constructed [INFO] [stdout] --> src/db/models.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct VocabItemId(pub i64); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_game_player_scores` is never used [INFO] [stdout] --> src/db/queries.rs:344:14 [INFO] [stdout] | [INFO] [stdout] 344 | pub async fn save_game_player_scores( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Forbidden`, `Conflict`, and `Internal` are never constructed [INFO] [stdout] --> src/error.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Forbidden(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | Conflict(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | Internal(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `active_count` is never used [INFO] [stdout] --> src/game/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl RoomManager { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn active_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_word` is never read [INFO] [stdout] --> src/game/room.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct MemoryCard { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | pub is_word: bool, // true = word side, false = translation side [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemoryCard` 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: method `process_card_flip` is never used [INFO] [stdout] --> src/game/room.rs:620:18 [INFO] [stdout] | [INFO] [stdout] 124 | impl GameRoom { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 620 | pub async fn process_card_flip(&self, _user_id: i64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MemoryComplete`, `GameResumed`, and `Pong` are never constructed [INFO] [stdout] --> src/game/types.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum ServerMessage { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 133 | MemoryComplete { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | GameResumed, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | Pong, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerMessage` 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 `bot` is never read [INFO] [stdout] --> src/state.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 12 | pub db: SqlitePool, [INFO] [stdout] 13 | pub bot: Bot, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chat_type`, `chat_instance`, `start_param`, and `auth_date` are never read [INFO] [stdout] --> src/web/auth.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TelegramAuth { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 13 | pub user: User, [INFO] [stdout] 14 | pub chat_type: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | pub chat_instance: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub start_param: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | pub auth_date: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TelegramAuth` 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 `validate_init_data_dev` is never used [INFO] [stdout] --> src/web/auth.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn validate_init_data_dev(init_data: &str) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "8fe5a7c19d4c66c239c9a42b7f7746fc2ba2574d39743086bde4fb9ee49a3065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fe5a7c19d4c66c239c9a42b7f7746fc2ba2574d39743086bde4fb9ee49a3065", kill_on_drop: false }` [INFO] [stdout] 8fe5a7c19d4c66c239c9a42b7f7746fc2ba2574d39743086bde4fb9ee49a3065