build(deps): update bitflags requirement from 1.2.1 to 2.6.0 #6
test.yml
on: push
Annotations
37 errors and 4 warnings
mavlink-dump
Process completed with exit code 101.
|
internal-tests (icarous)
Process completed with exit code 101.
|
internal-tests (common)
The job was canceled because "icarous" failed.
|
internal-tests (common)
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 (minimal)
The job was canceled because "icarous" failed.
|
internal-tests (minimal)
The operation was canceled.
|
internal-tests (python_array_test)
The job was canceled because "icarous" failed.
|
internal-tests (python_array_test)
The operation was canceled.
|
internal-tests (uavionix)
The job was canceled because "icarous" failed.
|
internal-tests (uavionix)
The operation was canceled.
|
internal-tests (slugs)
The job was canceled because "icarous" failed.
|
internal-tests (slugs)
The operation was canceled.
|
internal-tests (paparazzi)
The job was canceled because "icarous" failed.
|
internal-tests (paparazzi)
The operation was canceled.
|
internal-tests (standard)
The job was canceled because "icarous" failed.
|
internal-tests (standard)
The operation was canceled.
|
internal-tests (ualberta)
The job was canceled because "icarous" failed.
|
internal-tests (ualberta)
The operation was canceled.
|
internal-tests (asluav)
The job was canceled because "icarous" failed.
|
internal-tests (asluav)
The operation was canceled.
|
internal-tests (test)
The job was canceled because "icarous" failed.
|
internal-tests (test)
The operation was canceled.
|
internal-tests (matrixpilot)
The job was canceled because "icarous" failed.
|
internal-tests (matrixpilot)
The operation was canceled.
|
msrv
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-3156a83dc3b809fb/out/uavionix.rs#L1
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Serialize` is not satisfied
--> /home/runner/work/mavlink-rs/mavlink-rs/target/debug/build/mavlink-3156a83dc3b809fb/out/uavionix.rs:1:1212
|
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.204/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/mavlink-rs/mavlink-rs/target/debug/build/mavlink-3156a83dc3b809fb/out/uavionix.rs:1:1158
|
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/mavlink-rs/mavlink-rs/target/debug/build/mavlink-3156a83dc3b809fb/out/uavionix.rs:1:1158
|
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.204/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-3156a83dc3b809fb/out/uavionix.rs#L1
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Serialize` is not satisfied
--> /home/runner/work/mavlink-rs/mavlink-rs/target/debug/build/mavlink-3156a83dc3b809fb/out/uavionix.rs:1:2844
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct AdsbFlags : u16 { const ADSB_FLAGS_VALID_COORDS = 1 ; const ADSB_FLAGS_VALID_ALTITUDE = 2 ; const ADSB_FLAGS_VALID_HEADING = 4 ; const ADSB_FLAGS_VALID_VELOCITY = 8 ; const ADSB_FLAGS_VALID_CALLSIGN = 16 ; const ADSB_FLAGS_VALID_SQUAWK = 32 ; const ADSB_FLAGS_SIMULATED = 64 ; const ADSB_FLAGS_VERTICAL_VELOCITY_VALID = 128 ; const ADSB_FLAGS_BARO_VALID = 256 ; const ADSB_FLAGS_SOURCE_UAT = 32768 ; } } 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.204/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/mavlink-rs/mavlink-rs/target/debug/build/mavlink-3156a83dc3b809fb/out/uavionix.rs:1:2790
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct AdsbFlags : u16 { const ADSB_FLAGS_VALID_COORDS = 1 ; const ADSB_FLAGS_VALID_ALTITUDE = 2 ; const ADSB_FLAGS_VALID_HEADING = 4 ; const ADSB_FLAGS_VALID_VELOCITY = 8 ; const ADSB_FLAGS_VALID_CALLSIGN = 16 ; const ADSB_FLAGS_VALID_SQUAWK = 32 ; const ADSB_FLAGS_SIMULATED = 64 ; const ADSB_FLAGS_VERTICAL_VELOCITY_VALID = 128 ; const ADSB_FLAGS_BARO_VALID = 256 ; const ADSB_FLAGS_SOURCE_UAT = 32768 ; } } 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/mavlink-rs/mavlink-rs/target/debug/build/mavlink-3156a83dc3b809fb/out/uavionix.rs:1:2790
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct AdsbFlags : u16 { const ADSB_FLAGS_VALID_COORDS = 1 ; const ADSB_FLAGS_VALID_ALTITUDE = 2 ; const ADSB_FLAGS_VALID_HEADING = 4 ; const ADSB_FLAGS_VALID_VELOCITY = 8 ; const ADSB_FLAGS_VALID_CALLSIGN = 16 ; const ADSB_FLAGS_VALID_SQUAWK = 32 ; const ADSB_FLAGS_SIMULATED = 64 ; const ADSB_FLAGS_VERTICAL_VELOCITY_VALID = 128 ; const ADSB_FLAGS_BARO_VALID = 256 ; const ADSB_FLAGS_SOURCE_UAT = 32768 ; } } 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.204/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-3156a83dc3b809fb/out/uavionix.rs#L1
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Serialize` is not satisfied
--> /home/runner/work/mavlink-rs/mavlink-rs/target/debug/build/mavlink-3156a83dc3b809fb/out/uavionix.rs:1:3493
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct UavionixAdsbOutRfSelect : u8 { const UAVIONIX_ADSB_OUT_RF_SELECT_STANDBY = 0 ; const UAVIONIX_ADSB_OUT_RF_SELECT_RX_ENABLED = 1 ; const UAVIONIX_ADSB_OUT_RF_SELECT_TX_ENABLED = 2 ; } } im...
| ------------------------------------------------------^^^^^^^^^---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| | |
| | the trait `ardupilotmega::_::_serde::Serialize` is not implemented for `uavionix::_::InternalBitFlags`
| required by a bound introduced by this call
|
= help: the following other types implement trait `ardupilotmega::_::_serde::Serialize`:
bool
char
isize
i8
i16
i32
i64
i128
and 1515 others
note: required by a bound in `ardupilotmega::_::_serde::Serializer::serialize_newtype_struct`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.204/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/mavlink-rs/mavlink-rs/target/debug/build/mavlink-3156a83dc3b809fb/out/uavionix.rs:1:3439
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct UavionixAdsbOutRfSelect : u8 { const UAVIONIX_ADSB_OUT_RF_SELECT_STANDBY = 0 ; const UAVIONIX_ADSB_OUT_RF_SELECT_RX_ENABLED = 1 ; const UAVIONIX_ADSB_OUT_RF_SELECT_TX_ENABLED = 2 ; } } im...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ardupilotmega::_::_serde::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/mavlink-rs/mavlink-rs/target/debug/build/mavlink-3156a83dc3b809fb/out/uavionix.rs:1:3439
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct UavionixAdsbOutRfSelect : u8 { const UAVIONIX_ADSB_OUT_RF_SELECT_STANDBY = 0 ; const UAVIONIX_ADSB_OUT_RF_SELECT_RX_ENABLED = 1 ; const UAVIONIX_ADSB_OUT_RF_SELECT_TX_ENABLED = 2 ; } } im...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ardupilotmega::_::_serde::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.204/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-3156a83dc3b809fb/out/uavionix.rs#L1
error[E0277]: the trait bound `uavionix::_::InternalBitFlags: ardupilotmega::_::_serde::Serialize` is not satisfied
--> /home/runner/work/mavlink-rs/mavlink-rs/target/debug/build/mavlink-3156a83dc3b809fb/out/uavionix.rs:1:6282
|
1 | ... } bitflags ! { # [cfg_attr (feature = "serde" , derive (Serialize , Deserialize))] pub struct HlFailureFlag : u16 { const HL_FAILURE_FLAG_GPS = 1 ; const HL_FAILURE_FLAG_DIFFERENTIAL_PRESSURE = 2 ; const HL_FAILURE_FLAG_ABSOLUTE_PRESSURE = 4 ; const HL_FAILURE_FLAG_3D_ACCEL = 8 ; const HL_FAILURE_FLAG_3D_GYRO = 16 ; const HL_FAILURE_FLAG_3D_MAG = 32 ; const HL_FAILURE_FLAG_TERRAIN = 64 ; const HL_FAILURE_FLAG_BATTERY = 128 ; const HL_FAILURE_FLAG_RC_RECEIVER = 256 ; const HL_FAILURE_FLAG_OFFBOARD_LINK = 512 ; const HL_FAILURE_FLAG_ENGINE = 1024 ; const HL_FAILURE_FLAG_GEOFENCE = 2048 ; const HL_FAILURE_FLAG_ESTIMATOR = 4096 ; const HL_FAILURE_FLAG_MISSION = 8192 ; } } 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.204/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 uses Node.js version which is deprecated 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/
|
the borrowed expression implements the required traits:
mavlink-bindgen/src/lib.rs#L39
warning: the borrowed expression implements the required traits
--> mavlink-bindgen/src/lib.rs:39:33
|
39 | for entry_maybe in read_dir(&definitions_dir).map_err(|source| {
| ^^^^^^^^^^^^^^^^ help: change this to: `definitions_dir`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
|
this expression creates a reference which is immediately dereferenced by the compiler:
mavlink-bindgen/src/lib.rs#L67
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> mavlink-bindgen/src/lib.rs:67:26
|
67 | parser::generate(&definitions_dir, &definition_file, &mut outf)?;
| ^^^^^^^^^^^^^^^^ help: change this to: `definitions_dir`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|