implement recv_raw
for Connection wrappers into mavlink-core
#605
test.yml
on: pull_request
Matrix: internal-tests
Matrix: msrv
docs
0s
Matrix: build
test-embedded-size
0s
Annotations
52 errors and 6 warnings
internal-tests (ardupilotmega)
Process completed with exit code 101.
|
internal-tests (standard)
The job was canceled because "ardupilotmega" failed.
|
internal-tests (standard)
Process completed with exit code 101.
|
internal-tests (test, --features signing)
The job was canceled because "ardupilotmega" failed.
|
internal-tests (standard, --features signing)
The job was canceled because "ardupilotmega" failed.
|
internal-tests (test)
The job was canceled because "ardupilotmega" failed.
|
internal-tests (ualberta, --features signing)
The job was canceled because "ardupilotmega" failed.
|
internal-tests (uavionix)
The job was canceled because "ardupilotmega" failed.
|
internal-tests (ualberta)
The job was canceled because "ardupilotmega" failed.
|
internal-tests (paparazzi)
The job was canceled because "ardupilotmega" failed.
|
internal-tests (paparazzi)
Process completed with exit code 101.
|
internal-tests (minimal)
The job was canceled because "ardupilotmega" failed.
|
internal-tests (minimal)
Process completed with exit code 101.
|
internal-tests (uavionix, --features signing)
The job was canceled because "ardupilotmega" failed.
|
internal-tests (matrixpilot)
The job was canceled because "ardupilotmega" failed.
|
internal-tests (matrixpilot)
Process completed with exit code 101.
|
internal-tests (slugs)
The job was canceled because "ardupilotmega" failed.
|
internal-tests (slugs)
Process completed with exit code 101.
|
internal-tests (python_array_test)
The job was canceled because "ardupilotmega" failed.
|
internal-tests (python_array_test)
Process completed with exit code 101.
|
internal-tests (common)
The job was canceled because "ardupilotmega" failed.
|
internal-tests (common)
The operation was canceled.
|
internal-tests (asluav)
The job was canceled because "ardupilotmega" failed.
|
internal-tests (asluav)
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 (paparazzi, --features signing)
The job was canceled because "ardupilotmega" failed.
|
internal-tests (paparazzi, --features signing)
The operation was canceled.
|
internal-tests (slugs, --features signing)
The job was canceled because "ardupilotmega" failed.
|
internal-tests (slugs, --features signing)
The operation was canceled.
|
internal-tests (icarous)
The job was canceled because "ardupilotmega" failed.
|
internal-tests (icarous)
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 (icarous, --features signing)
The job was canceled because "ardupilotmega" failed.
|
internal-tests (icarous, --features signing)
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 (minimal, --features signing)
The job was canceled because "ardupilotmega" failed.
|
internal-tests (minimal, --features signing)
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 (common, --features signing)
The job was canceled because "ardupilotmega" failed.
|
internal-tests (common, --features signing)
The operation was canceled.
|
mavlink-dump
Process completed with exit code 101.
|
msrv
Process completed with exit code 1.
|
msrv (--features serde,tokio-1)
The job was canceled because "job" failed.
|
msrv (--features serde,tokio-1)
Process completed with exit code 1.
|
this loop never actually loops:
mavlink-core/src/async_connection/udp.rs#L185
error: this loop never actually loops
--> mavlink-core/src/async_connection/udp.rs:185:9
|
185 | / loop {
186 | | #[cfg(not(feature = "signing"))]
187 | | let result = match self.protocol_version {
188 | | MavlinkVersion::V1 => MAVLinkRawMessage::V1(
... |
213 | | return Ok(result);
214 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#never_loop
note: the lint level is defined here
--> mavlink-core/src/lib.rs:23:9
|
23 | #![deny(clippy::all)]
| ^^^^^^^^^^^
= note: `#[deny(clippy::never_loop)]` implied by `#[deny(clippy::all)]`
|
linting
Clippy had exited with the 101 exit code
|
msrv (--features signing)
The job was canceled because "job" failed.
|
msrv (--features signing)
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
|
unused import: `MAVLinkV2MessageRaw`:
mavlink-core/src/async_connection/mod.rs#L3
warning: unused import: `MAVLinkV2MessageRaw`
--> mavlink-core/src/async_connection/mod.rs:3:32
|
3 | use crate::{MAVLinkRawMessage, MAVLinkV2MessageRaw, MavFrame, MavHeader, MavlinkVersion, Message};
| ^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unused imports: `MAVLinkV2MessageRaw`, `read_v1_raw_message`, and `read_v2_raw_message_async`:
mavlink-core/src/async_connection/tcp.rs#L6
warning: unused imports: `MAVLinkV2MessageRaw`, `read_v1_raw_message`, and `read_v2_raw_message_async`
--> mavlink-core/src/async_connection/tcp.rs:6:5
|
6 | read_v1_raw_message, read_v1_raw_message_async, read_v2_raw_message_async,
| ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^
7 | read_v2_raw_message_async_signed, MAVLinkRawMessage, MAVLinkV2MessageRaw, MavHeader,
| ^^^^^^^^^^^^^^^^^^^
|
unused imports: `MAVLinkV2MessageRaw` and `read_v2_raw_message_async`:
mavlink-core/src/async_connection/udp.rs#L13
warning: unused imports: `MAVLinkV2MessageRaw` and `read_v2_raw_message_async`
--> mavlink-core/src/async_connection/udp.rs:13:68
|
13 | async_peek_reader::AsyncPeekReader, read_v1_raw_message_async, read_v2_raw_message_async,
| ^^^^^^^^^^^^^^^^^^^^^^^^^
14 | read_v2_raw_message_async_signed, MAVLinkRawMessage, MAVLinkV2MessageRaw, MavHeader,
| ^^^^^^^^^^^^^^^^^^^
|
unused imports: `MAVLinkV2MessageRaw` and `read_v2_raw_message_async`:
mavlink-core/src/async_connection/direct_serial.rs#L10
warning: unused imports: `MAVLinkV2MessageRaw` and `read_v2_raw_message_async`
--> mavlink-core/src/async_connection/direct_serial.rs:10:68
|
10 | async_peek_reader::AsyncPeekReader, read_v1_raw_message_async, read_v2_raw_message_async,
| ^^^^^^^^^^^^^^^^^^^^^^^^^
11 | read_v2_raw_message_async_signed, MAVLinkRawMessage, MAVLinkV2MessageRaw, MavHeader,
| ^^^^^^^^^^^^^^^^^^^
|
unused imports: `MAVLinkV2MessageRaw` and `read_v2_raw_message_async`:
mavlink-core/src/async_connection/file.rs#L10
warning: unused imports: `MAVLinkV2MessageRaw` and `read_v2_raw_message_async`
--> mavlink-core/src/async_connection/file.rs:10:32
|
10 | read_v1_raw_message_async, read_v2_raw_message_async, read_v2_raw_message_async_signed,
| ^^^^^^^^^^^^^^^^^^^^^^^^^
11 | MAVLinkRawMessage, MAVLinkV2MessageRaw,
| ^^^^^^^^^^^^^^^^^^^
|