[INFO] fetching crate tokio-linux-video 0.1.1... [INFO] testing tokio-linux-video-0.1.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate tokio-linux-video 0.1.1 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-linux-video 0.1.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 94 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parse-display v0.8.2 [INFO] [stderr] Downloaded structmeta v0.2.0 [INFO] [stderr] Downloaded linux-video-core v0.1.1 [INFO] [stderr] Downloaded drm-fourcc v2.2.0 [INFO] [stderr] Downloaded structmeta-derive v0.2.0 [INFO] [stderr] Downloaded parse-display-derive v0.8.2 [INFO] [stderr] Downloaded dcv-color-primitives v0.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf975c3e0a4ed2a1b21f203c0b3d0004ce1d7b2b55d90c0e00e6c7c35850be9c [INFO] running `Command { std: "docker" "start" "-a" "bf975c3e0a4ed2a1b21f203c0b3d0004ce1d7b2b55d90c0e00e6c7c35850be9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf975c3e0a4ed2a1b21f203c0b3d0004ce1d7b2b55d90c0e00e6c7c35850be9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf975c3e0a4ed2a1b21f203c0b3d0004ce1d7b2b55d90c0e00e6c7c35850be9c", kill_on_drop: false }` [INFO] [stdout] bf975c3e0a4ed2a1b21f203c0b3d0004ce1d7b2b55d90c0e00e6c7c35850be9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2e1ce6e96d97bf7b7848ccff9e293edc8c83edf017d11679ba7477e407e541e [INFO] running `Command { std: "docker" "start" "-a" "f2e1ce6e96d97bf7b7848ccff9e293edc8c83edf017d11679ba7477e407e541e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling tokio v1.48.0 [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 13.43s [INFO] running `Command { std: "docker" "inspect" "f2e1ce6e96d97bf7b7848ccff9e293edc8c83edf017d11679ba7477e407e541e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2e1ce6e96d97bf7b7848ccff9e293edc8c83edf017d11679ba7477e407e541e", kill_on_drop: false }` [INFO] [stdout] f2e1ce6e96d97bf7b7848ccff9e293edc8c83edf017d11679ba7477e407e541e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dac8494cf23bdb20a425084ab833f21f8ea55861368dafbb17d994778ceb3ef [INFO] running `Command { std: "docker" "start" "-a" "7dac8494cf23bdb20a425084ab833f21f8ea55861368dafbb17d994778ceb3ef", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling weezl v0.1.11 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling exr v1.74.0 [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: 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/output.rs:7:15 [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:16 [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:27 [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:24 [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:5 [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:5 [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:15 [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:26 [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:5 [INFO] [stdout] | [INFO] [stdout] 77 | dev.set_format(&mut prev_fmt).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/capture.rs:7:15 [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:16 [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:27 [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:24 [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:5 [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:5 [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:15 [INFO] [stdout] | [INFO] [stdout] 40 | let fmt = dev.format(BufferType::VideoCapture).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] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/capture.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | let buffer = stream.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [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[E0282]: type annotations needed [INFO] [stdout] --> tests/capture.rs:77:5 [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] [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] running `Command { std: "docker" "inspect" "7dac8494cf23bdb20a425084ab833f21f8ea55861368dafbb17d994778ceb3ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dac8494cf23bdb20a425084ab833f21f8ea55861368dafbb17d994778ceb3ef", kill_on_drop: false }` [INFO] [stdout] 7dac8494cf23bdb20a425084ab833f21f8ea55861368dafbb17d994778ceb3ef