Fix: read error leads to message skip for blocking API #617
Annotations
5 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run actions-rs-plus/clippy-check@v2:
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
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/mavlink-418a8a9912db01a9/out/mod.rs#L1
warning: unexpected `cfg` condition value: `storm32`
--> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-418a8a9912db01a9/out/mod.rs:1:2548
|
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
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/mavlink-418a8a9912db01a9/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-418a8a9912db01a9/out/ardupilotmega.rs:1:268526
|
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
|
Run actions-rs-plus/clippy-check@v2:
target/debug/build/mavlink-418a8a9912db01a9/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-418a8a9912db01a9/out/ardupilotmega.rs:1:886595
|
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
|
Loading