[INFO] cloning repository https://github.com/nexelor/media-collector [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nexelor/media-collector" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnexelor%2Fmedia-collector", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnexelor%2Fmedia-collector'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d37e68f18857390d3bd92854137f8d523897284 [INFO] checking nexelor/media-collector/4d37e68f18857390d3bd92854137f8d523897284 against master#1fe72d35998dea48aeecaf7fc07783b0b553f24f for pr-154992 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnexelor%2Fmedia-collector" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nexelor/media-collector [INFO] finished tweaking git repo https://github.com/nexelor/media-collector [INFO] tweaked toml for git repo https://github.com/nexelor/media-collector written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nexelor/media-collector on toolchain 1fe72d35998dea48aeecaf7fc07783b0b553f24f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nexelor/media-collector 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" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mongocrypt v0.3.2 [INFO] [stderr] Downloaded mongodb-internal-macros v3.5.0 [INFO] [stderr] Downloaded typed-builder v0.22.0 [INFO] [stderr] Downloaded typed-builder-macro v0.22.0 [INFO] [stderr] Downloaded mongocrypt-sys v0.1.5+1.15.1 [INFO] [stderr] Downloaded governor v0.10.4 [INFO] [stderr] Downloaded moka v0.12.12 [INFO] [stderr] Downloaded mongodb v3.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e46e880d80f26dfc6dd007fab35f37a27dd3f0f501ed2cc9da4ab9613013d7b [INFO] running `Command { std: "docker" "start" "-a" "7e46e880d80f26dfc6dd007fab35f37a27dd3f0f501ed2cc9da4ab9613013d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e46e880d80f26dfc6dd007fab35f37a27dd3f0f501ed2cc9da4ab9613013d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e46e880d80f26dfc6dd007fab35f37a27dd3f0f501ed2cc9da4ab9613013d7b", kill_on_drop: false }` [INFO] [stdout] 7e46e880d80f26dfc6dd007fab35f37a27dd3f0f501ed2cc9da4ab9613013d7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2b78c391617d7ef72f16b62b98f5ab58ee01af8b9460a62a998d05511d92462 [INFO] running `Command { std: "docker" "start" "-a" "c2b78c391617d7ef72f16b62b98f5ab58ee01af8b9460a62a998d05511d92462", kill_on_drop: false }` [INFO] [stderr] Compiling portable-atomic v1.13.0 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling cc v1.2.53 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling pest v2.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling time-macros v0.2.25 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling pest_meta v2.8.5 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Checking time v0.3.45 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling pest_generator v2.8.5 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking tagptr v0.2.0 [INFO] [stderr] Checking data-encoding v2.10.0 [INFO] [stderr] Checking winnow v0.7.14 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking moka v0.12.12 [INFO] [stderr] Checking hickory-proto v0.25.2 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling pest_derive v2.8.5 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Compiling serde_with_macros v3.16.1 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking unicode-normalization v0.1.25 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking raw-cpuid v11.6.0 [INFO] [stderr] Compiling typed-builder-macro v0.22.0 [INFO] [stderr] Checking serde_bytes v0.11.19 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking unicode-properties v0.1.4 [INFO] [stderr] Checking resolv-conf v0.7.6 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking serde_with v3.16.1 [INFO] [stderr] Checking hickory-resolver v0.25.2 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking typed-builder v0.22.0 [INFO] [stderr] Checking bson v2.15.0 [INFO] [stderr] Checking quanta v0.12.6 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Compiling mongodb-internal-macros v3.5.0 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking webpki-roots v1.0.5 [INFO] [stderr] Checking spinning_top v0.3.0 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking config v0.14.1 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking governor v0.10.4 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking tracing-appender v0.2.4 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking mongodb v3.5.0 [INFO] [stderr] Checking media-collector v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `UpdateOptions` [INFO] [stdout] --> src/anime/my_anime_list/database.rs:3:67 [INFO] [stdout] | [INFO] [stdout] 3 | use mongodb::options::{FindOptions, IndexOptions, ReplaceOptions, UpdateOptions}; [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: `BatchFetchTask` [INFO] [stdout] --> src/anime/my_anime_list/module.rs:11:55 [INFO] [stdout] | [INFO] [stdout] 11 | FetchAnimeTask, SearchAnimeTask, UpdateAnimeTask, BatchFetchTask, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveTime` [INFO] [stdout] --> src/anime/my_anime_list/model.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, NaiveTime, Utc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/anime/my_anime_list/converter.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::{debug, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `database::update_anime_extended_data` [INFO] [stdout] --> src/anime/my_anime_list/task/fetch_extended.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | database::update_anime_extended_data, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fetch_pictures_for_anime::FetchAnimePicturesTask` [INFO] [stdout] --> src/anime/my_anime_list/task/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use fetch_pictures_for_anime::FetchAnimePicturesTask; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `module::MyAnimeListModule` [INFO] [stdout] --> src/anime/my_anime_list/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use module::MyAnimeListModule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/anime/anilist/model.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `warn` [INFO] [stdout] --> src/anime/anilist/converter.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::{debug, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `model::AniListAnimeData` [INFO] [stdout] --> src/anime/anilist/task/fetch_pictures_for_anime.rs:10:56 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::anime::anilist::{database::get_anime_by_id, model::AniListAnimeData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fetch_pictures_for_anime::FetchAniListAnimePicturesTask` [INFO] [stdout] --> src/anime/anilist/task/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use fetch_pictures_for_anime::FetchAniListAnimePicturesTask; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AniListMedia`, `GraphQLRequest`, and `GraphQLResponse` [INFO] [stdout] --> src/anime/anilist/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub use model::{AniListMedia, GraphQLRequest, GraphQLResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `converter::anilist_to_anime_data` [INFO] [stdout] --> src/anime/anilist/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use converter::anilist_to_anime_data; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/global/http.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{info, debug, warn, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/picture/task.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{info, debug, warn, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdateOptions` [INFO] [stdout] --> src/picture/database.rs:4:67 [INFO] [stdout] | [INFO] [stdout] 4 | use mongodb::options::{FindOptions, IndexOptions, ReplaceOptions, UpdateOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/api/routes/picture.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Path, Query, State}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/api/routes/health.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdateOptions` [INFO] [stdout] --> src/anime/my_anime_list/database.rs:3:67 [INFO] [stdout] | [INFO] [stdout] 3 | use mongodb::options::{FindOptions, IndexOptions, ReplaceOptions, UpdateOptions}; [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: `BatchFetchTask` [INFO] [stdout] --> src/anime/my_anime_list/module.rs:11:55 [INFO] [stdout] | [INFO] [stdout] 11 | FetchAnimeTask, SearchAnimeTask, UpdateAnimeTask, BatchFetchTask, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveTime` [INFO] [stdout] --> src/anime/my_anime_list/model.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, NaiveTime, Utc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/anime/my_anime_list/converter.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::{debug, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `database::update_anime_extended_data` [INFO] [stdout] --> src/anime/my_anime_list/task/fetch_extended.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | database::update_anime_extended_data, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fetch_pictures_for_anime::FetchAnimePicturesTask` [INFO] [stdout] --> src/anime/my_anime_list/task/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use fetch_pictures_for_anime::FetchAnimePicturesTask; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `module::MyAnimeListModule` [INFO] [stdout] --> src/anime/my_anime_list/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use module::MyAnimeListModule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/anime/anilist/model.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `warn` [INFO] [stdout] --> src/anime/anilist/converter.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::{debug, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `model::AniListAnimeData` [INFO] [stdout] --> src/anime/anilist/task/fetch_pictures_for_anime.rs:10:56 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::anime::anilist::{database::get_anime_by_id, model::AniListAnimeData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fetch_pictures_for_anime::FetchAniListAnimePicturesTask` [INFO] [stdout] --> src/anime/anilist/task/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use fetch_pictures_for_anime::FetchAniListAnimePicturesTask; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AniListMedia`, `GraphQLRequest`, and `GraphQLResponse` [INFO] [stdout] --> src/anime/anilist/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub use model::{AniListMedia, GraphQLRequest, GraphQLResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `converter::anilist_to_anime_data` [INFO] [stdout] --> src/anime/anilist/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use converter::anilist_to_anime_data; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/global/http.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{info, debug, warn, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/picture/task.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{info, debug, warn, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpdateOptions` [INFO] [stdout] --> src/picture/database.rs:4:67 [INFO] [stdout] | [INFO] [stdout] 4 | use mongodb::options::{FindOptions, IndexOptions, ReplaceOptions, UpdateOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/api/routes/picture.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Path, Query, State}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/api/routes/health.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/global/http.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | let encoded = base64::encode(credentials.as_bytes()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/global/http.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | let encoded = base64::encode(credentials.as_bytes()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/anime/anilist/task/fetch_anime.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let config = RequestConfig::new() [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/anime/anilist/task/fetch_anime.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let config = RequestConfig::new() [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/anime/anilist/task/search_anime.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let config = RequestConfig::new() [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/anime/anilist/task/search_anime.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let config = RequestConfig::new() [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/global/queue.rs:289:42 [INFO] [stdout] | [INFO] [stdout] 289 | async fn load_persisted_tasks(&self, queue: &mut BinaryHeap) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/global/queue.rs:289:42 [INFO] [stdout] | [INFO] [stdout] 289 | async fn load_persisted_tasks(&self, queue: &mut BinaryHeap) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `picture_module_ref` is never read [INFO] [stdout] --> src/main.rs:96:69 [INFO] [stdout] | [INFO] [stdout] 96 | let mut picture_module_ref: Option> = None; [INFO] [stdout] | ^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 108 | picture_module_ref = Some(Arc::new(picture_module.clone())); [INFO] [stdout] | ------------------ `picture_module_ref` 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: function `anime_exists` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:185:14 [INFO] [stdout] | [INFO] [stdout] 185 | pub async fn anime_exists(db: &Database, mal_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_anime_by_title` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | pub async fn search_anime_by_title( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_top_rated_anime` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:232:14 [INFO] [stdout] | [INFO] [stdout] 232 | pub async fn get_top_rated_anime(db: &Database, limit: i64) -> Result, DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_most_popular_anime` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:261:14 [INFO] [stdout] | [INFO] [stdout] 261 | pub async fn get_most_popular_anime(db: &Database, limit: i64) -> Result, DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anime_by_season` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:290:14 [INFO] [stdout] | [INFO] [stdout] 290 | pub async fn get_anime_by_season( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anime_by_media_type` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | pub async fn get_anime_by_media_type( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_airing_anime` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:358:14 [INFO] [stdout] | [INFO] [stdout] 358 | pub async fn get_airing_anime(db: &Database, limit: i64) -> Result, DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anime_count` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:387:14 [INFO] [stdout] | [INFO] [stdout] 387 | pub async fn get_anime_count(db: &Database) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_anime` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:395:14 [INFO] [stdout] | [INFO] [stdout] 395 | pub async fn delete_anime(db: &Database, mal_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bulk_insert_anime` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:406:14 [INFO] [stdout] | [INFO] [stdout] 406 | pub async fn bulk_insert_anime(db: &Database, anime_list: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_anime_extended_data` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:420:14 [INFO] [stdout] | [INFO] [stdout] 420 | pub async fn update_anime_extended_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anime_needing_update` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:444:14 [INFO] [stdout] | [INFO] [stdout] 444 | pub async fn get_anime_needing_update( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnimeCache` is never constructed [INFO] [stdout] --> src/anime/my_anime_list/database.rs:482:8 [INFO] [stdout] | [INFO] [stdout] 482 | struct AnimeCache { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cache_anime_data` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:490:14 [INFO] [stdout] | [INFO] [stdout] 490 | pub async fn cache_anime_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cached_data` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:518:14 [INFO] [stdout] | [INFO] [stdout] 518 | pub async fn get_cached_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchHistory` is never constructed [INFO] [stdout] --> src/anime/my_anime_list/database.rs:537:8 [INFO] [stdout] | [INFO] [stdout] 537 | struct SearchHistory { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `record_search_history` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:543:10 [INFO] [stdout] | [INFO] [stdout] 543 | async fn record_search_history(db: &Database, query: &str) -> Result<(), DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_recent_searches` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:558:14 [INFO] [stdout] | [INFO] [stdout] 558 | pub async fn get_recent_searches(db: &Database, limit: i64) -> Result, DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `queue_fetch_statistics`, `queue_fetch_pictures`, `queue_fetch_complete`, and `queue_fetch_all_extended_data` are never used [INFO] [stdout] --> src/anime/my_anime_list/module.rs:234:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl MyAnimeListModule { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 234 | pub async fn queue_fetch_statistics(&self, anime_id: u32) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub async fn queue_fetch_pictures(&self, anime_id: u32) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub async fn queue_fetch_complete(&self, anime_id: u32, with_jikan: bool) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub async fn queue_fetch_all_extended_data(&self, anime_id: u32) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BatchFetchPayload` is never constructed [INFO] [stdout] --> src/anime/my_anime_list/task/batch_fetch.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BatchFetchPayload { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BatchFetchTask` is never constructed [INFO] [stdout] --> src/anime/my_anime_list/task/batch_fetch.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct BatchFetchTask { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `with_jikan` are never used [INFO] [stdout] --> src/anime/my_anime_list/task/batch_fetch.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl BatchFetchTask { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 28 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn with_jikan(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_visible_page` is never read [INFO] [stdout] --> src/anime/my_anime_list/task/fetch_extended.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 294 | struct JikanPagination { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 295 | last_visible_page: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JikanPagination` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `duration` is never read [INFO] [stdout] --> src/anime/my_anime_list/task/fetch_extended.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 300 | struct JikanEpisode { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 306 | duration: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JikanEpisode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `locations` is never read [INFO] [stdout] --> src/anime/anilist/model.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct GraphQLError { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub locations: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphQLError` 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 `line` and `column` are never read [INFO] [stdout] --> src/anime/anilist/model.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct ErrorLocation { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 36 | pub line: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | pub column: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorLocation` 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 `media_type`, `average_score`, `is_locked`, `is_favourite`, `is_favourite_blocked`, and `rankings` are never read [INFO] [stdout] --> src/anime/anilist/model.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct AniListMedia { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | pub media_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub average_score: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub is_locked: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub is_favourite: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 96 | pub is_favourite_blocked: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub rankings: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AniListMedia` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_preferred` is never read [INFO] [stdout] --> src/anime/anilist/model.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct MediaTitle { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 114 | pub user_preferred: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MediaTitle` 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 `site` and `thumbnail` are never read [INFO] [stdout] --> src/anime/anilist/model.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct MediaTrailer { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 127 | pub id: Option, [INFO] [stdout] 128 | pub site: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 129 | pub thumbnail: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MediaTrailer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_adult` is never read [INFO] [stdout] --> src/anime/anilist/model.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct MediaTag { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 151 | pub is_adult: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MediaTag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/anime/anilist/model.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct MediaEdge { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 162 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `MediaEdge` 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 `id_mal`, `format`, and `cover_image` are never read [INFO] [stdout] --> src/anime/anilist/model.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct MediaNode { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 170 | pub id: i32, [INFO] [stdout] 171 | pub id_mal: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub format: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 176 | pub cover_image: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MediaNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/anime/anilist/model.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct CharacterEdge { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 186 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharacterEdge` 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 `first`, `middle`, `last`, `native`, and `alternative` are never read [INFO] [stdout] --> src/anime/anilist/model.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct CharacterName { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 204 | pub first: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 205 | pub middle: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 206 | pub last: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 207 | pub full: Option, [INFO] [stdout] 208 | pub native: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 209 | #[serde(default)] [INFO] [stdout] 210 | pub alternative: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharacterName` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/anime/anilist/model.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 225 | pub struct StaffEdge { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 226 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `StaffEdge` 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 `first`, `middle`, `last`, and `native` are never read [INFO] [stdout] --> src/anime/anilist/model.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct StaffName { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 243 | pub first: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 244 | pub middle: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 245 | pub last: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 246 | pub full: Option, [INFO] [stdout] 247 | pub native: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StaffName` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_main` is never read [INFO] [stdout] --> src/anime/anilist/model.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 263 | pub struct StudioEdge { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 264 | pub is_main: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StudioEdge` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_animation_studio` is never read [INFO] [stdout] --> src/anime/anilist/model.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 270 | pub struct StudioNode { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 273 | pub is_animation_studio: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StudioNode` 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 `title` and `thumbnail` are never read [INFO] [stdout] --> src/anime/anilist/model.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 295 | pub struct MediaStreamingEpisode { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 296 | pub title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 297 | pub thumbnail: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MediaStreamingEpisode` 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: multiple fields are never read [INFO] [stdout] --> src/anime/anilist/model.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct MediaRank { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 305 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 306 | pub rank: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 307 | #[serde(rename = "type")] [INFO] [stdout] 308 | pub rank_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 309 | pub format: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 310 | pub year: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 311 | pub season: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 312 | pub all_time: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 313 | pub context: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MediaRank` 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: struct `PageData` is never constructed [INFO] [stdout] --> src/anime/anilist/model.rs:341:12 [INFO] [stdout] | [INFO] [stdout] 341 | pub struct PageData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Page` is never constructed [INFO] [stdout] --> src/anime/anilist/model.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | pub struct Page { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageInfo` is never constructed [INFO] [stdout] --> src/anime/anilist/model.rs:355:12 [INFO] [stdout] | [INFO] [stdout] 355 | pub struct PageInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SEARCH_ANIME_QUERY` is never used [INFO] [stdout] --> src/anime/anilist/queries.rs:402:11 [INFO] [stdout] | [INFO] [stdout] 402 | pub const SEARCH_ANIME_QUERY: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRENDING_ANIME_QUERY` is never used [INFO] [stdout] --> src/anime/anilist/queries.rs:460:11 [INFO] [stdout] | [INFO] [stdout] 460 | pub const TRENDING_ANIME_QUERY: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANIME_BY_SEASON_QUERY` is never used [INFO] [stdout] --> src/anime/anilist/queries.rs:492:11 [INFO] [stdout] | [INFO] [stdout] 492 | pub const ANIME_BY_SEASON_QUERY: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/anime/anilist/module.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AniListModule { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 13 | client: ClientWithLimiter, [INFO] [stdout] 14 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `queue_fetch_by_anilist_id`, `queue_fetch_by_anilist_id_with_pictures`, `queue_fetch_by_anilist_id_full`, `queue_fetch_by_anilist_id_with_options`, and `queue_search_anime` are never used [INFO] [stdout] --> src/anime/anilist/module.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 19 | impl AniListModule { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn queue_fetch_by_anilist_id(&self, anilist_id: u32) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn queue_fetch_by_anilist_id_with_pictures(&self, anilist_id: u32) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub async fn queue_fetch_by_anilist_id_full(&self, anilist_id: u32) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | async fn queue_fetch_by_anilist_id_with_options( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub async fn queue_search_anime( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `by_anilist_id` is never used [INFO] [stdout] --> src/anime/anilist/task/fetch_anime.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl FetchAnimeTask { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn by_anilist_id( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchAnimePayload` is never constructed [INFO] [stdout] --> src/anime/anilist/task/search_anime.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SearchAnimePayload { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchAnimeTask` is never constructed [INFO] [stdout] --> src/anime/anilist/task/search_anime.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct SearchAnimeTask { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/anime/anilist/task/search_anime.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl SearchAnimeTask { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 31 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anime_by_mal_id` is never used [INFO] [stdout] --> src/anime/anilist/database.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | pub async fn get_anime_by_mal_id(db: &Database, mal_id: i32) -> Result, DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `anime_exists` is never used [INFO] [stdout] --> src/anime/anilist/database.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | pub async fn anime_exists(db: &Database, anilist_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_anime_by_title` is never used [INFO] [stdout] --> src/anime/anilist/database.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn search_anime_by_title( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anime_count` is never used [INFO] [stdout] --> src/anime/anilist/database.rs:180:14 [INFO] [stdout] | [INFO] [stdout] 180 | pub async fn get_anime_count(db: &Database) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_anime` is never used [INFO] [stdout] --> src/anime/anilist/database.rs:188:14 [INFO] [stdout] | [INFO] [stdout] 188 | pub async fn delete_anime(db: &Database, anilist_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotFound` is never constructed [INFO] [stdout] --> src/anime/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum AnimeError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 3 | #[error("anime not found")] [INFO] [stdout] 4 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnimeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_module_heartbeat` and `get_active_modules` are never used [INFO] [stdout] --> src/global/database.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl DatabaseInstance { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub async fn update_module_heartbeat(&self, module_name: &str) -> Result<(), DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub async fn get_active_modules(&self) -> Result, DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MaxRetriesExceeded` is never constructed [INFO] [stdout] --> src/global/error.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum HttpError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 49 | MaxRetriesExceeded, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppState` is never constructed [INFO] [stdout] --> src/global/state.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AppState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Custom` is never constructed [INFO] [stdout] --> src/global/module.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum ModuleMessage { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 16 | Shutdown, [INFO] [stdout] 17 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleMessage` 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: struct `ModuleResponse` is never constructed [INFO] [stdout] --> src/global/module.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ModuleResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_acquire` is never used [INFO] [stdout] --> src/global/module.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl RateLimiter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn try_acquire(&self) -> Result<(), std::time::Duration> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/global/http.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct HttpClientManager { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 15 | clients: Arc, [INFO] [stdout] 16 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpClientManager` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_api_key`, `with_bearer_token`, `with_basic_auth`, and `with_retry_config` are never used [INFO] [stdout] --> src/global/http.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl RequestConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn with_api_key(self, api_key: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn with_bearer_token(self, token: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn with_basic_auth(self, username: impl Into, password: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn with_retry_config(mut self, config: RetryConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `execute` and `try_execute` are never used [INFO] [stdout] --> src/global/http.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 175 | impl ClientWithLimiter { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | pub async fn execute(&self, f: F) -> T [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub async fn try_execute(&self, f: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_child_module_enabled` and `get_child_module_config` are never used [INFO] [stdout] --> src/global/config.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 147 | impl AppConfig { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn is_child_module_enabled(&self, module_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn get_child_module_config(&self, module_name: &str) -> Option<&ChildModuleConfig> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/global/queue.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl TaskQueue { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParseEnumError` is never constructed [INFO] [stdout] --> src/global/model.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ParseEnumError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `storage_path` and `queue_fetch_pictures` are never used [INFO] [stdout] --> src/picture/mod.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl PictureFetcherModule { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn storage_path(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn queue_fetch_pictures( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_failed` is never used [INFO] [stdout] --> src/picture/model.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl PictureMetadata { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn is_failed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_picture_by_path` is never used [INFO] [stdout] --> src/picture/database.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | pub async fn get_picture_by_path(db: &Database, path: &str) -> Result, DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_picture_status` is never used [INFO] [stdout] --> src/picture/database.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | pub async fn update_picture_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `with_pictures` and `full_fetch` are never read [INFO] [stdout] --> src/api/routes/anime.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct UpdateAnimeRequest { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | pub with_pictures: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 45 | #[serde(default)] [INFO] [stdout] 46 | pub full_fetch: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateAnimeRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `picture_module_ref` is never read [INFO] [stdout] --> src/main.rs:96:69 [INFO] [stdout] | [INFO] [stdout] 96 | let mut picture_module_ref: Option> = None; [INFO] [stdout] | ^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 108 | picture_module_ref = Some(Arc::new(picture_module.clone())); [INFO] [stdout] | ------------------ `picture_module_ref` 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: function `anime_exists` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:185:14 [INFO] [stdout] | [INFO] [stdout] 185 | pub async fn anime_exists(db: &Database, mal_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_anime_by_title` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | pub async fn search_anime_by_title( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_top_rated_anime` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:232:14 [INFO] [stdout] | [INFO] [stdout] 232 | pub async fn get_top_rated_anime(db: &Database, limit: i64) -> Result, DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_most_popular_anime` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:261:14 [INFO] [stdout] | [INFO] [stdout] 261 | pub async fn get_most_popular_anime(db: &Database, limit: i64) -> Result, DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anime_by_season` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:290:14 [INFO] [stdout] | [INFO] [stdout] 290 | pub async fn get_anime_by_season( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anime_by_media_type` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | pub async fn get_anime_by_media_type( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_airing_anime` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:358:14 [INFO] [stdout] | [INFO] [stdout] 358 | pub async fn get_airing_anime(db: &Database, limit: i64) -> Result, DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anime_count` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:387:14 [INFO] [stdout] | [INFO] [stdout] 387 | pub async fn get_anime_count(db: &Database) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_anime` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:395:14 [INFO] [stdout] | [INFO] [stdout] 395 | pub async fn delete_anime(db: &Database, mal_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bulk_insert_anime` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:406:14 [INFO] [stdout] | [INFO] [stdout] 406 | pub async fn bulk_insert_anime(db: &Database, anime_list: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_anime_extended_data` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:420:14 [INFO] [stdout] | [INFO] [stdout] 420 | pub async fn update_anime_extended_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anime_needing_update` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:444:14 [INFO] [stdout] | [INFO] [stdout] 444 | pub async fn get_anime_needing_update( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnimeCache` is never constructed [INFO] [stdout] --> src/anime/my_anime_list/database.rs:482:8 [INFO] [stdout] | [INFO] [stdout] 482 | struct AnimeCache { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cache_anime_data` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:490:14 [INFO] [stdout] | [INFO] [stdout] 490 | pub async fn cache_anime_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cached_data` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:518:14 [INFO] [stdout] | [INFO] [stdout] 518 | pub async fn get_cached_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchHistory` is never constructed [INFO] [stdout] --> src/anime/my_anime_list/database.rs:537:8 [INFO] [stdout] | [INFO] [stdout] 537 | struct SearchHistory { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `record_search_history` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:543:10 [INFO] [stdout] | [INFO] [stdout] 543 | async fn record_search_history(db: &Database, query: &str) -> Result<(), DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_recent_searches` is never used [INFO] [stdout] --> src/anime/my_anime_list/database.rs:558:14 [INFO] [stdout] | [INFO] [stdout] 558 | pub async fn get_recent_searches(db: &Database, limit: i64) -> Result, DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `queue_fetch_statistics`, `queue_fetch_pictures`, `queue_fetch_complete`, and `queue_fetch_all_extended_data` are never used [INFO] [stdout] --> src/anime/my_anime_list/module.rs:234:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl MyAnimeListModule { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 234 | pub async fn queue_fetch_statistics(&self, anime_id: u32) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub async fn queue_fetch_pictures(&self, anime_id: u32) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub async fn queue_fetch_complete(&self, anime_id: u32, with_jikan: bool) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub async fn queue_fetch_all_extended_data(&self, anime_id: u32) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BatchFetchPayload` is never constructed [INFO] [stdout] --> src/anime/my_anime_list/task/batch_fetch.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BatchFetchPayload { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BatchFetchTask` is never constructed [INFO] [stdout] --> src/anime/my_anime_list/task/batch_fetch.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct BatchFetchTask { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `with_jikan` are never used [INFO] [stdout] --> src/anime/my_anime_list/task/batch_fetch.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl BatchFetchTask { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 28 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn with_jikan(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_visible_page` is never read [INFO] [stdout] --> src/anime/my_anime_list/task/fetch_extended.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 294 | struct JikanPagination { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 295 | last_visible_page: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JikanPagination` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `duration` is never read [INFO] [stdout] --> src/anime/my_anime_list/task/fetch_extended.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 300 | struct JikanEpisode { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 306 | duration: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JikanEpisode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `locations` is never read [INFO] [stdout] --> src/anime/anilist/model.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct GraphQLError { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub locations: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphQLError` 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 `line` and `column` are never read [INFO] [stdout] --> src/anime/anilist/model.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct ErrorLocation { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 36 | pub line: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | pub column: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorLocation` 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 `media_type`, `average_score`, `is_locked`, `is_favourite`, `is_favourite_blocked`, and `rankings` are never read [INFO] [stdout] --> src/anime/anilist/model.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct AniListMedia { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | pub media_type: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub average_score: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub is_locked: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub is_favourite: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 96 | pub is_favourite_blocked: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub rankings: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AniListMedia` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_preferred` is never read [INFO] [stdout] --> src/anime/anilist/model.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct MediaTitle { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 114 | pub user_preferred: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MediaTitle` 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 `site` and `thumbnail` are never read [INFO] [stdout] --> src/anime/anilist/model.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct MediaTrailer { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 127 | pub id: Option, [INFO] [stdout] 128 | pub site: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 129 | pub thumbnail: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MediaTrailer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_adult` is never read [INFO] [stdout] --> src/anime/anilist/model.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct MediaTag { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 151 | pub is_adult: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MediaTag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/anime/anilist/model.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct MediaEdge { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 162 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `MediaEdge` 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 `id_mal`, `format`, and `cover_image` are never read [INFO] [stdout] --> src/anime/anilist/model.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 169 | pub struct MediaNode { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 170 | pub id: i32, [INFO] [stdout] 171 | pub id_mal: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub format: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 176 | pub cover_image: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MediaNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/anime/anilist/model.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct CharacterEdge { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 186 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharacterEdge` 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 `first`, `middle`, `last`, `native`, and `alternative` are never read [INFO] [stdout] --> src/anime/anilist/model.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct CharacterName { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 204 | pub first: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 205 | pub middle: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 206 | pub last: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 207 | pub full: Option, [INFO] [stdout] 208 | pub native: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 209 | #[serde(default)] [INFO] [stdout] 210 | pub alternative: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CharacterName` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/anime/anilist/model.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 225 | pub struct StaffEdge { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 226 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `StaffEdge` 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 `first`, `middle`, `last`, and `native` are never read [INFO] [stdout] --> src/anime/anilist/model.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct StaffName { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 243 | pub first: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 244 | pub middle: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 245 | pub last: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 246 | pub full: Option, [INFO] [stdout] 247 | pub native: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StaffName` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_main` is never read [INFO] [stdout] --> src/anime/anilist/model.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 263 | pub struct StudioEdge { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 264 | pub is_main: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StudioEdge` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_animation_studio` is never read [INFO] [stdout] --> src/anime/anilist/model.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 270 | pub struct StudioNode { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 273 | pub is_animation_studio: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StudioNode` 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 `title` and `thumbnail` are never read [INFO] [stdout] --> src/anime/anilist/model.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 295 | pub struct MediaStreamingEpisode { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 296 | pub title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 297 | pub thumbnail: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MediaStreamingEpisode` 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: multiple fields are never read [INFO] [stdout] --> src/anime/anilist/model.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct MediaRank { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 305 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 306 | pub rank: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 307 | #[serde(rename = "type")] [INFO] [stdout] 308 | pub rank_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 309 | pub format: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 310 | pub year: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 311 | pub season: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 312 | pub all_time: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 313 | pub context: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MediaRank` 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: struct `PageData` is never constructed [INFO] [stdout] --> src/anime/anilist/model.rs:341:12 [INFO] [stdout] | [INFO] [stdout] 341 | pub struct PageData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Page` is never constructed [INFO] [stdout] --> src/anime/anilist/model.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | pub struct Page { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageInfo` is never constructed [INFO] [stdout] --> src/anime/anilist/model.rs:355:12 [INFO] [stdout] | [INFO] [stdout] 355 | pub struct PageInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SEARCH_ANIME_QUERY` is never used [INFO] [stdout] --> src/anime/anilist/queries.rs:402:11 [INFO] [stdout] | [INFO] [stdout] 402 | pub const SEARCH_ANIME_QUERY: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRENDING_ANIME_QUERY` is never used [INFO] [stdout] --> src/anime/anilist/queries.rs:460:11 [INFO] [stdout] | [INFO] [stdout] 460 | pub const TRENDING_ANIME_QUERY: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANIME_BY_SEASON_QUERY` is never used [INFO] [stdout] --> src/anime/anilist/queries.rs:492:11 [INFO] [stdout] | [INFO] [stdout] 492 | pub const ANIME_BY_SEASON_QUERY: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/anime/anilist/module.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AniListModule { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 13 | client: ClientWithLimiter, [INFO] [stdout] 14 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `queue_fetch_by_anilist_id`, `queue_fetch_by_anilist_id_with_pictures`, `queue_fetch_by_anilist_id_full`, `queue_fetch_by_anilist_id_with_options`, and `queue_search_anime` are never used [INFO] [stdout] --> src/anime/anilist/module.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 19 | impl AniListModule { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn queue_fetch_by_anilist_id(&self, anilist_id: u32) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn queue_fetch_by_anilist_id_with_pictures(&self, anilist_id: u32) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub async fn queue_fetch_by_anilist_id_full(&self, anilist_id: u32) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | async fn queue_fetch_by_anilist_id_with_options( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub async fn queue_search_anime( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `by_anilist_id` is never used [INFO] [stdout] --> src/anime/anilist/task/fetch_anime.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl FetchAnimeTask { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn by_anilist_id( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchAnimePayload` is never constructed [INFO] [stdout] --> src/anime/anilist/task/search_anime.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SearchAnimePayload { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchAnimeTask` is never constructed [INFO] [stdout] --> src/anime/anilist/task/search_anime.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct SearchAnimeTask { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/anime/anilist/task/search_anime.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl SearchAnimeTask { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 31 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anime_by_mal_id` is never used [INFO] [stdout] --> src/anime/anilist/database.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | pub async fn get_anime_by_mal_id(db: &Database, mal_id: i32) -> Result, DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `anime_exists` is never used [INFO] [stdout] --> src/anime/anilist/database.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | pub async fn anime_exists(db: &Database, anilist_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_anime_by_title` is never used [INFO] [stdout] --> src/anime/anilist/database.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | pub async fn search_anime_by_title( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_anime_count` is never used [INFO] [stdout] --> src/anime/anilist/database.rs:180:14 [INFO] [stdout] | [INFO] [stdout] 180 | pub async fn get_anime_count(db: &Database) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_anime` is never used [INFO] [stdout] --> src/anime/anilist/database.rs:188:14 [INFO] [stdout] | [INFO] [stdout] 188 | pub async fn delete_anime(db: &Database, anilist_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotFound` is never constructed [INFO] [stdout] --> src/anime/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum AnimeError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 3 | #[error("anime not found")] [INFO] [stdout] 4 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnimeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_module_heartbeat` and `get_active_modules` are never used [INFO] [stdout] --> src/global/database.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl DatabaseInstance { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub async fn update_module_heartbeat(&self, module_name: &str) -> Result<(), DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub async fn get_active_modules(&self) -> Result, DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MaxRetriesExceeded` is never constructed [INFO] [stdout] --> src/global/error.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum HttpError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 49 | MaxRetriesExceeded, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppState` is never constructed [INFO] [stdout] --> src/global/state.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AppState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Custom` is never constructed [INFO] [stdout] --> src/global/module.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum ModuleMessage { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 16 | Shutdown, [INFO] [stdout] 17 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleMessage` 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: struct `ModuleResponse` is never constructed [INFO] [stdout] --> src/global/module.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ModuleResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_acquire` is never used [INFO] [stdout] --> src/global/module.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl RateLimiter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn try_acquire(&self) -> Result<(), std::time::Duration> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/global/http.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct HttpClientManager { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 15 | clients: Arc, [INFO] [stdout] 16 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpClientManager` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_api_key`, `with_bearer_token`, `with_basic_auth`, and `with_retry_config` are never used [INFO] [stdout] --> src/global/http.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl RequestConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn with_api_key(self, api_key: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn with_bearer_token(self, token: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn with_basic_auth(self, username: impl Into, password: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn with_retry_config(mut self, config: RetryConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `execute` and `try_execute` are never used [INFO] [stdout] --> src/global/http.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 175 | impl ClientWithLimiter { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | pub async fn execute(&self, f: F) -> T [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub async fn try_execute(&self, f: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_child_module_enabled` and `get_child_module_config` are never used [INFO] [stdout] --> src/global/config.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 147 | impl AppConfig { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn is_child_module_enabled(&self, module_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn get_child_module_config(&self, module_name: &str) -> Option<&ChildModuleConfig> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/global/queue.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl TaskQueue { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParseEnumError` is never constructed [INFO] [stdout] --> src/global/model.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ParseEnumError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `storage_path` and `queue_fetch_pictures` are never used [INFO] [stdout] --> src/picture/mod.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl PictureFetcherModule { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn storage_path(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn queue_fetch_pictures( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_failed` is never used [INFO] [stdout] --> src/picture/model.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl PictureMetadata { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn is_failed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_picture_by_path` is never used [INFO] [stdout] --> src/picture/database.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | pub async fn get_picture_by_path(db: &Database, path: &str) -> Result, DatabaseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_picture_status` is never used [INFO] [stdout] --> src/picture/database.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | pub async fn update_picture_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `with_pictures` and `full_fetch` are never read [INFO] [stdout] --> src/api/routes/anime.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct UpdateAnimeRequest { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | pub with_pictures: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 45 | #[serde(default)] [INFO] [stdout] 46 | pub full_fetch: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateAnimeRequest` 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 27s [INFO] running `Command { std: "docker" "inspect" "c2b78c391617d7ef72f16b62b98f5ab58ee01af8b9460a62a998d05511d92462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2b78c391617d7ef72f16b62b98f5ab58ee01af8b9460a62a998d05511d92462", kill_on_drop: false }` [INFO] [stdout] c2b78c391617d7ef72f16b62b98f5ab58ee01af8b9460a62a998d05511d92462