[INFO] cloning repository https://github.com/nowl-it/kgc-toolkit-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nowl-it/kgc-toolkit-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnowl-it%2Fkgc-toolkit-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnowl-it%2Fkgc-toolkit-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7127362e12df1544650927b36d3b91bdba659a7 [INFO] checking nowl-it/kgc-toolkit-cli against try#3fada14ee01d755dc8076e611f11bf65b28ffd21 for pr-154971 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnowl-it%2Fkgc-toolkit-cli" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nowl-it/kgc-toolkit-cli [INFO] finished tweaking git repo https://github.com/nowl-it/kgc-toolkit-cli [INFO] tweaked toml for git repo https://github.com/nowl-it/kgc-toolkit-cli written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nowl-it/kgc-toolkit-cli on toolchain 3fada14ee01d755dc8076e611f11bf65b28ffd21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nowl-it/kgc-toolkit-cli 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" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0f1f061f67146f104025497c3957faed0ac9cf3c5dab5a067a33befb48d0a68 [INFO] running `Command { std: "docker" "start" "-a" "f0f1f061f67146f104025497c3957faed0ac9cf3c5dab5a067a33befb48d0a68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0f1f061f67146f104025497c3957faed0ac9cf3c5dab5a067a33befb48d0a68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0f1f061f67146f104025497c3957faed0ac9cf3c5dab5a067a33befb48d0a68", kill_on_drop: false }` [INFO] [stdout] f0f1f061f67146f104025497c3957faed0ac9cf3c5dab5a067a33befb48d0a68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9777c21caf8887d52606af0a1c6c1db7b0eef536a0b678592464650cef61aa52 [INFO] running `Command { std: "docker" "start" "-a" "9777c21caf8887d52606af0a1c6c1db7b0eef536a0b678592464650cef61aa52", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Checking itoa v1.0.18 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking writeable v0.6.2 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking simd-adler32 v0.3.9 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Compiling aws-lc-rs v1.16.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling cc v1.2.58 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Checking zlib-rs v0.6.3 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking deranged v0.5.8 [INFO] [stderr] Checking anstyle-parse v1.0.0 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.5 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Checking anstyle v1.0.14 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking num-conv v0.2.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking ipnet v2.12.0 [INFO] [stderr] Compiling instability v0.3.12 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking time-core v0.1.8 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking anstream v1.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling aws-lc-sys v0.39.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking winnow v0.7.15 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking clap_lex v1.1.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking pxfm v0.1.28 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Checking bumpalo v3.20.2 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Checking iri-string v0.7.12 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking unicode-segmentation v1.13.2 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking zopfli v0.8.3 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking inotify v0.11.1 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking brotli-decompressor v4.0.3 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking xattr v1.6.1 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking filetime v0.2.27 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking webpki-roots v1.0.6 [INFO] [stderr] Checking notify-types v2.1.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking shell-words v1.1.1 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Checking unity-yaml-rust v0.1.1 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking brotli v7.0.0 [INFO] [stderr] Checking clap v4.6.0 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking notify v8.2.0 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking tar v0.4.45 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking zip v4.6.1 [INFO] [stderr] Checking ecb v0.1.2 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking hyper v1.9.0 [INFO] [stderr] Checking rcgen v0.13.2 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking rustls-webpki v0.103.10 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rusqlite v0.32.1 [INFO] [stderr] Checking kgc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `width` is never read [INFO] [stdout] --> src/tui/components/widgets.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct MiniChart { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 137 | width: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/tui/event.rs:297:48 [INFO] [stdout] | [INFO] [stdout] 297 | Time { platform: String, time: String, count: usize }, [INFO] [stdout] | ---- field in this variant ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XmlTreeNode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tui/components/table.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn render_span(&self, selected: bool, style: Style) -> Vec { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | pub fn render_span(&self, selected: bool, style: Style) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tui/keybindings.rs:264:27 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn get_help_lines(&self, context: &str) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 264 | pub fn get_help_lines(&self, context: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `width` is never read [INFO] [stdout] --> src/tui/components/widgets.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct MiniChart { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 137 | width: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/tui/event.rs:297:48 [INFO] [stdout] | [INFO] [stdout] 297 | Time { platform: String, time: String, count: usize }, [INFO] [stdout] | ---- field in this variant ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XmlTreeNode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tui/components/table.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn render_span(&self, selected: bool, style: Style) -> Vec { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | pub fn render_span(&self, selected: bool, style: Style) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tui/keybindings.rs:264:27 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn get_help_lines(&self, context: &str) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 264 | pub fn get_help_lines(&self, context: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::info; [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: `cert_manager::CertificateManager` [INFO] [stdout] --> src/proxy/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use cert_manager::CertificateManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `server::ProxyServer` [INFO] [stdout] --> src/proxy/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use server::ProxyServer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `storage::TrafficStorage` [INFO] [stdout] --> src/proxy/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use storage::TrafficStorage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/proxy/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `theme::Theme` [INFO] [stdout] --> src/tui/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use theme::Theme; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::info; [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: `cert_manager::CertificateManager` [INFO] [stdout] --> src/proxy/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use cert_manager::CertificateManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `server::ProxyServer` [INFO] [stdout] --> src/proxy/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use server::ProxyServer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `storage::TrafficStorage` [INFO] [stdout] --> src/proxy/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use storage::TrafficStorage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/proxy/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `theme::Theme` [INFO] [stdout] --> src/tui/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use theme::Theme; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `data_dir` and `cache_dir` are never used [INFO] [stdout] --> src/config/settings.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Settings { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn data_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn cache_dir() -> PathBuf { [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 `FileError` is never used [INFO] [stdout] --> src/core/file_utils.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum FileError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_exists` is never used [INFO] [stdout] --> src/core/file_utils.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn check_exists(path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_is_directory` is never used [INFO] [stdout] --> src/core/file_utils.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn check_is_directory(path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_directory` is never used [INFO] [stdout] --> src/core/file_utils.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn read_directory(path: &Path) -> Result, FileError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file_as_bytes` is never used [INFO] [stdout] --> src/core/file_utils.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn read_file_as_bytes(path: &Path) -> Result, FileError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_text_file` is never used [INFO] [stdout] --> src/core/file_utils.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn read_text_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_text_file` is never used [INFO] [stdout] --> src/core/file_utils.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn write_text_file(path: &Path, content: &str) -> Result<(), FileError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_bytes_file` is never used [INFO] [stdout] --> src/core/file_utils.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn write_bytes_file(path: &Path, content: &[u8]) -> Result<(), FileError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_files` is never used [INFO] [stdout] --> src/core/file_utils.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn scan_files(dir: &Path, filter: Option<&str>) -> Result, FileError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_in_system` is never used [INFO] [stdout] --> src/core/file_utils.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn open_in_system(path: &Path) -> Result<(), FileError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APKPURE_DOWNLOAD_URL_PREFIX` is never used [INFO] [stdout] --> src/core/kgc.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const APKPURE_DOWNLOAD_URL_PREFIX: &str = "https://apkpure.com/king-god-castle/com.awesomepiece.castle/download/"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNITY_VERSION` is never used [INFO] [stdout] --> src/core/kgc.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const UNITY_VERSION: &str = "2022.3.62f3"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GAME_ENGINE` is never used [INFO] [stdout] --> src/core/kgc.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const GAME_ENGINE: &str = "unity"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_api_headers` is never used [INFO] [stdout] --> src/core/kgc.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn build_api_headers() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_api_body` is never used [INFO] [stdout] --> src/core/kgc.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn default_api_body() -> serde_json::Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_cdn_url` is never used [INFO] [stdout] --> src/core/kgc.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn is_cdn_url(url: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ParseError` is never constructed [INFO] [stdout] --> src/core/unity/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum UnityError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | ParseError(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnityError` 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 `Crypto` and `Storage` are never constructed [INFO] [stdout] --> src/core/xml_config.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum XmlConfigError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | Crypto(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | Storage(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XmlConfigError` 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 `XmlFile` is never constructed [INFO] [stdout] --> src/core/xml_config.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct XmlFile { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_xml_directory` is never used [INFO] [stdout] --> src/core/xml_config.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_xml_directory() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_xml_bundle_from_url` is never used [INFO] [stdout] --> src/core/xml_config.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | pub async fn download_xml_bundle_from_url( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_bundle` is never used [INFO] [stdout] --> src/core/xml_config.rs:506:14 [INFO] [stdout] | [INFO] [stdout] 506 | pub async fn fetch_bundle(output_dir: Option<&Path>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_xml` is never used [INFO] [stdout] --> src/core/xml_config.rs:661:8 [INFO] [stdout] | [INFO] [stdout] 661 | pub fn extract_xml(bundle_path: &Path, output_dir: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_xml_name` is never used [INFO] [stdout] --> src/core/xml_config.rs:799:4 [INFO] [stdout] | [INFO] [stdout] 799 | fn extract_xml_name(xml: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_xml_files` is never used [INFO] [stdout] --> src/core/xml_config.rs:845:8 [INFO] [stdout] | [INFO] [stdout] 845 | pub fn list_xml_files(dir: &Path) -> Result, XmlConfigError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Tls` is never constructed [INFO] [stdout] --> src/proxy/cert_manager.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum CertError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Tls(String), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CertError` 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 `get_ca_cert_path` is never used [INFO] [stdout] --> src/proxy/cert_manager.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl CertificateManager { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn get_ca_cert_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProxyServer` is never constructed [INFO] [stdout] --> src/proxy/server.rs:615:12 [INFO] [stdout] | [INFO] [stdout] 615 | pub struct ProxyServer; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `store_request` is never used [INFO] [stdout] --> src/proxy/server.rs:618:18 [INFO] [stdout] | [INFO] [stdout] 617 | impl ProxyServer { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 618 | pub async fn store_request(request: &CapturedRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Crypto` is never constructed [INFO] [stdout] --> src/proxy/storage.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum StorageError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Crypto(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_request` is never used [INFO] [stdout] --> src/proxy/storage.rs:232:8 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn get_request(id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_request_urls` is never used [INFO] [stdout] --> src/proxy/storage.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn get_all_request_urls() -> Result, StorageError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_request_by_path` is never used [INFO] [stdout] --> src/proxy/storage.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn find_request_by_path(path_fragment: &str) -> Result, StorageError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProxyConfig` is never constructed [INFO] [stdout] --> src/proxy/types.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ProxyConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilterOptions` is never constructed [INFO] [stdout] --> src/proxy/types.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct FilterOptions { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TuiError` is never used [INFO] [stdout] --> src/tui/mod.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum TuiError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `XmlBundleFetched` is never constructed [INFO] [stdout] --> src/tui/app.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum AppMessage { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 45 | XmlBundleFetched(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppMessage` 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 `download_url` and `items` are never read [INFO] [stdout] --> src/tui/app.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct XmlRemoteOption { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | pub download_url: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 61 | pub items: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XmlRemoteOption` 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 `clear_status` is never used [INFO] [stdout] --> src/tui/app.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 189 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn clear_status(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TreeNode` is never constructed [INFO] [stdout] --> src/tui/components/file_tree.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TreeNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `display_name`, and `flatten` are never used [INFO] [stdout] --> src/tui/components/file_tree.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl TreeNode { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 22 | pub fn new(name: impl Into, path: PathBuf, is_dir: bool, level: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn flatten(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileTree` is never constructed [INFO] [stdout] --> src/tui/components/file_tree.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct FileTree { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tui/components/file_tree.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl FileTree { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 60 | pub fn new(root_name: impl Into, root_path: PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn add_child(&mut self, name: impl Into, path: PathBuf, is_dir: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_visible_nodes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn prev(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn toggle_selected(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn render(&self, frame: &mut Frame, area: Rect, style: Style) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn get_selected_path(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `toggle_node_in_tree` is never used [INFO] [stdout] --> src/tui/components/file_tree.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn toggle_node_in_tree(node: &mut TreeNode, target_path: &PathBuf) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgressBar` is never constructed [INFO] [stdout] --> src/tui/components/progress.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ProgressBar { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_current`, `increment`, `percentage`, `render`, and `render_simple` are never used [INFO] [stdout] --> src/tui/components/progress.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl ProgressBar { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(total: u64, label: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn set_current(&mut self, current: u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn increment(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn percentage(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn render(&self, frame: &mut Frame, area: Rect) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn render_simple(&self, frame: &mut Frame, area: Rect) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MultiProgress` is never constructed [INFO] [stdout] --> src/tui/components/progress.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct MultiProgress { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_task`, `update_task`, and `render` are never used [INFO] [stdout] --> src/tui/components/progress.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl MultiProgress { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 83 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn add_task(&mut self, name: impl Into, percent: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn update_task(&mut self, index: usize, percent: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn render(&self, frame: &mut Frame, area: Rect, style: Style) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrafficItem` is never constructed [INFO] [stdout] --> src/tui/components/traffic_list.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TrafficItem { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `format_display` are never used [INFO] [stdout] --> src/tui/components/traffic_list.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl TrafficItem { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(id: impl Into, method: impl Into, url: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn format_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrafficList` is never constructed [INFO] [stdout] --> src/tui/components/traffic_list.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct TrafficList { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tui/components/traffic_list.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl TrafficList { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 48 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn add_item(&mut self, item: TrafficItem) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn prev(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn get_selected(&self) -> Option<&TrafficItem> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn render(&self, frame: &mut Frame, area: Rect, title: &str, style: Style) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Spinner` is never constructed [INFO] [stdout] --> src/tui/components/widgets.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Spinner { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `current`, and `render` are never used [INFO] [stdout] --> src/tui/components/widgets.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Spinner { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn current(&mut self) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn render(&mut self, frame: &mut Frame, area: Rect, style: Style) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgressGauge` is never constructed [INFO] [stdout] --> src/tui/components/widgets.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ProgressGauge { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `render` are never used [INFO] [stdout] --> src/tui/components/widgets.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl ProgressGauge { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 60 | pub fn new(percent: u32, label: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn render(&self, frame: &mut Frame, area: Rect, style: Style) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatusIndicator` is never constructed [INFO] [stdout] --> src/tui/components/widgets.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct StatusIndicator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StatusType` is never used [INFO] [stdout] --> src/tui/components/widgets.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum StatusType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `icon`, `color`, and `render` are never used [INFO] [stdout] --> src/tui/components/widgets.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl StatusIndicator { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 99 | pub fn new(status: StatusType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn icon(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn color(&self) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn render(&self, frame: &mut Frame, area: Rect) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MiniChart` is never constructed [INFO] [stdout] --> src/tui/components/widgets.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct MiniChart { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `render` are never used [INFO] [stdout] --> src/tui/components/widgets.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 140 | impl MiniChart { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 141 | pub fn new(data: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn render(&self, frame: &mut Frame, area: Rect, style: Style) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypedMessage` is never constructed [INFO] [stdout] --> src/tui/components/widgets.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct TypedMessage { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MessageType` is never used [INFO] [stdout] --> src/tui/components/widgets.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | pub enum MessageType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tui/components/widgets.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl TypedMessage { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 181 | pub fn error(text: impl Into) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn warning(text: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn info(text: impl Into) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn success(text: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn icon(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn color(&self) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn render(&self, frame: &mut Frame, area: Rect) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataTable` is never constructed [INFO] [stdout] --> src/tui/components/table.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct DataTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_row`, `next_row`, `prev_row`, `get_selected`, and `render` are never used [INFO] [stdout] --> src/tui/components/table.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl DataTable { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(headers: Vec<&str>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn add_row(&mut self, row: Vec<&str>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn next_row(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn prev_row(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn get_selected(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn render(&self, frame: &mut Frame, area: Rect, title: &str, style: Style) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatCard` is never constructed [INFO] [stdout] --> src/tui/components/table.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct StatCard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_unit`, and `render` are never used [INFO] [stdout] --> src/tui/components/table.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl StatCard { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 82 | pub fn new(label: impl Into, value: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn with_unit(mut self, unit: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn render(&self, frame: &mut Frame, area: Rect, style: Style) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IconListItem` is never constructed [INFO] [stdout] --> src/tui/components/table.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct IconListItem { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `render_span` are never used [INFO] [stdout] --> src/tui/components/table.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl IconListItem { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 112 | pub fn new(icon: impl Into, title: impl Into, description: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn render_span(&self, selected: bool, style: Style) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/tui/event.rs:297:48 [INFO] [stdout] | [INFO] [stdout] 297 | Time { platform: String, time: String, count: usize }, [INFO] [stdout] | ---- field in this variant ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XmlTreeNode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `warning` is never read [INFO] [stdout] --> src/tui/theme.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Theme { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub warning: Color, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `warning_style` is never used [INFO] [stdout] --> src/tui/theme.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Theme { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn warning_style(&self) -> Style { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/tui/keybindings.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Keybinding { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub context: &'static str, // "Global", "Download", "Proxy", etc. [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Keybinding` 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: function `init_with_level` is never used [INFO] [stdout] --> src/utils/logger.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn init_with_level(level: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tools_dir` is never used [INFO] [stdout] --> src/utils/paths.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn tools_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cache_dir` is never used [INFO] [stdout] --> src/utils/paths.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn cache_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `config_dir` is never used [INFO] [stdout] --> src/utils/paths.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn config_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `certs_dir` is never used [INFO] [stdout] --> src/utils/paths.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn certs_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tui/components/table.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn render_span(&self, selected: bool, style: Style) -> Vec { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | pub fn render_span(&self, selected: bool, style: Style) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tui/keybindings.rs:264:27 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn get_help_lines(&self, context: &str) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 264 | pub fn get_help_lines(&self, context: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `data_dir` and `cache_dir` are never used [INFO] [stdout] --> src/config/settings.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Settings { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn data_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn cache_dir() -> PathBuf { [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 `FileError` is never used [INFO] [stdout] --> src/core/file_utils.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum FileError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_exists` is never used [INFO] [stdout] --> src/core/file_utils.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn check_exists(path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_is_directory` is never used [INFO] [stdout] --> src/core/file_utils.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn check_is_directory(path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_directory` is never used [INFO] [stdout] --> src/core/file_utils.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn read_directory(path: &Path) -> Result, FileError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file_as_bytes` is never used [INFO] [stdout] --> src/core/file_utils.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn read_file_as_bytes(path: &Path) -> Result, FileError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_text_file` is never used [INFO] [stdout] --> src/core/file_utils.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn read_text_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_text_file` is never used [INFO] [stdout] --> src/core/file_utils.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn write_text_file(path: &Path, content: &str) -> Result<(), FileError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_bytes_file` is never used [INFO] [stdout] --> src/core/file_utils.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn write_bytes_file(path: &Path, content: &[u8]) -> Result<(), FileError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_files` is never used [INFO] [stdout] --> src/core/file_utils.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn scan_files(dir: &Path, filter: Option<&str>) -> Result, FileError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_in_system` is never used [INFO] [stdout] --> src/core/file_utils.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn open_in_system(path: &Path) -> Result<(), FileError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APKPURE_DOWNLOAD_URL_PREFIX` is never used [INFO] [stdout] --> src/core/kgc.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const APKPURE_DOWNLOAD_URL_PREFIX: &str = "https://apkpure.com/king-god-castle/com.awesomepiece.castle/download/"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNITY_VERSION` is never used [INFO] [stdout] --> src/core/kgc.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const UNITY_VERSION: &str = "2022.3.62f3"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GAME_ENGINE` is never used [INFO] [stdout] --> src/core/kgc.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const GAME_ENGINE: &str = "unity"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_api_headers` is never used [INFO] [stdout] --> src/core/kgc.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn build_api_headers() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_api_body` is never used [INFO] [stdout] --> src/core/kgc.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn default_api_body() -> serde_json::Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_cdn_url` is never used [INFO] [stdout] --> src/core/kgc.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn is_cdn_url(url: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ParseError` is never constructed [INFO] [stdout] --> src/core/unity/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum UnityError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | ParseError(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnityError` 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 `Crypto` and `Storage` are never constructed [INFO] [stdout] --> src/core/xml_config.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum XmlConfigError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | Crypto(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | Storage(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XmlConfigError` 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 `XmlFile` is never constructed [INFO] [stdout] --> src/core/xml_config.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct XmlFile { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_xml_directory` is never used [INFO] [stdout] --> src/core/xml_config.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_xml_directory() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_xml_bundle_from_url` is never used [INFO] [stdout] --> src/core/xml_config.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | pub async fn download_xml_bundle_from_url( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_bundle` is never used [INFO] [stdout] --> src/core/xml_config.rs:506:14 [INFO] [stdout] | [INFO] [stdout] 506 | pub async fn fetch_bundle(output_dir: Option<&Path>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_xml` is never used [INFO] [stdout] --> src/core/xml_config.rs:661:8 [INFO] [stdout] | [INFO] [stdout] 661 | pub fn extract_xml(bundle_path: &Path, output_dir: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_xml_name` is never used [INFO] [stdout] --> src/core/xml_config.rs:799:4 [INFO] [stdout] | [INFO] [stdout] 799 | fn extract_xml_name(xml: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_xml_files` is never used [INFO] [stdout] --> src/core/xml_config.rs:845:8 [INFO] [stdout] | [INFO] [stdout] 845 | pub fn list_xml_files(dir: &Path) -> Result, XmlConfigError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Tls` is never constructed [INFO] [stdout] --> src/proxy/cert_manager.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum CertError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Tls(String), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CertError` 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 `get_ca_cert_path` is never used [INFO] [stdout] --> src/proxy/cert_manager.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl CertificateManager { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn get_ca_cert_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProxyServer` is never constructed [INFO] [stdout] --> src/proxy/server.rs:615:12 [INFO] [stdout] | [INFO] [stdout] 615 | pub struct ProxyServer; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `store_request` is never used [INFO] [stdout] --> src/proxy/server.rs:618:18 [INFO] [stdout] | [INFO] [stdout] 617 | impl ProxyServer { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 618 | pub async fn store_request(request: &CapturedRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Crypto` is never constructed [INFO] [stdout] --> src/proxy/storage.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum StorageError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Crypto(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_request` is never used [INFO] [stdout] --> src/proxy/storage.rs:232:8 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn get_request(id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_request_urls` is never used [INFO] [stdout] --> src/proxy/storage.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn get_all_request_urls() -> Result, StorageError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_request_by_path` is never used [INFO] [stdout] --> src/proxy/storage.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn find_request_by_path(path_fragment: &str) -> Result, StorageError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProxyConfig` is never constructed [INFO] [stdout] --> src/proxy/types.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ProxyConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilterOptions` is never constructed [INFO] [stdout] --> src/proxy/types.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct FilterOptions { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TuiError` is never used [INFO] [stdout] --> src/tui/mod.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum TuiError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `XmlBundleFetched` is never constructed [INFO] [stdout] --> src/tui/app.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum AppMessage { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 45 | XmlBundleFetched(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppMessage` 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 `download_url` and `items` are never read [INFO] [stdout] --> src/tui/app.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct XmlRemoteOption { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | pub download_url: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 61 | pub items: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XmlRemoteOption` 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 `clear_status` is never used [INFO] [stdout] --> src/tui/app.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 189 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn clear_status(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TreeNode` is never constructed [INFO] [stdout] --> src/tui/components/file_tree.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TreeNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `display_name`, and `flatten` are never used [INFO] [stdout] --> src/tui/components/file_tree.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl TreeNode { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 22 | pub fn new(name: impl Into, path: PathBuf, is_dir: bool, level: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn flatten(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileTree` is never constructed [INFO] [stdout] --> src/tui/components/file_tree.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct FileTree { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tui/components/file_tree.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl FileTree { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 60 | pub fn new(root_name: impl Into, root_path: PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn add_child(&mut self, name: impl Into, path: PathBuf, is_dir: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_visible_nodes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn prev(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn toggle_selected(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn render(&self, frame: &mut Frame, area: Rect, style: Style) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn get_selected_path(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `toggle_node_in_tree` is never used [INFO] [stdout] --> src/tui/components/file_tree.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn toggle_node_in_tree(node: &mut TreeNode, target_path: &PathBuf) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgressBar` is never constructed [INFO] [stdout] --> src/tui/components/progress.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ProgressBar { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_current`, `increment`, `percentage`, `render`, and `render_simple` are never used [INFO] [stdout] --> src/tui/components/progress.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl ProgressBar { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(total: u64, label: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn set_current(&mut self, current: u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn increment(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn percentage(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn render(&self, frame: &mut Frame, area: Rect) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn render_simple(&self, frame: &mut Frame, area: Rect) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MultiProgress` is never constructed [INFO] [stdout] --> src/tui/components/progress.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct MultiProgress { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_task`, `update_task`, and `render` are never used [INFO] [stdout] --> src/tui/components/progress.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl MultiProgress { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 83 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn add_task(&mut self, name: impl Into, percent: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn update_task(&mut self, index: usize, percent: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn render(&self, frame: &mut Frame, area: Rect, style: Style) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrafficItem` is never constructed [INFO] [stdout] --> src/tui/components/traffic_list.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TrafficItem { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `format_display` are never used [INFO] [stdout] --> src/tui/components/traffic_list.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl TrafficItem { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(id: impl Into, method: impl Into, url: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn format_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TrafficList` is never constructed [INFO] [stdout] --> src/tui/components/traffic_list.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct TrafficList { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tui/components/traffic_list.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl TrafficList { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 48 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn add_item(&mut self, item: TrafficItem) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn prev(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn get_selected(&self) -> Option<&TrafficItem> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn render(&self, frame: &mut Frame, area: Rect, title: &str, style: Style) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Spinner` is never constructed [INFO] [stdout] --> src/tui/components/widgets.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Spinner { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `current`, and `render` are never used [INFO] [stdout] --> src/tui/components/widgets.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Spinner { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn current(&mut self) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn render(&mut self, frame: &mut Frame, area: Rect, style: Style) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgressGauge` is never constructed [INFO] [stdout] --> src/tui/components/widgets.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ProgressGauge { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `render` are never used [INFO] [stdout] --> src/tui/components/widgets.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl ProgressGauge { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 60 | pub fn new(percent: u32, label: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn render(&self, frame: &mut Frame, area: Rect, style: Style) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatusIndicator` is never constructed [INFO] [stdout] --> src/tui/components/widgets.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct StatusIndicator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StatusType` is never used [INFO] [stdout] --> src/tui/components/widgets.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum StatusType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `icon`, `color`, and `render` are never used [INFO] [stdout] --> src/tui/components/widgets.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl StatusIndicator { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 99 | pub fn new(status: StatusType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn icon(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn color(&self) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn render(&self, frame: &mut Frame, area: Rect) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MiniChart` is never constructed [INFO] [stdout] --> src/tui/components/widgets.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct MiniChart { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `render` are never used [INFO] [stdout] --> src/tui/components/widgets.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 140 | impl MiniChart { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 141 | pub fn new(data: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn render(&self, frame: &mut Frame, area: Rect, style: Style) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypedMessage` is never constructed [INFO] [stdout] --> src/tui/components/widgets.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct TypedMessage { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MessageType` is never used [INFO] [stdout] --> src/tui/components/widgets.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | pub enum MessageType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tui/components/widgets.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl TypedMessage { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 181 | pub fn error(text: impl Into) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn warning(text: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn info(text: impl Into) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn success(text: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn icon(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn color(&self) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn render(&self, frame: &mut Frame, area: Rect) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataTable` is never constructed [INFO] [stdout] --> src/tui/components/table.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct DataTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_row`, `next_row`, `prev_row`, `get_selected`, and `render` are never used [INFO] [stdout] --> src/tui/components/table.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl DataTable { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(headers: Vec<&str>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn add_row(&mut self, row: Vec<&str>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn next_row(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn prev_row(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn get_selected(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn render(&self, frame: &mut Frame, area: Rect, title: &str, style: Style) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatCard` is never constructed [INFO] [stdout] --> src/tui/components/table.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct StatCard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_unit`, and `render` are never used [INFO] [stdout] --> src/tui/components/table.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl StatCard { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 82 | pub fn new(label: impl Into, value: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn with_unit(mut self, unit: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn render(&self, frame: &mut Frame, area: Rect, style: Style) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IconListItem` is never constructed [INFO] [stdout] --> src/tui/components/table.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct IconListItem { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `render_span` are never used [INFO] [stdout] --> src/tui/components/table.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl IconListItem { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 112 | pub fn new(icon: impl Into, title: impl Into, description: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn render_span(&self, selected: bool, style: Style) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/tui/event.rs:297:48 [INFO] [stdout] | [INFO] [stdout] 297 | Time { platform: String, time: String, count: usize }, [INFO] [stdout] | ---- field in this variant ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XmlTreeNode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `warning` is never read [INFO] [stdout] --> src/tui/theme.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Theme { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub warning: Color, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `warning_style` is never used [INFO] [stdout] --> src/tui/theme.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Theme { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn warning_style(&self) -> Style { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/tui/keybindings.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Keybinding { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub context: &'static str, // "Global", "Download", "Proxy", etc. [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Keybinding` 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: function `init_with_level` is never used [INFO] [stdout] --> src/utils/logger.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn init_with_level(level: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tools_dir` is never used [INFO] [stdout] --> src/utils/paths.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn tools_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cache_dir` is never used [INFO] [stdout] --> src/utils/paths.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn cache_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `config_dir` is never used [INFO] [stdout] --> src/utils/paths.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn config_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `certs_dir` is never used [INFO] [stdout] --> src/utils/paths.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn certs_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tui/components/table.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn render_span(&self, selected: bool, style: Style) -> Vec { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | pub fn render_span(&self, selected: bool, style: Style) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tui/keybindings.rs:264:27 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn get_help_lines(&self, context: &str) -> Vec { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 264 | pub fn get_help_lines(&self, context: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "9777c21caf8887d52606af0a1c6c1db7b0eef536a0b678592464650cef61aa52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9777c21caf8887d52606af0a1c6c1db7b0eef536a0b678592464650cef61aa52", kill_on_drop: false }` [INFO] [stdout] 9777c21caf8887d52606af0a1c6c1db7b0eef536a0b678592464650cef61aa52