[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 try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2Yuri-afk%2Fgorlock" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/2Yuri-afk/gorlock on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d33b204ceaef0201a463d89877af420360b5fc576f8bee0d6519db9d18ad26b [INFO] running `Command { std: "docker" "start" "-a" "8d33b204ceaef0201a463d89877af420360b5fc576f8bee0d6519db9d18ad26b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d33b204ceaef0201a463d89877af420360b5fc576f8bee0d6519db9d18ad26b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d33b204ceaef0201a463d89877af420360b5fc576f8bee0d6519db9d18ad26b", kill_on_drop: false }` [INFO] [stdout] 8d33b204ceaef0201a463d89877af420360b5fc576f8bee0d6519db9d18ad26b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1751efb9bf117c617ef37e65756f09cf4709dd716355c412f5cffe75e1310afc [INFO] running `Command { std: "docker" "start" "-a" "1751efb9bf117c617ef37e65756f09cf4709dd716355c412f5cffe75e1310afc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling stability v0.2.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling ratatui v0.26.3 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling arc-swap v1.7.1 [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)]` 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)]` 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)]` 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 2m 42s [INFO] running `Command { std: "docker" "inspect" "1751efb9bf117c617ef37e65756f09cf4709dd716355c412f5cffe75e1310afc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1751efb9bf117c617ef37e65756f09cf4709dd716355c412f5cffe75e1310afc", kill_on_drop: false }` [INFO] [stdout] 1751efb9bf117c617ef37e65756f09cf4709dd716355c412f5cffe75e1310afc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8167e269ed20d5d31a800cb69bd1586d3f6153abf3172a993c32a239ad2dc132 [INFO] running `Command { std: "docker" "start" "-a" "8167e269ed20d5d31a800cb69bd1586d3f6153abf3172a993c32a239ad2dc132", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling bstr v1.12.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 walkdir v2.5.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling ratatui v0.26.3 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling uuid v1.18.0 [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)]` 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)]` 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)]` 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 1m 13s [INFO] running `Command { std: "docker" "inspect" "8167e269ed20d5d31a800cb69bd1586d3f6153abf3172a993c32a239ad2dc132", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8167e269ed20d5d31a800cb69bd1586d3f6153abf3172a993c32a239ad2dc132", kill_on_drop: false }` [INFO] [stdout] 8167e269ed20d5d31a800cb69bd1586d3f6153abf3172a993c32a239ad2dc132 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7428e8eeeb5b9918563c7853d1d3ebe07dbdb138ad4aa15149189c2a0484ab4e [INFO] running `Command { std: "docker" "start" "-a" "7428e8eeeb5b9918563c7853d1d3ebe07dbdb138ad4aa15149189c2a0484ab4e", 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)]` 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)]` 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)]` 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" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gorlock-b2a0d0b389827e6b) [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.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7428e8eeeb5b9918563c7853d1d3ebe07dbdb138ad4aa15149189c2a0484ab4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7428e8eeeb5b9918563c7853d1d3ebe07dbdb138ad4aa15149189c2a0484ab4e", kill_on_drop: false }` [INFO] [stdout] 7428e8eeeb5b9918563c7853d1d3ebe07dbdb138ad4aa15149189c2a0484ab4e