-
-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
I can't use adsb_deku 0.8.0 nor the current head in my program because Deku 0.19.0 has been yanked and is auto-replaced with 0.19.1, even if I define patch version in Cargo.toml
Compiling adsb_deku v0.8.0
error: DekuRead: `id_type` must be specified on non-unit variants
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/adsb.rs:729:5
|
729 | None = 0,
| ^^^^
error: DekuRead: `id_type` must be specified on non-unit variants
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/adsb.rs:789:5
|
789 | D = 1,
| ^
error: DekuRead: `id_type` must be specified on non-unit variants
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/adsb.rs:942:5
|
942 | Subsonic = 1,
| ^^^^^^^^
error: DekuRead: `id_type` must be specified on non-unit variants
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/adsb.rs:980:5
|
980 | WestToEast = 0,
| ^^^^^^^^^^
error: DekuRead: `id_type` must be specified on non-unit variants
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/adsb.rs:988:5
|
988 | SouthToNorth = 0,
| ^^^^^^^^^^^^
error: DekuRead: `id_type` must be specified on non-unit variants
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/adsb.rs:996:5
|
996 | GNSS = 0,
| ^^^^
error: DekuRead: `id_type` must be specified on non-unit variants
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/adsb.rs:1004:5
|
1004 | Up = 0,
| ^^
error: DekuRead: `id_type` must be specified on non-unit variants
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/adsb.rs:1012:5
|
1012 | Above = 0,
| ^^^^^
error: DekuRead: `id_type` must be specified on non-unit variants
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/adsb.rs:1020:5
|
1020 | BarometricPressureAltitude = 0,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: DekuRead: `id_type` must be specified on non-unit variants
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/adsb.rs:1058:5
|
1058 | Invalid = 0,
| ^^^^^^^
error: DekuRead: `id_type` must be specified on non-unit variants
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/lib.rs:580:5
|
580 | NoCondition = 0,
| ^^^^^^^^^^^
error: DekuRead: `id_type` must be specified on non-unit variants
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/lib.rs:597:5
|
597 | Even = 0,
| ^^^^
error: DekuRead: `id_type` must be specified on non-unit variants
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/lib.rs:625:5
|
625 | Positive = 0,
| ^^^^^^^^
error: DekuRead: `id_type` must be specified on non-unit variants
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/lib.rs:735:5
|
735 | DownlinkELMTx = 0,
| ^^^^^^^^^^^^^
error: DekuRead: `id_type` must be specified on non-unit variants
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/lib.rs:752:5
|
752 | NoInformation = 0b00,
| ^^^^^^^^^^^^^
error: DekuRead: `id_type` must be specified on non-unit variants
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/lib.rs:763:5
|
763 | NoAlertNoSPIAirborne = 0b000,
| ^^^^^^^^^^^^^^^^^^^^
error[E0277]: the trait bound `Sign: deku::DekuReader<'_, _>` is not satisfied
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/adsb.rs:296:18
|
296 | pub ew_sign: Sign,
| ^^^^ the trait `deku::DekuReader<'_, _>` is not implemented for `Sign`
|
= note: implement by adding #[derive(DekuRead)] to `Sign`
= note: make sure the `ctx` sent into the function matches `Sign`'s `ctx`
= help: the following other types implement trait `deku::DekuReader<'a, Ctx>`:
`()` implements `deku::DekuReader<'_, Ctx>`
`(A, B)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G, H)` implements `deku::DekuReader<'a, Ctx>`
and 281 others
error[E0277]: the trait bound `Sign: deku::DekuReader<'_, _>` is not satisfied
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/adsb.rs:299:18
|
299 | pub ns_sign: Sign,
| ^^^^ the trait `deku::DekuReader<'_, _>` is not implemented for `Sign`
|
= note: implement by adding #[derive(DekuRead)] to `Sign`
= note: make sure the `ctx` sent into the function matches `Sign`'s `ctx`
= help: the following other types implement trait `deku::DekuReader<'a, Ctx>`:
`()` implements `deku::DekuReader<'_, Ctx>`
`(A, B)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G, H)` implements `deku::DekuReader<'a, Ctx>`
and 281 others
error[E0277]: the trait bound `EmergencyState: deku::DekuReader<'_, _>` is not satisfied
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/adsb.rs:702:26
|
702 | pub emergency_state: EmergencyState,
| ^^^^^^^^^^^^^^ the trait `deku::DekuReader<'_, _>` is not implemented for `EmergencyState`
|
= note: implement by adding #[derive(DekuRead)] to `EmergencyState`
= note: make sure the `ctx` sent into the function matches `EmergencyState`'s `ctx`
= help: the following other types implement trait `deku::DekuReader<'a, Ctx>`:
`()` implements `deku::DekuReader<'_, Ctx>`
`(A, B)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G, H)` implements `deku::DekuReader<'a, Ctx>`
and 281 others
error[E0599]: no variant or associated item named `from_bytes` found for enum `TypeCoding` in the current scope
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/adsb.rs:797:30
|
788 | pub enum TypeCoding {
| ------------------- variant or associated item `from_bytes` not found for this enum
...
797 | let (_, res) = Self::from_bytes((&[id], 0))?;
| ^^^^^^^^^^ variant or associated item not found in `TypeCoding`
|
note: if you're trying to build a new `TypeCoding`, consider using `TypeCoding::custom_read` which returns `Result<TypeCoding, deku::DekuError>`
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/adsb.rs:796:5
|
796 | fn custom_read(id: u8) -> Result<TypeCoding, DekuError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following traits define an item `from_bytes`, perhaps you need to implement one of them:
candidate #1: `OsStrExt`
candidate #2: `deku::DekuContainerRead`
error[E0277]: the trait bound `VerticalRateSource: deku::DekuReader<'_, _>` is not satisfied
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/adsb.rs:882:20
|
882 | pub vrate_src: VerticalRateSource,
| ^^^^^^^^^^^^^^^^^^ the trait `deku::DekuReader<'_, _>` is not implemented for `VerticalRateSource`
|
= note: implement by adding #[derive(DekuRead)] to `VerticalRateSource`
= note: make sure the `ctx` sent into the function matches `VerticalRateSource`'s `ctx`
= help: the following other types implement trait `deku::DekuReader<'a, Ctx>`:
`()` implements `deku::DekuReader<'_, Ctx>`
`(A, B)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G, H)` implements `deku::DekuReader<'a, Ctx>`
and 281 others
error[E0277]: the trait bound `Sign: deku::DekuReader<'_, _>` is not satisfied
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/adsb.rs:883:21
|
883 | pub vrate_sign: Sign,
| ^^^^ the trait `deku::DekuReader<'_, _>` is not implemented for `Sign`
|
= note: implement by adding #[derive(DekuRead)] to `Sign`
= note: make sure the `ctx` sent into the function matches `Sign`'s `ctx`
= help: the following other types implement trait `deku::DekuReader<'a, Ctx>`:
`()` implements `deku::DekuReader<'_, Ctx>`
`(A, B)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G, H)` implements `deku::DekuReader<'a, Ctx>`
and 281 others
error[E0277]: the trait bound `Sign: deku::DekuReader<'_, _>` is not satisfied
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/adsb.rs:888:20
|
888 | pub gnss_sign: Sign,
| ^^^^ the trait `deku::DekuReader<'_, _>` is not implemented for `Sign`
|
= note: implement by adding #[derive(DekuRead)] to `Sign`
= note: make sure the `ctx` sent into the function matches `Sign`'s `ctx`
= help: the following other types implement trait `deku::DekuReader<'a, Ctx>`:
`()` implements `deku::DekuReader<'_, Ctx>`
`(A, B)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G, H)` implements `deku::DekuReader<'a, Ctx>`
and 281 others
error[E0277]: the trait bound `DirectionEW: deku::DekuReader<'_, _>` is not satisfied
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/adsb.rs:950:14
|
950 | pub dew: DirectionEW,
| ^^^^^^^^^^^ the trait `deku::DekuReader<'_, _>` is not implemented for `DirectionEW`
|
= note: implement by adding #[derive(DekuRead)] to `DirectionEW`
= note: make sure the `ctx` sent into the function matches `DirectionEW`'s `ctx`
= help: the following other types implement trait `deku::DekuReader<'a, Ctx>`:
`()` implements `deku::DekuReader<'_, Ctx>`
`(A, B)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G, H)` implements `deku::DekuReader<'a, Ctx>`
and 281 others
error[E0277]: the trait bound `DirectionNS: deku::DekuReader<'_, _>` is not satisfied
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/adsb.rs:953:14
|
953 | pub dns: DirectionNS,
| ^^^^^^^^^^^ the trait `deku::DekuReader<'_, _>` is not implemented for `DirectionNS`
|
= note: implement by adding #[derive(DekuRead)] to `DirectionNS`
= note: make sure the `ctx` sent into the function matches `DirectionNS`'s `ctx`
= help: the following other types implement trait `deku::DekuReader<'a, Ctx>`:
`()` implements `deku::DekuReader<'_, Ctx>`
`(A, B)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G, H)` implements `deku::DekuReader<'a, Ctx>`
and 281 others
error[E0277]: the trait bound `StatusForGroundTrack: deku::DekuReader<'_, _>` is not satisfied
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/adsb.rs:1042:12
|
1042 | pub s: StatusForGroundTrack,
| ^^^^^^^^^^^^^^^^^^^^ the trait `deku::DekuReader<'_, _>` is not implemented for `StatusForGroundTrack`
|
= note: implement by adding #[derive(DekuRead)] to `StatusForGroundTrack`
= note: make sure the `ctx` sent into the function matches `StatusForGroundTrack`'s `ctx`
= help: the following other types implement trait `deku::DekuReader<'a, Ctx>`:
`()` implements `deku::DekuReader<'_, Ctx>`
`(A, B)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G, H)` implements `deku::DekuReader<'a, Ctx>`
and 281 others
error[E0277]: the trait bound `CPRFormat: deku::DekuReader<'_, _>` is not satisfied
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/adsb.rs:1047:12
|
1047 | pub f: CPRFormat,
| ^^^^^^^^^ the trait `deku::DekuReader<'_, _>` is not implemented for `CPRFormat`
|
= note: implement by adding #[derive(DekuRead)] to `CPRFormat`
= note: make sure the `ctx` sent into the function matches `CPRFormat`'s `ctx`
= help: the following other types implement trait `deku::DekuReader<'a, Ctx>`:
`()` implements `deku::DekuReader<'_, Ctx>`
`(A, B)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G, H)` implements `deku::DekuReader<'a, Ctx>`
and 281 others
error[E0277]: the trait bound `FlightStatus: deku::DekuReader<'_, _>` is not satisfied
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/lib.rs:378:13
|
378 | fs: FlightStatus,
| ^^^^^^^^^^^^ the trait `deku::DekuReader<'_, _>` is not implemented for `FlightStatus`
|
= note: implement by adding #[derive(DekuRead)] to `FlightStatus`
= note: make sure the `ctx` sent into the function matches `FlightStatus`'s `ctx`
= help: the following other types implement trait `deku::DekuReader<'a, Ctx>`:
`()` implements `deku::DekuReader<'_, Ctx>`
`(A, B)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G, H)` implements `deku::DekuReader<'a, Ctx>`
and 281 others
error[E0277]: the trait bound `FlightStatus: deku::DekuReader<'_, _>` is not satisfied
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/lib.rs:393:13
|
393 | fs: FlightStatus,
| ^^^^^^^^^^^^ the trait `deku::DekuReader<'_, _>` is not implemented for `FlightStatus`
|
= note: implement by adding #[derive(DekuRead)] to `FlightStatus`
= note: make sure the `ctx` sent into the function matches `FlightStatus`'s `ctx`
= help: the following other types implement trait `deku::DekuReader<'a, Ctx>`:
`()` implements `deku::DekuReader<'_, Ctx>`
`(A, B)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G, H)` implements `deku::DekuReader<'a, Ctx>`
and 281 others
error[E0277]: the trait bound `FlightStatus: deku::DekuReader<'_, _>` is not satisfied
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/lib.rs:452:24
|
452 | flight_status: FlightStatus,
| ^^^^^^^^^^^^ the trait `deku::DekuReader<'_, _>` is not implemented for `FlightStatus`
|
= note: implement by adding #[derive(DekuRead)] to `FlightStatus`
= note: make sure the `ctx` sent into the function matches `FlightStatus`'s `ctx`
= help: the following other types implement trait `deku::DekuReader<'a, Ctx>`:
`()` implements `deku::DekuReader<'_, Ctx>`
`(A, B)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G, H)` implements `deku::DekuReader<'a, Ctx>`
and 281 others
error[E0277]: the trait bound `FlightStatus: deku::DekuReader<'_, _>` is not satisfied
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/lib.rs:467:13
|
467 | fs: FlightStatus,
| ^^^^^^^^^^^^ the trait `deku::DekuReader<'_, _>` is not implemented for `FlightStatus`
|
= note: implement by adding #[derive(DekuRead)] to `FlightStatus`
= note: make sure the `ctx` sent into the function matches `FlightStatus`'s `ctx`
= help: the following other types implement trait `deku::DekuReader<'a, Ctx>`:
`()` implements `deku::DekuReader<'_, Ctx>`
`(A, B)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G, H)` implements `deku::DekuReader<'a, Ctx>`
and 281 others
error[E0277]: the trait bound `SurveillanceStatus: deku::DekuReader<'_, _>` is not satisfied
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/lib.rs:518:13
|
518 | pub ss: SurveillanceStatus,
| ^^^^^^^^^^^^^^^^^^ the trait `deku::DekuReader<'_, _>` is not implemented for `SurveillanceStatus`
|
= note: implement by adding #[derive(DekuRead)] to `SurveillanceStatus`
= note: make sure the `ctx` sent into the function matches `SurveillanceStatus`'s `ctx`
= help: the following other types implement trait `deku::DekuReader<'a, Ctx>`:
`()` implements `deku::DekuReader<'_, Ctx>`
`(A, B)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G, H)` implements `deku::DekuReader<'a, Ctx>`
and 281 others
error[E0277]: the trait bound `CPRFormat: deku::DekuReader<'_, _>` is not satisfied
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/lib.rs:527:19
|
527 | pub odd_flag: CPRFormat,
| ^^^^^^^^^ the trait `deku::DekuReader<'_, _>` is not implemented for `CPRFormat`
|
= note: implement by adding #[derive(DekuRead)] to `CPRFormat`
= note: make sure the `ctx` sent into the function matches `CPRFormat`'s `ctx`
= help: the following other types implement trait `deku::DekuReader<'a, Ctx>`:
`()` implements `deku::DekuReader<'_, Ctx>`
`(A, B)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G, H)` implements `deku::DekuReader<'a, Ctx>`
and 281 others
error[E0277]: the trait bound `UtilityMessageType: deku::DekuReader<'_, _>` is not satisfied
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/adsb_deku-0.8.0/src/lib.rs:744:14
|
744 | pub ids: UtilityMessageType,
| ^^^^^^^^^^^^^^^^^^ the trait `deku::DekuReader<'_, _>` is not implemented for `UtilityMessageType`
|
= note: implement by adding #[derive(DekuRead)] to `UtilityMessageType`
= note: make sure the `ctx` sent into the function matches `UtilityMessageType`'s `ctx`
= help: the following other types implement trait `deku::DekuReader<'a, Ctx>`:
`()` implements `deku::DekuReader<'_, Ctx>`
`(A, B)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G)` implements `deku::DekuReader<'a, Ctx>`
`(A, B, C, D, E, F, G, H)` implements `deku::DekuReader<'a, Ctx>`
and 281 others
Weirdly enough I can still get 0.19.0 when I just compile adsb_deku. But as soon as I try to include it, I get 0.19.1 and the above errors.
Metadata
Metadata
Assignees
Labels
No labels