Skip to content

bump pinned clippy version #594

bump pinned clippy version

bump pinned clippy version #594

Triggered via pull request September 10, 2024 18:42
Status Success
Total duration 23m 23s
Artifacts

test.yml

on: pull_request
Matrix: internal-tests
Matrix: msrv
test-embedded-size
38s
test-embedded-size
Fit to window
Zoom out
Zoom in

Annotations

18 warnings
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
unexpected `cfg` condition value: `storm32`: target/debug/build/mavlink-0a956b28b9e7fd7d/out/mod.rs#L1
warning: unexpected `cfg` condition value: `storm32` --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-0a956b28b9e7fd7d/out/mod.rs:1:4816 | 1 | ...essary_cast)] # [allow (clippy :: bad_bit_mask)] # [cfg (feature = "storm32")] pub mod storm32 ; | ^^^^^^^^^^^^^^^^^^^ | = 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-0a956b28b9e7fd7d/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-0a956b28b9e7fd7d/out/ardupilotmega.rs:1:303655 | 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-0a956b28b9e7fd7d/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-0a956b28b9e7fd7d/out/ardupilotmega.rs:1:839135 | 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
build (ubuntu-latest, thumbv7m-none-eabi, --no-default-features --features embedded)
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/
build (ubuntu-latest, thumbv7m-none-eabi, --no-default-features --features embedded)
The following actions use a deprecated Node.js version 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/
build (ubuntu-latest, armv7-unknown-linux-musleabihf, --features ardupilotmega)
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/
build (ubuntu-latest, armv7-unknown-linux-musleabihf, --features ardupilotmega)
The following actions use a deprecated Node.js version 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/
build (ubuntu-latest, x86_64-unknown-linux-musl, --features ardupilotmega)
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/
build (ubuntu-latest, x86_64-unknown-linux-musl, --features ardupilotmega)
The following actions use a deprecated Node.js version 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/
build (ubuntu-latest, arm-unknown-linux-musleabihf, --features ardupilotmega)
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/
build (ubuntu-latest, arm-unknown-linux-musleabihf, --features ardupilotmega)
The following actions use a deprecated Node.js version 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/
build (ubuntu-latest, x86_64-unknown-linux-musl, --features ardupilotmega,emit-description,emit-e...
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/
build (ubuntu-latest, x86_64-unknown-linux-musl, --features ardupilotmega,emit-description,emit-e...
The following actions use a deprecated Node.js version 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/
build (windows-latest, x86_64-pc-windows-msvc, --features ardupilotmega)
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/
build (windows-latest, x86_64-pc-windows-msvc, --features ardupilotmega)
The following actions use a deprecated Node.js version 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/
build (macos-latest, x86_64-apple-darwin, --features ardupilotmega)
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/
build (macos-latest, x86_64-apple-darwin, --features ardupilotmega)
The following actions use a deprecated Node.js version 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/