build(deps): update bitflags requirement from 1.2.1 to 2.4.2 #412
Annotations
10 errors
Run actions-rs-plus/clippy-check@v2:
target/debug/build/mavlink-383591c80e523f29/out/ardupilotmega.rs#L1
error[E0277]: the trait bound `ardupilotmega::_::InternalBitFlags: _::_serde::Serialize` is not satisfied
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-383591c80e523f29/out/ardupilotmega.rs:1:1088
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct UavionixAdsbOutDynamicState : u16 { const UAVIONIX_ADSB_OUT_DYNAMIC_STATE_INTENT_CHANGE = 1 ; const UAVIONIX_ADSB_OUT_DYNAMIC_STATE_AUTOPILOT_ENABLED = 2 ; const UAVIONIX_ADSB_OUT_DYNAMIC_STATE_NICBARO_CROSSCHECKED = 4 ; const UAVIONIX_ADSB_OUT_DYNAMIC_STATE_ON_GROUND = 8 ; const UAVIONIX_ADSB_OUT_DYNAMIC_STATE_IDENT = 16 ; } } im...
| ------------------------------------------------------^^^^^^^^^----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| | |
| | the trait `_::_serde::Serialize` is not implemented for `ardupilotmega::_::InternalBitFlags`
| required by a bound introduced by this call
|
= help: the following other types implement trait `_::_serde::Serialize`:
bool
char
isize
i8
i16
i32
i64
i128
and 1550 others
note: required by a bound in `_::_serde::Serializer::serialize_newtype_struct`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.195/src/ser/mod.rs:900:12
|
894 | fn serialize_newtype_struct<T: ?Sized>(
| ------------------------ required by a bound in this associated function
...
900 | T: Serialize;
| ^^^^^^^^^ required by this bound in `Serializer::serialize_newtype_struct`
= note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs-plus/clippy-check@v2:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.4.2/src/public.rs#L17
error[E0277]: the trait bound `ardupilotmega::_::InternalBitFlags: _::_serde::Deserialize<'_>` is not satisfied
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-383591c80e523f29/out/ardupilotmega.rs:1:1034
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct UavionixAdsbOutDynamicState : u16 { const UAVIONIX_ADSB_OUT_DYNAMIC_STATE_INTENT_CHANGE = 1 ; const UAVIONIX_ADSB_OUT_DYNAMIC_STATE_AUTOPILOT_ENABLED = 2 ; const UAVIONIX_ADSB_OUT_DYNAMIC_STATE_NICBARO_CROSSCHECKED = 4 ; const UAVIONIX_ADSB_OUT_DYNAMIC_STATE_ON_GROUND = 8 ; const UAVIONIX_ADSB_OUT_DYNAMIC_STATE_IDENT = 16 ; } } im...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `_::_serde::Deserialize<'_>` is not implemented for `ardupilotmega::_::InternalBitFlags`
|
= help: the following other types implement trait `_::_serde::Deserialize<'de>`:
bool
char
isize
i8
i16
i32
i64
i128
and 2203 others
= note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs-plus/clippy-check@v2:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.4.2/src/public.rs#L17
error[E0277]: the trait bound `ardupilotmega::_::InternalBitFlags: _::_serde::Deserialize<'_>` is not satisfied
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-383591c80e523f29/out/ardupilotmega.rs:1:1034
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct UavionixAdsbOutDynamicState : u16 { const UAVIONIX_ADSB_OUT_DYNAMIC_STATE_INTENT_CHANGE = 1 ; const UAVIONIX_ADSB_OUT_DYNAMIC_STATE_AUTOPILOT_ENABLED = 2 ; const UAVIONIX_ADSB_OUT_DYNAMIC_STATE_NICBARO_CROSSCHECKED = 4 ; const UAVIONIX_ADSB_OUT_DYNAMIC_STATE_ON_GROUND = 8 ; const UAVIONIX_ADSB_OUT_DYNAMIC_STATE_IDENT = 16 ; } } im...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `_::_serde::Deserialize<'_>` is not implemented for `ardupilotmega::_::InternalBitFlags`
|
= help: the following other types implement trait `_::_serde::Deserialize<'de>`:
bool
char
isize
i8
i16
i32
i64
i128
and 2203 others
note: required by a bound in `_::_serde::de::SeqAccess::next_element`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.195/src/de/mod.rs:1726:12
|
1724 | fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
| ------------ required by a bound in this associated function
1725 | where
1726 | T: Deserialize<'de>,
| ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
= note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/mavlink-383591c80e523f29/out/ardupilotmega.rs#L1
error[E0277]: the trait bound `ardupilotmega::_::InternalBitFlags: _::_serde::Serialize` is not satisfied
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-383591c80e523f29/out/ardupilotmega.rs:1:3392
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct GimbalDeviceErrorFlags : u32 { const GIMBAL_DEVICE_ERROR_FLAGS_AT_ROLL_LIMIT = 1 ; const GIMBAL_DEVICE_ERROR_FLAGS_AT_PITCH_LIMIT = 2 ; const GIMBAL_DEVICE_ERROR_FLAGS_AT_YAW_LIMIT = 4 ; const GIMBAL_DEVICE_ERROR_FLAGS_ENCODER_ERROR = 8 ; const GIMBAL_DEVICE_ERROR_FLAGS_POWER_ERROR = 16 ; const GIMBAL_DEVICE_ERROR_FLAGS_MOTOR_ERROR = 32 ; const GIMBAL_DEVICE_ERROR_FLAGS_SOFTWARE_ERROR = 64 ; const GIMBAL_DEVICE_ERROR_FLAGS_COMMS_ERROR = 128 ; const GIMBAL_DEVICE_ERROR_FLAGS_CALIBRATION_RUNNING = 256 ; const GIMBAL_DEVICE_ERROR_FLAGS_NO_MANAGER = 512 ; } } im...
| ------------------------------------------------------^^^^^^^^^--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| | |
| | the trait `_::_serde::Serialize` is not implemented for `ardupilotmega::_::InternalBitFlags`
| required by a bound introduced by this call
|
= help: the following other types implement trait `_::_serde::Serialize`:
bool
char
isize
i8
i16
i32
i64
i128
and 1550 others
note: required by a bound in `_::_serde::Serializer::serialize_newtype_struct`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.195/src/ser/mod.rs:900:12
|
894 | fn serialize_newtype_struct<T: ?Sized>(
| ------------------------ required by a bound in this associated function
...
900 | T: Serialize;
| ^^^^^^^^^ required by this bound in `Serializer::serialize_newtype_struct`
= note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs-plus/clippy-check@v2:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.4.2/src/public.rs#L17
error[E0277]: the trait bound `ardupilotmega::_::InternalBitFlags: _::_serde::Deserialize<'_>` is not satisfied
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-383591c80e523f29/out/ardupilotmega.rs:1:3338
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct GimbalDeviceErrorFlags : u32 { const GIMBAL_DEVICE_ERROR_FLAGS_AT_ROLL_LIMIT = 1 ; const GIMBAL_DEVICE_ERROR_FLAGS_AT_PITCH_LIMIT = 2 ; const GIMBAL_DEVICE_ERROR_FLAGS_AT_YAW_LIMIT = 4 ; const GIMBAL_DEVICE_ERROR_FLAGS_ENCODER_ERROR = 8 ; const GIMBAL_DEVICE_ERROR_FLAGS_POWER_ERROR = 16 ; const GIMBAL_DEVICE_ERROR_FLAGS_MOTOR_ERROR = 32 ; const GIMBAL_DEVICE_ERROR_FLAGS_SOFTWARE_ERROR = 64 ; const GIMBAL_DEVICE_ERROR_FLAGS_COMMS_ERROR = 128 ; const GIMBAL_DEVICE_ERROR_FLAGS_CALIBRATION_RUNNING = 256 ; const GIMBAL_DEVICE_ERROR_FLAGS_NO_MANAGER = 512 ; } } im...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `_::_serde::Deserialize<'_>` is not implemented for `ardupilotmega::_::InternalBitFlags`
|
= help: the following other types implement trait `_::_serde::Deserialize<'de>`:
bool
char
isize
i8
i16
i32
i64
i128
and 2203 others
= note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs-plus/clippy-check@v2:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.4.2/src/public.rs#L17
error[E0277]: the trait bound `ardupilotmega::_::InternalBitFlags: _::_serde::Deserialize<'_>` is not satisfied
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-383591c80e523f29/out/ardupilotmega.rs:1:3338
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct GimbalDeviceErrorFlags : u32 { const GIMBAL_DEVICE_ERROR_FLAGS_AT_ROLL_LIMIT = 1 ; const GIMBAL_DEVICE_ERROR_FLAGS_AT_PITCH_LIMIT = 2 ; const GIMBAL_DEVICE_ERROR_FLAGS_AT_YAW_LIMIT = 4 ; const GIMBAL_DEVICE_ERROR_FLAGS_ENCODER_ERROR = 8 ; const GIMBAL_DEVICE_ERROR_FLAGS_POWER_ERROR = 16 ; const GIMBAL_DEVICE_ERROR_FLAGS_MOTOR_ERROR = 32 ; const GIMBAL_DEVICE_ERROR_FLAGS_SOFTWARE_ERROR = 64 ; const GIMBAL_DEVICE_ERROR_FLAGS_COMMS_ERROR = 128 ; const GIMBAL_DEVICE_ERROR_FLAGS_CALIBRATION_RUNNING = 256 ; const GIMBAL_DEVICE_ERROR_FLAGS_NO_MANAGER = 512 ; } } im...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `_::_serde::Deserialize<'_>` is not implemented for `ardupilotmega::_::InternalBitFlags`
|
= help: the following other types implement trait `_::_serde::Deserialize<'de>`:
bool
char
isize
i8
i16
i32
i64
i128
and 2203 others
note: required by a bound in `_::_serde::de::SeqAccess::next_element`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.195/src/de/mod.rs:1726:12
|
1724 | fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
| ------------ required by a bound in this associated function
1725 | where
1726 | T: Deserialize<'de>,
| ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
= note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/mavlink-383591c80e523f29/out/ardupilotmega.rs#L1
error[E0277]: the trait bound `ardupilotmega::_::InternalBitFlags: _::_serde::Serialize` is not satisfied
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-383591c80e523f29/out/ardupilotmega.rs:1:11405
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct LimitModule : u8 { const LIMIT_GPSLOCK = 1 ; const LIMIT_GEOFENCE = 2 ; const LIMIT_ALTITUDE = 4 ; } } im...
| ------------------------------------------------------^^^^^^^^^-----------------------------------------------------------------------------------------------------------------------------------
| | |
| | the trait `_::_serde::Serialize` is not implemented for `ardupilotmega::_::InternalBitFlags`
| required by a bound introduced by this call
|
= help: the following other types implement trait `_::_serde::Serialize`:
bool
char
isize
i8
i16
i32
i64
i128
and 1550 others
note: required by a bound in `_::_serde::Serializer::serialize_newtype_struct`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.195/src/ser/mod.rs:900:12
|
894 | fn serialize_newtype_struct<T: ?Sized>(
| ------------------------ required by a bound in this associated function
...
900 | T: Serialize;
| ^^^^^^^^^ required by this bound in `Serializer::serialize_newtype_struct`
= note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs-plus/clippy-check@v2:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.4.2/src/public.rs#L17
error[E0277]: the trait bound `ardupilotmega::_::InternalBitFlags: _::_serde::Deserialize<'_>` is not satisfied
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-383591c80e523f29/out/ardupilotmega.rs:1:11351
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct LimitModule : u8 { const LIMIT_GPSLOCK = 1 ; const LIMIT_GEOFENCE = 2 ; const LIMIT_ALTITUDE = 4 ; } } im...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `_::_serde::Deserialize<'_>` is not implemented for `ardupilotmega::_::InternalBitFlags`
|
= help: the following other types implement trait `_::_serde::Deserialize<'de>`:
bool
char
isize
i8
i16
i32
i64
i128
and 2203 others
= note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs-plus/clippy-check@v2:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.4.2/src/public.rs#L17
error[E0277]: the trait bound `ardupilotmega::_::InternalBitFlags: _::_serde::Deserialize<'_>` is not satisfied
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-383591c80e523f29/out/ardupilotmega.rs:1:11351
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct LimitModule : u8 { const LIMIT_GPSLOCK = 1 ; const LIMIT_GEOFENCE = 2 ; const LIMIT_ALTITUDE = 4 ; } } im...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `_::_serde::Deserialize<'_>` is not implemented for `ardupilotmega::_::InternalBitFlags`
|
= help: the following other types implement trait `_::_serde::Deserialize<'de>`:
bool
char
isize
i8
i16
i32
i64
i128
and 2203 others
note: required by a bound in `_::_serde::de::SeqAccess::next_element`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.195/src/de/mod.rs:1726:12
|
1724 | fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
| ------------ required by a bound in this associated function
1725 | where
1726 | T: Deserialize<'de>,
| ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
= note: this error originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/mavlink-383591c80e523f29/out/ardupilotmega.rs#L1
error[E0277]: the trait bound `ardupilotmega::_::InternalBitFlags: _::_serde::Serialize` is not satisfied
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-383591c80e523f29/out/ardupilotmega.rs:1:13549
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct PositionTargetTypemask : u16 { const POSITION_TARGET_TYPEMASK_X_IGNORE = 1 ; const POSITION_TARGET_TYPEMASK_Y_IGNORE = 2 ; const POSITION_TARGET_TYPEMASK_Z_IGNORE = 4 ; const POSITION_TARGET_TYPEMASK_VX_IGNORE = 8 ; const POSITION_TARGET_TYPEMASK_VY_IGNORE = 16 ; const POSITION_TARGET_TYPEMASK_VZ_IGNORE = 32 ; const POSITION_TARGET_TYPEMASK_AX_IGNORE = 64 ; const POSITION_TARGET_TYPEMASK_AY_IGNORE = 128 ; const POSITION_TARGET_TYPEMASK_AZ_IGNORE = 256 ; const POSITION_TARGET_TYPEMASK_FORCE_SET = 512 ; const POSITION_TARGET_TYPEMASK_YAW_IGNORE = 1024 ; const POSITION_TARGET_TYPEMASK_YAW_RATE_IGNORE = 2048 ; } } im...
| ------------------------------------------------------^^^^^^^^^----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| | |
| | the trait `_::_serde::Serialize` is not implemented for `ardupilotmega::_::InternalBitFlags`
| required by a bound introduced by this call
|
= help: the following other types implement trait `_::_serde::Serialize`:
bool
char
isize
i8
i16
i32
i64
i128
and 1550 others
note: required by a bound in `_::_serde::Serializer::serialize_newtype_struct`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.195/src/ser/mod.rs:900:12
|
894 | fn serialize_newtype_struct<T: ?Sized>(
| ------------------------ required by a bound in this associated function
...
900 | T: Serialize;
| ^^^^^^^^^ required by this bound in `Serializer::serialize_newtype_struct`
= note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
|
The logs for this run have expired and are no longer available.
Loading