[INFO] cloning repository https://github.com/de-authority/pulse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/de-authority/pulse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fde-authority%2Fpulse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fde-authority%2Fpulse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 960e920b9e9edadd6924c3d002f48676b1adec47 [INFO] checking de-authority/pulse against master#d9563937fa3b030c5845811113505070109414d2 for pr-151830 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fde-authority%2Fpulse" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/de-authority/pulse [INFO] finished tweaking git repo https://github.com/de-authority/pulse [INFO] tweaked toml for git repo https://github.com/de-authority/pulse written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/de-authority/pulse on toolchain d9563937fa3b030c5845811113505070109414d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d9563937fa3b030c5845811113505070109414d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/de-authority/pulse 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" "+d9563937fa3b030c5845811113505070109414d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded readability v0.3.0 [INFO] [stderr] Downloaded markup5ever_rcdom v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+d9563937fa3b030c5845811113505070109414d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 451e0dec1d18b2a5411adab24b5101e743f143b7855ceeae845f6d2be86729e2 [INFO] running `Command { std: "docker" "start" "-a" "451e0dec1d18b2a5411adab24b5101e743f143b7855ceeae845f6d2be86729e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "451e0dec1d18b2a5411adab24b5101e743f143b7855ceeae845f6d2be86729e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "451e0dec1d18b2a5411adab24b5101e743f143b7855ceeae845f6d2be86729e2", kill_on_drop: false }` [INFO] [stdout] 451e0dec1d18b2a5411adab24b5101e743f143b7855ceeae845f6d2be86729e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+d9563937fa3b030c5845811113505070109414d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a09c3ddfbb4a3c434f21f98a81affc9b1af305e081cba78ebf680581565dbf5 [INFO] running `Command { std: "docker" "start" "-a" "6a09c3ddfbb4a3c434f21f98a81affc9b1af305e081cba78ebf680581565dbf5", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [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.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Checking string_cache v0.8.9 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Checking openssl v0.10.75 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling tempfile v3.26.0 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking xml5ever v0.17.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Checking clap_builder v4.5.60 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking markup5ever_rcdom v0.2.0 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking serde_qs v0.8.5 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking retain_mut v0.1.9 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking deadpool v0.9.5 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Checking clap v4.5.60 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking wiremock v0.5.22 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking readability v0.3.0 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking trendarc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/cli.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty` and `add_strong_keyword` are never used [INFO] [stdout] --> src/domain/config/classification_config.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl ClassificationConfig { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 102 | /// Create a new empty configuration [INFO] [stdout] 103 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn add_strong_keyword(&mut self, domain: Domain, keyword: 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: associated items `new_with_classification`, `with_content`, and `with_reason` are never used [INFO] [stdout] --> src/domain/entities/news_item.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl NewsItem { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn new_with_classification( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn with_content(mut self, content: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn with_reason(mut self, reason: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save`, `find_by_id`, `find_by_domain`, and `find_by_url` are never used [INFO] [stdout] --> src/domain/repositories/news_repository.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait NewsRepository: Send + Sync { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | async fn save(&self, news: &NewsItem) -> Result<(), Box>; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | async fn find_by_id( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | async fn find_by_domain( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | async fn find_by_url( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/domain/services/content_extractor.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ContentExtractor: Send + Sync { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title` and `source_url` are never read [INFO] [stdout] --> src/domain/services/content_extractor.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ExtractedContent { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 24 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | pub text: String, [INFO] [stdout] 26 | pub source_url: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExtractedContent` 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 functions `deduplicate_by_title` and `deduplicate_by_url_and_title` are never used [INFO] [stdout] --> src/domain/services/news_deduplication_service.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl NewsDeduplicationService { [INFO] [stdout] | ----------------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn deduplicate_by_title(news: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn deduplicate_by_url_and_title(news: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `sort_by_published_at_asc`, `sort_by_title`, `sort_by_source`, and `sort_by_author` are never used [INFO] [stdout] --> src/domain/services/news_sorting_service.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl NewsSortingService { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn sort_by_published_at_asc(news: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn sort_by_title(news: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn sort_by_source(news: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn sort_by_author(news: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `medium_confidence`, `low_confidence`, and `with_ai_refinement` are never used [INFO] [stdout] --> src/domain/strategies/classification_strategy.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl ClassificationResult { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn medium_confidence(domain: Domain, strategy_name: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn low_confidence(domain: Domain, strategy_name: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn with_ai_refinement(mut self, needs_ai: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/domain/strategies/classification_strategy.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub trait ClassificationStrategy: Send + Sync { [INFO] [stdout] | ---------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 93 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceBasedStrategy` is never constructed [INFO] [stdout] --> src/domain/strategies/source_based_strategy.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SourceBasedStrategy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_config` are never used [INFO] [stdout] --> src/domain/strategies/source_based_strategy.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl SourceBasedStrategy { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn from_config(config: ClassificationConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `score` is never read [INFO] [stdout] --> src/infrastructure/news_sources/hacker_news_source.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct RawHNItem { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | score: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawHNItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty` and `add_strong_keyword` are never used [INFO] [stdout] --> src/domain/config/classification_config.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl ClassificationConfig { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 102 | /// Create a new empty configuration [INFO] [stdout] 103 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn add_strong_keyword(&mut self, domain: Domain, keyword: 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: associated items `new_with_classification`, `with_content`, and `with_reason` are never used [INFO] [stdout] --> src/domain/entities/news_item.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl NewsItem { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn new_with_classification( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn with_content(mut self, content: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn with_reason(mut self, reason: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save`, `find_by_id`, `find_by_domain`, and `find_by_url` are never used [INFO] [stdout] --> src/domain/repositories/news_repository.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait NewsRepository: Send + Sync { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | async fn save(&self, news: &NewsItem) -> Result<(), Box>; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | async fn find_by_id( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | async fn find_by_domain( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | async fn find_by_url( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/domain/services/content_extractor.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ContentExtractor: Send + Sync { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title` and `source_url` are never read [INFO] [stdout] --> src/domain/services/content_extractor.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ExtractedContent { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 24 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | pub text: String, [INFO] [stdout] 26 | pub source_url: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExtractedContent` 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 `medium_confidence` and `with_ai_refinement` are never used [INFO] [stdout] --> src/domain/strategies/classification_strategy.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl ClassificationResult { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn medium_confidence(domain: Domain, strategy_name: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn with_ai_refinement(mut self, needs_ai: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/domain/strategies/classification_strategy.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub trait ClassificationStrategy: Send + Sync { [INFO] [stdout] | ---------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 93 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceBasedStrategy` is never constructed [INFO] [stdout] --> src/domain/strategies/source_based_strategy.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct SourceBasedStrategy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_config` are never used [INFO] [stdout] --> src/domain/strategies/source_based_strategy.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl SourceBasedStrategy { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn from_config(config: ClassificationConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `score` is never read [INFO] [stdout] --> src/infrastructure/news_sources/hacker_news_source.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct RawHNItem { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | score: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawHNItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 49s [INFO] running `Command { std: "docker" "inspect" "6a09c3ddfbb4a3c434f21f98a81affc9b1af305e081cba78ebf680581565dbf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a09c3ddfbb4a3c434f21f98a81affc9b1af305e081cba78ebf680581565dbf5", kill_on_drop: false }` [INFO] [stdout] 6a09c3ddfbb4a3c434f21f98a81affc9b1af305e081cba78ebf680581565dbf5