[INFO] cloning repository https://github.com/sascha10000/ai-news [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sascha10000/ai-news" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsascha10000%2Fai-news", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsascha10000%2Fai-news'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1bdff822279b87584f971cb8976ada9b053e5368 [INFO] checking sascha10000/ai-news against master#53509ca37e3b507887607c2f4a7f23bd4838f099 for pr-156027 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsascha10000%2Fai-news" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sascha10000/ai-news [INFO] finished tweaking git repo https://github.com/sascha10000/ai-news [INFO] tweaked toml for git repo https://github.com/sascha10000/ai-news written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sascha10000/ai-news on toolchain 53509ca37e3b507887607c2f4a7f23bd4838f099 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53509ca37e3b507887607c2f4a7f23bd4838f099" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sascha10000/ai-news 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" "+53509ca37e3b507887607c2f4a7f23bd4838f099" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fastrand v2.4.0 [INFO] [stderr] Downloaded ollama-rs v0.2.6 [INFO] [stderr] Downloaded tokio-cron-scheduler v0.13.0 [INFO] [stderr] Downloaded croner v2.2.0 [INFO] [stderr] Downloaded askama_macros v0.15.6 [INFO] [stderr] Downloaded askama_web_derive v0.2.0 [INFO] [stderr] Downloaded mediatype v0.19.20 [INFO] [stderr] Downloaded axum-extra v0.10.3 [INFO] [stderr] Downloaded askama v0.15.6 [INFO] [stderr] Downloaded askama_web v0.15.2 [INFO] [stderr] Downloaded feed-rs v2.3.1 [INFO] [stderr] Downloaded askama_derive v0.15.6 [INFO] [stderr] Downloaded askama_parser v0.15.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+53509ca37e3b507887607c2f4a7f23bd4838f099" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8604066d734435d7a5b9108a7b87e78ecda4734d3b83019eada2a9e9cead43d [INFO] running `Command { std: "docker" "start" "-a" "e8604066d734435d7a5b9108a7b87e78ecda4734d3b83019eada2a9e9cead43d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8604066d734435d7a5b9108a7b87e78ecda4734d3b83019eada2a9e9cead43d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8604066d734435d7a5b9108a7b87e78ecda4734d3b83019eada2a9e9cead43d", kill_on_drop: false }` [INFO] [stdout] e8604066d734435d7a5b9108a7b87e78ecda4734d3b83019eada2a9e9cead43d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+53509ca37e3b507887607c2f4a7f23bd4838f099" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4052f383ed1546ee3d8b58d6620237335eb6cfef5df5cd13fb76b3b49f9391fe [INFO] running `Command { std: "docker" "start" "-a" "4052f383ed1546ee3d8b58d6620237335eb6cfef5df5cd13fb76b3b49f9391fe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling cc v1.2.59 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking indexmap v2.13.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking zerofrom v0.1.7 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Checking iri-string v0.7.12 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Checking yoke v0.8.2 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking potential_utf v0.1.5 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling winnow v1.0.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling rustc-hash v2.1.2 [INFO] [stderr] Checking tokio v1.51.0 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Checking deunicode v1.6.2 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking ai-news-core v0.1.0 (/opt/rustwide/workdir/crates/core) [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling askama_parser v0.15.6 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Checking getrandom v0.4.2 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking uuid v1.23.0 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Compiling tokio-cron-scheduler v0.13.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking croner v2.2.0 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking serde_html_form v0.2.8 [INFO] [stderr] Checking mediatype v0.19.20 [INFO] [stderr] Checking quick-xml v0.37.5 [INFO] [stderr] Compiling askama_web_derive v0.2.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking siphasher v1.0.2 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking cookie v0.18.1 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Compiling askama_derive v0.15.6 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking feed-rs v2.3.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling askama_macros v0.15.6 [INFO] [stderr] Checking askama v0.15.6 [INFO] [stderr] Checking askama_web v0.15.2 [INFO] [stderr] Checking hyper v1.9.0 [INFO] [stderr] Checking sqlx-sqlite v0.8.6 [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] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking ollama-rs v0.2.6 [INFO] [stderr] Checking ai-news-generation v0.1.0 (/opt/rustwide/workdir/crates/generation) [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking ai-news-client v0.1.0 (/opt/rustwide/workdir/crates/client) [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking axum-extra v0.10.3 [INFO] [stderr] Checking ai-news-server v0.1.0 (/opt/rustwide/workdir/crates/server) [INFO] [stdout] warning: variant `Llm` is never constructed [INFO] [stdout] --> crates/server/src/error.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum AppError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | Llm(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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `page` and `has_more` are never read [INFO] [stdout] --> crates/server/src/handlers/public.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct UserNewsTemplate { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub page: i64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | pub has_more: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fetch_interval_minutes` and `created_at` are never read [INFO] [stdout] --> crates/server/src/models/feed.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Feed { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub fetch_interval_minutes: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub last_fetched_at: Option, [INFO] [stdout] 13 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Feed` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `all`, `all_global`, and `owner_of` are never used [INFO] [stdout] --> crates/server/src/models/feed.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 29 | impl Feed { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 30 | pub async fn all(pool: &SqlitePool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn all_global(pool: &SqlitePool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub async fn owner_of(pool: &SqlitePool, id: i64) -> Result>, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `created_at` is never read [INFO] [stdout] --> crates/server/src/models/list.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct List { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `List` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `by_id`, `feeds`, and `set_feeds` are never used [INFO] [stdout] --> crates/server/src/models/list.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl List { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub async fn by_id(pool: &SqlitePool, id: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub async fn feeds(pool: &SqlitePool, list_id: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub async fn set_feeds( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `guid`, `author`, and `fetched_at` are never read [INFO] [stdout] --> crates/server/src/models/source_article.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SourceArticle { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub guid: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub author: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fetched_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceArticle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `by_ids` is never used [INFO] [stdout] --> crates/server/src/models/source_article.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl SourceArticle { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn by_ids(pool: &SqlitePool, ids: &[i64]) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `list_id` is never read [INFO] [stdout] --> crates/server/src/models/generated_article.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct GeneratedArticle { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub list_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeneratedArticle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> crates/server/src/models/generated_article.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl GeneratedArticle { [INFO] [stdout] | --------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub async fn published( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub async fn published_categories(pool: &SqlitePool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub async fn drafts(pool: &SqlitePool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub async fn drafts_global(pool: &SqlitePool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub async fn by_id(pool: &SqlitePool, id: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 390 | pub async fn set_status(pool: &SqlitePool, id: i64, status: &str) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | pub async fn set_status_bulk( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | pub async fn all_published(pool: &SqlitePool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 441 | pub async fn all_published_global( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 476 | pub async fn set_category(pool: &SqlitePool, id: i64, category: &str) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 485 | pub async fn count_published(pool: &SqlitePool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `generated_article_id` is never read [INFO] [stdout] --> crates/server/src/models/citation.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct GeneratedSentence { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 6 | pub id: i64, [INFO] [stdout] 7 | pub generated_article_id: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeneratedSentence` 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 `id`, `sentence_id`, and `source_article_id` are never read [INFO] [stdout] --> crates/server/src/models/citation.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SentenceCitation { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 14 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | pub sentence_id: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | pub source_article_id: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SentenceCitation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> crates/server/src/models/citation.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct SentenceWithSources { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 21 | pub position: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SentenceWithSources` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `cleanup_expired` is never used [INFO] [stdout] --> crates/server/src/models/session.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl Session { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn cleanup_expired(pool: &SqlitePool) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `created_at` is never read [INFO] [stdout] --> crates/server/src/models/user.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Llm` is never constructed [INFO] [stdout] --> crates/server/src/error.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum AppError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | Llm(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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `page` and `has_more` are never read [INFO] [stdout] --> crates/server/src/handlers/public.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct UserNewsTemplate { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub page: i64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | pub has_more: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fetch_interval_minutes` and `created_at` are never read [INFO] [stdout] --> crates/server/src/models/feed.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Feed { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub fetch_interval_minutes: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub last_fetched_at: Option, [INFO] [stdout] 13 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Feed` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `all`, `all_global`, and `owner_of` are never used [INFO] [stdout] --> crates/server/src/models/feed.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 29 | impl Feed { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 30 | pub async fn all(pool: &SqlitePool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn all_global(pool: &SqlitePool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub async fn owner_of(pool: &SqlitePool, id: i64) -> Result>, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `created_at` is never read [INFO] [stdout] --> crates/server/src/models/list.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct List { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `List` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `by_id`, `feeds`, and `set_feeds` are never used [INFO] [stdout] --> crates/server/src/models/list.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl List { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub async fn by_id(pool: &SqlitePool, id: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub async fn feeds(pool: &SqlitePool, list_id: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub async fn set_feeds( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `guid`, `author`, and `fetched_at` are never read [INFO] [stdout] --> crates/server/src/models/source_article.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SourceArticle { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub guid: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub author: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fetched_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceArticle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `by_ids` is never used [INFO] [stdout] --> crates/server/src/models/source_article.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl SourceArticle { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn by_ids(pool: &SqlitePool, ids: &[i64]) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `list_id` is never read [INFO] [stdout] --> crates/server/src/models/generated_article.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct GeneratedArticle { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub list_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeneratedArticle` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> crates/server/src/models/generated_article.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl GeneratedArticle { [INFO] [stdout] | --------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub async fn published( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub async fn published_categories(pool: &SqlitePool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub async fn drafts(pool: &SqlitePool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub async fn drafts_global(pool: &SqlitePool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub async fn by_id(pool: &SqlitePool, id: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 390 | pub async fn set_status(pool: &SqlitePool, id: i64, status: &str) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | pub async fn set_status_bulk( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | pub async fn all_published(pool: &SqlitePool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 441 | pub async fn all_published_global( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 476 | pub async fn set_category(pool: &SqlitePool, id: i64, category: &str) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 485 | pub async fn count_published(pool: &SqlitePool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `generated_article_id` is never read [INFO] [stdout] --> crates/server/src/models/citation.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct GeneratedSentence { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 6 | pub id: i64, [INFO] [stdout] 7 | pub generated_article_id: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeneratedSentence` 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 `id`, `sentence_id`, and `source_article_id` are never read [INFO] [stdout] --> crates/server/src/models/citation.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SentenceCitation { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 14 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | pub sentence_id: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | pub source_article_id: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SentenceCitation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> crates/server/src/models/citation.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct SentenceWithSources { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 21 | pub position: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SentenceWithSources` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `cleanup_expired` is never used [INFO] [stdout] --> crates/server/src/models/session.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl Session { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub async fn cleanup_expired(pool: &SqlitePool) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `created_at` is never read [INFO] [stdout] --> crates/server/src/models/user.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_reserved_username` is never used [INFO] [stdout] --> crates/server/src/models/user.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn is_reserved_username(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "4052f383ed1546ee3d8b58d6620237335eb6cfef5df5cd13fb76b3b49f9391fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4052f383ed1546ee3d8b58d6620237335eb6cfef5df5cd13fb76b3b49f9391fe", kill_on_drop: false }` [INFO] [stdout] 4052f383ed1546ee3d8b58d6620237335eb6cfef5df5cd13fb76b3b49f9391fe