[INFO] cloning repository https://github.com/t3chn/ai-todolist [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/t3chn/ai-todolist" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft3chn%2Fai-todolist", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft3chn%2Fai-todolist'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92103822ddec8f7acde84ec0f99f775aba5945b8 [INFO] checking t3chn/ai-todolist against master#59fd4ef94daa991e6797b5aa6127e824f3067def for pr-145108-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft3chn%2Fai-todolist" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/t3chn/ai-todolist [INFO] finished tweaking git repo https://github.com/t3chn/ai-todolist [INFO] tweaked toml for git repo https://github.com/t3chn/ai-todolist written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/t3chn/ai-todolist on toolchain 59fd4ef94daa991e6797b5aa6127e824f3067def [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+59fd4ef94daa991e6797b5aa6127e824f3067def" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/t3chn/ai-todolist 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" "+59fd4ef94daa991e6797b5aa6127e824f3067def" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fluent-bundle v0.15.3 [INFO] [stderr] Downloaded fluent v0.16.1 [INFO] [stderr] Downloaded rc-box v1.3.0 [INFO] [stderr] Downloaded fluent-langneg v0.13.1 [INFO] [stderr] Downloaded fluent-syntax v0.11.1 [INFO] [stderr] Downloaded erasable v1.3.0 [INFO] [stderr] Downloaded self_cell v0.10.3 [INFO] [stderr] Downloaded teloxide-core v0.10.1 [INFO] [stderr] Downloaded teloxide v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+59fd4ef94daa991e6797b5aa6127e824f3067def" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2154aab0f520cb5738b534c6ecd61926f1f1a577b6b68c1b08739f3ce8dfa3b2 [INFO] running `Command { std: "docker" "start" "-a" "2154aab0f520cb5738b534c6ecd61926f1f1a577b6b68c1b08739f3ce8dfa3b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2154aab0f520cb5738b534c6ecd61926f1f1a577b6b68c1b08739f3ce8dfa3b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2154aab0f520cb5738b534c6ecd61926f1f1a577b6b68c1b08739f3ce8dfa3b2", kill_on_drop: false }` [INFO] [stdout] 2154aab0f520cb5738b534c6ecd61926f1f1a577b6b68c1b08739f3ce8dfa3b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+59fd4ef94daa991e6797b5aa6127e824f3067def" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf6f455acb9b30edeb84fe29da5f22e964207c5722c44cb26c9cfa0bc504b97c [INFO] running `Command { std: "docker" "start" "-a" "cf6f455acb9b30edeb84fe29da5f22e964207c5722c44cb26c9cfa0bc504b97c", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling cc v1.2.48 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking tracing-core v0.1.35 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Checking tracing v0.1.43 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking unic-langid-impl v0.9.6 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Checking unic-langid v0.9.6 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking self_cell v0.10.3 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking rc-box v1.3.0 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking intl-memoizer v0.5.3 [INFO] [stderr] Checking fluent-langneg v0.13.1 [INFO] [stderr] Checking intl_pluralrules v7.0.2 [INFO] [stderr] Checking fluent-syntax v0.11.1 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking rustls-pki-types v1.13.1 [INFO] [stderr] Checking tower-http v0.6.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking fluent-bundle v0.15.3 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking dptree v0.3.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fluent v0.16.1 [INFO] [stderr] Compiling teloxide-macros v0.8.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking teloxide-core v0.10.1 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.24 [INFO] [stderr] Checking sqlx-sqlite v0.8.6 [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.13.0 [INFO] [stderr] Checking ai-todolist v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TaskWithTelegramId` [INFO] [stdout] --> src/models/mod.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | pub use task::{Task, TaskStatus, TaskWithTelegramId}; [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: `AdminStats` [INFO] [stdout] --> src/models/mod.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | pub use user::{User, AdminStats}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParsedTask` [INFO] [stdout] --> src/services/mod.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | pub use ai::{AiService, ParsedInput, ParsedTask}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TaskWithTelegramId` [INFO] [stdout] --> src/models/mod.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | pub use task::{Task, TaskStatus, TaskWithTelegramId}; [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: `AdminStats` [INFO] [stdout] --> src/models/mod.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | pub use user::{User, AdminStats}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParsedTask` [INFO] [stdout] --> src/services/mod.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | pub use ai::{AiService, ParsedInput, ParsedTask}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `days` [INFO] [stdout] --> src/handlers/mod.rs:315:37 [INFO] [stdout] | [INFO] [stdout] 315 | if let Some(days) = u.trial_days_remaining() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_days` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `share_text` [INFO] [stdout] --> src/handlers/mod.rs:631:37 [INFO] [stdout] | [INFO] [stdout] 631 | ... let share_text = format!( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_share_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `days` [INFO] [stdout] --> src/handlers/mod.rs:315:37 [INFO] [stdout] | [INFO] [stdout] 315 | if let Some(days) = u.trial_days_remaining() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_days` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `share_text` [INFO] [stdout] --> src/handlers/mod.rs:631:37 [INFO] [stdout] | [INFO] [stdout] 631 | ... let share_text = format!( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_share_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_task` is never used [INFO] [stdout] --> src/handlers/mod.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn format_task(task: &Task) -> 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: methods `code`, `display_name`, and `flag` are never used [INFO] [stdout] --> src/i18n/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Language { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn code(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn display_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn flag(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/task.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TaskWithTelegramId { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 7 | pub id: i64, [INFO] [stdout] 8 | pub user_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub title: String, [INFO] [stdout] 10 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | pub due_at: Option, [INFO] [stdout] 13 | pub reminder_at: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | pub tags: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | pub updated_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaskWithTelegramId` 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: associated items `from_str` and `emoji` are never used [INFO] [stdout] --> src/models/task.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl TaskStatus { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn emoji(&self) -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `status_enum` and `find_by_user` are never used [INFO] [stdout] --> src/models/task.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl Task { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 74 | pub fn status_enum(&self) -> TaskStatus { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub async fn find_by_user(pool: &SqlitePool, user_id: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `touch_last_active` is never used [INFO] [stdout] --> src/models/user.rs:379:18 [INFO] [stdout] | [INFO] [stdout] 32 | impl User { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 379 | pub async fn touch_last_active(pool: &SqlitePool, telegram_id: i64) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_task` is never used [INFO] [stdout] --> src/services/ai.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 61 | impl AiService { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub async fn parse_task(&self, input: &str, current_date: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `task_id` and `old_title` are never read [INFO] [stdout] --> src/services/context.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ProposedEdit { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 15 | pub task_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | pub old_title: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProposedEdit` 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: methods `has_pending_edit` and `clear` are never used [INFO] [stdout] --> src/services/context.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl ConversationContext { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn has_pending_edit(&self, user_id: i64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn clear(&self, user_id: i64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_usage` and `cleanup_old` are never used [INFO] [stdout] --> src/services/rate_limit.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 30 | impl RateLimiter { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub async fn get_usage( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub async fn cleanup_old(pool: &SqlitePool) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_task` is never used [INFO] [stdout] --> src/handlers/mod.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn format_task(task: &Task) -> 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: methods `code`, `display_name`, and `flag` are never used [INFO] [stdout] --> src/i18n/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Language { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn code(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn display_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn flag(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/task.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TaskWithTelegramId { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 7 | pub id: i64, [INFO] [stdout] 8 | pub user_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub title: String, [INFO] [stdout] 10 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | pub due_at: Option, [INFO] [stdout] 13 | pub reminder_at: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | pub tags: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | pub updated_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaskWithTelegramId` 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: associated items `from_str` and `emoji` are never used [INFO] [stdout] --> src/models/task.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl TaskStatus { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn emoji(&self) -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `status_enum` and `find_by_user` are never used [INFO] [stdout] --> src/models/task.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl Task { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 74 | pub fn status_enum(&self) -> TaskStatus { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub async fn find_by_user(pool: &SqlitePool, user_id: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `touch_last_active` is never used [INFO] [stdout] --> src/models/user.rs:379:18 [INFO] [stdout] | [INFO] [stdout] 32 | impl User { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 379 | pub async fn touch_last_active(pool: &SqlitePool, telegram_id: i64) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_task` is never used [INFO] [stdout] --> src/services/ai.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 61 | impl AiService { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub async fn parse_task(&self, input: &str, current_date: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `task_id` and `old_title` are never read [INFO] [stdout] --> src/services/context.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ProposedEdit { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 15 | pub task_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | pub old_title: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProposedEdit` 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: methods `has_pending_edit` and `clear` are never used [INFO] [stdout] --> src/services/context.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl ConversationContext { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn has_pending_edit(&self, user_id: i64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn clear(&self, user_id: i64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_usage` and `cleanup_old` are never used [INFO] [stdout] --> src/services/rate_limit.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 30 | impl RateLimiter { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub async fn get_usage( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub async fn cleanup_old(pool: &SqlitePool) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.30s [INFO] running `Command { std: "docker" "inspect" "cf6f455acb9b30edeb84fe29da5f22e964207c5722c44cb26c9cfa0bc504b97c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf6f455acb9b30edeb84fe29da5f22e964207c5722c44cb26c9cfa0bc504b97c", kill_on_drop: false }` [INFO] [stdout] cf6f455acb9b30edeb84fe29da5f22e964207c5722c44cb26c9cfa0bc504b97c