Skip to content

feat: async serial #596

feat: async serial

feat: async serial #596

Re-run triggered September 21, 2024 12:53
Status Failure
Total duration 19m 37s
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

6 errors and 5 warnings
formatting
Process completed with exit code 1.
msrv (--features serde,tokio-1)
Process completed with exit code 1.
msrv (--features signing)
The job was canceled because "_--features_serde_tokio-1" failed.
msrv (--features signing)
The operation was canceled.
msrv
The job was canceled because "_--features_serde_tokio-1" failed.
msrv
The operation was canceled.
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
function `open` is never used: mavlink-core/src/async_connection/direct_serial.rs#L21
warning: function `open` is never used --> mavlink-core/src/async_connection/direct_serial.rs:21:8 | 21 | pub fn open(settings: &str) -> io::Result<AsyncSerialConnection> { | ^^^^ | = note: `#[warn(dead_code)]` on by default
unexpected `cfg` condition value: `storm32`: target/debug/build/mavlink-d2e7f75151036b3e/out/mod.rs#L1
warning: unexpected `cfg` condition value: `storm32` --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-d2e7f75151036b3e/out/mod.rs:1:2239 | 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-d2e7f75151036b3e/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-d2e7f75151036b3e/out/ardupilotmega.rs:1:392715 | 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-d2e7f75151036b3e/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-d2e7f75151036b3e/out/ardupilotmega.rs:1:558918 | 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