[INFO] cloning repository https://github.com/NacreousDawn596/NixBoost [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NacreousDawn596/NixBoost" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNacreousDawn596%2FNixBoost", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNacreousDawn596%2FNixBoost'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a13761025edefc299bf20d71fcb7313f477ee57b [INFO] checking NacreousDawn596/NixBoost against master#c9af9c1dc85a55e309345030ff9cb7ea247953fa for pr-151146 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNacreousDawn596%2FNixBoost" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NacreousDawn596/NixBoost [INFO] finished tweaking git repo https://github.com/NacreousDawn596/NixBoost [INFO] tweaked toml for git repo https://github.com/NacreousDawn596/NixBoost written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NacreousDawn596/NixBoost on toolchain c9af9c1dc85a55e309345030ff9cb7ea247953fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NacreousDawn596/NixBoost 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" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zmij v0.1.7 [INFO] [stderr] Downloaded tracing-appender v0.2.4 [INFO] [stderr] Downloaded libredox v0.1.11 [INFO] [stderr] Downloaded clap_complete v4.5.62 [INFO] [stderr] Downloaded comfy-table v7.2.1 [INFO] [stderr] Downloaded serde_json v1.0.147 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fd03fce7f4823b150a4af1ee8c2f76b663d6e161238fc6abb03319937fb59cc [INFO] running `Command { std: "docker" "start" "-a" "4fd03fce7f4823b150a4af1ee8c2f76b663d6e161238fc6abb03319937fb59cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fd03fce7f4823b150a4af1ee8c2f76b663d6e161238fc6abb03319937fb59cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fd03fce7f4823b150a4af1ee8c2f76b663d6e161238fc6abb03319937fb59cc", kill_on_drop: false }` [INFO] [stdout] 4fd03fce7f4823b150a4af1ee8c2f76b663d6e161238fc6abb03319937fb59cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac5966f2e392c9e5984d6216f3b37f40d2af685e946d26ae20c93875dd1ada7f [INFO] running `Command { std: "docker" "start" "-a" "ac5966f2e392c9e5984d6216f3b37f40d2af685e946d26ae20c93875dd1ada7f", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling cc v1.2.50 [INFO] [stderr] Checking itoa v1.0.16 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Compiling serde_json v1.0.147 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking zmij v0.1.7 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Checking compression-core v0.4.31 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling portable-atomic v1.12.0 [INFO] [stderr] Checking compression-codecs v0.4.35 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking quick-xml v0.37.5 [INFO] [stderr] Checking webpki-roots v1.0.4 [INFO] [stderr] Checking diligent-date-parser v0.1.5 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Checking ryu v1.0.21 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking shell-words v1.1.1 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking dialoguer v0.10.4 [INFO] [stderr] Checking clap_complete v4.5.62 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking comfy-table v7.2.1 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking async-compression v0.4.36 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking tracing-appender v0.2.4 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Checking atom_syndication v0.12.7 [INFO] [stderr] Checking rss v2.0.12 [INFO] [stderr] Checking rustls-webpki v0.103.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking ureq v2.12.1 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking nixboost v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::time::Duration; [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: `info` [INFO] [stdout] --> src/main.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | use tracing::{debug, info, warn, Level}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `config::Config` [INFO] [stdout] --> src/core/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NixBoostError` and `Result` [INFO] [stdout] --> src/core/mod.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | pub use error::{NixBoostError, Result}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/core/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/cache/disk_cache.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::time::Duration; [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: `info` [INFO] [stdout] --> src/main.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | use tracing::{debug, info, warn, Level}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/cache/invalidation.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::SearchEngine` [INFO] [stdout] --> src/search/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use engine::SearchEngine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PackageSource` [INFO] [stdout] --> src/package/manager.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::core::types::{Package, PackageSource}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/package/manager.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | use tracing::{debug, info, warn, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/nur/client.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NurPackage` [INFO] [stdout] --> src/nur/mod.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | pub use client::{NurClient, NurPackage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemError` [INFO] [stdout] --> src/system/health.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::core::error::{Result, SystemError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/system/health.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/system/garbage_collector.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UNIX_EPOCH` [INFO] [stdout] --> src/system/generations.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::HttpClient` [INFO] [stdout] --> src/network/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use client::HttpClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::types::PackageSource` [INFO] [stdout] --> src/ui/output.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | use crate::core::types::PackageSource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `config::Config` [INFO] [stdout] --> src/core/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NixBoostError` and `Result` [INFO] [stdout] --> src/core/mod.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | pub use error::{NixBoostError, Result}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `progress::ProgressManager` [INFO] [stdout] --> src/ui/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use progress::ProgressManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/core/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `output::Output` [INFO] [stdout] --> src/ui/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use output::Output; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/cache/disk_cache.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/cache/invalidation.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::SearchEngine` [INFO] [stdout] --> src/search/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use engine::SearchEngine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PackageSource` [INFO] [stdout] --> src/package/manager.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::core::types::{Package, PackageSource}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/package/manager.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | use tracing::{debug, info, warn, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/nur/client.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NurPackage` [INFO] [stdout] --> src/nur/mod.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | pub use client::{NurClient, NurPackage}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemError` [INFO] [stdout] --> src/system/health.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::core::error::{Result, SystemError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/system/health.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/system/garbage_collector.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UNIX_EPOCH` [INFO] [stdout] --> src/system/generations.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::HttpClient` [INFO] [stdout] --> src/network/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use client::HttpClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `progress::ProgressManager` [INFO] [stdout] --> src/ui/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use progress::ProgressManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `output::Output` [INFO] [stdout] --> src/ui/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use output::Output; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/cache/memory_cache.rs:42:55 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get(&self, key: &str) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/nur/client.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | .map_err(|e| NurError::IndexNotAvailable)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/cache/memory_cache.rs:42:55 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get(&self, key: &str) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `older_than_arg` is assigned to, but never used [INFO] [stdout] --> src/system/garbage_collector.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let older_than_arg: String; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_older_than_arg` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `older_than_arg` is never read [INFO] [stdout] --> src/system/garbage_collector.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | older_than_arg = format!("--delete-older-than {}", older_than); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/system/generations.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | fn parse_timestamp(s: &str) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/nur/client.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | .map_err(|e| NurError::IndexNotAvailable)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `older_than_arg` is assigned to, but never used [INFO] [stdout] --> src/system/garbage_collector.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let older_than_arg: String; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_older_than_arg` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `older_than_arg` is never read [INFO] [stdout] --> src/system/garbage_collector.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | older_than_arg = format!("--delete-older-than {}", older_than); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/system/generations.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | fn parse_timestamp(s: &str) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_read_only` and `verbosity` are never used [INFO] [stdout] --> src/cli/args.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 270 | impl Cli { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn is_read_only(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn verbosity(&self) -> Verbosity { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Verbosity` is never used [INFO] [stdout] --> src/cli/args.rs:303:10 [INFO] [stdout] | [INFO] [stdout] 303 | pub enum Verbosity { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CONFIG` is never used [INFO] [stdout] --> src/core/config.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | static CONFIG: OnceLock = OnceLock::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `data_dir`, `init`, `get`, and `try_get` are never used [INFO] [stdout] --> src/core/config.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 211 | impl Config { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn data_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn init() -> Result<&'static Config> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn get() -> &'static Config { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn try_get() -> Option<&'static Config> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_default_config` is never used [INFO] [stdout] --> src/core/config.rs:337:8 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn generate_default_config() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/core/error.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub enum PackageError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 72 | #[error("Package not found: {name}")] [INFO] [stdout] 73 | NotFound { name: String }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | AlreadyInstalled { name: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | NotInstalled { name: String }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | DependencyConflict(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | InvalidSpec(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | VersionMismatch(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | TransactionFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/core/error.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub enum NetworkError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 103 | #[error("Connection failed: {0}")] [INFO] [stdout] 104 | ConnectionFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | Timeout { timeout_secs: u64 }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | HttpError { status: u16, message: String }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | DnsError(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | TlsError(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | DownloadFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | AllMirrorsFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | RateLimited { retry_after_secs: u64 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Corrupted`, `Expired`, `Full`, and `DatabaseError` are never constructed [INFO] [stdout] --> src/core/error.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub enum CacheError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 141 | Corrupted(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | Expired { key: String }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | Full { max_size_mb: u64 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | DatabaseError(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CacheError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NixNotFound`, `PermissionDenied`, `StoreVerificationFailed`, and `HealthCheckFailed` are never constructed [INFO] [stdout] --> src/core/error.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 155 | pub enum SystemError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 160 | NixNotFound, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | PermissionDenied(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | StoreVerificationFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | HealthCheckFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SystemError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `QueryTooShort`, `QueryTooLong`, `InvalidQuery`, `IndexNotAvailable`, and `Timeout` are never constructed [INFO] [stdout] --> src/core/error.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub enum SearchError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 187 | #[error("Search query too short (min {min_length} chars)")] [INFO] [stdout] 188 | QueryTooShort { min_length: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | QueryTooLong { max_length: usize }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | InvalidQuery(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | IndexNotAvailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RepositoryNotFound` is never constructed [INFO] [stdout] --> src/core/error.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 205 | pub enum NurError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 216 | RepositoryNotFound { repo: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NurError` 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 `code`, `suggestion`, and `is_retryable` are never used [INFO] [stdout] --> src/core/error.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 222 | impl NixBoostError { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 223 | /// Get an error code for scripting purposes [INFO] [stdout] 224 | pub fn code(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn suggestion(&self) -> Option<&'static str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn is_retryable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ResultExt` is never used [INFO] [stdout] --> src/core/error.rs:286:11 [INFO] [stdout] | [INFO] [stdout] 286 | pub trait ResultExt { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_nur`, `install_command`, and `display_name` are never used [INFO] [stdout] --> src/core/types.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Package { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn from_nur(name: impl Into, version: impl Into, description: impl Into, repo: impl Into) ->... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn install_command(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstalledPackage` is never constructed [INFO] [stdout] --> src/core/types.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct InstalledPackage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchResult` is never constructed [INFO] [stdout] --> src/core/types.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct SearchResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/types.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 176 | impl SearchResult { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 177 | pub fn new(package: Package, score: f64, match_type: MatchType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MatchType` is never used [INFO] [stdout] --> src/core/types.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 205 | pub enum MatchType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `base_score` is never used [INFO] [stdout] --> src/core/types.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 218 | impl MatchType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 219 | /// Get the base score for this match type [INFO] [stdout] 220 | pub fn base_score(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OperationStatus` is never used [INFO] [stdout] --> src/core/types.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | pub enum OperationStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OperationType` is never used [INFO] [stdout] --> src/core/types.rs:257:10 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum OperationType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OperationResult` is never constructed [INFO] [stdout] --> src/core/types.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 281 | pub struct OperationResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `success` and `failure` are never used [INFO] [stdout] --> src/core/types.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 296 | impl OperationResult { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 297 | pub fn success(operation: OperationType, packages: Vec, duration_ms: u64) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn failure(operation: OperationType, packages: Vec, error: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `affected_generations` is never read [INFO] [stdout] --> src/core/types.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 335 | pub struct GCPreview { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 341 | pub affected_generations: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GCPreview` 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 `invalidator` is never read [INFO] [stdout] --> src/cache/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct CacheManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub invalidator: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `total_entries` is never used [INFO] [stdout] --> src/cache/mod.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl CacheStats { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 125 | pub fn total_entries(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `delete_prefix`, `vacuum`, and `contains` are never used [INFO] [stdout] --> src/cache/disk_cache.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl DiskCache { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn delete_prefix(&self, prefix: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn vacuum(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn contains(&self, key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expired` is never read [INFO] [stdout] --> src/cache/disk_cache.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 277 | pub struct DiskCacheStats { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 282 | pub expired: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiskCacheStats` 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 methods are never used [INFO] [stdout] --> src/cache/memory_cache.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl MemoryCache { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_raw(&mut self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_mut(&mut self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn set_value(&mut self, key: impl Into, value: &T) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn remove(&mut self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn contains(&self, key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn resize(&mut self, new_capacity: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn peek(&self, key: &str) -> Option<&String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn keys(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capacity` is never read [INFO] [stdout] --> src/cache/memory_cache.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct MemoryCacheStats { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 142 | pub entries: usize, [INFO] [stdout] 143 | pub capacity: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemoryCacheStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `hit_rate` and `usage_percent` are never used [INFO] [stdout] --> src/cache/memory_cache.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 148 | impl MemoryCacheStats { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 149 | pub fn hit_rate(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn usage_percent(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_invalidation` is never read [INFO] [stdout] --> src/cache/invalidation.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CacheInvalidator { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 25 | /// Last global invalidation time [INFO] [stdout] 26 | last_invalidation: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `invalidate_all`, `is_valid`, and `time_since_invalidation` are never used [INFO] [stdout] --> src/cache/invalidation.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl CacheInvalidator { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn invalidate_all(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_valid(&self, cached_at_ms: u64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn time_since_invalidation(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `package`, `nur_package`, `dependencies`, and `generations` are never used [INFO] [stdout] --> src/cache/invalidation.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl CacheKey { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn package(name: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn nur_package(name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn dependencies(package: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn generations() -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `PACKAGE`, `NUR_PACKAGE`, `GENERATIONS`, `DEPENDENCIES`, `SHORT`, and `LONG` are never used [INFO] [stdout] --> src/cache/invalidation.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 107 | impl TTL { [INFO] [stdout] | -------- associated constants in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub const PACKAGE: u64 = 3600; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub const NUR_PACKAGE: u64 = 3600; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub const GENERATIONS: u64 = 300; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub const DEPENDENCIES: u64 = 3600; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub const SHORT: u64 = 30; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub const LONG: u64 = 604800; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `current_epoch_ms` is never used [INFO] [stdout] --> src/cache/invalidation.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn current_epoch_ms() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchEngine` is never constructed [INFO] [stdout] --> src/search/engine.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct SearchEngine { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/search/engine.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl SearchEngine { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 38 | /// Create a new search engine [INFO] [stdout] 39 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn with_settings(min_score: i64, max_results: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn max_results(mut self, max: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn min_score(mut self, score: i64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn search(&self, query: &str, packages: &[Package]) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn score_package(&self, query: &str, package: &Package) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn search_with_suggestions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | fn generate_suggestions(&self, query: &str, packages: &[Package]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn quick_search(&self, query: &str, packages: &[Package]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn filter_by_source<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchWithSuggestions` is never constructed [INFO] [stdout] --> src/search/engine.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub struct SearchWithSuggestions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty` and `has_suggestions` are never used [INFO] [stdout] --> src/search/engine.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 243 | impl SearchWithSuggestions { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 244 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn has_suggestions(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MultiSourceSearch` is never constructed [INFO] [stdout] --> src/search/engine.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | pub struct MultiSourceSearch { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `search` are never used [INFO] [stdout] --> src/search/engine.rs:259:12 [INFO] [stdout] | [INFO] [stdout] 258 | impl MultiSourceSearch { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 259 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn search( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `arch`, `install_single`, and `install_parallel` are never used [INFO] [stdout] --> src/package/manager.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PackageManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn arch(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub async fn install_single(&self, package: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub async fn install_parallel(&self, packages: &[String], max_concurrent: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `package_count` is never used [INFO] [stdout] --> src/nur/client.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl NurClient { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn package_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `disk_space_ok` is never read [INFO] [stdout] --> src/system/health.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct HealthReport { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub disk_space_ok: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HealthReport` 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: method `is_healthy` is never used [INFO] [stdout] --> src/system/health.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl HealthReport { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 37 | pub fn is_healthy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `quick_check` is never used [INFO] [stdout] --> src/system/health.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl HealthChecker { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn quick_check() -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/system/garbage_collector.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 225 | pub struct GCResult { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 228 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GCResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `freed_human` is never used [INFO] [stdout] --> src/system/garbage_collector.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 231 | impl GCResult { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 232 | pub fn freed_human(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `current` is never used [INFO] [stdout] --> src/system/generations.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl GenerationManager { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn current() -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpClient` is never constructed [INFO] [stdout] --> src/network/client.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct HttpClient { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/network/client.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl HttpClient { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 33 | /// Create a new HTTP client with default settings [INFO] [stdout] 34 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn from_config(config: &Config) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn max_retries(mut self, retries: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn retry_delay(mut self, delay: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub async fn get(&self, url: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn get_string(&self, url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn get_bytes(&self, url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn get_json(&self, url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | async fn request_with_retry(&self, make_request: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn inner(&self) -> &Client { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgressManager` is never constructed [INFO] [stdout] --> src/ui/progress.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ProgressManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `spinner`, `bar`, `download`, `status`, and `multi` are never used [INFO] [stdout] --> src/ui/progress.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl ProgressManager { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 28 | /// Create a new progress manager [INFO] [stdout] 29 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn spinner(&self, message: &str) -> ProgressBar { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn bar(&self, total: u64, message: &str) -> ProgressBar { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn download(&self, total: u64, filename: &str) -> ProgressBar { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn status(&self, message: &str) -> ProgressBar { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn multi(&self) -> &MultiProgress { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bar` is never used [INFO] [stdout] --> src/ui/progress.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn bar(total: u64) -> ProgressBar { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print_search_results`, `print_search_human`, `print_search_plain`, and `print_table` are never used [INFO] [stdout] --> src/ui/output.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Output { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn print_search_results(&self, results: &[SearchResult]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn print_search_human(&self, results: &[SearchResult]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn print_search_plain(&self, results: &[SearchResult]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn print_table(&self, headers: Vec<&str>, rows: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_header` is never used [INFO] [stdout] --> src/ui/output.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn print_header(msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_error` is never used [INFO] [stdout] --> src/ui/output.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn print_error(msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_warning` is never used [INFO] [stdout] --> src/ui/output.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn print_warning(msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_success` is never used [INFO] [stdout] --> src/ui/output.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn print_success(msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `download_url` and `release_notes` are never read [INFO] [stdout] --> src/utils/updater.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct UpdateInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 28 | pub version: String, [INFO] [stdout] 29 | pub download_url: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | pub release_notes: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CONFIG` is never used [INFO] [stdout] --> src/core/config.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | static CONFIG: OnceLock = OnceLock::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `data_dir`, `init`, `get`, and `try_get` are never used [INFO] [stdout] --> src/core/config.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 211 | impl Config { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn data_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn init() -> Result<&'static Config> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn get() -> &'static Config { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn try_get() -> Option<&'static Config> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AlreadyInstalled`, `NotInstalled`, `DependencyConflict`, `InvalidSpec`, `VersionMismatch`, and `TransactionFailed` are never constructed [INFO] [stdout] --> src/core/error.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub enum PackageError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 76 | AlreadyInstalled { name: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | NotInstalled { name: String }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | DependencyConflict(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | InvalidSpec(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | VersionMismatch(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | TransactionFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/core/error.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub enum NetworkError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 103 | #[error("Connection failed: {0}")] [INFO] [stdout] 104 | ConnectionFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | HttpError { status: u16, message: String }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | DnsError(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | TlsError(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | DownloadFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | AllMirrorsFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | RateLimited { retry_after_secs: u64 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Corrupted`, `Expired`, `Full`, and `DatabaseError` are never constructed [INFO] [stdout] --> src/core/error.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub enum CacheError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 141 | Corrupted(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | Expired { key: String }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | Full { max_size_mb: u64 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | DatabaseError(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CacheError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PermissionDenied`, `StoreVerificationFailed`, and `HealthCheckFailed` are never constructed [INFO] [stdout] --> src/core/error.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 155 | pub enum SystemError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 163 | PermissionDenied(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | StoreVerificationFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | HealthCheckFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SystemError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidQuery`, `IndexNotAvailable`, and `Timeout` are never constructed [INFO] [stdout] --> src/core/error.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub enum SearchError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 194 | InvalidQuery(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | IndexNotAvailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RepositoryNotFound` is never constructed [INFO] [stdout] --> src/core/error.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 205 | pub enum NurError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 216 | RepositoryNotFound { repo: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NurError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ResultExt` is never used [INFO] [stdout] --> src/core/error.rs:286:11 [INFO] [stdout] | [INFO] [stdout] 286 | pub trait ResultExt { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `install_command` is never used [INFO] [stdout] --> src/core/types.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Package { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn install_command(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstalledPackage` is never constructed [INFO] [stdout] --> src/core/types.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct InstalledPackage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `base_score` is never used [INFO] [stdout] --> src/core/types.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 218 | impl MatchType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 219 | /// Get the base score for this match type [INFO] [stdout] 220 | pub fn base_score(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OperationStatus` is never used [INFO] [stdout] --> src/core/types.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | pub enum OperationStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OperationType` is never used [INFO] [stdout] --> src/core/types.rs:257:10 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum OperationType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OperationResult` is never constructed [INFO] [stdout] --> src/core/types.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 281 | pub struct OperationResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `success` and `failure` are never used [INFO] [stdout] --> src/core/types.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 296 | impl OperationResult { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 297 | pub fn success(operation: OperationType, packages: Vec, duration_ms: u64) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn failure(operation: OperationType, packages: Vec, error: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `affected_generations` is never read [INFO] [stdout] --> src/core/types.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 335 | pub struct GCPreview { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 341 | pub affected_generations: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GCPreview` 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 `invalidator` is never read [INFO] [stdout] --> src/cache/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct CacheManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub invalidator: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `total_entries` is never used [INFO] [stdout] --> src/cache/mod.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl CacheStats { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 125 | pub fn total_entries(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `vacuum` is never used [INFO] [stdout] --> src/cache/disk_cache.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl DiskCache { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn vacuum(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expired` is never read [INFO] [stdout] --> src/cache/disk_cache.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 277 | pub struct DiskCacheStats { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 282 | pub expired: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiskCacheStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove`, `contains`, `len`, `resize`, `peek`, and `keys` are never used [INFO] [stdout] --> src/cache/memory_cache.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl MemoryCache { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn remove(&mut self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn contains(&self, key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn resize(&mut self, new_capacity: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn peek(&self, key: &str) -> Option<&String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn keys(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capacity` is never read [INFO] [stdout] --> src/cache/memory_cache.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct MemoryCacheStats { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 142 | pub entries: usize, [INFO] [stdout] 143 | pub capacity: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemoryCacheStats` 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: method `usage_percent` is never used [INFO] [stdout] --> src/cache/memory_cache.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 148 | impl MemoryCacheStats { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn usage_percent(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `time_since_invalidation` is never used [INFO] [stdout] --> src/cache/invalidation.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl CacheInvalidator { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn time_since_invalidation(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `nur_package`, `dependencies`, and `generations` are never used [INFO] [stdout] --> src/cache/invalidation.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl CacheKey { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn nur_package(name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn dependencies(package: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn generations() -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `PACKAGE`, `NUR_PACKAGE`, `GENERATIONS`, `DEPENDENCIES`, `SHORT`, and `LONG` are never used [INFO] [stdout] --> src/cache/invalidation.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 107 | impl TTL { [INFO] [stdout] | -------- associated constants in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub const PACKAGE: u64 = 3600; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub const NUR_PACKAGE: u64 = 3600; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub const GENERATIONS: u64 = 300; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub const DEPENDENCIES: u64 = 3600; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub const SHORT: u64 = 30; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub const LONG: u64 = 604800; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_settings`, `min_score`, and `filter_by_source` are never used [INFO] [stdout] --> src/search/engine.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl SearchEngine { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn with_settings(min_score: i64, max_results: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn min_score(mut self, score: i64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn filter_by_source<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MultiSourceSearch` is never constructed [INFO] [stdout] --> src/search/engine.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | pub struct MultiSourceSearch { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `search` are never used [INFO] [stdout] --> src/search/engine.rs:259:12 [INFO] [stdout] | [INFO] [stdout] 258 | impl MultiSourceSearch { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 259 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn search( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `arch`, `install_single`, and `install_parallel` are never used [INFO] [stdout] --> src/package/manager.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PackageManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn arch(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub async fn install_single(&self, package: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub async fn install_parallel(&self, packages: &[String], max_concurrent: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `package_count` is never used [INFO] [stdout] --> src/nur/client.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl NurClient { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn package_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `disk_space_ok` is never read [INFO] [stdout] --> src/system/health.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct HealthReport { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub disk_space_ok: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HealthReport` 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: method `is_healthy` is never used [INFO] [stdout] --> src/system/health.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl HealthReport { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 37 | pub fn is_healthy(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/system/garbage_collector.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 225 | pub struct GCResult { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 228 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GCResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `freed_human` is never used [INFO] [stdout] --> src/system/garbage_collector.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 231 | impl GCResult { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 232 | pub fn freed_human(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `current` is never used [INFO] [stdout] --> src/system/generations.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl GenerationManager { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn current() -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/network/client.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct HttpClient { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 27 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/network/client.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl HttpClient { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn from_config(config: &Config) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub async fn get(&self, url: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn get_string(&self, url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn get_bytes(&self, url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn get_json(&self, url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | async fn request_with_retry(&self, make_request: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn inner(&self) -> &Client { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bar`, `download`, `status`, and `multi` are never used [INFO] [stdout] --> src/ui/progress.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl ProgressManager { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn bar(&self, total: u64, message: &str) -> ProgressBar { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn download(&self, total: u64, filename: &str) -> ProgressBar { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn status(&self, message: &str) -> ProgressBar { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn multi(&self) -> &MultiProgress { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bar` is never used [INFO] [stdout] --> src/ui/progress.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn bar(total: u64) -> ProgressBar { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print_search_results`, `print_search_human`, `print_search_plain`, and `print_table` are never used [INFO] [stdout] --> src/ui/output.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Output { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn print_search_results(&self, results: &[SearchResult]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn print_search_human(&self, results: &[SearchResult]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn print_search_plain(&self, results: &[SearchResult]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn print_table(&self, headers: Vec<&str>, rows: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_header` is never used [INFO] [stdout] --> src/ui/output.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn print_header(msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_error` is never used [INFO] [stdout] --> src/ui/output.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn print_error(msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_warning` is never used [INFO] [stdout] --> src/ui/output.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn print_warning(msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_success` is never used [INFO] [stdout] --> src/ui/output.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn print_success(msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `download_url` and `release_notes` are never read [INFO] [stdout] --> src/utils/updater.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct UpdateInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 28 | pub version: String, [INFO] [stdout] 29 | pub download_url: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | pub release_notes: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.02s [INFO] running `Command { std: "docker" "inspect" "ac5966f2e392c9e5984d6216f3b37f40d2af685e946d26ae20c93875dd1ada7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac5966f2e392c9e5984d6216f3b37f40d2af685e946d26ae20c93875dd1ada7f", kill_on_drop: false }` [INFO] [stdout] ac5966f2e392c9e5984d6216f3b37f40d2af685e946d26ae20c93875dd1ada7f