[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] 93b3bae3cbbe6cefc1d2549610c48a605f1e4fc0 [INFO] building hasezoey/yt-downloader-rust against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhasezoey%2Fyt-downloader-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hasezoey/yt-downloader-rust on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ogg_pager v0.6.1 [INFO] [stderr] Downloaded lofty_attr v0.11.0 [INFO] [stderr] Downloaded hermit-abi v0.3.7 [INFO] [stderr] Downloaded sysinfo v0.33.0 [INFO] [stderr] Downloaded lofty v0.21.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ef3129f0533e98a1350c17a9f037bb2c175211fc9e7433e41e6d7f00163178d [INFO] running `Command { std: "docker" "start" "-a" "5ef3129f0533e98a1350c17a9f037bb2c175211fc9e7433e41e6d7f00163178d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ef3129f0533e98a1350c17a9f037bb2c175211fc9e7433e41e6d7f00163178d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ef3129f0533e98a1350c17a9f037bb2c175211fc9e7433e41e6d7f00163178d", kill_on_drop: false }` [INFO] [stdout] 5ef3129f0533e98a1350c17a9f037bb2c175211fc9e7433e41e6d7f00163178d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98a22cc43811755453f4703425a55bba6bb3f71c8162d0abd712095b8606d608 [INFO] running `Command { std: "docker" "start" "-a" "98a22cc43811755453f4703425a55bba6bb3f71c8162d0abd712095b8606d608", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling thiserror v2.0.9 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling anstream v0.6.12 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling path-dedot v3.1.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling ogg_pager v0.6.1 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling path-absolutize v3.1.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling ytdlr v0.10.0 (/opt/rustwide/workdir/crates/ytdlr) [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling terminal_size v0.4.1 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling chrono v0.4.34 [INFO] [stderr] Compiling shared_child v1.0.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling os_pipe v1.1.5 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling sysinfo v0.33.0 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling duct v0.13.7 [INFO] [stderr] Compiling indicatif v0.17.9 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ctrlc v3.4.2 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling diesel_derives v2.1.2 [INFO] [stderr] Compiling thiserror-impl v2.0.9 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling lofty_attr v0.11.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling lofty v0.21.1 [INFO] [stderr] Compiling flexi_logger v0.29.8 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling clap_complete v4.5.40 [INFO] [stderr] Compiling diesel v2.1.4 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling migrations_internals v2.1.0 [INFO] [stderr] Compiling migrations_macros v2.1.0 [INFO] [stderr] Compiling diesel_migrations v2.1.0 [INFO] [stderr] Compiling libytdlr v0.10.0 (/opt/rustwide/workdir/crates/libytdlr) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/libytdlr/src/main/sql_utils.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | archive_path: &Path, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 56 | pgcb: S, [INFO] [stdout] 57 | ) -> Result<(Cow, SqliteConnection), crate::Error> { [INFO] [stdout] | --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 57 | ) -> Result<(Cow<'_, Path>, SqliteConnection), crate::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/ytdlr/src/state.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | fn get_audio_format(&self) -> FormatArgument { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 197 | fn get_audio_format(&self) -> FormatArgument<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/ytdlr/src/state.rs:201:22 [INFO] [stdout] | [INFO] [stdout] 201 | fn get_video_format(&self) -> FormatArgument { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 201 | fn get_video_format(&self) -> FormatArgument<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 471 | pub fn msg_to_cluster(msg: &M) -> Vec> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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] | ^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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] | ^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 54.27s [INFO] running `Command { std: "docker" "inspect" "98a22cc43811755453f4703425a55bba6bb3f71c8162d0abd712095b8606d608", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98a22cc43811755453f4703425a55bba6bb3f71c8162d0abd712095b8606d608", kill_on_drop: false }` [INFO] [stdout] 98a22cc43811755453f4703425a55bba6bb3f71c8162d0abd712095b8606d608 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f53329949d8d02a16abadb8210c578559759cfd65445d2ef3efd3d92949b501c [INFO] running `Command { std: "docker" "start" "-a" "f53329949d8d02a16abadb8210c578559759cfd65445d2ef3efd3d92949b501c", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling serde_test v1.0.176 [INFO] [stderr] Compiling ytdlr v0.10.0 (/opt/rustwide/workdir/crates/ytdlr) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/libytdlr/src/main/sql_utils.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | archive_path: &Path, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 56 | pgcb: S, [INFO] [stdout] 57 | ) -> Result<(Cow, SqliteConnection), crate::Error> { [INFO] [stdout] | --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 57 | ) -> Result<(Cow<'_, Path>, SqliteConnection), crate::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling terminal_size v0.4.1 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling libytdlr v0.10.0 (/opt/rustwide/workdir/crates/libytdlr) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 504 | fn get_audio_format(&self) -> FormatArgument<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 508 | fn get_video_format(&self) -> FormatArgument<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/libytdlr/src/main/sql_utils.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | archive_path: &Path, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 56 | pgcb: S, [INFO] [stdout] 57 | ) -> Result<(Cow, SqliteConnection), crate::Error> { [INFO] [stdout] | --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 57 | ) -> Result<(Cow<'_, Path>, SqliteConnection), crate::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling clap_complete v4.5.40 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/ytdlr/src/state.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | fn get_audio_format(&self) -> FormatArgument { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 197 | fn get_audio_format(&self) -> FormatArgument<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/ytdlr/src/state.rs:201:22 [INFO] [stdout] | [INFO] [stdout] 201 | fn get_video_format(&self) -> FormatArgument { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 201 | fn get_video_format(&self) -> FormatArgument<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 471 | pub fn msg_to_cluster(msg: &M) -> Vec> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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] | ^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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] | ^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 14.17s [INFO] running `Command { std: "docker" "inspect" "f53329949d8d02a16abadb8210c578559759cfd65445d2ef3efd3d92949b501c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f53329949d8d02a16abadb8210c578559759cfd65445d2ef3efd3d92949b501c", kill_on_drop: false }` [INFO] [stdout] f53329949d8d02a16abadb8210c578559759cfd65445d2ef3efd3d92949b501c