[INFO] fetching crate tokio-linux-video 0.1.1... [INFO] building tokio-linux-video-0.1.1 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate tokio-linux-video 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate tokio-linux-video 0.1.1 [INFO] finished tweaking crates.io crate tokio-linux-video 0.1.1 [INFO] tweaked toml for crates.io crate tokio-linux-video 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-linux-video 0.1.1 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 101 packages to latest compatible versions [INFO] [stderr] Adding image v0.24.9 (available: v0.25.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a64cbf2d31eb044ed753c74fe0c0b4ae5bc98ac89065a961fccc82fa444f6ce [INFO] running `Command { std: "docker" "start" "-a" "5a64cbf2d31eb044ed753c74fe0c0b4ae5bc98ac89065a961fccc82fa444f6ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a64cbf2d31eb044ed753c74fe0c0b4ae5bc98ac89065a961fccc82fa444f6ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a64cbf2d31eb044ed753c74fe0c0b4ae5bc98ac89065a961fccc82fa444f6ce", kill_on_drop: false }` [INFO] [stdout] 5a64cbf2d31eb044ed753c74fe0c0b4ae5bc98ac89065a961fccc82fa444f6ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4adbfede5aba750ead4f20c4884ad37bb791581603c9e01072f85d8508d08ef5 [INFO] running `Command { std: "docker" "start" "-a" "4adbfede5aba750ead4f20c4884ad37bb791581603c9e01072f85d8508d08ef5", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling structmeta-derive v0.2.0 [INFO] [stderr] Compiling bitmask-enum v2.2.5 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Compiling structmeta v0.2.0 [INFO] [stderr] Compiling parse-display-derive v0.8.2 [INFO] [stderr] Compiling parse-display v0.8.2 [INFO] [stderr] Compiling linux-video-core v0.1.1 [INFO] [stderr] Compiling tokio-linux-video v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn formats(&self, type_: BufferType) -> FmtDescs { [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] 108 | pub fn formats(&self, type_: BufferType) -> FmtDescs<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn sizes(&self, pixel_format: FourCc) -> FrmSizes { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | pub fn sizes(&self, pixel_format: FourCc) -> FrmSizes<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn intervals(&self, pixel_format: FourCc, width: u32, height: u32) -> FrmIvals { [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] 168 | pub fn intervals(&self, pixel_format: FourCc, width: u32, height: u32) -> FrmIvals<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.74s [INFO] running `Command { std: "docker" "inspect" "4adbfede5aba750ead4f20c4884ad37bb791581603c9e01072f85d8508d08ef5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4adbfede5aba750ead4f20c4884ad37bb791581603c9e01072f85d8508d08ef5", kill_on_drop: false }` [INFO] [stdout] 4adbfede5aba750ead4f20c4884ad37bb791581603c9e01072f85d8508d08ef5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b53db9a8b50f4d8cba8035628e70f8cf90b1516f0db9902b772036750cb25615 [INFO] running `Command { std: "docker" "start" "-a" "b53db9a8b50f4d8cba8035628e70f8cf90b1516f0db9902b772036750cb25615", kill_on_drop: false }` [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling tokio-linux-video v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn formats(&self, type_: BufferType) -> FmtDescs { [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] 108 | pub fn formats(&self, type_: BufferType) -> FmtDescs<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn sizes(&self, pixel_format: FourCc) -> FrmSizes { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | pub fn sizes(&self, pixel_format: FourCc) -> FrmSizes<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn intervals(&self, pixel_format: FourCc, width: u32, height: u32) -> FrmIvals { [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] 168 | pub fn intervals(&self, pixel_format: FourCc, width: u32, height: u32) -> FrmIvals<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling image v0.24.9 [INFO] [stdout] error: environment variable `VIVID_HDMI_OUT` not defined at compile time [INFO] [stdout] --> tests/output.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | let dev = env!("VIVID_HDMI_OUT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("VIVID_HDMI_OUT")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/output.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | let dev = Device::open(dev).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/output.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | let caps = dev.capabilities().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/output.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | while let Some(fmt) = fmts.fetch_next().await.unwrap() { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/output.rs:21:66 [INFO] [stdout] | [INFO] [stdout] 21 | let mut prev_fmt = dev.format(BufferType::VideoOutput).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/output.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | dev.try_format(&mut fmt).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/output.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | dev.set_format(&mut fmt).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/output.rs:40:57 [INFO] [stdout] | [INFO] [stdout] 40 | let fmt = dev.format(BufferType::VideoOutput).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/output.rs:61:46 [INFO] [stdout] | [INFO] [stdout] 61 | let buffer = stream.next().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/output.rs:77:41 [INFO] [stdout] | [INFO] [stdout] 77 | dev.set_format(&mut prev_fmt).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-linux-video` (test "output") due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: environment variable `VIVID_WEBCAM` not defined at compile time [INFO] [stdout] --> tests/capture.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | let dev = env!("VIVID_WEBCAM"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("VIVID_WEBCAM")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/capture.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | let dev = Device::open(dev).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/capture.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | let caps = dev.capabilities().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/capture.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | while let Some(fmt) = fmts.fetch_next().await.unwrap() { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/capture.rs:21:67 [INFO] [stdout] | [INFO] [stdout] 21 | let mut prev_fmt = dev.format(BufferType::VideoCapture).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/capture.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | dev.try_format(&mut fmt).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/capture.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | dev.set_format(&mut fmt).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/capture.rs:40:58 [INFO] [stdout] | [INFO] [stdout] 40 | let fmt = dev.format(BufferType::VideoCapture).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn formats(&self, type_: BufferType) -> FmtDescs { [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] 108 | pub fn formats(&self, type_: BufferType) -> FmtDescs<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/capture.rs:61:46 [INFO] [stdout] | [INFO] [stdout] 61 | let buffer = stream.next().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn sizes(&self, pixel_format: FourCc) -> FrmSizes { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | pub fn sizes(&self, pixel_format: FourCc) -> FrmSizes<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn intervals(&self, pixel_format: FourCc, width: u32, height: u32) -> FrmIvals { [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] 168 | pub fn intervals(&self, pixel_format: FourCc, width: u32, height: u32) -> FrmIvals<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/capture.rs:77:41 [INFO] [stdout] | [INFO] [stdout] 77 | dev.set_format(&mut prev_fmt).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-linux-video` (test "capture") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "b53db9a8b50f4d8cba8035628e70f8cf90b1516f0db9902b772036750cb25615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b53db9a8b50f4d8cba8035628e70f8cf90b1516f0db9902b772036750cb25615", kill_on_drop: false }` [INFO] [stdout] b53db9a8b50f4d8cba8035628e70f8cf90b1516f0db9902b772036750cb25615