Ptp [will not merge, for gh actions only] #19
Annotations
4 errors and 5 warnings
this function has too many arguments (8/7):
src/ethernet/eth.rs#L203
error: this function has too many arguments (8/7)
--> src/ethernet/eth.rs:203:1
|
203 | / pub unsafe fn new_unchecked<'rx, 'tx>(
204 | | eth_mac: stm32::ETHERNET_MAC,
205 | | eth_mtl: stm32::ETHERNET_MTL,
206 | | eth_dma: stm32::ETHERNET_DMA,
... |
211 | | clocks: &CoreClocks,
212 | | ) -> Parts<'rx, 'tx> {
| |____________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: `-D clippy::too-many-arguments` implied by `-D warnings`
|
`assert!(true)` will be optimized out by the compiler:
src/ethernet/eth.rs#L72
error: `assert!(true)` will be optimized out by the compiler
--> src/ethernet/eth.rs:72:41
|
72 | const _ASSERT_DESC_WORD_SKIP_SIZE: () = assert!(DESC_WORD_SKIP <= 0b111);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: remove it
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants
|
`assert!(true)` will be optimized out by the compiler:
src/ethernet/eth.rs#L67
error: `assert!(true)` will be optimized out by the compiler
--> src/ethernet/eth.rs:67:38
|
67 | const _ASSERT_DESCRIPTOR_ALIGN: () = assert!(_RXDESC_SIZE % 4 == 0);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: remove it
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants
|
`assert!(true)` will be optimized out by the compiler:
src/ethernet/eth.rs#L65
error: `assert!(true)` will be optimized out by the compiler
--> src/ethernet/eth.rs:65:38
|
65 | const _ASSERT_DESCRIPTOR_SIZES: () = assert!(_RXDESC_SIZE == _TXDESC_SIZE);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: remove it
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants
= note: `-D clippy::assertions-on-constants` implied by `-D warnings`
|
Rustfmt
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/
|
Rustfmt
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/
|
Rustfmt
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/
|
Rustfmt
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/
|
Rustfmt
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/
|