Skip to content

chore(deps): update bitflags requirement from 1.2.1 to 2.8.0 #624

chore(deps): update bitflags requirement from 1.2.1 to 2.8.0

chore(deps): update bitflags requirement from 1.2.1 to 2.8.0 #624

Triggered via pull request January 15, 2025 07:46
Status Failure
Total duration 27m 49s
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

66 errors and 10 warnings
msrv
Process completed with exit code 1.
msrv (--features signing)
The job was canceled because "job" failed.
msrv (--features signing)
Process completed with exit code 1.
msrv (--features serde,tokio-1)
The job was canceled because "job" failed.
msrv (--features serde,tokio-1)
The operation was canceled.
mavlink-dump
Process completed with exit code 101.
internal-tests (ardupilotmega)
Process completed with exit code 101.
internal-tests (uavionix)
Process completed with exit code 101.
internal-tests (minimal, --features signing)
The job was canceled because "ardupilotmega" failed.
internal-tests (minimal, --features signing)
Process completed with exit code 101.
internal-tests (common)
The job was canceled because "ardupilotmega" failed.
internal-tests (common)
Process completed with exit code 101.
internal-tests (slugs, --features signing)
The job was canceled because "ardupilotmega" failed.
internal-tests (slugs, --features signing)
Process completed with exit code 101.
internal-tests (uavionix, --features signing)
The job was canceled because "ardupilotmega" failed.
internal-tests (uavionix, --features signing)
Process completed with exit code 101.
internal-tests (icarous, --features signing)
The job was canceled because "ardupilotmega" failed.
internal-tests (icarous, --features signing)
Process completed with exit code 101.
internal-tests (test)
The job was canceled because "ardupilotmega" failed.
internal-tests (test)
The operation was canceled.
internal-tests (icarous)
The job was canceled because "ardupilotmega" failed.
internal-tests (icarous)
The operation was canceled.
internal-tests (common, --features signing)
The job was canceled because "ardupilotmega" failed.
internal-tests (common, --features signing)
The operation was canceled.
internal-tests (slugs)
The job was canceled because "ardupilotmega" failed.
internal-tests (slugs)
Process completed with exit code 101.
internal-tests (standard)
The job was canceled because "ardupilotmega" failed.
internal-tests (standard)
The operation was canceled.
internal-tests (test, --features signing)
The job was canceled because "ardupilotmega" failed.
internal-tests (test, --features signing)
The operation was canceled.
internal-tests (minimal)
The job was canceled because "ardupilotmega" failed.
internal-tests (minimal)
The operation was canceled.
internal-tests (ardupilotmega, --features signing)
The job was canceled because "ardupilotmega" failed.
internal-tests (ardupilotmega, --features signing)
The operation was canceled.
internal-tests (standard, --features signing)
The job was canceled because "ardupilotmega" failed.
internal-tests (standard, --features signing)
The operation was canceled.
internal-tests (asluav, --features signing)
The job was canceled because "ardupilotmega" failed.
internal-tests (asluav, --features signing)
The operation was canceled.
internal-tests (paparazzi)
The job was canceled because "ardupilotmega" failed.
internal-tests (paparazzi)
The operation was canceled.
internal-tests (ualberta, --features signing)
The job was canceled because "ardupilotmega" failed.
internal-tests (ualberta, --features signing)
The operation was canceled.
internal-tests (matrixpilot, --features signing)
The job was canceled because "ardupilotmega" failed.
internal-tests (matrixpilot, --features signing)
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 (python_array_test, --features signing)
The job was canceled because "ardupilotmega" failed.
internal-tests (python_array_test, --features signing)
The operation was canceled.
internal-tests (asluav)
The job was canceled because "ardupilotmega" failed.
internal-tests (asluav)
The operation was canceled.
internal-tests (paparazzi, --features signing)
The job was canceled because "ardupilotmega" failed.
internal-tests (paparazzi, --features signing)
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.
the trait bound `uavionix::_::InternalBitFlags: icarous::_::_serde::Serialize` is not satisfied: target/debug/build/mavlink-bfd4c417c8bf2bf6/out/uavionix.rs#L1
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: icarous::_::_serde::Serialize` is not satisfied --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-bfd4c417c8bf2bf6/out/uavionix.rs:1:1096 | 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 `icarous::_::_serde::Serialize` is not implemented for `uavionix::_::InternalBitFlags` | required by a bound introduced by this call | = note: for local types consider adding `#[derive(serde::Serialize)]` to your `uavionix::_::InternalBitFlags` type = note: for types from other crates check whether the crate offers a `serde` feature flag = help: the following other types implement trait `icarous::_::_serde::Serialize`: &'a T &'a mut T () (T,) (T0, T1) (T0, T1, T2) (T0, T1, T2, T3) (T0, T1, T2, T3, T4) and 1515 others note: required by a bound in `icarous::_::_serde::Serializer::serialize_newtype_struct` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.217/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: icarous::_::_serde::Deserialize<'_>` is not satisfied: home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.8.0/src/public.rs#L17
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: icarous::_::_serde::Deserialize<'_>` is not satisfied --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-bfd4c417c8bf2bf6/out/uavionix.rs:1:1042 | 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 `icarous::_::_serde::Deserialize<'_>` is not implemented for `uavionix::_::InternalBitFlags` | = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `uavionix::_::InternalBitFlags` type = note: for types from other crates check whether the crate offers a `serde` feature flag = help: the following other types implement trait `icarous::_::_serde::Deserialize<'de>`: &'a [u8] &'a std::path::Path &'a str () (T,) (T0, T1) (T0, T1, T2) (T0, T1, T2, T3) 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: icarous::_::_serde::Deserialize<'_>` is not satisfied: home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.8.0/src/public.rs#L17
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: icarous::_::_serde::Deserialize<'_>` is not satisfied --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-bfd4c417c8bf2bf6/out/uavionix.rs:1:1042 | 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 `icarous::_::_serde::Deserialize<'_>` is not implemented for `uavionix::_::InternalBitFlags` | = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `uavionix::_::InternalBitFlags` type = note: for types from other crates check whether the crate offers a `serde` feature flag = help: the following other types implement trait `icarous::_::_serde::Deserialize<'de>`: &'a [u8] &'a std::path::Path &'a str () (T,) (T0, T1) (T0, T1, T2) (T0, T1, T2, T3) and 2026 others note: required by a bound in `icarous::_::_serde::de::SeqAccess::next_element` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.217/src/de/mod.rs:1732:12 | 1730 | fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error> | ------------ required by a bound in this associated function 1731 | where 1732 | 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: icarous::_::_serde::Serialize` is not satisfied: target/debug/build/mavlink-bfd4c417c8bf2bf6/out/uavionix.rs#L1
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: icarous::_::_serde::Serialize` is not satisfied --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-bfd4c417c8bf2bf6/out/uavionix.rs:1:9403 | 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 `icarous::_::_serde::Serialize` is not implemented for `uavionix::_::InternalBitFlags` | required by a bound introduced by this call | = note: for local types consider adding `#[derive(serde::Serialize)]` to your `uavionix::_::InternalBitFlags` type = note: for types from other crates check whether the crate offers a `serde` feature flag = help: the following other types implement trait `icarous::_::_serde::Serialize`: &'a T &'a mut T () (T,) (T0, T1) (T0, T1, T2) (T0, T1, T2, T3) (T0, T1, T2, T3, T4) and 1515 others note: required by a bound in `icarous::_::_serde::Serializer::serialize_newtype_struct` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.217/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: icarous::_::_serde::Deserialize<'_>` is not satisfied: home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.8.0/src/public.rs#L17
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: icarous::_::_serde::Deserialize<'_>` is not satisfied --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-bfd4c417c8bf2bf6/out/uavionix.rs:1:9349 | 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 `icarous::_::_serde::Deserialize<'_>` is not implemented for `uavionix::_::InternalBitFlags` | = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `uavionix::_::InternalBitFlags` type = note: for types from other crates check whether the crate offers a `serde` feature flag = help: the following other types implement trait `icarous::_::_serde::Deserialize<'de>`: &'a [u8] &'a std::path::Path &'a str () (T,) (T0, T1) (T0, T1, T2) (T0, T1, T2, T3) 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: icarous::_::_serde::Deserialize<'_>` is not satisfied: home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.8.0/src/public.rs#L17
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: icarous::_::_serde::Deserialize<'_>` is not satisfied --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-bfd4c417c8bf2bf6/out/uavionix.rs:1:9349 | 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 `icarous::_::_serde::Deserialize<'_>` is not implemented for `uavionix::_::InternalBitFlags` | = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `uavionix::_::InternalBitFlags` type = note: for types from other crates check whether the crate offers a `serde` feature flag = help: the following other types implement trait `icarous::_::_serde::Deserialize<'de>`: &'a [u8] &'a std::path::Path &'a str () (T,) (T0, T1) (T0, T1, T2) (T0, T1, T2, T3) and 2026 others note: required by a bound in `icarous::_::_serde::de::SeqAccess::next_element` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.217/src/de/mod.rs:1732:12 | 1730 | fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error> | ------------ required by a bound in this associated function 1731 | where 1732 | 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: icarous::_::_serde::Serialize` is not satisfied: target/debug/build/mavlink-bfd4c417c8bf2bf6/out/uavionix.rs#L1
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: icarous::_::_serde::Serialize` is not satisfied --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-bfd4c417c8bf2bf6/out/uavionix.rs:1:10071 | 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 `icarous::_::_serde::Serialize` is not implemented for `uavionix::_::InternalBitFlags` | required by a bound introduced by this call | = note: for local types consider adding `#[derive(serde::Serialize)]` to your `uavionix::_::InternalBitFlags` type = note: for types from other crates check whether the crate offers a `serde` feature flag = help: the following other types implement trait `icarous::_::_serde::Serialize`: &'a T &'a mut T () (T,) (T0, T1) (T0, T1, T2) (T0, T1, T2, T3) (T0, T1, T2, T3, T4) and 1515 others note: required by a bound in `icarous::_::_serde::Serializer::serialize_newtype_struct` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.217/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: icarous::_::_serde::Deserialize<'_>` is not satisfied: home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.8.0/src/public.rs#L17
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: icarous::_::_serde::Deserialize<'_>` is not satisfied --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-bfd4c417c8bf2bf6/out/uavionix.rs:1:10017 | 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 `icarous::_::_serde::Deserialize<'_>` is not implemented for `uavionix::_::InternalBitFlags` | = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `uavionix::_::InternalBitFlags` type = note: for types from other crates check whether the crate offers a `serde` feature flag = help: the following other types implement trait `icarous::_::_serde::Deserialize<'de>`: &'a [u8] &'a std::path::Path &'a str () (T,) (T0, T1) (T0, T1, T2) (T0, T1, T2, T3) 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: icarous::_::_serde::Deserialize<'_>` is not satisfied: home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.8.0/src/public.rs#L17
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: icarous::_::_serde::Deserialize<'_>` is not satisfied --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-bfd4c417c8bf2bf6/out/uavionix.rs:1:10017 | 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 `icarous::_::_serde::Deserialize<'_>` is not implemented for `uavionix::_::InternalBitFlags` | = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `uavionix::_::InternalBitFlags` type = note: for types from other crates check whether the crate offers a `serde` feature flag = help: the following other types implement trait `icarous::_::_serde::Deserialize<'de>`: &'a [u8] &'a std::path::Path &'a str () (T,) (T0, T1) (T0, T1, T2) (T0, T1, T2, T3) and 2026 others note: required by a bound in `icarous::_::_serde::de::SeqAccess::next_element` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.217/src/de/mod.rs:1732:12 | 1730 | fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error> | ------------ required by a bound in this associated function 1731 | where 1732 | 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: icarous::_::_serde::Serialize` is not satisfied: target/debug/build/mavlink-bfd4c417c8bf2bf6/out/uavionix.rs#L1
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: icarous::_::_serde::Serialize` is not satisfied --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-bfd4c417c8bf2bf6/out/uavionix.rs:1:11371 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct MavGeneratorStatusFlag : u64 { const MAV_GENERATOR_STATUS_FLAG_OFF = 1 ; const MAV_GENERATOR_STATUS_FLAG_READY = 2 ; const MAV_GENERATOR_STATUS_FLAG_GENERATING = 4 ; const MAV_GENERATOR_STATUS_FLAG_CHARGING = 8 ; const MAV_GENERATOR_STATUS_FLAG_REDUCED_POWER = 16 ; const MAV_GENERATOR_STATUS_FLAG_MAXPOWER = 32 ; const MAV_GENERATOR_STATUS_FLAG_OVERTEMP_WARNING = 64 ; const MAV_GENERATOR_STATUS_FLAG_OVERTEMP_FAULT = 128 ; const MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_OVERTEMP_WARNING = 256 ; const MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_OVERTEMP_FAULT = 512 ; const MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_FAULT = 1024 ; const MAV_GENERATOR_STATUS_FLAG_POWERSOURCE_FAULT = 2048 ; const MAV_GENERATOR_STATUS_FLAG_COMMUNICATION_WARNING = 4096 ; const MAV_GENERATOR_STATUS_FLAG_COOLING_WARNING = 8192 ; const MAV_GENERATOR_STATUS_FLAG_POWER_RAIL_FAULT = 16384 ; const MAV_GENERATOR_STATUS_FLAG_OVERCURRENT_FAULT = 32768 ; const MAV_GENERATOR_STATUS_FLAG_BATTERY_OVERCHARGE_CURRENT_FAULT = 65536 ; const MAV_GENERATOR_STATUS_FLAG_OVERVOLTAGE_FAULT = 131072 ; const MAV_GENERATOR_STATUS_FLAG_BATTERY_UNDERVOLT_FAULT = 262144 ; const MAV_GENERATOR_STATUS_FLAG_START_INHIBITED = 524288 ; const MAV_GENERATOR_STATUS_FLAG_MAINTENANCE_REQUIRED = 1048576 ; const MAV_GENERATOR_STATUS_FLAG_WARMING_UP = 2097152 ; const MAV_GENERATOR_STATUS_FLAG_IDLE = 4194304 ; } } im... | ------------------------------------------------------^^^^^^^^^------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | | | | the trait `icarous::_::_serde::Serialize` is not implemented for `uavionix::_::InternalBitFlags` | required by a bound introduced by this call | = note: for local types consider adding `#[derive(serde::Serialize)]` to your `uavionix::_::InternalBitFlags` type = note: for types from other crates check whether the crate offers a `serde` feature flag = help: the following other types implement trait `icarous::_::_serde::Serialize`: &'a T &'a mut T () (T,) (T0, T1) (T0, T1, T2) (T0, T1, T2, T3) (T0, T1, T2, T3, T4) and 1515 others note: required by a bound in `icarous::_::_serde::Serializer::serialize_newtype_struct` --> /home/runner/.cargo/registry/
formatting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
msrv
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
mavlink-dump
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
internal-tests (ardupilotmega)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
internal-tests (uavionix)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
first doc comment paragraph is too long: mavlink-bindgen/src/parser.rs#L1367
warning: first doc comment paragraph is too long --> mavlink-bindgen/src/parser.rs:1367:1 | 1367 | / /// CRC operates over names of the message and names of its fields 1368 | | /// Hence we have to preserve the original uppercase names delimited with an underscore 1369 | | /// For field names, we replace "type" with "mavtype" to make it rust compatible (this is 1370 | | /// needed for generating sensible rust code), but for calculating crc function we have to 1371 | | /// use the original name "type" | |_ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph = note: `#[warn(clippy::too_long_first_doc_paragraph)]` on by default
unexpected `cfg` condition value: `storm32`: target/debug/build/mavlink-bfd4c417c8bf2bf6/out/mod.rs#L1
warning: unexpected `cfg` condition value: `storm32` --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-bfd4c417c8bf2bf6/out/mod.rs:1:3393 | 1 | ...essary_cast)] # [allow (clippy :: bad_bit_mask)] # [cfg (feature = "storm32")] pub mod storm32 ; # [allow (non_camel_case_types)] # [a... | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `all`, `all-dialects`, `ardupilotmega`, `asluav`, `avssuas`, `common`, `cubepilot`, `default`, `development`, `direct-serial`, `embedded`, `embedded-hal-02`, `emit-description`, `emit-extensions`, `format-generated-code`, `icarous`, `matrixpilot`, `minimal`, `paparazzi`, `python_array_test`, `serde`, `signing`, `slugs`, `standard`, `std`, `tcp`, `test`, `tokio-1`, `ualberta`, `uavionix`, and `udp` = help: consider adding `storm32` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default
this looks like an `else if` but the `else` is missing: target/debug/build/mavlink-bfd4c417c8bf2bf6/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-bfd4c417c8bf2bf6/out/ardupilotmega.rs:1:155285 | 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-bfd4c417c8bf2bf6/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-bfd4c417c8bf2bf6/out/ardupilotmega.rs:1:586289 | 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