Skip to content

Ptp [will not merge, for gh actions only] #20

Ptp [will not merge, for gh actions only]

Ptp [will not merge, for gh actions only] #20

Triggered via pull request October 2, 2023 17:41
@HarishgunaSHarishgunaS
synchronize #5
ptp
Status Failure
Total duration 4m 34s
Artifacts

clippy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 5 warnings
mismatched types: examples/ethernet-nucleo-h743zi2.rs#L114
error[E0308]: mismatched types --> examples/ethernet-nucleo-h743zi2.rs:114:9 | 114 | let (_eth_dma, eth_mac) = unsafe { | _________^^^^^^^^^^^^^^^^^^^___- | | | | | expected struct `stm32h7xx_hal::ethernet::Parts`, found tuple 115 | | ethernet::new( 116 | | dp.ETHERNET_MAC, 117 | | dp.ETHERNET_MTL, ... | 134 | | ) 135 | | }; | |_____- this expression has type `stm32h7xx_hal::ethernet::Parts<'_, '_>` | = note: expected struct `stm32h7xx_hal::ethernet::Parts<'_, '_>` found tuple `(_, _)`
this function takes 9 arguments but 8 arguments were supplied: examples/ethernet-nucleo-h743zi2.rs#L115
error[E0061]: this function takes 9 arguments but 8 arguments were supplied --> examples/ethernet-nucleo-h743zi2.rs:115:9 | 115 | ethernet::new( | ^^^^^^^^^^^^^ ... 131 | mac_addr, | -------- an argument of type `stm32h7xx_hal::ethernet::raw_descriptor::DescriptorRing<'_, stm32h7xx_hal::ethernet::TxDescriptor>` is missing | note: function defined here --> /home/runner/work/stm32h7xx-hal/stm32h7xx-hal/src/ethernet/eth.rs:164:8 | 164 | pub fn new<'rx, 'tx>( | ^^^ help: provide the argument | 115 ~ ethernet::new(dp.ETHERNET_MAC, dp.ETHERNET_MTL, dp.ETHERNET_DMA, ( 116 + rmii_ref_clk, 117 + rmii_mdio, 118 + rmii_mdc, 119 + rmii_crs_dv, 120 + rmii_rxd0, 121 + rmii_rxd1, 122 + rmii_tx_en, 123 + rmii_txd0, 124 + rmii_txd1, 125 + ), &mut DES_RING, /* stm32h7xx_hal::ethernet::raw_descriptor::DescriptorRing<'_, stm32h7xx_hal::ethernet::TxDescriptor> */, mac_addr, ccdr.peripheral.ETH1MAC, &ccdr.clocks) |
cannot find function `interrupt_handler` in module `ethernet`: examples/ethernet-nucleo-h743zi2.rs#L183
error[E0425]: cannot find function `interrupt_handler` in module `ethernet` --> examples/ethernet-nucleo-h743zi2.rs:183:24 | 183 | unsafe { ethernet::interrupt_handler() } | ^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `eth_interrupt_handler` | ::: /home/runner/work/stm32h7xx-hal/stm32h7xx-hal/src/ethernet/eth.rs:572:1 | 572 | pub fn eth_interrupt_handler() -> InterruptReason { | ------------------------------------------------- similarly named function `eth_interrupt_handler` defined here
cannot find function `enable_interrupt` in module `ethernet`: examples/ethernet-nucleo-h743zi2.rs#L143
error[E0425]: cannot find function `enable_interrupt` in module `ethernet` --> examples/ethernet-nucleo-h743zi2.rs:143:19 | 143 | ethernet::enable_interrupt(); | ^^^^^^^^^^^^^^^^ not found in `ethernet`
cannot find type `DesRing` in module `ethernet`: examples/ethernet-nucleo-h743zi2.rs#L54
error[E0412]: cannot find type `DesRing` in module `ethernet` --> examples/ethernet-nucleo-h743zi2.rs:54:32 | 54 | static mut DES_RING: ethernet::DesRing<4, 4> = ethernet::DesRing::new(); | ^^^^^^^ not found in `ethernet`
failed to resolve: could not find `DesRing` in `ethernet`: examples/ethernet-nucleo-h743zi2.rs#L54
error[E0433]: failed to resolve: could not find `DesRing` in `ethernet` --> examples/ethernet-nucleo-h743zi2.rs:54:58 | 54 | static mut DES_RING: ethernet::DesRing<4, 4> = ethernet::DesRing::new(); | ^^^^^^^ could not find `DesRing` in `ethernet`
clippy_check
Clippy had exited with the 101 exit code
clippy_check
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/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/