Test more non std #826
test.yml
on: pull_request
Matrix: internal-tests
Matrix: msrv
docs
19m 46s
Matrix: build
test-embedded-size
33s
Annotations
5 warnings and 2 notices
|
unneeded sub `cfg` when there is only one condition:
mavlink/tests/v1_encode_decode_tests.rs#L3
warning: unneeded sub `cfg` when there is only one condition
--> mavlink/tests/v1_encode_decode_tests.rs:3:7
|
3 | #[cfg(all(feature = "common"))]
| ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "common"`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
= note: `#[warn(clippy::non_minimal_cfg)]` on by default
|
|
this looks like an `else if` but the `else` is missing:
target/debug/build/mavlink-67aa21e354663303/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-67aa21e354663303/out/ardupilotmega.rs:1:606701
|
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#possible_missing_else
|
|
this looks like an `else if` but the `else` is missing:
target/debug/build/mavlink-67aa21e354663303/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-67aa21e354663303/out/ardupilotmega.rs:1:498548
|
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#possible_missing_else
= note: `#[warn(clippy::possible_missing_else)]` on by default
|
|
the borrowed expression implements the required traits:
mavlink-bindgen/src/lib.rs#L101
warning: the borrowed expression implements the required traits
--> mavlink-bindgen/src/lib.rs:101:67
|
101 | bindings.push(generate_single_file(&entry.path(), &destination_dir)?);
| ^^^^^^^^^^^^^^^^ help: change this to: `destination_dir`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
|
the borrowed expression implements the required traits:
mavlink-bindgen/src/lib.rs#L101
warning: the borrowed expression implements the required traits
--> mavlink-bindgen/src/lib.rs:101:52
|
101 | bindings.push(generate_single_file(&entry.path(), &destination_dir)?);
| ^^^^^^^^^^^^^ help: change this to: `entry.path()`
|
= 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
|
|
build (windows-latest, x86_64-pc-windows-msvc, --features ardupilotmega)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
|
build (macos-latest, x86_64-apple-darwin, --features ardupilotmega)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|