[INFO] cloning repository https://github.com/itsakeyfut/ascii-term [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itsakeyfut/ascii-term" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsakeyfut%2Fascii-term", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsakeyfut%2Fascii-term'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 418dd7ca9f57bcb7603bbf84c99ca863feb3d9a1 [INFO] checking itsakeyfut/ascii-term against master#ba7e63b63871a429533c189adbfb1d9a6337e000 for pr-135331-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsakeyfut%2Fascii-term" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 49% (25/51) Updating files: 50% (26/51) Updating files: 52% (27/51) Updating files: 54% (28/51) Updating files: 56% (29/51) Updating files: 58% (30/51) Updating files: 60% (31/51) Updating files: 62% (32/51) Updating files: 64% (33/51) Updating files: 66% (34/51) Updating files: 68% (35/51) Updating files: 70% (36/51) Updating files: 72% (37/51) Updating files: 74% (38/51) Updating files: 76% (39/51) Updating files: 78% (40/51) Updating files: 80% (41/51) Updating files: 82% (42/51) Updating files: 84% (43/51) Updating files: 86% (44/51) Updating files: 88% (45/51) Updating files: 90% (46/51) Updating files: 92% (47/51) Updating files: 94% (48/51) Updating files: 96% (49/51) Updating files: 98% (50/51) Updating files: 100% (51/51) Updating files: 100% (51/51), done. [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/itsakeyfut/ascii-term [INFO] finished tweaking git repo https://github.com/itsakeyfut/ascii-term [INFO] tweaked toml for git repo https://github.com/itsakeyfut/ascii-term written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/itsakeyfut/ascii-term on toolchain ba7e63b63871a429533c189adbfb1d9a6337e000 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba7e63b63871a429533c189adbfb1d9a6337e000" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba7e63b63871a429533c189adbfb1d9a6337e000" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 372 packages to latest Rust 1.90.0-nightly compatible versions [INFO] [stderr] Adding opencv v0.94.4 (available: v0.95.1) [INFO] [stderr] Adding rodio v0.20.1 (available: v0.21.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba7e63b63871a429533c189adbfb1d9a6337e000" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clang v2.0.0 [INFO] [stderr] Downloaded ffmpeg-sys-next v7.1.3 [INFO] [stderr] Downloaded ffmpeg-next v7.1.0 [INFO] [stderr] Downloaded fast_image_resize v5.2.1 [INFO] [stderr] Downloaded zune-jpeg v0.4.20 [INFO] [stderr] Downloaded opencv-binding-generator v0.96.1 [INFO] [stderr] Downloaded youtube_dl v0.10.0 [INFO] [stderr] Downloaded opencv v0.94.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+ba7e63b63871a429533c189adbfb1d9a6337e000" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a80a48d00feb28e58c99d6f3b62dca64aae0f8eb8f4bc1bd43a6b508e2b36238 [INFO] running `Command { std: "docker" "start" "-a" "a80a48d00feb28e58c99d6f3b62dca64aae0f8eb8f4bc1bd43a6b508e2b36238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a80a48d00feb28e58c99d6f3b62dca64aae0f8eb8f4bc1bd43a6b508e2b36238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a80a48d00feb28e58c99d6f3b62dca64aae0f8eb8f4bc1bd43a6b508e2b36238", kill_on_drop: false }` [INFO] [stdout] a80a48d00feb28e58c99d6f3b62dca64aae0f8eb8f4bc1bd43a6b508e2b36238 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+ba7e63b63871a429533c189adbfb1d9a6337e000" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e83f47f58950710d47f6c65fd5b3a056f2aeedcc289e19cf480854ab0681649 [INFO] running `Command { std: "docker" "start" "-a" "8e83f47f58950710d47f6c65fd5b3a056f2aeedcc289e19cf480854ab0681649", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking symphonia-core v0.5.4 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Checking symphonia-metadata v0.5.4 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Compiling clang v2.0.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking avif-serialize v0.8.5 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Compiling ffmpeg-next v7.1.0 [INFO] [stderr] Checking image-webp v0.2.3 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking zune-jpeg v0.4.20 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking symphonia v0.5.4 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Compiling media-core v0.1.0 (/opt/rustwide/workdir/media-core) [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking rodio v0.20.1 [INFO] [stderr] Checking clap_builder v4.5.42 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking tokio v1.47.0 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling opencv-binding-generator v0.96.1 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking av1-grain v0.2.4 [INFO] [stderr] Checking fast_image_resize v5.2.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking clap v4.5.42 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling opencv v0.94.4 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Compiling ffmpeg-sys-next v7.1.3 [INFO] [stderr] Checking ravif v0.11.20 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Checking youtube_dl v0.10.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking downloader v0.1.0 (/opt/rustwide/workdir/downloader) [INFO] [stdout] warning: unused variable: `browser` [INFO] [stdout] --> downloader/src/youtube.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn download_video(url: &str, browser: &str) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_browser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `browser` [INFO] [stdout] --> downloader/src/youtube.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn download_video(url: &str, browser: &str) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_browser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UrlValidator` is never constructed [INFO] [stdout] --> downloader/src/utils.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct UrlValidator; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `is_valid_url`, `is_http_url`, `is_youtube_url`, `is_streaming_site`, and `is_direct_media_url` are never used [INFO] [stdout] --> downloader/src/utils.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl UrlValidator { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 14 | /// Check if URL is valid [INFO] [stdout] 15 | pub fn is_valid_url(url: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn is_http_url(url: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn is_youtube_url(url: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn is_streaming_site(url: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn is_direct_media_url(url: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileDownloader` is never constructed [INFO] [stdout] --> downloader/src/utils.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct FileDownloader; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `download_to_temp`, `download_to_path`, `download_with_progress`, and `get_file_size` are never used [INFO] [stdout] --> downloader/src/utils.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 90 | impl FileDownloader { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 91 | /// Download file from URL to temporary location [INFO] [stdout] 92 | pub async fn download_to_temp(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub async fn download_to_path>(url: &str, path: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub async fn download_with_progress( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub async fn get_file_size(url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileNameGenerator` is never constructed [INFO] [stdout] --> downloader/src/utils.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | pub struct FileNameGenerator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `generate_from_url`, `sanitize_filename`, and `generate_unique` are never used [INFO] [stdout] --> downloader/src/utils.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 241 | impl FileNameGenerator { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 242 | /// Generate appropriate filename from URL [INFO] [stdout] 243 | pub fn generate_from_url(url: &str, default_extension: Option<&str>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn sanitize_filename(filename: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn generate_unique>(base_path: P, filename: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MediaTypeDetector` is never constructed [INFO] [stdout] --> downloader/src/utils.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct MediaTypeDetector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `detect_from_url`, `detect_from_extension`, and `classify_extension` are never used [INFO] [stdout] --> downloader/src/utils.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 306 | impl MediaTypeDetector { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 307 | /// Detect media type from URL [INFO] [stdout] 308 | pub fn detect_from_url(url: &str) -> MediaType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | fn detect_from_extension(url: &str) -> MediaType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | fn classify_extension(ext: &str) -> MediaType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MediaType` is never used [INFO] [stdout] --> downloader/src/utils.rs:359:10 [INFO] [stdout] | [INFO] [stdout] 359 | pub enum MediaType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_video_info` is never used [INFO] [stdout] --> downloader/src/youtube.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn get_video_info(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_formats` is never used [INFO] [stdout] --> downloader/src/youtube.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | pub async fn list_formats(url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VideoInfo` is never constructed [INFO] [stdout] --> downloader/src/youtube.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct VideoInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FormatInfo` is never constructed [INFO] [stdout] --> downloader/src/youtube.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct FormatInfo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileDownloader` is never constructed [INFO] [stdout] --> downloader/src/utils.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct FileDownloader; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `download_to_temp`, `download_to_path`, `download_with_progress`, and `get_file_size` are never used [INFO] [stdout] --> downloader/src/utils.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 90 | impl FileDownloader { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 91 | /// Download file from URL to temporary location [INFO] [stdout] 92 | pub async fn download_to_temp(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub async fn download_to_path>(url: &str, path: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub async fn download_with_progress( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub async fn get_file_size(url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `generate_unique` is never used [INFO] [stdout] --> downloader/src/utils.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 241 | impl FileNameGenerator { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn generate_unique>(base_path: P, filename: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_video_info` is never used [INFO] [stdout] --> downloader/src/youtube.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn get_video_info(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_formats` is never used [INFO] [stdout] --> downloader/src/youtube.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | pub async fn list_formats(url: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VideoInfo` is never constructed [INFO] [stdout] --> downloader/src/youtube.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct VideoInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FormatInfo` is never constructed [INFO] [stdout] --> downloader/src/youtube.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct FormatInfo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> media-core/src/audio/decoder.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 125 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 126 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> media-core/src/audio/decoder.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 125 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 126 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_rate` [INFO] [stdout] --> media-core/src/audio/decoder.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | sample_rate: Option, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_rate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channels` [INFO] [stdout] --> media-core/src/audio/decoder.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | channels: Option, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_rate` [INFO] [stdout] --> media-core/src/audio/decoder.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | sample_rate: Option, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_rate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channels` [INFO] [stdout] --> media-core/src/audio/decoder.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | channels: Option, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input_format` is never read [INFO] [stdout] --> media-core/src/audio/processor.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 166 | struct SimpleResampler { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 169 | input_format: AudioFormat, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> media-core/src/media.rs:152:25 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn video_stream(&self) -> Option { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 152 | pub fn video_stream(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> media-core/src/media.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn audio_stream(&self) -> Option { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | pub fn audio_stream(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> media-core/src/media.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn read_packet(&mut self) -> Result<(ffmpeg::Stream, ffmpeg::Packet)> { [INFO] [stdout] | ^^^^^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 176 | pub fn read_packet(&mut self) -> Result<(ffmpeg::Stream<'_>, ffmpeg::Packet)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input_format` is never read [INFO] [stdout] --> media-core/src/audio/processor.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 166 | struct SimpleResampler { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 169 | input_format: AudioFormat, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> media-core/src/media.rs:152:25 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn video_stream(&self) -> Option { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 152 | pub fn video_stream(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> media-core/src/media.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn audio_stream(&self) -> Option { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | pub fn audio_stream(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> media-core/src/media.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn read_packet(&mut self) -> Result<(ffmpeg::Stream, ffmpeg::Packet)> { [INFO] [stdout] | ^^^^^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 176 | pub fn read_packet(&mut self) -> Result<(ffmpeg::Stream<'_>, ffmpeg::Packet)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking terminal-player v0.1.0 (/opt/rustwide/workdir/terminal-player) [INFO] [stdout] warning: value assigned to `video_finished` is never read [INFO] [stdout] --> terminal-player/src/player.rs:233:33 [INFO] [stdout] | [INFO] [stdout] 233 | ... video_finished = true; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `video_finished` is never read [INFO] [stdout] --> terminal-player/src/player.rs:233:33 [INFO] [stdout] | [INFO] [stdout] 233 | ... video_finished = true; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sample_rate` and `channels` are never read [INFO] [stdout] --> terminal-player/src/audio.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct FFmpegAudioStream { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | sample_rate: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | channels: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `audio_sender`, `is_finished`, and `channels` are never read [INFO] [stdout] --> terminal-player/src/audio.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 268 | pub struct AudioPlayer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 273 | audio_sender: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | is_finished: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 277 | sample_rate: u32, [INFO] [stdout] 278 | channels: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `volume`, `sample_rate`, and `channels` are never used [INFO] [stdout] --> terminal-player/src/audio.rs:402:12 [INFO] [stdout] | [INFO] [stdout] 281 | impl AudioPlayer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn volume(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | pub fn sample_rate(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | pub fn channels(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `char_map_count` is never used [INFO] [stdout] --> terminal-player/src/char_maps.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn char_map_count() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Seek`, `SetVolume`, `Mute`, and `Unmute` are never constructed [INFO] [stdout] --> terminal-player/src/player.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum PlayerCommand { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 47 | Seek(Duration), [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | SetVolume(f32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 49 | Mute, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | Unmute, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerCommand` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PlayerState` is never used [INFO] [stdout] --> terminal-player/src/player.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum PlayerState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `command_sender` is never used [INFO] [stdout] --> terminal-player/src/player.rs:506:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 506 | pub fn command_sender(&self) -> Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> terminal-player/src/renderer.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct RenderedFrame { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | pub width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | pub height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenderedFrame` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_config` is never used [INFO] [stdout] --> terminal-player/src/renderer.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl AsciiRenderer { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn update_config(&mut self, config: RenderConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sample_rate` and `channels` are never read [INFO] [stdout] --> terminal-player/src/audio.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct FFmpegAudioStream { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | sample_rate: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | channels: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `audio_sender`, `is_finished`, and `channels` are never read [INFO] [stdout] --> terminal-player/src/audio.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 268 | pub struct AudioPlayer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 273 | audio_sender: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | is_finished: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 277 | sample_rate: u32, [INFO] [stdout] 278 | channels: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `volume`, `sample_rate`, and `channels` are never used [INFO] [stdout] --> terminal-player/src/audio.rs:402:12 [INFO] [stdout] | [INFO] [stdout] 281 | impl AudioPlayer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn volume(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | pub fn sample_rate(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | pub fn channels(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `char_map_count` is never used [INFO] [stdout] --> terminal-player/src/char_maps.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn char_map_count() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Seek`, `SetVolume`, `Mute`, and `Unmute` are never constructed [INFO] [stdout] --> terminal-player/src/player.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum PlayerCommand { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 47 | Seek(Duration), [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | SetVolume(f32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 49 | Mute, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | Unmute, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerCommand` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PlayerState` is never used [INFO] [stdout] --> terminal-player/src/player.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum PlayerState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `command_sender` is never used [INFO] [stdout] --> terminal-player/src/player.rs:506:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 506 | pub fn command_sender(&self) -> Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_config` is never used [INFO] [stdout] --> terminal-player/src/renderer.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl AsciiRenderer { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn update_config(&mut self, config: RenderConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 48s [INFO] running `Command { std: "docker" "inspect" "8e83f47f58950710d47f6c65fd5b3a056f2aeedcc289e19cf480854ab0681649", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e83f47f58950710d47f6c65fd5b3a056f2aeedcc289e19cf480854ab0681649", kill_on_drop: false }` [INFO] [stdout] 8e83f47f58950710d47f6c65fd5b3a056f2aeedcc289e19cf480854ab0681649