[INFO] cloning repository https://github.com/2Yuri-afk/gorlock [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/2Yuri-afk/gorlock" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2Yuri-afk%2Fgorlock", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2Yuri-afk%2Fgorlock'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30b70d108e00f55a00c1905a25a70004ac1130f7 [INFO] testing 2Yuri-afk/gorlock against 1.97.0-beta.6 for beta-1.98-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2Yuri-afk%2Fgorlock" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/2Yuri-afk/gorlock [INFO] finished tweaking git repo https://github.com/2Yuri-afk/gorlock [INFO] tweaked toml for git repo https://github.com/2Yuri-afk/gorlock written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/2Yuri-afk/gorlock on toolchain 1.97.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/2Yuri-afk/gorlock 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-truncate v1.1.0 [INFO] [stderr] Downloaded bytemuck v1.23.2 [INFO] [stderr] Downloaded cassowary v0.3.0 [INFO] [stderr] Downloaded doc-comment v0.3.3 [INFO] [stderr] Downloaded predicates v3.1.3 [INFO] [stderr] Downloaded assert_cmd v2.0.17 [INFO] [stderr] Downloaded compact_str v0.7.1 [INFO] [stderr] Downloaded ratatui v0.26.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 21a2fb24f698a7c855765c11b09885860b9d2ab8a5cd8b29bab33f8ff8c79a66 [INFO] running `Command { std: "docker" "start" "21a2fb24f698a7c855765c11b09885860b9d2ab8a5cd8b29bab33f8ff8c79a66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21a2fb24f698a7c855765c11b09885860b9d2ab8a5cd8b29bab33f8ff8c79a66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "21a2fb24f698a7c855765c11b09885860b9d2ab8a5cd8b29bab33f8ff8c79a66" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21a2fb24f698a7c855765c11b09885860b9d2ab8a5cd8b29bab33f8ff8c79a66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "21a2fb24f698a7c855765c11b09885860b9d2ab8a5cd8b29bab33f8ff8c79a66" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling stability v0.2.1 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ratatui v0.26.3 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling gorlock v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/main.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::{sync::mpsc, time}; [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 doc comment [INFO] [stdout] --> src/commands/parallel_processor.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | /// Global instance for parallel processing [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FormatInfo` [INFO] [stdout] --> src/commands/parallel_processor.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::app_state::{events::AppEvent, FormatInfo}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fast_fetch::*` [INFO] [stdout] --> src/commands/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use fast_fetch::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parallel_processor::*` [INFO] [stdout] --> src/commands/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use parallel_processor::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quit` and `UrlValidated` are never constructed [INFO] [stdout] --> src/app_state/events.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppEvent { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 7 | /// Quit the application [INFO] [stdout] 8 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | UrlValidated { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/app_state/events.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | Mouse(crossterm::event::MouseEvent), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InputEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 55 - Mouse(crossterm::event::MouseEvent), [INFO] [stdout] 55 + Mouse(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CachedEntry` is never constructed [INFO] [stdout] --> src/cache.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct CachedEntry { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheStore` is never constructed [INFO] [stdout] --> src/cache.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CacheStore { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, `set`, `invalidate`, and `clear` are never used [INFO] [stdout] --> src/cache.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl CacheStore { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 28 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn get(&self, url: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn set(&self, url: String, entry: CachedEntry) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub async fn invalidate(&self, url: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn clear(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cache.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl CachedEntry { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 103 | pub fn new(url: String, title: String, duration: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cache` is never used [INFO] [stdout] --> src/cache.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | pub async fn get_cache() -> &'static CacheStore { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DownloadController` is never constructed [INFO] [stdout] --> src/commands/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct DownloadController { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/commands/mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl DownloadController { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 28 | pub fn new(app_tx: mpsc::UnboundedSender) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn handle_action(&mut self, action: DownloadAction) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | async fn add_url(&mut self, url: String) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | async fn start_download(&mut self, _id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | async fn pause_download(&mut self, id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | async fn resume_download(&mut self, id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | async fn cancel_download(&mut self, id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | async fn remove_item(&mut self, id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | async fn fetch_formats(&mut self, id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_download_controller` is never used [INFO] [stdout] --> src/commands/mod.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | pub async fn run_download_controller( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_formats` is never used [INFO] [stdout] --> src/commands/yt_dlp.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn parse_formats(output: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_format_line` is never used [INFO] [stdout] --> src/commands/yt_dlp.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn parse_format_line(line: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_title_from_output` is never used [INFO] [stdout] --> src/commands/yt_dlp.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn extract_title_from_output(output: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shorten_url` is never used [INFO] [stdout] --> src/commands/yt_dlp.rs:205:4 [INFO] [stdout] | [INFO] [stdout] 205 | fn shorten_url(url: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_video_info` is never used [INFO] [stdout] --> src/commands/yt_dlp.rs:267:14 [INFO] [stdout] | [INFO] [stdout] 267 | pub async fn fetch_video_info(url: &str) -> Result<(String, Option, Option)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_url` is never used [INFO] [stdout] --> src/commands/yt_dlp.rs:382:14 [INFO] [stdout] | [INFO] [stdout] 382 | pub async fn validate_url(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_video_info_fast` is never used [INFO] [stdout] --> src/commands/fast_fetch.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn fetch_video_info_fast(url: &str) -> Result<(String, Option, Option)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_playlist_entries_fast` is never used [INFO] [stdout] --> src/commands/fast_fetch.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn fetch_playlist_entries_fast(url: &str) -> Result)>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_url_info_concurrent` is never used [INFO] [stdout] --> src/commands/fast_fetch.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | pub async fn fetch_url_info_concurrent(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UrlInfo` is never used [INFO] [stdout] --> src/commands/fast_fetch.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub enum UrlInfo { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParallelPlaylistProcessor` is never constructed [INFO] [stdout] --> src/commands/parallel_processor.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ParallelPlaylistProcessor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `process_playlist_formats`, and `prefetch_single` are never used [INFO] [stdout] --> src/commands/parallel_processor.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl ParallelPlaylistProcessor { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 19 | pub fn new(max_concurrency: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn process_playlist_formats( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub async fn prefetch_single( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `centered_rect` is never used [INFO] [stdout] --> src/ui/components.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn centered_rect(percent_x: u16, percent_y: u16, r: Rect) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_validation_color` is never used [INFO] [stdout] --> src/ui/components.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_validation_color(input: &str, is_valid: bool) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.59s [INFO] running `Command { std: "docker" "inspect" "21a2fb24f698a7c855765c11b09885860b9d2ab8a5cd8b29bab33f8ff8c79a66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "21a2fb24f698a7c855765c11b09885860b9d2ab8a5cd8b29bab33f8ff8c79a66" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling ratatui v0.26.3 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling gorlock v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/main.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::{sync::mpsc, time}; [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 doc comment [INFO] [stdout] --> src/commands/parallel_processor.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | /// Global instance for parallel processing [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FormatInfo` [INFO] [stdout] --> src/commands/parallel_processor.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::app_state::{events::AppEvent, FormatInfo}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fast_fetch::*` [INFO] [stdout] --> src/commands/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use fast_fetch::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parallel_processor::*` [INFO] [stdout] --> src/commands/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use parallel_processor::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quit` and `UrlValidated` are never constructed [INFO] [stdout] --> src/app_state/events.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppEvent { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 7 | /// Quit the application [INFO] [stdout] 8 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | UrlValidated { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/app_state/events.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | Mouse(crossterm::event::MouseEvent), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InputEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 55 - Mouse(crossterm::event::MouseEvent), [INFO] [stdout] 55 + Mouse(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CachedEntry` is never constructed [INFO] [stdout] --> src/cache.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct CachedEntry { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheStore` is never constructed [INFO] [stdout] --> src/cache.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CacheStore { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, `set`, `invalidate`, and `clear` are never used [INFO] [stdout] --> src/cache.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl CacheStore { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 28 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn get(&self, url: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn set(&self, url: String, entry: CachedEntry) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub async fn invalidate(&self, url: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn clear(&self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cache.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl CachedEntry { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 103 | pub fn new(url: String, title: String, duration: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cache` is never used [INFO] [stdout] --> src/cache.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | pub async fn get_cache() -> &'static CacheStore { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DownloadController` is never constructed [INFO] [stdout] --> src/commands/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct DownloadController { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/commands/mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl DownloadController { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 28 | pub fn new(app_tx: mpsc::UnboundedSender) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn handle_action(&mut self, action: DownloadAction) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | async fn add_url(&mut self, url: String) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | async fn start_download(&mut self, _id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | async fn pause_download(&mut self, id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | async fn resume_download(&mut self, id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | async fn cancel_download(&mut self, id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | async fn remove_item(&mut self, id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | async fn fetch_formats(&mut self, id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_download_controller` is never used [INFO] [stdout] --> src/commands/mod.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | pub async fn run_download_controller( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_formats` is never used [INFO] [stdout] --> src/commands/yt_dlp.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn parse_formats(output: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_format_line` is never used [INFO] [stdout] --> src/commands/yt_dlp.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn parse_format_line(line: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_title_from_output` is never used [INFO] [stdout] --> src/commands/yt_dlp.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn extract_title_from_output(output: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shorten_url` is never used [INFO] [stdout] --> src/commands/yt_dlp.rs:205:4 [INFO] [stdout] | [INFO] [stdout] 205 | fn shorten_url(url: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_video_info` is never used [INFO] [stdout] --> src/commands/yt_dlp.rs:267:14 [INFO] [stdout] | [INFO] [stdout] 267 | pub async fn fetch_video_info(url: &str) -> Result<(String, Option, Option)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_url` is never used [INFO] [stdout] --> src/commands/yt_dlp.rs:382:14 [INFO] [stdout] | [INFO] [stdout] 382 | pub async fn validate_url(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_video_info_fast` is never used [INFO] [stdout] --> src/commands/fast_fetch.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn fetch_video_info_fast(url: &str) -> Result<(String, Option, Option)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_playlist_entries_fast` is never used [INFO] [stdout] --> src/commands/fast_fetch.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn fetch_playlist_entries_fast(url: &str) -> Result)>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_url_info_concurrent` is never used [INFO] [stdout] --> src/commands/fast_fetch.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | pub async fn fetch_url_info_concurrent(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UrlInfo` is never used [INFO] [stdout] --> src/commands/fast_fetch.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub enum UrlInfo { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParallelPlaylistProcessor` is never constructed [INFO] [stdout] --> src/commands/parallel_processor.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ParallelPlaylistProcessor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `process_playlist_formats`, and `prefetch_single` are never used [INFO] [stdout] --> src/commands/parallel_processor.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl ParallelPlaylistProcessor { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 19 | pub fn new(max_concurrency: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn process_playlist_formats( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub async fn prefetch_single( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `centered_rect` is never used [INFO] [stdout] --> src/ui/components.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn centered_rect(percent_x: u16, percent_y: u16, r: Rect) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_validation_color` is never used [INFO] [stdout] --> src/ui/components.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_validation_color(input: &str, is_valid: bool) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.31s [INFO] running `Command { std: "docker" "inspect" "21a2fb24f698a7c855765c11b09885860b9d2ab8a5cd8b29bab33f8ff8c79a66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "21a2fb24f698a7c855765c11b09885860b9d2ab8a5cd8b29bab33f8ff8c79a66" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `time` [INFO] [stderr] --> src/main.rs:12:25 [INFO] [stderr] | [INFO] [stderr] 12 | use tokio::{sync::mpsc, time}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/commands/parallel_processor.rs:94:1 [INFO] [stderr] | [INFO] [stderr] 94 | /// Global instance for parallel processing [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `FormatInfo` [INFO] [stderr] --> src/commands/parallel_processor.rs:7:42 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::app_state::{events::AppEvent, FormatInfo}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `fast_fetch::*` [INFO] [stderr] --> src/commands/mod.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub use fast_fetch::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `parallel_processor::*` [INFO] [stderr] --> src/commands/mod.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub use parallel_processor::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Quit` and `UrlValidated` are never constructed [INFO] [stderr] --> src/app_state/events.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub enum AppEvent { [INFO] [stderr] | -------- variants in this enum [INFO] [stderr] 7 | /// Quit the application [INFO] [stderr] 8 | Quit, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | UrlValidated { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/app_state/events.rs:55:11 [INFO] [stderr] | [INFO] [stderr] 55 | Mouse(crossterm::event::MouseEvent), [INFO] [stderr] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `InputEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 55 - Mouse(crossterm::event::MouseEvent), [INFO] [stderr] 55 + Mouse(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: struct `CachedEntry` is never constructed [INFO] [stderr] --> src/cache.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct CachedEntry { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CacheStore` is never constructed [INFO] [stderr] --> src/cache.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct CacheStore { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `get`, `set`, `invalidate`, and `clear` are never used [INFO] [stderr] --> src/cache.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 27 | impl CacheStore { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 28 | pub fn new() -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | pub async fn get(&self, url: &str) -> Option { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 67 | pub async fn set(&self, url: String, entry: CachedEntry) -> Result<()> { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 87 | pub async fn invalidate(&self, url: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 93 | pub async fn clear(&self) -> Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/cache.rs:103:12 [INFO] [stderr] | [INFO] [stderr] 102 | impl CachedEntry { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 103 | pub fn new(url: String, title: String, duration: Option) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_cache` is never used [INFO] [stderr] --> src/cache.rs:123:14 [INFO] [stderr] | [INFO] [stderr] 123 | pub async fn get_cache() -> &'static CacheStore { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DownloadController` is never constructed [INFO] [stderr] --> src/commands/mod.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct DownloadController { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/commands/mod.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 27 | impl DownloadController { [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] 28 | pub fn new(app_tx: mpsc::UnboundedSender) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | pub async fn handle_action(&mut self, action: DownloadAction) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 62 | async fn add_url(&mut self, url: String) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 94 | async fn start_download(&mut self, _id: Uuid) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 101 | async fn pause_download(&mut self, id: Uuid) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 107 | async fn resume_download(&mut self, id: Uuid) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 112 | async fn cancel_download(&mut self, id: Uuid) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | async fn remove_item(&mut self, id: Uuid) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 130 | async fn fetch_formats(&mut self, id: Uuid) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `run_download_controller` is never used [INFO] [stderr] --> src/commands/mod.rs:138:14 [INFO] [stderr] | [INFO] [stderr] 138 | pub async fn run_download_controller( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_formats` is never used [INFO] [stderr] --> src/commands/yt_dlp.rs:135:4 [INFO] [stderr] | [INFO] [stderr] 135 | fn parse_formats(output: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_format_line` is never used [INFO] [stderr] --> src/commands/yt_dlp.rs:148:4 [INFO] [stderr] | [INFO] [stderr] 148 | fn parse_format_line(line: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `extract_title_from_output` is never used [INFO] [stderr] --> src/commands/yt_dlp.rs:189:4 [INFO] [stderr] | [INFO] [stderr] 189 | fn extract_title_from_output(output: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `shorten_url` is never used [INFO] [stderr] --> src/commands/yt_dlp.rs:205:4 [INFO] [stderr] | [INFO] [stderr] 205 | fn shorten_url(url: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `fetch_video_info` is never used [INFO] [stderr] --> src/commands/yt_dlp.rs:267:14 [INFO] [stderr] | [INFO] [stderr] 267 | pub async fn fetch_video_info(url: &str) -> Result<(String, Option, Option)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `validate_url` is never used [INFO] [stderr] --> src/commands/yt_dlp.rs:382:14 [INFO] [stderr] | [INFO] [stderr] 382 | pub async fn validate_url(url: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `fetch_video_info_fast` is never used [INFO] [stderr] --> src/commands/fast_fetch.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | pub async fn fetch_video_info_fast(url: &str) -> Result<(String, Option, Option)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `fetch_playlist_entries_fast` is never used [INFO] [stderr] --> src/commands/fast_fetch.rs:41:14 [INFO] [stderr] | [INFO] [stderr] 41 | pub async fn fetch_playlist_entries_fast(url: &str) -> Result)>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `fetch_url_info_concurrent` is never used [INFO] [stderr] --> src/commands/fast_fetch.rs:83:14 [INFO] [stderr] | [INFO] [stderr] 83 | pub async fn fetch_url_info_concurrent(url: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `UrlInfo` is never used [INFO] [stderr] --> src/commands/fast_fetch.rs:117:10 [INFO] [stderr] | [INFO] [stderr] 117 | pub enum UrlInfo { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ParallelPlaylistProcessor` is never constructed [INFO] [stderr] --> src/commands/parallel_processor.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct ParallelPlaylistProcessor { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `process_playlist_formats`, and `prefetch_single` are never used [INFO] [stderr] --> src/commands/parallel_processor.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl ParallelPlaylistProcessor { [INFO] [stderr] | ------------------------------ associated items in this implementation [INFO] [stderr] 19 | pub fn new(max_concurrency: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | pub async fn process_playlist_formats( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 69 | pub async fn prefetch_single( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `centered_rect` is never used [INFO] [stderr] --> src/ui/components.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn centered_rect(percent_x: u16, percent_y: u16, r: Rect) -> Rect { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_validation_color` is never used [INFO] [stderr] --> src/ui/components.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn get_validation_color(input: &str, is_valid: bool) -> Color { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `gorlock` (bin "gorlock" test) generated 29 warnings (run `cargo fix --bin "gorlock" -p gorlock --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gorlock-4330e64bf44f1349) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test commands::yt_dlp::tests::test_progress_parsing ... ok [INFO] [stdout] test commands::yt_dlp::tests::test_url_validation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "21a2fb24f698a7c855765c11b09885860b9d2ab8a5cd8b29bab33f8ff8c79a66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21a2fb24f698a7c855765c11b09885860b9d2ab8a5cd8b29bab33f8ff8c79a66", kill_on_drop: false }` [INFO] [stdout] 21a2fb24f698a7c855765c11b09885860b9d2ab8a5cd8b29bab33f8ff8c79a66