Skip to content

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

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 #564

Triggered via push August 26, 2024 07:28
Status Failure
Total duration 37m 34s
Artifacts

test.yml

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

Annotations

52 errors and 4 warnings
mavlink-dump
Process completed with exit code 101.
internal-tests (icarous)
Process completed with exit code 101.
internal-tests (python_array_test)
The job was canceled because "icarous" failed.
internal-tests (slugs)
The job was canceled because "icarous" failed.
internal-tests (paparazzi, --features signing)
The job was canceled because "icarous" failed.
internal-tests (python_array_test, --features signing)
The job was canceled because "icarous" failed.
internal-tests (slugs, --features signing)
The job was canceled because "icarous" failed.
internal-tests (standard, --features signing)
The job was canceled because "icarous" failed.
internal-tests (test)
The job was canceled because "icarous" failed.
internal-tests (standard)
The job was canceled because "icarous" failed.
internal-tests (ualberta)
The job was canceled because "icarous" failed.
internal-tests (ualberta, --features signing)
The job was canceled because "icarous" failed.
internal-tests (uavionix)
The job was canceled because "icarous" failed.
internal-tests (test, --features signing)
The job was canceled because "icarous" failed.
internal-tests (common, --features signing)
The job was canceled because "icarous" failed.
internal-tests (common, --features signing)
Process completed with exit code 101.
internal-tests (uavionix, --features signing)
The job was canceled because "icarous" failed.
internal-tests (minimal)
The job was canceled because "icarous" failed.
internal-tests (minimal)
Process completed with exit code 101.
internal-tests (ardupilotmega)
The job was canceled because "icarous" failed.
internal-tests (ardupilotmega)
Process completed with exit code 101.
internal-tests (icarous, --features signing)
The job was canceled because "icarous" failed.
internal-tests (icarous, --features signing)
The operation was canceled.
internal-tests (common)
The job was canceled because "icarous" failed.
internal-tests (common)
The operation was canceled.
internal-tests (asluav, --features signing)
The job was canceled because "icarous" failed.
internal-tests (asluav, --features signing)
The operation was canceled.
internal-tests (ardupilotmega, --features signing)
The job was canceled because "icarous" failed.
internal-tests (ardupilotmega, --features signing)
The operation was canceled.
internal-tests (matrixpilot)
The job was canceled because "icarous" failed.
internal-tests (matrixpilot)
The operation was canceled.
internal-tests (matrixpilot, --features signing)
The job was canceled because "icarous" failed.
internal-tests (matrixpilot, --features signing)
The operation was canceled.
internal-tests (paparazzi)
The job was canceled because "icarous" failed.
internal-tests (paparazzi)
The operation was canceled.
internal-tests (minimal, --features signing)
The job was canceled because "icarous" failed.
internal-tests (minimal, --features signing)
The operation was canceled.
internal-tests (asluav)
The job was canceled because "icarous" failed.
internal-tests (asluav)
The operation was canceled.
msrv
The process '/home/runner/.cargo/bin/cross' failed with exit code 101
msrv (--features signing)
The job was canceled because "job" failed.
msrv (--features signing)
The process '/home/runner/.cargo/bin/cross' failed with exit code 101
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:10115 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct EscFailureFlags : u16 { const ESC_FAILURE_NONE = 0 ; const ESC_FAILURE_OVER_CURRENT = 1 ; const ESC_FAILURE_OVER_VOLTAGE = 2 ; const ESC_FAILURE_OVER_TEMPERATURE = 4 ; const ESC_FAILURE_OVER_RPM = 8 ; const ESC_FAILURE_INCONSISTENT_CMD = 16 ; const ESC_FAILURE_MOTOR_STUCK = 32 ; const ESC_FAILURE_GENERIC = 64 ; } } 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:10061 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct EscFailureFlags : u16 { const ESC_FAILURE_NONE = 0 ; const ESC_FAILURE_OVER_CURRENT = 1 ; const ESC_FAILURE_OVER_VOLTAGE = 2 ; const ESC_FAILURE_OVER_TEMPERATURE = 4 ; const ESC_FAILURE_OVER_RPM = 8 ; const ESC_FAILURE_INCONSISTENT_CMD = 16 ; const ESC_FAILURE_MOTOR_STUCK = 32 ; const ESC_FAILURE_GENERIC = 64 ; } } 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:10061 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct EscFailureFlags : u16 { const ESC_FAILURE_NONE = 0 ; const ESC_FAILURE_OVER_CURRENT = 1 ; const ESC_FAILURE_OVER_VOLTAGE = 2 ; const ESC_FAILURE_OVER_TEMPERATURE = 4 ; const ESC_FAILURE_OVER_RPM = 8 ; const ESC_FAILURE_INCONSISTENT_CMD = 16 ; const ESC_FAILURE_MOTOR_STUCK = 32 ; const ESC_FAILURE_GENERIC = 64 ; } } 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:15370 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct MavEventCurrentSequenceFlags : u8 { const MAV_EVENT_CURRENT_SEQUENCE_FLAGS_RESET = 1 ; } } 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:15316 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct MavEventCurrentSequenceFlags : u8 { const MAV_EVENT_CURRENT_SEQUENCE_FLAGS_RESET = 1 ; } } 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:15316 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct MavEventCurrentSequenceFlags : u8 { const MAV_EVENT_CURRENT_SEQUENCE_FLAGS_RESET = 1 ; } } 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:16925 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct MavPowerStatus : u16 { const MAV_POWER_STATUS_BRICK_VALID = 1 ; const MAV_POWER_STATUS_SERVO_VALID = 2 ; const MAV_POWER_STATUS_USB_CONNECTED = 4 ; const MAV_POWER_STATUS_PERIPH_OVERCURRENT = 8 ; const MAV_POWER_STATUS_PERIPH_HIPOWER_OVERCURRENT = 16 ; const MAV_POWER_STATUS_CHANGED = 32 ; } } 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:16871 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct MavPowerStatus : u16 { const MAV_POWER_STATUS_BRICK_VALID = 1 ; const MAV_POWER_STATUS_SERVO_VALID = 2 ; const MAV_POWER_STATUS_USB_CONNECTED = 4 ; const MAV_POWER_STATUS_PERIPH_OVERCURRENT = 8 ; const MAV_POWER_STATUS_PERIPH_HIPOWER_OVERCURRENT = 16 ; const MAV_POWER_STATUS_CHANGED = 32 ; } } 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:16871 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct MavPowerStatus : u16 { const MAV_POWER_STATUS_BRICK_VALID = 1 ; const MAV_POWER_STATUS_SERVO_VALID = 2 ; const MAV_POWER_STATUS_USB_CONNECTED = 4 ; const MAV_POWER_STATUS_PERIPH_OVERCURRENT = 8 ; const MAV_POWER_STATUS_PERIPH_HIPOWER_OVERCURRENT = 16 ; const MAV_POWER_STATUS_CHANGED = 32 ; } } 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:27574 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct HilSensorUpdatedFlags : u32 { const HIL_SENSOR_UPDATED_NONE = 0 ; const HIL_SENSOR_UPDATED_XACC = 1 ; const HIL_SENSOR_UPDATED_YACC = 2 ; const HIL_SENSOR_UPDATED_ZACC = 4 ; const HIL_SENSOR_UPDATED_XGYRO = 8 ; const HIL_SENSOR_UPDATED_YGYRO = 16 ; const HIL_SENSOR_UPDATED_ZGYRO = 32 ; const HIL_SENSOR_UPDATED_XMAG = 64 ; const HIL_SENSOR_UPDATED_YMAG = 128 ; const HIL_SENSOR_UPDATED_ZMAG = 256 ; const HIL_SENSOR_UPDATED_ABS_PRESSURE = 512 ; const HIL_SENSOR_UPDATED_DIFF_PRESSURE = 1024 ; const HIL_SENSOR_UPDATED_PRESSURE_ALT = 2048 ; const HIL_SENSOR_UPDATED_TEMPERATURE = 4096 ; const HIL_SENSOR_UPDATED_RESET = 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 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
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
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:318043 | 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:881538 | 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