[INFO] cloning repository https://github.com/epoxyteam/cli-video-downloader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/epoxyteam/cli-video-downloader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepoxyteam%2Fcli-video-downloader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepoxyteam%2Fcli-video-downloader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ca5f4a19e39f2e24211d22e68014ca432615b01 [INFO] testing epoxyteam/cli-video-downloader against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepoxyteam%2Fcli-video-downloader" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/epoxyteam/cli-video-downloader on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/epoxyteam/cli-video-downloader [INFO] finished tweaking git repo https://github.com/epoxyteam/cli-video-downloader [INFO] tweaked toml for git repo https://github.com/epoxyteam/cli-video-downloader written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/epoxyteam/cli-video-downloader 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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e59a759ef4bf0326cf006a79d33398b8aa336b21294c591a62a0a5a6ac72b20e [INFO] running `Command { std: "docker" "start" "-a" "e59a759ef4bf0326cf006a79d33398b8aa336b21294c591a62a0a5a6ac72b20e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e59a759ef4bf0326cf006a79d33398b8aa336b21294c591a62a0a5a6ac72b20e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e59a759ef4bf0326cf006a79d33398b8aa336b21294c591a62a0a5a6ac72b20e", kill_on_drop: false }` [INFO] [stdout] e59a759ef4bf0326cf006a79d33398b8aa336b21294c591a62a0a5a6ac72b20e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 894483472a02b475989a5537fa6c31f206b9e058c1e10ae457709de9d07a1075 [INFO] running `Command { std: "docker" "start" "-a" "894483472a02b475989a5537fa6c31f206b9e058c1e10ae457709de9d07a1075", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling winnow v0.7.6 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling clap_builder v4.5.36 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling jiff v0.2.8 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling ego-tree v0.6.3 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling sanitize-filename v0.5.0 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling clap v4.5.36 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling async-compression v0.4.12 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling scraper v0.18.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling cookie_store v0.20.0 [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 video-dl v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sanitize_filename` [INFO] [stdout] --> src/commands/download_merge.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sanitize_filename; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/utils/dependency_check.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::StreamExt` [INFO] [stdout] --> src/platform/reddit.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_util::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `video_url` [INFO] [stdout] --> src/platform/reddit.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let video_url = post["media"]["reddit_video"]["fallback_url"] [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_video_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format_id` [INFO] [stdout] --> src/platform/reddit.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | format_id: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/platform/reddit.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut response = client [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `platform_err` is never used [INFO] [stdout] --> src/error.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn platform_err>(msg: S) -> Error { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `command_err` is never used [INFO] [stdout] --> src/error.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn command_err, S2: Into>(command: S1, reason: S2) -> Error { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `video_id` is never read [INFO] [stdout] --> src/platform/youtube.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct YouTubeMetadata { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | video_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YouTubeMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "894483472a02b475989a5537fa6c31f206b9e058c1e10ae457709de9d07a1075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "894483472a02b475989a5537fa6c31f206b9e058c1e10ae457709de9d07a1075", kill_on_drop: false }` [INFO] [stdout] 894483472a02b475989a5537fa6c31f206b9e058c1e10ae457709de9d07a1075 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2217cb1a07bc8baea1d7e1eedfcf024c8ef313bdca6491989b9ace0557f3a8b0 [INFO] running `Command { std: "docker" "start" "-a" "2217cb1a07bc8baea1d7e1eedfcf024c8ef313bdca6491989b9ace0557f3a8b0", kill_on_drop: false }` [INFO] [stderr] Compiling video-dl v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sanitize_filename` [INFO] [stdout] --> src/commands/download_merge.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sanitize_filename; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/utils/dependency_check.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::StreamExt` [INFO] [stdout] --> src/platform/reddit.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_util::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `video_url` [INFO] [stdout] --> src/platform/reddit.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let video_url = post["media"]["reddit_video"]["fallback_url"] [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_video_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format_id` [INFO] [stdout] --> src/platform/reddit.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | format_id: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/platform/reddit.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut response = client [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `platform_err` is never used [INFO] [stdout] --> src/error.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn platform_err>(msg: S) -> Error { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `command_err` is never used [INFO] [stdout] --> src/error.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn command_err, S2: Into>(command: S1, reason: S2) -> Error { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `video_id` is never read [INFO] [stdout] --> src/platform/youtube.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct YouTubeMetadata { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | video_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YouTubeMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sanitize_filename` [INFO] [stdout] --> src/commands/download_merge.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sanitize_filename; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/utils/dependency_check.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::StreamExt` [INFO] [stdout] --> src/platform/reddit.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_util::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `video_url` [INFO] [stdout] --> src/platform/reddit.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let video_url = post["media"]["reddit_video"]["fallback_url"] [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_video_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format_id` [INFO] [stdout] --> src/platform/reddit.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | format_id: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/platform/reddit.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut response = client [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `platform_err` is never used [INFO] [stdout] --> src/error.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn platform_err>(msg: S) -> Error { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `command_err` is never used [INFO] [stdout] --> src/error.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn command_err, S2: Into>(command: S1, reason: S2) -> Error { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `video_id` is never read [INFO] [stdout] --> src/platform/youtube.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct YouTubeMetadata { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | video_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YouTubeMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.93s [INFO] running `Command { std: "docker" "inspect" "2217cb1a07bc8baea1d7e1eedfcf024c8ef313bdca6491989b9ace0557f3a8b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2217cb1a07bc8baea1d7e1eedfcf024c8ef313bdca6491989b9ace0557f3a8b0", kill_on_drop: false }` [INFO] [stdout] 2217cb1a07bc8baea1d7e1eedfcf024c8ef313bdca6491989b9ace0557f3a8b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b169780efeb73238f1df9b0c7e42e3445b78ddadaac336eaed1ea4ace0061f8f [INFO] running `Command { std: "docker" "start" "-a" "b169780efeb73238f1df9b0c7e42e3445b78ddadaac336eaed1ea4ace0061f8f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `sanitize_filename` [INFO] [stderr] --> src/commands/download_merge.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use sanitize_filename; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/utils/dependency_check.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures_util::StreamExt` [INFO] [stderr] --> src/platform/reddit.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use futures_util::StreamExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `video_url` [INFO] [stderr] --> src/platform/reddit.rs:58:13 [INFO] [stderr] | [INFO] [stderr] 58 | let video_url = post["media"]["reddit_video"]["fallback_url"] [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_video_url` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `format_id` [INFO] [stderr] --> src/platform/reddit.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | format_id: &str, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format_id` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/platform/reddit.rs:96:13 [INFO] [stderr] | [INFO] [stderr] 96 | let mut response = client [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `platform_err` is never used [INFO] [stderr] --> src/error.rs:54:8 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn platform_err>(msg: S) -> Error { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `command_err` is never used [INFO] [stderr] --> src/error.rs:59:8 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn command_err, S2: Into>(command: S1, reason: S2) -> Error { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `video_id` is never read [INFO] [stderr] --> src/platform/youtube.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 17 | struct YouTubeMetadata { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 22 | video_id: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `YouTubeMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `video-dl` (lib) generated 9 warnings (run `cargo fix --lib -p video-dl` to apply 3 suggestions) [INFO] [stderr] warning: `video-dl` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/video_dl-80127a247bd10475) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test platform::reddit::tests::test_reddit_url_detection ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/video_dl-09493b335edad718) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests video_dl [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b169780efeb73238f1df9b0c7e42e3445b78ddadaac336eaed1ea4ace0061f8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b169780efeb73238f1df9b0c7e42e3445b78ddadaac336eaed1ea4ace0061f8f", kill_on_drop: false }` [INFO] [stdout] b169780efeb73238f1df9b0c7e42e3445b78ddadaac336eaed1ea4ace0061f8f