[INFO] cloning repository https://github.com/hasezoey/yt-downloader-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hasezoey/yt-downloader-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhasezoey%2Fyt-downloader-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhasezoey%2Fyt-downloader-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09b5c0890f4da57488be8309db4b2d4751366d2a [INFO] testing hasezoey/yt-downloader-rust against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhasezoey%2Fyt-downloader-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hasezoey/yt-downloader-rust [INFO] finished tweaking git repo https://github.com/hasezoey/yt-downloader-rust [INFO] tweaked toml for git repo https://github.com/hasezoey/yt-downloader-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hasezoey/yt-downloader-rust on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hasezoey/yt-downloader-rust 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-threading v0.1.0 [INFO] [stderr] Downloaded diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Downloaded ctrlc v3.4.7 [INFO] [stderr] Downloaded migrations_macros v2.2.0 [INFO] [stderr] Downloaded duct v1.0.0 [INFO] [stderr] Downloaded diesel_migrations v2.2.0 [INFO] [stderr] Downloaded indicatif v0.17.11 [INFO] [stderr] Downloaded portable-atomic v1.11.1 [INFO] [stderr] Downloaded objc2-core-foundation v0.3.1 [INFO] [stderr] Downloaded diesel_derives v2.2.5 [INFO] [stderr] Downloaded lofty v0.22.4 [INFO] [stderr] Downloaded sysinfo v0.35.2 [INFO] [stderr] Downloaded objc2-io-kit v0.3.1 [INFO] [stderr] Downloaded os_pipe v1.2.2 [INFO] [stderr] Downloaded flexi_logger v0.29.8 [INFO] [stderr] Downloaded shared_thread v0.1.0 [INFO] [stderr] Downloaded lofty_attr v0.11.1 [INFO] [stderr] Downloaded ogg_pager v0.7.0 [INFO] [stderr] Downloaded diesel v2.2.10 [INFO] [stderr] Downloaded path-absolutize v3.1.1 [INFO] [stderr] Downloaded nix v0.30.1 [INFO] [stderr] Downloaded windows-numerics v0.2.0 [INFO] [stderr] Downloaded nu-ansi-term v0.50.1 [INFO] [stderr] Downloaded number_prefix v0.4.0 [INFO] [stderr] Downloaded is-terminal v0.4.16 [INFO] [stderr] Downloaded dsl_auto_type v0.1.3 [INFO] [stderr] Downloaded migrations_internals v2.2.0 [INFO] [stderr] Downloaded path-dedot v3.1.1 [INFO] [stderr] Downloaded serde_test v1.0.177 [INFO] [stderr] Downloaded windows-collections v0.2.0 [INFO] [stderr] Downloaded windows-future v0.2.1 [INFO] [stderr] Downloaded windows-link v0.1.2 [INFO] [stderr] Downloaded windows-sys v0.60.1 [INFO] [stderr] Downloaded libsqlite3-sys v0.33.0 [INFO] [stderr] Downloaded shared_child v1.0.2 [INFO] [stderr] Downloaded windows-targets v0.53.1 [INFO] [stderr] Downloaded windows v0.61.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4de22f5f9c581b81d880ad51b5367537bacaf7042f00fe72da2f165af35f46f1 [INFO] running `Command { std: "docker" "start" "-a" "4de22f5f9c581b81d880ad51b5367537bacaf7042f00fe72da2f165af35f46f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4de22f5f9c581b81d880ad51b5367537bacaf7042f00fe72da2f165af35f46f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4de22f5f9c581b81d880ad51b5367537bacaf7042f00fe72da2f165af35f46f1", kill_on_drop: false }` [INFO] [stdout] 4de22f5f9c581b81d880ad51b5367537bacaf7042f00fe72da2f165af35f46f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 314f6efc0585e3dfa8d3ed168df5359d8e82f1f0b9400f412e1988f03ad414e9 [INFO] running `Command { std: "docker" "start" "-a" "314f6efc0585e3dfa8d3ed168df5359d8e82f1f0b9400f412e1988f03ad414e9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling syn v2.0.102 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling ogg_pager v0.7.0 [INFO] [stderr] Compiling path-dedot v3.1.1 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling shared_thread v0.1.0 [INFO] [stderr] Compiling path-absolutize v3.1.1 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling ytdlr v0.12.0 (/opt/rustwide/workdir/crates/ytdlr) [INFO] [stderr] Compiling libsqlite3-sys v0.33.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling os_pipe v1.2.2 [INFO] [stderr] Compiling shared_child v1.0.2 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling sysinfo v0.35.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling terminal_size v0.4.2 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling duct v1.0.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ctrlc v3.4.7 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling lofty_attr v0.11.1 [INFO] [stderr] Compiling lofty v0.22.4 [INFO] [stderr] Compiling flexi_logger v0.29.8 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling clap_complete v4.5.54 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling diesel_derives v2.2.5 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling diesel v2.2.10 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling migrations_internals v2.2.0 [INFO] [stderr] Compiling migrations_macros v2.2.0 [INFO] [stderr] Compiling diesel_migrations v2.2.0 [INFO] [stderr] Compiling libytdlr v0.12.0 (/opt/rustwide/workdir/crates/libytdlr) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/libytdlr/src/main/download/download_options.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn get_audio_format(&self) -> FormatArgument; [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] 57 | fn get_audio_format(&self) -> FormatArgument<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/libytdlr/src/main/download/download_options.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | fn get_video_format(&self) -> FormatArgument; [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] 62 | fn get_video_format(&self) -> FormatArgument<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/libytdlr/src/main/sql_utils.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | archive_path: &Path, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 60 | _pgcb: S, [INFO] [stdout] 61 | ) -> Result<(Cow, SqliteConnection), crate::Error> { [INFO] [stdout] | ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 61 | ) -> Result<(Cow<'_, Path>, SqliteConnection), crate::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/ytdlr/src/state.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | fn get_audio_format(&self) -> FormatArgument { [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] 197 | fn get_audio_format(&self) -> FormatArgument<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/ytdlr/src/state.rs:201:22 [INFO] [stdout] | [INFO] [stdout] 201 | fn get_video_format(&self) -> FormatArgument { [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] 201 | fn get_video_format(&self) -> FormatArgument<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/ytdlr/src/utils.rs:471:31 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn msg_to_cluster(msg: &M) -> Vec [INFO] [stdout] | ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 471 | pub fn msg_to_cluster(msg: &M) -> Vec> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/ytdlr/src/utils.rs:505:39 [INFO] [stdout] | [INFO] [stdout] 505 | pub fn truncate_to_size_bytes(msg: &M, to_size_bytes: usize, replace_with_dot: bool) -> Cow [INFO] [stdout] | ^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 505 | pub fn truncate_to_size_bytes(msg: &M, to_size_bytes: usize, replace_with_dot: bool) -> Cow<'_, str> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/ytdlr/src/utils.rs:560:45 [INFO] [stdout] | [INFO] [stdout] 560 | pub fn truncate_message_display_pos(msg: &M, to_display_pos: usize, replace_with_dot: bool) -> Cow [INFO] [stdout] | ^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 560 | pub fn truncate_message_display_pos(msg: &M, to_display_pos: usize, replace_with_dot: bool) -> Cow<'_, str> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.24s [INFO] running `Command { std: "docker" "inspect" "314f6efc0585e3dfa8d3ed168df5359d8e82f1f0b9400f412e1988f03ad414e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "314f6efc0585e3dfa8d3ed168df5359d8e82f1f0b9400f412e1988f03ad414e9", kill_on_drop: false }` [INFO] [stdout] 314f6efc0585e3dfa8d3ed168df5359d8e82f1f0b9400f412e1988f03ad414e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c941eddf39f9603df7bd4d070828fa4c3ec9c0680f990271b52d36910e205469 [INFO] running `Command { std: "docker" "start" "-a" "c941eddf39f9603df7bd4d070828fa4c3ec9c0680f990271b52d36910e205469", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling serde_test v1.0.177 [INFO] [stderr] Compiling ytdlr v0.12.0 (/opt/rustwide/workdir/crates/ytdlr) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/libytdlr/src/main/download/download_options.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn get_audio_format(&self) -> FormatArgument; [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] 57 | fn get_audio_format(&self) -> FormatArgument<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/libytdlr/src/main/download/download_options.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | fn get_video_format(&self) -> FormatArgument; [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] 62 | fn get_video_format(&self) -> FormatArgument<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/libytdlr/src/main/sql_utils.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | archive_path: &Path, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 60 | _pgcb: S, [INFO] [stdout] 61 | ) -> Result<(Cow, SqliteConnection), crate::Error> { [INFO] [stdout] | ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 61 | ) -> Result<(Cow<'_, Path>, SqliteConnection), crate::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling terminal_size v0.4.2 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling libytdlr v0.12.0 (/opt/rustwide/workdir/crates/libytdlr) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/libytdlr/examples/simple.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | fn get_audio_format(&self) -> libytdlr::main::download::FormatArgument { [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] 63 | fn get_audio_format(&self) -> libytdlr::main::download::FormatArgument<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/libytdlr/examples/simple.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | fn get_video_format(&self) -> libytdlr::main::download::FormatArgument { [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] 67 | fn get_video_format(&self) -> libytdlr::main::download::FormatArgument<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/libytdlr/src/main/download/download_options.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn get_audio_format(&self) -> FormatArgument; [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] 57 | fn get_audio_format(&self) -> FormatArgument<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/libytdlr/src/main/download/download_options.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | fn get_video_format(&self) -> FormatArgument; [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] 62 | fn get_video_format(&self) -> FormatArgument<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/libytdlr/src/main/download/mod.rs:504:23 [INFO] [stdout] | [INFO] [stdout] 504 | fn get_audio_format(&self) -> FormatArgument { [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] 504 | fn get_audio_format(&self) -> FormatArgument<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/libytdlr/src/main/download/mod.rs:508:23 [INFO] [stdout] | [INFO] [stdout] 508 | fn get_video_format(&self) -> FormatArgument { [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] 508 | fn get_video_format(&self) -> FormatArgument<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/libytdlr/src/main/sql_utils.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | archive_path: &Path, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 60 | _pgcb: S, [INFO] [stdout] 61 | ) -> Result<(Cow, SqliteConnection), crate::Error> { [INFO] [stdout] | ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 61 | ) -> Result<(Cow<'_, Path>, SqliteConnection), crate::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling clap_complete v4.5.54 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/ytdlr/src/state.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | fn get_audio_format(&self) -> FormatArgument { [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] 197 | fn get_audio_format(&self) -> FormatArgument<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/ytdlr/src/state.rs:201:22 [INFO] [stdout] | [INFO] [stdout] 201 | fn get_video_format(&self) -> FormatArgument { [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] 201 | fn get_video_format(&self) -> FormatArgument<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/ytdlr/src/utils.rs:471:31 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn msg_to_cluster(msg: &M) -> Vec [INFO] [stdout] | ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 471 | pub fn msg_to_cluster(msg: &M) -> Vec> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/ytdlr/src/utils.rs:505:39 [INFO] [stdout] | [INFO] [stdout] 505 | pub fn truncate_to_size_bytes(msg: &M, to_size_bytes: usize, replace_with_dot: bool) -> Cow [INFO] [stdout] | ^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 505 | pub fn truncate_to_size_bytes(msg: &M, to_size_bytes: usize, replace_with_dot: bool) -> Cow<'_, str> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/ytdlr/src/utils.rs:560:45 [INFO] [stdout] | [INFO] [stdout] 560 | pub fn truncate_message_display_pos(msg: &M, to_display_pos: usize, replace_with_dot: bool) -> Cow [INFO] [stdout] | ^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 560 | pub fn truncate_message_display_pos(msg: &M, to_display_pos: usize, replace_with_dot: bool) -> Cow<'_, str> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.83s [INFO] running `Command { std: "docker" "inspect" "c941eddf39f9603df7bd4d070828fa4c3ec9c0680f990271b52d36910e205469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c941eddf39f9603df7bd4d070828fa4c3ec9c0680f990271b52d36910e205469", kill_on_drop: false }` [INFO] [stdout] c941eddf39f9603df7bd4d070828fa4c3ec9c0680f990271b52d36910e205469 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 964faa784c2d19c9afc4f6f738070c7fe667f3d17c93d8e17e4c9957951ee791 [INFO] running `Command { std: "docker" "start" "-a" "964faa784c2d19c9afc4f6f738070c7fe667f3d17c93d8e17e4c9957951ee791", kill_on_drop: false }` [INFO] [stderr] Compiling ytdlr v0.12.0 (/opt/rustwide/workdir/crates/ytdlr) [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/libytdlr/src/main/download/download_options.rs:57:22 [INFO] [stderr] | [INFO] [stderr] 57 | fn get_audio_format(&self) -> FormatArgument; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 57 | fn get_audio_format(&self) -> FormatArgument<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/libytdlr/src/main/download/download_options.rs:62:22 [INFO] [stderr] | [INFO] [stderr] 62 | fn get_video_format(&self) -> FormatArgument; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 62 | fn get_video_format(&self) -> FormatArgument<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/libytdlr/src/main/sql_utils.rs:59:16 [INFO] [stderr] | [INFO] [stderr] 59 | archive_path: &Path, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 60 | _pgcb: S, [INFO] [stderr] 61 | ) -> Result<(Cow, SqliteConnection), crate::Error> { [INFO] [stderr] | ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 61 | ) -> Result<(Cow<'_, Path>, SqliteConnection), crate::Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/libytdlr/src/main/download/mod.rs:504:23 [INFO] [stderr] | [INFO] [stderr] 504 | fn get_audio_format(&self) -> FormatArgument { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 504 | fn get_audio_format(&self) -> FormatArgument<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/libytdlr/src/main/download/mod.rs:508:23 [INFO] [stderr] | [INFO] [stderr] 508 | fn get_video_format(&self) -> FormatArgument { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 508 | fn get_video_format(&self) -> FormatArgument<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `libytdlr` (lib) generated 3 warnings (run `cargo fix --lib -p libytdlr` to apply 3 suggestions) [INFO] [stderr] warning: `libytdlr` (lib test) generated 5 warnings (3 duplicates) (run `cargo fix --lib -p libytdlr --tests` to apply 2 suggestions) [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/libytdlr/examples/simple.rs:63:22 [INFO] [stderr] | [INFO] [stderr] 63 | fn get_audio_format(&self) -> libytdlr::main::download::FormatArgument { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 63 | fn get_audio_format(&self) -> libytdlr::main::download::FormatArgument<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/libytdlr/examples/simple.rs:67:22 [INFO] [stderr] | [INFO] [stderr] 67 | fn get_video_format(&self) -> libytdlr::main::download::FormatArgument { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 67 | fn get_video_format(&self) -> libytdlr::main::download::FormatArgument<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `libytdlr` (example "simple") generated 2 warnings (run `cargo fix --example "simple"` to apply 2 suggestions) [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/ytdlr/src/state.rs:197:22 [INFO] [stderr] | [INFO] [stderr] 197 | fn get_audio_format(&self) -> FormatArgument { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 197 | fn get_audio_format(&self) -> FormatArgument<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/ytdlr/src/state.rs:201:22 [INFO] [stderr] | [INFO] [stderr] 201 | fn get_video_format(&self) -> FormatArgument { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 201 | fn get_video_format(&self) -> FormatArgument<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/ytdlr/src/utils.rs:471:31 [INFO] [stderr] | [INFO] [stderr] 471 | pub fn msg_to_cluster(msg: &M) -> Vec [INFO] [stderr] | ^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 471 | pub fn msg_to_cluster(msg: &M) -> Vec> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/ytdlr/src/utils.rs:505:39 [INFO] [stderr] | [INFO] [stderr] 505 | pub fn truncate_to_size_bytes(msg: &M, to_size_bytes: usize, replace_with_dot: bool) -> Cow [INFO] [stderr] | ^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 505 | pub fn truncate_to_size_bytes(msg: &M, to_size_bytes: usize, replace_with_dot: bool) -> Cow<'_, str> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> crates/ytdlr/src/utils.rs:560:45 [INFO] [stderr] | [INFO] [stderr] 560 | pub fn truncate_message_display_pos(msg: &M, to_display_pos: usize, replace_with_dot: bool) -> Cow [INFO] [stderr] | ^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 560 | pub fn truncate_message_display_pos(msg: &M, to_display_pos: usize, replace_with_dot: bool) -> Cow<'_, str> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `ytdlr` (bin "ytdlr" test) generated 5 warnings (run `cargo fix --bin "ytdlr" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.73s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libytdlr-21343579d1041f20) [INFO] [stdout] [INFO] [stdout] running 74 tests [INFO] [stdout] test data::cache::media_info::test::test_new ... ok [INFO] [stdout] test data::cache::media_info::test::test_with_filename ... ok [INFO] [stdout] test data::cache::media_info::test::test_with_title ... ok [INFO] [stdout] test data::cache::media_provider::test::fn_impls::test_as_str ... ok [INFO] [stdout] test data::cache::media_info::test::test_into_insmedia ... ok [INFO] [stdout] test data::cache::media_provider::test::fn_impls::test_from_str_like ... ok [INFO] [stdout] test data::cache::media_info::test::test_try_from_filename ... ok [INFO] [stdout] test data::cache::media_info::test::test_with_provider ... ok [INFO] [stdout] test data::cache::media_provider::test::trait_impls::test_as_string ... ok [INFO] [stdout] test data::cache::media_provider::test::trait_impls::test_from_string ... ok [INFO] [stdout] test data::cache::media_provider::test::trait_impls::test_as_ref_str ... ok [INFO] [stdout] test data::cache::media_provider::test::trait_impls::test_fromstr ... ok [INFO] [stdout] test data::cache::media_provider::test::trait_impls::test_serialize_deserialize ... ok [INFO] [stdout] test main::archive::import::test::detect_archive_type::test_detect_sqlite ... ok [INFO] [stdout] test main::archive::import::test::detect_archive_type::test_detect_json ... ok [INFO] [stdout] test main::archive::import::test::detect_archive_type::test_eof ... ok [INFO] [stdout] test main::archive::import::test::detect_archive_type::test_detect_ytdl ... ok [INFO] [stdout] test main::download::assemble_cmd::test::test_audio_only ... ok [INFO] [stdout] test main::download::assemble_cmd::test::test_audio_custom_format ... ok [INFO] [stdout] test main::download::assemble_cmd::test::test_basic_assemble ... ok [INFO] [stdout] test main::download::assemble_cmd::test::argshelper::test_basic ... ok [INFO] [stdout] test main::download::assemble_cmd::test::argshelper::test_into_vec ... ok [INFO] [stdout] test main::download::assemble_cmd::test::test_video_custom_format ... ok [INFO] [stdout] test main::download::assemble_cmd::test::test_extra_arguments ... ok [INFO] [stdout] test main::download::assemble_cmd::test::test_quiet_version_gate ... ok [INFO] [stdout] test main::download::parse_linetype::tests::test_try_get_download_percent ... ok [INFO] [stdout] test main::download::parse_linetype::tests::test_linetype_download_unknown ... ok [INFO] [stdout] test main::download::test::handle_stdout::test_basic_single_usage ... ok [INFO] [stdout] test main::download::test::handle_stdout::test_basic_multi_usage ... ok [INFO] [stdout] test main::download::parse_linetype::tests::test_try_from_line ... ok [INFO] [stdout] test main::download::assemble_cmd::test::test_archive ... ok [INFO] [stdout] test main::download::test::handle_stdout::test_skipped ... ok [INFO] [stdout] test main::download::assemble_cmd::test::test_all_options_together ... ok [INFO] [stdout] test main::download::test::handle_stdout::test_warning_line ... ok [INFO] [stdout] test main::archive::import::test::import_any_archive::test_unexpected_eof ... ok [INFO] [stdout] test main::archive::import::test::insert_insmedia::test_insert ... ok [INFO] [stdout] test main::rethumbnail::test::convert_image_to_jpg::test_early_return_jpg ... ok [INFO] [stdout] test main::rethumbnail::test::find_image::test_find_image_jpg ... ok [INFO] [stdout] test main::rethumbnail::test::find_image::test_find_image_png ... ok [INFO] [stdout] test main::rethumbnail::test::re_thumbnail::test_exit_status ... ignored, CI Install not present currently [INFO] [stdout] test main::rethumbnail::test::find_image::test_find_image_webp ... ok [INFO] [stdout] test main::sql_utils::test::connect::test_connect_notutf8 ... ok [INFO] [stdout] test main::rethumbnail::test::convert_image_to_jpg::test_exit_status ... ok [INFO] [stdout] test main::sql_utils::test::migrate_and_connect::test_input_json_archive_err ... ok [INFO] [stdout] test main::sql_utils::test::migrate_and_connect::test_input_unknown_archive ... ok [INFO] [stdout] test main::archive::import::test::import_ytdl_archive::test_no_captures_found_err ... ok [INFO] [stdout] test main::sql_utils::test::migrate_and_connect::test_to_existing_json ... ok [INFO] [stdout] test main::rethumbnail::test::convert_image_to_jpg::test_basic_func ... ok [INFO] [stdout] test main::sql_utils::test::apply_sqlite_migrations::test_all_migrations_applied ... ok [INFO] [stdout] test main::sql_utils::test::migrate_and_connect::test_input_sqlite_archive ... ok [INFO] [stdout] test spawn::ffmpeg::test::test_ffmpeg_spawn ... ignored, CI Install not present currently [INFO] [stdout] test main::sql_utils::test::connect::test_connect ... ok [INFO] [stdout] test main::sql_utils::test::migrate_and_connect::test_to_existing_sqlite ... ok [INFO] [stdout] test main::download::test::handle_stdout::test_error_while_downloading ... ok [INFO] [stdout] test main::sql_utils::test::migrate_and_connect::test_to_existing_unknown ... ok [INFO] [stdout] test spawn::ffmpeg::test::test_ffmpeg_parse_version_invalid_input ... ok [INFO] [stdout] test spawn::ffmpeg::test::test_ffmpeg_parse_version_valid_static_input ... ok [INFO] [stdout] test spawn::ytdl::test::test_ytdl_spawn ... ignored, CI Install not present currently [INFO] [stdout] test spawn::ytdl::test::test_ytdl_parse_version_invalid_input ... ok [INFO] [stdout] test utils::test::expand_tidle::basic_func ... ok [INFO] [stdout] test spawn::ytdl::test::test_parse_naivedate ... ok [INFO] [stdout] test main::download::parse_linetype::tests::test_try_get_parse_helper ... ok [INFO] [stdout] test utils::test::to_absolute::basic_func ... ok [INFO] [stdout] test main::download::test::handle_stdout::test_playlistsize_from_playlist_downloading_items ... ok [INFO] [stdout] test spawn::ffmpeg::test::test_parse_format_invalid_input ... ok [INFO] [stdout] test main::download::test::handle_stdout::test_skip_error_and_normal ... ok [INFO] [stdout] test spawn::ytdl::test::test_ytdl_parse_version_valid_static_input ... ok [INFO] [stdout] test main::download::test::handle_stdout::test_playlistsize_from_custom_playlist ... ok [INFO] [stdout] test main::archive::import::test::import_any_archive::test_any_to_ytdlr_sqlite ... ok [INFO] [stdout] test spawn::ffmpeg::test::test_parse_format_valid_static_input ... ok [INFO] [stdout] test main::archive::import::test::import_ytdl_archive::test_basic_ytdl ... ok [INFO] [stdout] test main::archive::import::test::import_ytdlr_sqlite_archive::test_conflict ... ok [INFO] [stdout] test main::archive::import::test::import_ytdlr_sqlite_archive::test_basic_ytdlr_sqlite ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ytdlr-05f199cb007693d2) [INFO] [stdout] test main::archive::import::test::import_any_archive::test_any_to_ytdlr_ytdl ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 71 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test clap_conf::test::cli_derive::test_enable_colors_forced ... ok [INFO] [stdout] test clap_conf::test::cli_derive::test_check ... ok [INFO] [stdout] test clap_conf::test::cli_derive::test_check_archivepath_fixed ... ok [INFO] [stdout] test clap_conf::test::cli_derive::test_check_tmppath_fixed ... ok [INFO] [stdout] test clap_conf::test::archive_derive::test_check ... ok [INFO] [stdout] test clap_conf::test::cli_derive::test_enable_colors_forced_interactive ... ok [INFO] [stdout] test clap_conf::test::cli_derive::test_is_interactive_explicit ... ok [INFO] [stdout] test clap_conf::test::archive_import::test_check_filepath_fixed ... ok [INFO] [stdout] test clap_conf::test::archive_subcommands::test_check ... ok [INFO] [stdout] test clap_conf::test::command_download::test_basic_parse_and_check ... ok [INFO] [stdout] test clap_conf::test::archive_import::test_check ... ok [INFO] [stdout] test state::test::static_dates_should_be_ok ... ok [INFO] [stdout] test utils::test::truncate_message_display_pos::should_properly_truncate_at_unicode_boundary ... ok [INFO] [stdout] test utils::test::truncate_to_size_bytes::should_not_truncate_message ... ok [INFO] [stdout] test utils::test::truncate_to_size_bytes::should_truncate_latin_message ... ok [INFO] [stdout] test clap_conf::test::command_re_thumbnail::test_check_inputpaths_fixed ... ok [INFO] [stdout] test clap_conf::test::subcommands::test_check ... ok [INFO] [stdout] test utils::test::truncate_message_display_pos::should_truncate_latin_message ... ok [INFO] [stdout] test clap_conf::test::command_download::test_check_outpath_fixed ... ok [INFO] [stdout] test commands::download::test::try_gen_final_path::test_rename_simple ... ok [INFO] [stdout] test clap_conf::test::command_re_thumbnail::test_check ... ok [INFO] [stdout] test utils::test::truncate_to_size_bytes::should_properly_truncate_at_unicode_boundary ... ok [INFO] [stdout] test clap_conf::test::command_re_thumbnail::test_check_outputpaths_fixed ... ok [INFO] [stdout] test commands::download::test::try_gen_final_path::test_no_rename ... ok [INFO] [stdout] test utils::test::truncate_message_display_pos::should_not_truncate_message ... ok [INFO] [stdout] test commands::download::test::recovery::test_try_from_line ... ok [INFO] [stdout] test commands::download::test::try_gen_final_path::test_30_times ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests libytdlr [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" "964faa784c2d19c9afc4f6f738070c7fe667f3d17c93d8e17e4c9957951ee791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "964faa784c2d19c9afc4f6f738070c7fe667f3d17c93d8e17e4c9957951ee791", kill_on_drop: false }` [INFO] [stdout] 964faa784c2d19c9afc4f6f738070c7fe667f3d17c93d8e17e4c9957951ee791