Skip to content

build(deps): update bitflags requirement from 1.2.1 to 2.6.0 #565

build(deps): update bitflags requirement from 1.2.1 to 2.6.0

build(deps): update bitflags requirement from 1.2.1 to 2.6.0 #565

Triggered via pull request August 26, 2024 07:28
Status Failure
Total duration 40m 1s
Artifacts

test.yml

on: pull_request
Matrix: internal-tests
Matrix: msrv
test-embedded-size
0s
test-embedded-size
Fit to window
Zoom out
Zoom in

Annotations

48 errors and 4 warnings
mavlink-dump
Process completed with exit code 101.
internal-tests (common, --features signing)
Process completed with exit code 101.
internal-tests (matrixpilot, --features signing)
The job was canceled because "common_--features_signing" failed.
internal-tests (paparazzi)
The job was canceled because "common_--features_signing" failed.
internal-tests (minimal)
The job was canceled because "common_--features_signing" failed.
internal-tests (python_array_test, --features signing)
The job was canceled because "common_--features_signing" failed.
internal-tests (paparazzi, --features signing)
The job was canceled because "common_--features_signing" failed.
internal-tests (slugs, --features signing)
The job was canceled because "common_--features_signing" failed.
internal-tests (slugs)
The job was canceled because "common_--features_signing" failed.
internal-tests (python_array_test)
The job was canceled because "common_--features_signing" failed.
internal-tests (standard)
The job was canceled because "common_--features_signing" failed.
internal-tests (standard, --features signing)
The job was canceled because "common_--features_signing" failed.
internal-tests (minimal, --features signing)
The job was canceled because "common_--features_signing" failed.
internal-tests (test)
The job was canceled because "common_--features_signing" failed.
internal-tests (test, --features signing)
The job was canceled because "common_--features_signing" failed.
internal-tests (uavionix, --features signing)
The job was canceled because "common_--features_signing" failed.
internal-tests (ualberta)
The job was canceled because "common_--features_signing" failed.
internal-tests (ualberta, --features signing)
The job was canceled because "common_--features_signing" failed.
internal-tests (uavionix)
The job was canceled because "common_--features_signing" failed.
internal-tests (icarous)
The job was canceled because "common_--features_signing" failed.
internal-tests (icarous)
The operation was canceled.
internal-tests (icarous, --features signing)
The job was canceled because "common_--features_signing" failed.
internal-tests (icarous, --features signing)
The operation was canceled.
internal-tests (common)
The job was canceled because "common_--features_signing" failed.
internal-tests (common)
The operation was canceled.
internal-tests (ardupilotmega, --features signing)
The job was canceled because "common_--features_signing" failed.
internal-tests (ardupilotmega, --features signing)
The operation was canceled.
internal-tests (ardupilotmega)
The job was canceled because "common_--features_signing" failed.
internal-tests (ardupilotmega)
The operation was canceled.
internal-tests (matrixpilot)
The job was canceled because "common_--features_signing" failed.
internal-tests (matrixpilot)
The operation was canceled.
internal-tests (asluav, --features signing)
The job was canceled because "common_--features_signing" failed.
internal-tests (asluav, --features signing)
The operation was canceled.
internal-tests (asluav)
The job was canceled because "common_--features_signing" failed.
internal-tests (asluav)
The operation was canceled.
msrv (--features signing)
The process '/home/runner/.cargo/bin/cross' failed with exit code 101
msrv
The job was canceled because "_--features_signing" failed.
msrv
The operation was canceled.
the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Serialize` is not satisfied: target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs#L1
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Serialize` is not satisfied --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs:1:7492 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct AttitudeTargetTypemask : u8 { const ATTITUDE_TARGET_TYPEMASK_BODY_ROLL_RATE_IGNORE = 1 ; const ATTITUDE_TARGET_TYPEMASK_BODY_PITCH_RATE_IGNORE = 2 ; const ATTITUDE_TARGET_TYPEMASK_BODY_YAW_RATE_IGNORE = 4 ; const ATTITUDE_TARGET_TYPEMASK_THRUST_BODY_SET = 32 ; const ATTITUDE_TARGET_TYPEMASK_THROTTLE_IGNORE = 64 ; const ATTITUDE_TARGET_TYPEMASK_ATTITUDE_IGNORE = 128 ; } } im... | ------------------------------------------------------^^^^^^^^^------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | | | | the trait `ardupilotmega::_::_serde::Serialize` is not implemented for `uavionix::_::InternalBitFlags` | required by a bound introduced by this call | = help: the following other types implement trait `ardupilotmega::_::_serde::Serialize`: bool char isize i8 i16 i32 i64 i128 and 1515 others note: required by a bound in `ardupilotmega::_::_serde::Serializer::serialize_newtype_struct` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/ser/mod.rs:907:21 | 901 | fn serialize_newtype_struct<T>( | ------------------------ required by a bound in this associated function ... 907 | T: ?Sized + 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 trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Deserialize<'_>` is not satisfied: home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.6.0/src/public.rs#L17
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Deserialize<'_>` is not satisfied --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs:1:7438 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct AttitudeTargetTypemask : u8 { const ATTITUDE_TARGET_TYPEMASK_BODY_ROLL_RATE_IGNORE = 1 ; const ATTITUDE_TARGET_TYPEMASK_BODY_PITCH_RATE_IGNORE = 2 ; const ATTITUDE_TARGET_TYPEMASK_BODY_YAW_RATE_IGNORE = 4 ; const ATTITUDE_TARGET_TYPEMASK_THRUST_BODY_SET = 32 ; const ATTITUDE_TARGET_TYPEMASK_THROTTLE_IGNORE = 64 ; const ATTITUDE_TARGET_TYPEMASK_ATTITUDE_IGNORE = 128 ; } } im... | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ardupilotmega::_::_serde::Deserialize<'_>` is not implemented for `uavionix::_::InternalBitFlags` | = help: the following other types implement trait `ardupilotmega::_::_serde::Deserialize<'de>`: bool char isize i8 i16 i32 i64 i128 and 2026 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)
the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Deserialize<'_>` is not satisfied: home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.6.0/src/public.rs#L17
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Deserialize<'_>` is not satisfied --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs:1:7438 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct AttitudeTargetTypemask : u8 { const ATTITUDE_TARGET_TYPEMASK_BODY_ROLL_RATE_IGNORE = 1 ; const ATTITUDE_TARGET_TYPEMASK_BODY_PITCH_RATE_IGNORE = 2 ; const ATTITUDE_TARGET_TYPEMASK_BODY_YAW_RATE_IGNORE = 4 ; const ATTITUDE_TARGET_TYPEMASK_THRUST_BODY_SET = 32 ; const ATTITUDE_TARGET_TYPEMASK_THROTTLE_IGNORE = 64 ; const ATTITUDE_TARGET_TYPEMASK_ATTITUDE_IGNORE = 128 ; } } im... | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ardupilotmega::_::_serde::Deserialize<'_>` is not implemented for `uavionix::_::InternalBitFlags` | = help: the following other types implement trait `ardupilotmega::_::_serde::Deserialize<'de>`: bool char isize i8 i16 i32 i64 i128 and 2026 others note: required by a bound in `ardupilotmega::_::_serde::de::SeqAccess::next_element` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/mod.rs:1733:12 | 1731 | fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error> | ------------ required by a bound in this associated function 1732 | where 1733 | 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)
the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Serialize` is not satisfied: target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs#L1
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Serialize` is not satisfied --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs:1:8675 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct UtmDataAvailFlags : u8 { const UTM_DATA_AVAIL_FLAGS_TIME_VALID = 1 ; const UTM_DATA_AVAIL_FLAGS_UAS_ID_AVAILABLE = 2 ; const UTM_DATA_AVAIL_FLAGS_POSITION_AVAILABLE = 4 ; const UTM_DATA_AVAIL_FLAGS_ALTITUDE_AVAILABLE = 8 ; const UTM_DATA_AVAIL_FLAGS_RELATIVE_ALTITUDE_AVAILABLE = 16 ; const UTM_DATA_AVAIL_FLAGS_HORIZONTAL_VELO_AVAILABLE = 32 ; const UTM_DATA_AVAIL_FLAGS_VERTICAL_VELO_AVAILABLE = 64 ; const UTM_DATA_AVAIL_FLAGS_NEXT_WAYPOINT_AVAILABLE = 128 ; } } im... | ------------------------------------------------------^^^^^^^^^-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | | | | the trait `ardupilotmega::_::_serde::Serialize` is not implemented for `uavionix::_::InternalBitFlags` | required by a bound introduced by this call | = help: the following other types implement trait `ardupilotmega::_::_serde::Serialize`: bool char isize i8 i16 i32 i64 i128 and 1515 others note: required by a bound in `ardupilotmega::_::_serde::Serializer::serialize_newtype_struct` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/ser/mod.rs:907:21 | 901 | fn serialize_newtype_struct<T>( | ------------------------ required by a bound in this associated function ... 907 | T: ?Sized + 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 trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Deserialize<'_>` is not satisfied: home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.6.0/src/public.rs#L17
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Deserialize<'_>` is not satisfied --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs:1:8621 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct UtmDataAvailFlags : u8 { const UTM_DATA_AVAIL_FLAGS_TIME_VALID = 1 ; const UTM_DATA_AVAIL_FLAGS_UAS_ID_AVAILABLE = 2 ; const UTM_DATA_AVAIL_FLAGS_POSITION_AVAILABLE = 4 ; const UTM_DATA_AVAIL_FLAGS_ALTITUDE_AVAILABLE = 8 ; const UTM_DATA_AVAIL_FLAGS_RELATIVE_ALTITUDE_AVAILABLE = 16 ; const UTM_DATA_AVAIL_FLAGS_HORIZONTAL_VELO_AVAILABLE = 32 ; const UTM_DATA_AVAIL_FLAGS_VERTICAL_VELO_AVAILABLE = 64 ; const UTM_DATA_AVAIL_FLAGS_NEXT_WAYPOINT_AVAILABLE = 128 ; } } im... | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ardupilotmega::_::_serde::Deserialize<'_>` is not implemented for `uavionix::_::InternalBitFlags` | = help: the following other types implement trait `ardupilotmega::_::_serde::Deserialize<'de>`: bool char isize i8 i16 i32 i64 i128 and 2026 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)
the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Deserialize<'_>` is not satisfied: home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.6.0/src/public.rs#L17
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Deserialize<'_>` is not satisfied --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs:1:8621 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct UtmDataAvailFlags : u8 { const UTM_DATA_AVAIL_FLAGS_TIME_VALID = 1 ; const UTM_DATA_AVAIL_FLAGS_UAS_ID_AVAILABLE = 2 ; const UTM_DATA_AVAIL_FLAGS_POSITION_AVAILABLE = 4 ; const UTM_DATA_AVAIL_FLAGS_ALTITUDE_AVAILABLE = 8 ; const UTM_DATA_AVAIL_FLAGS_RELATIVE_ALTITUDE_AVAILABLE = 16 ; const UTM_DATA_AVAIL_FLAGS_HORIZONTAL_VELO_AVAILABLE = 32 ; const UTM_DATA_AVAIL_FLAGS_VERTICAL_VELO_AVAILABLE = 64 ; const UTM_DATA_AVAIL_FLAGS_NEXT_WAYPOINT_AVAILABLE = 128 ; } } im... | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ardupilotmega::_::_serde::Deserialize<'_>` is not implemented for `uavionix::_::InternalBitFlags` | = help: the following other types implement trait `ardupilotmega::_::_serde::Deserialize<'de>`: bool char isize i8 i16 i32 i64 i128 and 2026 others note: required by a bound in `ardupilotmega::_::_serde::de::SeqAccess::next_element` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/mod.rs:1733:12 | 1731 | fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error> | ------------ required by a bound in this associated function 1732 | where 1733 | 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)
the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Serialize` is not satisfied: target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs#L1
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Serialize` is not satisfied --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs:1:30740 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct MavSysStatusSensor : u32 { const MAV_SYS_STATUS_SENSOR_3D_GYRO = 1 ; const MAV_SYS_STATUS_SENSOR_3D_ACCEL = 2 ; const MAV_SYS_STATUS_SENSOR_3D_MAG = 4 ; const MAV_SYS_STATUS_SENSOR_ABSOLUTE_PRESSURE = 8 ; const MAV_SYS_STATUS_SENSOR_DIFFERENTIAL_PRESSURE = 16 ; const MAV_SYS_STATUS_SENSOR_GPS = 32 ; const MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW = 64 ; const MAV_SYS_STATUS_SENSOR_VISION_POSITION = 128 ; const MAV_SYS_STATUS_SENSOR_LASER_POSITION = 256 ; const MAV_SYS_STATUS_SENSOR_EXTERNAL_GROUND_TRUTH = 512 ; const MAV_SYS_STATUS_SENSOR_ANGULAR_RATE_CONTROL = 1024 ; const MAV_SYS_STATUS_SENSOR_ATTITUDE_STABILIZATION = 2048 ; const MAV_SYS_STATUS_SENSOR_YAW_POSITION = 4096 ; const MAV_SYS_STATUS_SENSOR_Z_ALTITUDE_CONTROL = 8192 ; const MAV_SYS_STATUS_SENSOR_XY_POSITION_CONTROL = 16384 ; const MAV_SYS_STATUS_SENSOR_MOTOR_OUTPUTS = 32768 ; const MAV_SYS_STATUS_SENSOR_RC_RECEIVER = 65536 ; const MAV_SYS_STATUS_SENSOR_3D_GYRO2 = 131072 ; const MAV_SYS_STATUS_SENSOR_3D_ACCEL2 = 262144 ; const MAV_SYS_STATUS_SENSOR_3D_MAG2 = 524288 ; const MAV_SYS_STATUS_GEOFENCE = 1048576 ; const MAV_SYS_STATUS_AHRS = 2097152 ; const MAV_SYS_STATUS_TERRAIN = 4194304 ; const MAV_SYS_STATUS_REVERSE_MOTOR = 8388608 ; const MAV_SYS_STATUS_LOGGING = 16777216 ; const MAV_SYS_STATUS_SENSOR_BATTERY = 33554432 ; const MAV_SYS_STATUS_SENSOR_PROXIMITY = 67108864 ; const MAV_SYS_STATUS_SENSOR_SATCOM = 134217728 ; const MAV_SYS_STATUS_PREARM_CHECK = 268435456 ; const MAV_SYS_STATUS_OBSTACLE_AVOIDANCE = 536870912 ; const MAV_SYS_STATUS_SENSOR_PROPULSION = 1073741824 ; const MAV_SYS_STATUS_EXTENSION_USED = 2147483648 ; } } im... | ------------------------------------------------------^^^^^^^^^---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | | | | the trait `ardupilotmega::_::_serde::Serialize` is not implemented for `uavionix::_::InternalBitFlags` | required by a bound introduced by this call | = help: the following other types implement trait `ardupilotmega::_::_serde::Serialize`: bool
the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Deserialize<'_>` is not satisfied: home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.6.0/src/public.rs#L17
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Deserialize<'_>` is not satisfied --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs:1:30686 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct MavSysStatusSensor : u32 { const MAV_SYS_STATUS_SENSOR_3D_GYRO = 1 ; const MAV_SYS_STATUS_SENSOR_3D_ACCEL = 2 ; const MAV_SYS_STATUS_SENSOR_3D_MAG = 4 ; const MAV_SYS_STATUS_SENSOR_ABSOLUTE_PRESSURE = 8 ; const MAV_SYS_STATUS_SENSOR_DIFFERENTIAL_PRESSURE = 16 ; const MAV_SYS_STATUS_SENSOR_GPS = 32 ; const MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW = 64 ; const MAV_SYS_STATUS_SENSOR_VISION_POSITION = 128 ; const MAV_SYS_STATUS_SENSOR_LASER_POSITION = 256 ; const MAV_SYS_STATUS_SENSOR_EXTERNAL_GROUND_TRUTH = 512 ; const MAV_SYS_STATUS_SENSOR_ANGULAR_RATE_CONTROL = 1024 ; const MAV_SYS_STATUS_SENSOR_ATTITUDE_STABILIZATION = 2048 ; const MAV_SYS_STATUS_SENSOR_YAW_POSITION = 4096 ; const MAV_SYS_STATUS_SENSOR_Z_ALTITUDE_CONTROL = 8192 ; const MAV_SYS_STATUS_SENSOR_XY_POSITION_CONTROL = 16384 ; const MAV_SYS_STATUS_SENSOR_MOTOR_OUTPUTS = 32768 ; const MAV_SYS_STATUS_SENSOR_RC_RECEIVER = 65536 ; const MAV_SYS_STATUS_SENSOR_3D_GYRO2 = 131072 ; const MAV_SYS_STATUS_SENSOR_3D_ACCEL2 = 262144 ; const MAV_SYS_STATUS_SENSOR_3D_MAG2 = 524288 ; const MAV_SYS_STATUS_GEOFENCE = 1048576 ; const MAV_SYS_STATUS_AHRS = 2097152 ; const MAV_SYS_STATUS_TERRAIN = 4194304 ; const MAV_SYS_STATUS_REVERSE_MOTOR = 8388608 ; const MAV_SYS_STATUS_LOGGING = 16777216 ; const MAV_SYS_STATUS_SENSOR_BATTERY = 33554432 ; const MAV_SYS_STATUS_SENSOR_PROXIMITY = 67108864 ; const MAV_SYS_STATUS_SENSOR_SATCOM = 134217728 ; const MAV_SYS_STATUS_PREARM_CHECK = 268435456 ; const MAV_SYS_STATUS_OBSTACLE_AVOIDANCE = 536870912 ; const MAV_SYS_STATUS_SENSOR_PROPULSION = 1073741824 ; const MAV_SYS_STATUS_EXTENSION_USED = 2147483648 ; } } im... |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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ardupilotmega::_::_serde::Deserialize<'_>` is not implemented for `uavionix::_::InternalBitFlags` | = help: the following other types implement trait `ardupilotmega::_::_serde::Deserialize<'de>`: bool char isize i8 i16 i32 i64 i128 and 2026 others = note: this error originates in the macro `$crate::__de
the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Deserialize<'_>` is not satisfied: home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.6.0/src/public.rs#L17
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Deserialize<'_>` is not satisfied --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs:1:30686 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct MavSysStatusSensor : u32 { const MAV_SYS_STATUS_SENSOR_3D_GYRO = 1 ; const MAV_SYS_STATUS_SENSOR_3D_ACCEL = 2 ; const MAV_SYS_STATUS_SENSOR_3D_MAG = 4 ; const MAV_SYS_STATUS_SENSOR_ABSOLUTE_PRESSURE = 8 ; const MAV_SYS_STATUS_SENSOR_DIFFERENTIAL_PRESSURE = 16 ; const MAV_SYS_STATUS_SENSOR_GPS = 32 ; const MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW = 64 ; const MAV_SYS_STATUS_SENSOR_VISION_POSITION = 128 ; const MAV_SYS_STATUS_SENSOR_LASER_POSITION = 256 ; const MAV_SYS_STATUS_SENSOR_EXTERNAL_GROUND_TRUTH = 512 ; const MAV_SYS_STATUS_SENSOR_ANGULAR_RATE_CONTROL = 1024 ; const MAV_SYS_STATUS_SENSOR_ATTITUDE_STABILIZATION = 2048 ; const MAV_SYS_STATUS_SENSOR_YAW_POSITION = 4096 ; const MAV_SYS_STATUS_SENSOR_Z_ALTITUDE_CONTROL = 8192 ; const MAV_SYS_STATUS_SENSOR_XY_POSITION_CONTROL = 16384 ; const MAV_SYS_STATUS_SENSOR_MOTOR_OUTPUTS = 32768 ; const MAV_SYS_STATUS_SENSOR_RC_RECEIVER = 65536 ; const MAV_SYS_STATUS_SENSOR_3D_GYRO2 = 131072 ; const MAV_SYS_STATUS_SENSOR_3D_ACCEL2 = 262144 ; const MAV_SYS_STATUS_SENSOR_3D_MAG2 = 524288 ; const MAV_SYS_STATUS_GEOFENCE = 1048576 ; const MAV_SYS_STATUS_AHRS = 2097152 ; const MAV_SYS_STATUS_TERRAIN = 4194304 ; const MAV_SYS_STATUS_REVERSE_MOTOR = 8388608 ; const MAV_SYS_STATUS_LOGGING = 16777216 ; const MAV_SYS_STATUS_SENSOR_BATTERY = 33554432 ; const MAV_SYS_STATUS_SENS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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ardupilotmega::_::_serde::Deserialize<'_>` is not implemented for `uavionix::_::InternalBitFlags` | = help: the following other types implement trait `ardupilotmega::_::_serde::Deserialize<'de>`: bool char isize i8 i16 i32 i64 i128 and 2026 others note: require
the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Serialize` is not satisfied: target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs#L1
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Serialize` is not satisfied --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-b93a66518e12f74f/out/uavionix.rs:1:38958 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct UavionixAdsbOutRfSelect : u8 { const UAVIONIX_ADSB_OUT_RF_SELECT_STANDBY = 0 ; const UAVIONIX_ADSB_OUT_RF_SELECT_RX_ENABLED = 1 ; const UAVIONIX_ADSB_OUT_RF_SELECT_TX_ENABLED = 2 ; } } im... | ------------------------------------------------------^^^^^^^^^--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | | | | the trait `ardupilotmega::_::_serde::Serialize` is not implemented for `uavionix::_::InternalBitFlags` | required by a bound introduced by this call | = help: the following other types implement trait `ardupilotmega::_::_serde::Serialize`: bool char isize i8 i16 i32 i64 i128 and 1515 others note: required by a bound in `ardupilotmega::_::_serde::Serializer::serialize_newtype_struct` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/ser/mod.rs:907:21 | 901 | fn serialize_newtype_struct<T>( | ------------------------ required by a bound in this associated function ... 907 | T: ?Sized + 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)
msrv (--features signing)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
msrv (--features signing)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
this looks like an `else if` but the `else` is missing: target/debug/build/mavlink-b93a66518e12f74f/out/ardupilotmega.rs#L1
warning: this looks like an `else if` but the `else` is missing --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-b93a66518e12f74f/out/ardupilotmega.rs:1:389446 | 1 | ...es, but got {})" , Self :: ENCODED_LEN , __tmp . remaining () ,) } if matches ! (version , MavlinkVersion :: V2) { let len = __tmp . l... | ^ | = note: to remove this lint, add the missing `else` or add a new line before the second `if` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_else_formatting = note: `#[warn(clippy::suspicious_else_formatting)]` on by default
this looks like an `else if` but the `else` is missing: target/debug/build/mavlink-b93a66518e12f74f/out/ardupilotmega.rs#L1
warning: this looks like an `else if` but the `else` is missing --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-b93a66518e12f74f/out/ardupilotmega.rs:1:585754 | 1 | ...es, but got {})" , Self :: ENCODED_LEN , __tmp . remaining () ,) } if matches ! (version , MavlinkVersion :: V2) { let len = __tmp . l... | ^ | = note: to remove this lint, add the missing `else` or add a new line before the second `if` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_else_formatting