fix flicker when navigating from login #67
Annotations
6 errors and 2 warnings
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#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
|
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#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
|
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#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
|
mismatched types:
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
|
mismatched types:
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()
| ++++++++++++++++++++
|
Clippy
Clippy had exited with the 101 exit code
|
Typecheck
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|