Skip to content

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

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

Triggered via push January 15, 2025 07:46
Status Failure
Total duration 25m 35s
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

67 errors and 9 warnings
msrv (--features signing)
Process completed with exit code 1.
msrv
The job was canceled because "_--features_signing" failed.
msrv
Process completed with exit code 1.
msrv (--features serde,tokio-1)
The job was canceled because "_--features_signing" failed.
msrv (--features serde,tokio-1)
The operation was canceled.
internal-tests (standard)
Process completed with exit code 101.
internal-tests (common)
The job was canceled because "standard" failed.
internal-tests (common)
Process completed with exit code 101.
internal-tests (uavionix, --features signing)
The job was canceled because "standard" failed.
internal-tests (uavionix, --features signing)
Process completed with exit code 101.
internal-tests (ardupilotmega)
The job was canceled because "standard" failed.
internal-tests (ardupilotmega)
The operation was canceled.
internal-tests (common, --features signing)
The job was canceled because "standard" failed.
internal-tests (common, --features signing)
The operation was canceled.
mavlink-dump
Process completed with exit code 101.
internal-tests (slugs)
The job was canceled because "standard" failed.
internal-tests (slugs)
The operation was canceled.
internal-tests (minimal)
The job was canceled because "standard" failed.
internal-tests (minimal)
The operation was canceled.
internal-tests (uavionix)
The job was canceled because "standard" failed.
internal-tests (uavionix)
The operation was canceled.
internal-tests (ardupilotmega, --features signing)
The job was canceled because "standard" failed.
internal-tests (ardupilotmega, --features signing)
The operation was canceled.
internal-tests (minimal, --features signing)
The job was canceled because "standard" failed.
internal-tests (minimal, --features signing)
The operation was canceled.
internal-tests (icarous, --features signing)
The job was canceled because "standard" failed.
internal-tests (icarous, --features signing)
The operation was canceled.
internal-tests (test)
The job was canceled because "standard" failed.
internal-tests (test)
The operation was canceled.
internal-tests (standard, --features signing)
The job was canceled because "standard" failed.
internal-tests (standard, --features signing)
The operation was canceled.
internal-tests (icarous)
The job was canceled because "standard" failed.
internal-tests (icarous)
The operation was canceled.
internal-tests (slugs, --features signing)
The job was canceled because "standard" failed.
internal-tests (slugs, --features signing)
The operation was canceled.
internal-tests (test, --features signing)
The job was canceled because "standard" failed.
internal-tests (test, --features signing)
The operation was canceled.
internal-tests (asluav)
The job was canceled because "standard" failed.
internal-tests (asluav)
The operation was canceled.
internal-tests (python_array_test, --features signing)
The job was canceled because "standard" failed.
internal-tests (python_array_test, --features signing)
The operation was canceled.
internal-tests (matrixpilot, --features signing)
The job was canceled because "standard" failed.
internal-tests (matrixpilot, --features signing)
The operation was canceled.
internal-tests (ualberta)
The job was canceled because "standard" failed.
internal-tests (ualberta)
The operation was canceled.
internal-tests (matrixpilot)
The job was canceled because "standard" failed.
internal-tests (matrixpilot)
The operation was canceled.
internal-tests (paparazzi)
The job was canceled because "standard" failed.
internal-tests (paparazzi)
The operation was canceled.
internal-tests (python_array_test)
The job was canceled because "standard" failed.
internal-tests (python_array_test)
The operation was canceled.
internal-tests (ualberta, --features signing)
The job was canceled because "standard" failed.
internal-tests (ualberta, --features signing)
The operation was canceled.
internal-tests (asluav, --features signing)
The job was canceled because "standard" failed.
internal-tests (asluav, --features signing)
The operation was canceled.
internal-tests (paparazzi, --features signing)
The job was canceled because "standard" failed.
internal-tests (paparazzi, --features signing)
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:2809 | 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 `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:2755 | 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 `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:2755 | 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 `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:3715 | 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 `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:3661 | 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 `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:3661 | 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 `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:17419 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct GpsInputIgnoreFlags : u16 { const GPS_INPUT_IGNORE_FLAG_ALT = 1 ; const GPS_INPUT_IGNORE_FLAG_HDOP = 2 ; const GPS_INPUT_IGNORE_FLAG_VDOP = 4 ; const GPS_INPUT_IGNORE_FLAG_VEL_HORIZ = 8 ; const GPS_INPUT_IGNORE_FLAG_VEL_VERT = 16 ; const GPS_INPUT_IGNORE_FLAG_SPEED_ACCURACY = 32 ; const GPS_INPUT_IGNORE_FLAG_HORIZONTAL_ACCURACY = 64 ; const GPS_INPUT_IGNORE_FLAG_VERTICAL_ACCURACY = 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:17365 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct GpsInputIgnoreFlags : u16 { const GPS_INPUT_IGNORE_FLAG_ALT = 1 ; const GPS_INPUT_IGNORE_FLAG_HDOP = 2 ; const GPS_INPUT_IGNORE_FLAG_VDOP = 4 ; const GPS_INPUT_IGNORE_FLAG_VEL_HORIZ = 8 ; const GPS_INPUT_IGNORE_FLAG_VEL_VERT = 16 ; const GPS_INPUT_IGNORE_FLAG_SPEED_ACCURACY = 32 ; const GPS_INPUT_IGNORE_FLAG_HORIZONTAL_ACCURACY = 64 ; const GPS_INPUT_IGNORE_FLAG_VERTICAL_ACCURACY = 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:17365 | 1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct GpsInputIgnoreFlags : u16 { const GPS_INPUT_IGNORE_FLAG_ALT = 1 ; const GPS_INPUT_IGNORE_FLAG_HDOP = 2 ; const GPS_INPUT_IGNORE_FLAG_VDOP = 4 ; const GPS_INPUT_IGNORE_FLAG_VEL_HORIZ = 8 ; const GPS_INPUT_IGNORE_FLAG_VEL_VERT = 16 ; const GPS_INPUT_IGNORE_FLAG_SPEED_ACCURACY = 32 ; const GPS_INPUT_IGNORE_FLAG_HORIZONTAL_ACCURACY = 64 ; const GPS_INPUT_IGNORE_FLAG_VERTICAL_ACCURACY = 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:18829 | 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 `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)
formatting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
msrv (--features signing)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
internal-tests (standard)
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
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:357161 | 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:872761 | 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