Skip to content

build(deps): update bitflags requirement from 1.2.1 to 2.4.2 #413

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

build(deps): update bitflags requirement from 1.2.1 to 2.4.2 #413

Triggered via pull request January 17, 2024 07:08
Status Failure
Total duration 34m 45s
Artifacts

test.yml

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

Annotations

37 errors and 1 warning
mavlink-dump
Process completed with exit code 101.
internal-tests (ardupilotmega)
Process completed with exit code 101.
internal-tests (paparazzi)
The job was canceled because "ardupilotmega" failed.
internal-tests (paparazzi)
The operation was canceled.
internal-tests (python_array_test)
The job was canceled because "ardupilotmega" failed.
internal-tests (python_array_test)
The operation was canceled.
internal-tests (uavionix)
The job was canceled because "ardupilotmega" failed.
internal-tests (uavionix)
The operation was canceled.
internal-tests (asluav)
The job was canceled because "ardupilotmega" failed.
internal-tests (asluav)
The operation was canceled.
internal-tests (ualberta)
The job was canceled because "ardupilotmega" failed.
internal-tests (ualberta)
The operation was canceled.
internal-tests (matrixpilot)
The job was canceled because "ardupilotmega" failed.
internal-tests (matrixpilot)
The operation was canceled.
internal-tests (standard)
The job was canceled because "ardupilotmega" failed.
internal-tests (standard)
The operation was canceled.
internal-tests (minimal)
The job was canceled because "ardupilotmega" failed.
internal-tests (minimal)
The operation was canceled.
internal-tests (icarous)
The job was canceled because "ardupilotmega" failed.
internal-tests (icarous)
The operation was canceled.
internal-tests (slugs)
The job was canceled because "ardupilotmega" failed.
internal-tests (slugs)
The operation was canceled.
internal-tests (common)
The job was canceled because "ardupilotmega" failed.
internal-tests (common)
The operation was canceled.
internal-tests (test)
The job was canceled because "ardupilotmega" failed.
internal-tests (test)
The operation was canceled.
msrv
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
the trait bound `ardupilotmega::_::InternalBitFlags: _::_serde::Serialize` is not satisfied: 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:610 | 1 | ... ; bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct CameraCapFlags : u32 { const CAMERA_CAP_FLAGS_CAPTURE_VIDEO = 1 ; const CAMERA_CAP_FLAGS_CAPTURE_IMAGE = 2 ; const CAMERA_CAP_FLAGS_HAS_MODES = 4 ; const CAMERA_CAP_FLAGS_CAN_CAPTURE_IMAGE_IN_VIDEO_MODE = 8 ; const CAMERA_CAP_FLAGS_CAN_CAPTURE_VIDEO_IN_IMAGE_MODE = 16 ; const CAMERA_CAP_FLAGS_HAS_IMAGE_SURVEY_MODE = 32 ; const CAMERA_CAP_FLAGS_HAS_BASIC_ZOOM = 64 ; const CAMERA_CAP_FLAGS_HAS_BASIC_FOCUS = 128 ; const CAMERA_CAP_FLAGS_HAS_VIDEO_STREAM = 256 ; const CAMERA_CAP_FLAGS_HAS_TRACKING_POINT = 512 ; const CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE = 1024 ; const CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS = 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 trait bound `ardupilotmega::_::InternalBitFlags: _::_serde::Deserialize<'_>` is not satisfied: 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:556 | 1 | ... ; bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct CameraCapFlags : u32 { const CAMERA_CAP_FLAGS_CAPTURE_VIDEO = 1 ; const CAMERA_CAP_FLAGS_CAPTURE_IMAGE = 2 ; const CAMERA_CAP_FLAGS_HAS_MODES = 4 ; const CAMERA_CAP_FLAGS_CAN_CAPTURE_IMAGE_IN_VIDEO_MODE = 8 ; const CAMERA_CAP_FLAGS_CAN_CAPTURE_VIDEO_IN_IMAGE_MODE = 16 ; const CAMERA_CAP_FLAGS_HAS_IMAGE_SURVEY_MODE = 32 ; const CAMERA_CAP_FLAGS_HAS_BASIC_ZOOM = 64 ; const CAMERA_CAP_FLAGS_HAS_BASIC_FOCUS = 128 ; const CAMERA_CAP_FLAGS_HAS_VIDEO_STREAM = 256 ; const CAMERA_CAP_FLAGS_HAS_TRACKING_POINT = 512 ; const CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE = 1024 ; const CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS = 2048 ; } } 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)
the trait bound `ardupilotmega::_::InternalBitFlags: _::_serde::Deserialize<'_>` is not satisfied: 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:556 | 1 | ... ; bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct CameraCapFlags : u32 { const CAMERA_CAP_FLAGS_CAPTURE_VIDEO = 1 ; const CAMERA_CAP_FLAGS_CAPTURE_IMAGE = 2 ; const CAMERA_CAP_FLAGS_HAS_MODES = 4 ; const CAMERA_CAP_FLAGS_CAN_CAPTURE_IMAGE_IN_VIDEO_MODE = 8 ; const CAMERA_CAP_FLAGS_CAN_CAPTURE_VIDEO_IN_IMAGE_MODE = 16 ; const CAMERA_CAP_FLAGS_HAS_IMAGE_SURVEY_MODE = 32 ; const CAMERA_CAP_FLAGS_HAS_BASIC_ZOOM = 64 ; const CAMERA_CAP_FLAGS_HAS_BASIC_FOCUS = 128 ; const CAMERA_CAP_FLAGS_HAS_VIDEO_STREAM = 256 ; const CAMERA_CAP_FLAGS_HAS_TRACKING_POINT = 512 ; const CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE = 1024 ; const CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS = 2048 ; } } 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)
the trait bound `ardupilotmega::_::InternalBitFlags: _::_serde::Serialize` is not satisfied: 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:1500 | 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)
the trait bound `ardupilotmega::_::InternalBitFlags: _::_serde::Deserialize<'_>` is not satisfied: 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:1446 | 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)
the trait bound `ardupilotmega::_::InternalBitFlags: _::_serde::Deserialize<'_>` is not satisfied: 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:1446 | 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)
the trait bound `ardupilotmega::_::InternalBitFlags: _::_serde::Serialize` is not satisfied: 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:11372 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct MavModeFlag : u8 { const MAV_MODE_FLAG_SAFETY_ARMED = 128 ; const MAV_MODE_FLAG_MANUAL_INPUT_ENABLED = 64 ; const MAV_MODE_FLAG_HIL_ENABLED = 32 ; const MAV_MODE_FLAG_STABILIZE_ENABLED = 16 ; const MAV_MODE_FLAG_GUIDED_ENABLED = 8 ; const MAV_MODE_FLAG_AUTO_ENABLED = 4 ; const MAV_MODE_FLAG_TEST_ENABLED = 2 ; const MAV_MODE_FLAG_CUSTOM_MODE_ENABLED = 1 ; } } 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 trait bound `ardupilotmega::_::InternalBitFlags: _::_serde::Deserialize<'_>` is not satisfied: 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:11318 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct MavModeFlag : u8 { const MAV_MODE_FLAG_SAFETY_ARMED = 128 ; const MAV_MODE_FLAG_MANUAL_INPUT_ENABLED = 64 ; const MAV_MODE_FLAG_HIL_ENABLED = 32 ; const MAV_MODE_FLAG_STABILIZE_ENABLED = 16 ; const MAV_MODE_FLAG_GUIDED_ENABLED = 8 ; const MAV_MODE_FLAG_AUTO_ENABLED = 4 ; const MAV_MODE_FLAG_TEST_ENABLED = 2 ; const MAV_MODE_FLAG_CUSTOM_MODE_ENABLED = 1 ; } } 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)
the trait bound `ardupilotmega::_::InternalBitFlags: _::_serde::Deserialize<'_>` is not satisfied: 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:11318 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct MavModeFlag : u8 { const MAV_MODE_FLAG_SAFETY_ARMED = 128 ; const MAV_MODE_FLAG_MANUAL_INPUT_ENABLED = 64 ; const MAV_MODE_FLAG_HIL_ENABLED = 32 ; const MAV_MODE_FLAG_STABILIZE_ENABLED = 16 ; const MAV_MODE_FLAG_GUIDED_ENABLED = 8 ; const MAV_MODE_FLAG_AUTO_ENABLED = 4 ; const MAV_MODE_FLAG_TEST_ENABLED = 2 ; const MAV_MODE_FLAG_CUSTOM_MODE_ENABLED = 1 ; } } 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)
the trait bound `ardupilotmega::_::InternalBitFlags: _::_serde::Serialize` is not satisfied: 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:12481 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct GimbalDeviceCapFlags : u16 { const GIMBAL_DEVICE_CAP_FLAGS_HAS_RETRACT = 1 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_NEUTRAL = 2 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_AXIS = 4 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_FOLLOW = 8 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_LOCK = 16 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_AXIS = 32 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_FOLLOW = 64 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_LOCK = 128 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_AXIS = 256 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_FOLLOW = 512 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_LOCK = 1024 ; const GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_INFINITE_YAW = 2048 ; const GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_YAW_IN_EARTH_FRAME = 4096 ; const GIMBAL_DEVICE_CAP_FLAGS_HAS_RC_INPUTS = 8192 ; } } 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)
msrv
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/