Fixes for Windows, cross-platform copy, system theme... #214
Annotations
6 errors
Run Clippy:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libspa-0.8.0/src/param/video/raw.rs#L231
error[E0560]: struct `spa_video_info_raw` has no field named `flags`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libspa-0.8.0/src/param/video/raw.rs:231:13
|
231 | flags: 0,
| ^^^^^ `spa_video_info_raw` does not have this field
|
= note: all struct fields are already assigned
|
Run Clippy:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libspa-0.8.0/src/param/video/raw.rs#L261
error[E0609]: no field `flags` on type `spa_video_info_raw`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libspa-0.8.0/src/param/video/raw.rs:261:16
|
261 | self.0.flags = flags.bits();
| ^^^^^ unknown field
|
= note: available fields are: `format`, `modifier`, `size`, `framerate`, `max_framerate` ... and 10 others
|
Run Clippy:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libspa-0.8.0/src/param/video/raw.rs#L265
error[E0609]: no field `flags` on type `spa_video_info_raw`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libspa-0.8.0/src/param/video/raw.rs:265:45
|
265 | VideoFlags::from_bits_retain(self.0.flags)
| ^^^^^ unknown field
|
= note: available fields are: `format`, `modifier`, `size`, `framerate`, `max_framerate` ... and 10 others
|
Run Clippy:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libspa-0.8.0/src/param/video/raw.rs#L269
error[E0308]: mismatched types
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libspa-0.8.0/src/param/video/raw.rs:269:27
|
269 | self.0.modifier = modifier;
| --------------- ^^^^^^^^ expected `i64`, found `u64`
| |
| expected due to the type of this binding
|
Run Clippy:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libspa-0.8.0/src/param/video/raw.rs#L273
error[E0308]: mismatched types
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libspa-0.8.0/src/param/video/raw.rs:273:9
|
272 | pub fn modifier(self) -> u64 {
| --- expected `u64` because of return type
273 | self.0.modifier
| ^^^^^^^^^^^^^^^ expected `u64`, found `i64`
|
help: you can convert an `i64` to a `u64` and panic if the converted value doesn't fit
|
273 | self.0.modifier.try_into().unwrap()
| ++++++++++++++++++++
|
Run Clippy
Clippy had exited with the 101 exit code
|
Loading