[INFO] cloning repository https://github.com/CosmicPredator/hikaru [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CosmicPredator/hikaru" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCosmicPredator%2Fhikaru", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCosmicPredator%2Fhikaru'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6836b9e49c737eb801eb2e803db7cebdd7c6e49a [INFO] checking CosmicPredator/hikaru against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCosmicPredator%2Fhikaru" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/CosmicPredator/hikaru [INFO] finished tweaking git repo https://github.com/CosmicPredator/hikaru [INFO] tweaked toml for git repo https://github.com/CosmicPredator/hikaru written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CosmicPredator/hikaru on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/CosmicPredator/hikaru 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 53a826a17f0d504cd56b6cb23d276e7034700cd8011317a2d85a50ee2af307fb [INFO] running `Command { std: "docker" "start" "53a826a17f0d504cd56b6cb23d276e7034700cd8011317a2d85a50ee2af307fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53a826a17f0d504cd56b6cb23d276e7034700cd8011317a2d85a50ee2af307fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "53a826a17f0d504cd56b6cb23d276e7034700cd8011317a2d85a50ee2af307fb" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53a826a17f0d504cd56b6cb23d276e7034700cd8011317a2d85a50ee2af307fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "53a826a17f0d504cd56b6cb23d276e7034700cd8011317a2d85a50ee2af307fb" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking pratt v0.4.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking simple_logger v5.0.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking wildcard v0.3.0 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking publicsuffix v2.3.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking vecmap-rs v0.2.3 [INFO] [stderr] Checking hcl-primitives v0.1.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking quick-xml v0.38.1 [INFO] [stderr] Checking hcl-edit v0.9.1 [INFO] [stderr] Checking cookie_store v0.21.1 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking hcl-rs v0.19.2 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking hikaru v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `path::PathBuf` [INFO] [stdout] --> src/task/task_pipeline.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{path::PathBuf, sync::Arc}; [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: `quick_xml::se` [INFO] [stdout] --> src/task/task_pipeline.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use quick_xml::se; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Error` [INFO] [stdout] --> src/task/task_pipeline.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use reqwest::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `download::DownloadAction` [INFO] [stdout] --> src/task/task_pipeline.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | actions::{Action, download::DownloadAction}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::PathBuf` [INFO] [stdout] --> src/task/task_pipeline.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{path::PathBuf, sync::Arc}; [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: `quick_xml::se` [INFO] [stdout] --> src/task/task_pipeline.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use quick_xml::se; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Error` [INFO] [stdout] --> src/task/task_pipeline.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use reqwest::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `download::DownloadAction` [INFO] [stdout] --> src/task/task_pipeline.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | actions::{Action, download::DownloadAction}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/task/task_pipeline.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | for item in feeds.get_items() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `save_path` [INFO] [stdout] --> src/task/task_pipeline.rs:98:55 [INFO] [stdout] | [INFO] [stdout] 98 | if let FeedAction::Download { save_path, .. } = action { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `save_path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `torr_client` [INFO] [stdout] --> src/task/task_pipeline.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let torr_client = &self.prepare_torr_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_torr_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_match` is never read [INFO] [stdout] --> src/filters.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | let mut is_match = false; [INFO] [stdout] | ^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 33 | is_match = min_size >= self.min_size; [INFO] [stdout] | ------------------------------------ `is_match` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_match` is never read [INFO] [stdout] --> src/filters.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | is_match = min_size >= self.min_size; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] 34 | is_match = max_size <= self.max_size; [INFO] [stdout] | ------------------------------------ `is_match` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_match` is never read [INFO] [stdout] --> src/filters.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | is_match = wildcard.is_match(item.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] 28 | } else { [INFO] [stdout] 29 | is_match = false; [INFO] [stdout] | ---------------- `is_match` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_match` is never read [INFO] [stdout] --> src/filters.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | is_match = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_match` is never read [INFO] [stdout] --> src/filters.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | is_match = wildcard.is_match(item.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] 19 | } else { [INFO] [stdout] 20 | is_match = false; [INFO] [stdout] | ---------------- `is_match` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_match` is never read [INFO] [stdout] --> src/filters.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | is_match = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TorrentClient` is never used [INFO] [stdout] --> src/clients/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait TorrentClient { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `QBittorrentError` is never used [INFO] [stdout] --> src/clients/qbittorrent.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum QBittorrentError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QBittorrent` is never constructed [INFO] [stdout] --> src/clients/qbittorrent.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct QBittorrent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `QBIT_LOGIN_EP`, `QBIT_ADD_TORR_EP`, `new`, and `post_form` are never used [INFO] [stdout] --> src/clients/qbittorrent.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 33 | impl QBittorrent { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 34 | const QBIT_LOGIN_EP: &str = "/api/v2/auth/login"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | const QBIT_ADD_TORR_EP: &str = "/api/v2/torrents/add"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | [INFO] [stdout] 37 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | async fn post_form( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskPipeline` is never constructed [INFO] [stdout] --> src/task/task_pipeline.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct TaskPipeline { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `prepare_torr_client` and `run_feed` are never used [INFO] [stdout] --> src/task/task_pipeline.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 34 | impl TaskPipeline { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 35 | async fn prepare_torr_client(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | async fn run_feed(&self) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ScheduleInterval` is never used [INFO] [stdout] --> src/task/task_schedule.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ScheduleInterval { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskSchedule` is never constructed [INFO] [stdout] --> src/task/task_schedule.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TaskSchedule { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_seconds` is never used [INFO] [stdout] --> src/task/task_schedule.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl TaskSchedule { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 17 | pub fn to_seconds(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvalidFormatError` is never constructed [INFO] [stdout] --> src/task/task_schedule.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct InvalidFormatError(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RssFeedModel` is never constructed [INFO] [stdout] --> src/feeds/feed_model.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RssFeedModel { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/feeds/feed_model.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Channel { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Item` is never constructed [INFO] [stdout] --> src/feeds/feed_model.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RssFeedParseError` is never constructed [INFO] [stdout] --> src/feeds/feed_model.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct RssFeedParseError(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_url` and `get_items` are never used [INFO] [stdout] --> src/feeds/feed_model.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 63 | impl RssFeedModel { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 64 | pub async fn from_url(feed_url: &str, http_client: reqwest::Client,) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn get_items(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Filters` is never constructed [INFO] [stdout] --> src/filters.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Filters { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_match` is never used [INFO] [stdout] --> src/filters.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Filters { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 12 | pub fn is_match(&self, item: &str, min_size: u32, max_size: u32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecError` is never constructed [INFO] [stdout] --> src/actions/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ExecError(String); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Action` is never used [INFO] [stdout] --> src/actions/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Action { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecAction` is never constructed [INFO] [stdout] --> src/actions/exec.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ExecAction { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/actions/exec.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ExecAction { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(command: &str, args: Vec<&str>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DownloadAction` is never constructed [INFO] [stdout] --> src/actions/download.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct DownloadAction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/actions/download.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl DownloadAction { [INFO] [stdout] | ------------------------------------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn new(client: T, torrent_link: String, save_path: PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `client_type`, `url`, `username`, and `password` are never read [INFO] [stdout] --> src/hconf_parser/model.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct TorrentClient { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 25 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 26 | #[serde(rename = "type")] [INFO] [stdout] 27 | pub client_type: ClientType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | pub password: String [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TorrentClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `schedule`, `max_retries`, `rss_feed`, and `actions` are never read [INFO] [stdout] --> src/hconf_parser/model.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Task { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 35 | pub schedule: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | pub max_retries: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | pub rss_feed: RssFeed, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | #[serde(rename = "action")] [INFO] [stdout] 39 | pub actions: HashMap [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Task` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url`, `indexer`, and `filter` are never read [INFO] [stdout] --> src/hconf_parser/model.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct RssFeed { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 44 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | pub indexer: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | pub filter: Option [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RssFeed` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `include`, `exclude`, `min_size`, and `max_size` are never read [INFO] [stdout] --> src/hconf_parser/model.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Filter { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 51 | pub include: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 52 | pub exclude: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 53 | pub min_size: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 54 | pub max_size: String [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Filter` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `command` and `args` are never read [INFO] [stdout] --> src/hconf_parser/model.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | Exec { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 62 | command: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 63 | args: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FeedAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `save_path` are never read [INFO] [stdout] --> src/hconf_parser/model.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | Download { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 67 | client: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 68 | save_path: String [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FeedAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `torrent_client` and `tasks` are never read [INFO] [stdout] --> src/hconf_parser/model.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct HConf { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 74 | pub torrent_client: TorrentClient, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub tasks: HashMap [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HConf` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/actions/download.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | .download("".into(), &self.torrent_link, &self.save_path) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 22 - .download("".into(), &self.torrent_link, &self.save_path) [INFO] [stdout] 22 + .download("", &self.torrent_link, &self.save_path) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 22 - .download("".into(), &self.torrent_link, &self.save_path) [INFO] [stdout] 22 + .download(<&str as Into<_>>::into(""), &self.torrent_link, &self.save_path) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hikaru` (bin "hikaru" test) due to 1 previous error; 43 warnings emitted [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/task/task_pipeline.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | for item in feeds.get_items() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `save_path` [INFO] [stdout] --> src/task/task_pipeline.rs:98:55 [INFO] [stdout] | [INFO] [stdout] 98 | if let FeedAction::Download { save_path, .. } = action { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `save_path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `torr_client` [INFO] [stdout] --> src/task/task_pipeline.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let torr_client = &self.prepare_torr_client().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_torr_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_match` is never read [INFO] [stdout] --> src/filters.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | let mut is_match = false; [INFO] [stdout] | ^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 33 | is_match = min_size >= self.min_size; [INFO] [stdout] | ------------------------------------ `is_match` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_match` is never read [INFO] [stdout] --> src/filters.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | is_match = min_size >= self.min_size; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] 34 | is_match = max_size <= self.max_size; [INFO] [stdout] | ------------------------------------ `is_match` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_match` is never read [INFO] [stdout] --> src/filters.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | is_match = wildcard.is_match(item.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] 28 | } else { [INFO] [stdout] 29 | is_match = false; [INFO] [stdout] | ---------------- `is_match` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_match` is never read [INFO] [stdout] --> src/filters.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | is_match = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_match` is never read [INFO] [stdout] --> src/filters.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | is_match = wildcard.is_match(item.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] 19 | } else { [INFO] [stdout] 20 | is_match = false; [INFO] [stdout] | ---------------- `is_match` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_match` is never read [INFO] [stdout] --> src/filters.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | is_match = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TorrentClient` is never used [INFO] [stdout] --> src/clients/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait TorrentClient { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `QBittorrentError` is never used [INFO] [stdout] --> src/clients/qbittorrent.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum QBittorrentError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QBittorrent` is never constructed [INFO] [stdout] --> src/clients/qbittorrent.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct QBittorrent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `QBIT_LOGIN_EP`, `QBIT_ADD_TORR_EP`, `new`, and `post_form` are never used [INFO] [stdout] --> src/clients/qbittorrent.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 33 | impl QBittorrent { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 34 | const QBIT_LOGIN_EP: &str = "/api/v2/auth/login"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | const QBIT_ADD_TORR_EP: &str = "/api/v2/torrents/add"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | [INFO] [stdout] 37 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | async fn post_form( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskPipeline` is never constructed [INFO] [stdout] --> src/task/task_pipeline.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct TaskPipeline { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `prepare_torr_client` and `run_feed` are never used [INFO] [stdout] --> src/task/task_pipeline.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 34 | impl TaskPipeline { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 35 | async fn prepare_torr_client(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | async fn run_feed(&self) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ScheduleInterval` is never used [INFO] [stdout] --> src/task/task_schedule.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ScheduleInterval { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskSchedule` is never constructed [INFO] [stdout] --> src/task/task_schedule.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TaskSchedule { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_seconds` is never used [INFO] [stdout] --> src/task/task_schedule.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl TaskSchedule { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 17 | pub fn to_seconds(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvalidFormatError` is never constructed [INFO] [stdout] --> src/task/task_schedule.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct InvalidFormatError(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RssFeedModel` is never constructed [INFO] [stdout] --> src/feeds/feed_model.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RssFeedModel { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/feeds/feed_model.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Channel { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Item` is never constructed [INFO] [stdout] --> src/feeds/feed_model.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RssFeedParseError` is never constructed [INFO] [stdout] --> src/feeds/feed_model.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct RssFeedParseError(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_url` and `get_items` are never used [INFO] [stdout] --> src/feeds/feed_model.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 63 | impl RssFeedModel { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 64 | pub async fn from_url(feed_url: &str, http_client: reqwest::Client,) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn get_items(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Filters` is never constructed [INFO] [stdout] --> src/filters.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Filters { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_match` is never used [INFO] [stdout] --> src/filters.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Filters { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 12 | pub fn is_match(&self, item: &str, min_size: u32, max_size: u32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecError` is never constructed [INFO] [stdout] --> src/actions/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ExecError(String); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Action` is never used [INFO] [stdout] --> src/actions/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Action { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecAction` is never constructed [INFO] [stdout] --> src/actions/exec.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ExecAction { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/actions/exec.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ExecAction { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(command: &str, args: Vec<&str>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DownloadAction` is never constructed [INFO] [stdout] --> src/actions/download.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct DownloadAction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/actions/download.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl DownloadAction { [INFO] [stdout] | ------------------------------------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn new(client: T, torrent_link: String, save_path: PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `client_type`, `url`, `username`, and `password` are never read [INFO] [stdout] --> src/hconf_parser/model.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct TorrentClient { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 25 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 26 | #[serde(rename = "type")] [INFO] [stdout] 27 | pub client_type: ClientType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | pub password: String [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TorrentClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `schedule`, `max_retries`, `rss_feed`, and `actions` are never read [INFO] [stdout] --> src/hconf_parser/model.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Task { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 35 | pub schedule: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | pub max_retries: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | pub rss_feed: RssFeed, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | #[serde(rename = "action")] [INFO] [stdout] 39 | pub actions: HashMap [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Task` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url`, `indexer`, and `filter` are never read [INFO] [stdout] --> src/hconf_parser/model.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct RssFeed { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 44 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | pub indexer: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | pub filter: Option [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RssFeed` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `include`, `exclude`, `min_size`, and `max_size` are never read [INFO] [stdout] --> src/hconf_parser/model.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Filter { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 51 | pub include: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 52 | pub exclude: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 53 | pub min_size: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 54 | pub max_size: String [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Filter` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `command` and `args` are never read [INFO] [stdout] --> src/hconf_parser/model.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | Exec { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 62 | command: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 63 | args: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FeedAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `save_path` are never read [INFO] [stdout] --> src/hconf_parser/model.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | Download { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 67 | client: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 68 | save_path: String [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FeedAction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `torrent_client` and `tasks` are never read [INFO] [stdout] --> src/hconf_parser/model.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct HConf { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 74 | pub torrent_client: TorrentClient, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub tasks: HashMap [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HConf` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/actions/download.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | .download("".into(), &self.torrent_link, &self.save_path) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 22 - .download("".into(), &self.torrent_link, &self.save_path) [INFO] [stdout] 22 + .download("", &self.torrent_link, &self.save_path) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 22 - .download("".into(), &self.torrent_link, &self.save_path) [INFO] [stdout] 22 + .download(<&str as Into<_>>::into(""), &self.torrent_link, &self.save_path) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hikaru` (bin "hikaru") due to 1 previous error; 43 warnings emitted [INFO] running `Command { std: "docker" "inspect" "53a826a17f0d504cd56b6cb23d276e7034700cd8011317a2d85a50ee2af307fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53a826a17f0d504cd56b6cb23d276e7034700cd8011317a2d85a50ee2af307fb", kill_on_drop: false }` [INFO] [stdout] 53a826a17f0d504cd56b6cb23d276e7034700cd8011317a2d85a50ee2af307fb