Skip to content

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

Ptp [will not merge, for gh actions only]

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

Triggered via pull request October 2, 2023 16:59
@HarishgunaSHarishgunaS
opened #5
ptp
Status Failure
Total duration 21s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

rustfmt.yml

on: pull_request
Rustfmt
6s
Rustfmt
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 5 warnings
Rustfmt
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
the trait bound `ethernet::eth::PtpFrameWithId: core::marker::Copy` is not satisfied: src/ethernet/eth.rs#L528
error[E0277]: the trait bound `ethernet::eth::PtpFrameWithId: core::marker::Copy` is not satisfied --> src/ethernet/eth.rs:528:28 | 528 | ptp_frame_buffer: [PtpFrameWithId{ ptp_frame: [0u8; PTP_MAX_SIZE], packet_id: None}; MAX_PTP_FOLLOWERS], | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `core::marker::Copy` is not implemented for `ethernet::eth::PtpFrameWithId` | = note: the `Copy` trait is required because this value will be copied for each element of the array help: consider annotating `ethernet::eth::PtpFrameWithId` with `#[derive(Copy)]` | 108 | #[derive(Copy)] |
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/