Skip to content

Prepare for 0.8.0 release. #144

Prepare for 0.8.0 release.

Prepare for 0.8.0 release. #144

Triggered via pull request January 16, 2024 19:19
Status Success
Total duration 41s
Artifacts

clippy.yml

on: pull_request
clippy_check
31s
clippy_check
Fit to window
Zoom out
Zoom in

Annotations

9 warnings
call to `std::mem::drop` with a value that does not implement `Drop`. Dropping such a type only extends its contained lifetimes: src/time.rs#L247
warning: call to `std::mem::drop` with a value that does not implement `Drop`. Dropping such a type only extends its contained lifetimes --> src/time.rs:247:9 | 247 | drop(dwt); | ^^^^^^^^^ | note: argument has type `gd32f1::gd32f130::DWT` --> src/time.rs:247:14 | 247 | drop(dwt); | ^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#drop_non_drop = note: `#[warn(clippy::drop_non_drop)]` on by default
this `.into_iter()` call is equivalent to `.iter_mut()` and will not consume the `slice`: src/i2c.rs#L662
warning: this `.into_iter()` call is equivalent to `.iter_mut()` and will not consume the `slice` --> src/i2c.rs:662:42 | 662 | for (i, operation) in operations.into_iter().enumerate() { | ^^^^^^^^^ help: call directly: `iter_mut` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref = note: `#[warn(clippy::into_iter_on_ref)]` on by default
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
call to `std::mem::drop` with a value that does not implement `Drop`. Dropping such a type only extends its contained lifetimes: src/time.rs#L247
warning: call to `std::mem::drop` with a value that does not implement `Drop`. Dropping such a type only extends its contained lifetimes --> src/time.rs:247:9 | 247 | drop(dwt); | ^^^^^^^^^ | note: argument has type `gd32f1::gd32f130::DWT` --> src/time.rs:247:14 | 247 | drop(dwt); | ^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#drop_non_drop = note: `#[warn(clippy::drop_non_drop)]` on by default
this `.into_iter()` call is equivalent to `.iter_mut()` and will not consume the `slice`: src/i2c.rs#L662
warning: this `.into_iter()` call is equivalent to `.iter_mut()` and will not consume the `slice` --> src/i2c.rs:662:42 | 662 | for (i, operation) in operations.into_iter().enumerate() { | ^^^^^^^^^ help: call directly: `iter_mut` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref = note: `#[warn(clippy::into_iter_on_ref)]` on by default