Update embedded-hal traits (#47) #89
Annotations
31 warnings
Rust check (nightly)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, 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/
|
Rust check (nightly)
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/
|
Rust check (nightly)
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/
|
Rust check (nightly)
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/
|
Rust check (nightly)
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/
|
Rust check (nightly):
src/delay.rs#L19
unused doc comment
|
Rust check (nightly)
`bl602-hal` (lib) generated 1 warning
|
docs for unsafe trait missing `# Safety` section:
src/spi.rs#L81
warning: docs for unsafe trait missing `# Safety` section
--> src/spi.rs:81:1
|
81 | pub unsafe trait Pins<SPI> {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
docs for unsafe trait missing `# Safety` section:
src/spi.rs#L78
warning: docs for unsafe trait missing `# Safety` section
--> src/spi.rs:78:1
|
78 | pub unsafe trait SclkPin<SPI> {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
docs for unsafe trait missing `# Safety` section:
src/spi.rs#L75
warning: docs for unsafe trait missing `# Safety` section
--> src/spi.rs:75:1
|
75 | pub unsafe trait SsPin<SPI> {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
docs for unsafe trait missing `# Safety` section:
src/spi.rs#L72
warning: docs for unsafe trait missing `# Safety` section
--> src/spi.rs:72:1
|
72 | pub unsafe trait MosiPin<SPI> {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
docs for unsafe trait missing `# Safety` section:
src/spi.rs#L69
warning: docs for unsafe trait missing `# Safety` section
--> src/spi.rs:69:1
|
69 | pub unsafe trait MisoPin<SPI> {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
docs for unsafe trait missing `# Safety` section:
src/serial.rs#L389
warning: docs for unsafe trait missing `# Safety` section
--> src/serial.rs:389:1
|
389 | pub unsafe trait Pins<UART> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
docs for unsafe trait missing `# Safety` section:
src/serial.rs#L358
warning: docs for unsafe trait missing `# Safety` section
--> src/serial.rs:358:1
|
358 | pub unsafe trait CtsPin<UART> {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
docs for unsafe trait missing `# Safety` section:
src/serial.rs#L356
warning: docs for unsafe trait missing `# Safety` section
--> src/serial.rs:356:1
|
356 | pub unsafe trait RtsPin<UART> {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
docs for unsafe trait missing `# Safety` section:
src/serial.rs#L354
warning: docs for unsafe trait missing `# Safety` section
--> src/serial.rs:354:1
|
354 | pub unsafe trait RxPin<UART> {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
docs for unsafe trait missing `# Safety` section:
src/serial.rs#L352
warning: docs for unsafe trait missing `# Safety` section
--> src/serial.rs:352:1
|
352 | pub unsafe trait TxPin<UART> {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
docs for unsafe trait missing `# Safety` section:
src/i2c.rs#L64
warning: docs for unsafe trait missing `# Safety` section
--> src/i2c.rs:64:1
|
64 | pub unsafe trait Pins<I2C> {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
docs for unsafe trait missing `# Safety` section:
src/i2c.rs#L61
warning: docs for unsafe trait missing `# Safety` section
--> src/i2c.rs:61:1
|
61 | pub unsafe trait SclPin<I2C> {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
docs for unsafe trait missing `# Safety` section:
src/i2c.rs#L58
warning: docs for unsafe trait missing `# Safety` section
--> src/i2c.rs:58:1
|
58 | pub unsafe trait SdaPin<I2C> {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
= note: `#[warn(clippy::missing_safety_doc)]` on by default
|
unneeded unit return type:
src/watchdog.rs#L235
warning: unneeded unit return type
--> src/watchdog.rs:235:23
|
235 | fn feed(&mut self) -> () {
| ^^^^^^ help: remove the `-> ()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: `#[warn(clippy::unused_unit)]` on by default
|
Rust check (stable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, 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/
|
Rust check (stable)
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/
|
Rust check (stable)
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/
|
Rust check (stable)
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/
|
Rust check (stable)
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/
|
Rust check (1.59.0)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, 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/
|
Rust check (1.59.0)
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/
|
Rust check (1.59.0)
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/
|
Rust check (1.59.0)
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/
|
Rust check (1.59.0)
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/
|