Skip to content

fix compatibility issues #703

fix compatibility issues

fix compatibility issues #703

Re-run triggered August 22, 2024 16:15
Status Failure
Total duration 2m 16s
Artifacts

testing_changes.yml

on: pull_request
run-guard
0s
run-guard
Matrix: testing
security
0s
security
Matrix: embedded
coverage
0s
coverage
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 21 warnings
linting
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
linting
Unable to create clippy annotations! Reason: HttpError: Resource not accessible by integration
linting
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, 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/
linting
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
linting
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/
linting
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/
linting
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/
linting
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/
linting: rsfbclient-core/src/date_time.rs#L50
use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead
linting: rsfbclient-core/src/date_time.rs#L87
use of deprecated associated function `chrono::NaiveTime::from_hms_nano`: use `from_hms_nano_opt()` instead
linting: rsfbclient-core/src/date_time.rs#L122
use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead
linting: rsfbclient-core/src/date_time.rs#L129
use of deprecated associated function `chrono::Utc::today`: use `Utc::now()` instead, potentially with `.date_naive()`
linting
`rsfbclient-core` (lib) generated 4 warnings
linting
It seems that this Action is executed from the forked repository.
linting
GitHub Actions are not allowed to create Check annotations, when executed for a forked repos. See https://github.com/actions-rs/clippy-check/issues/2 for details.
linting: rsfbclient-core/src/date_time.rs#L50
use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead
linting: rsfbclient-core/src/date_time.rs#L87
use of deprecated associated function `chrono::NaiveTime::from_hms_nano`: use `from_hms_nano_opt()` instead
linting: rsfbclient-core/src/date_time.rs#L122
use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead
linting: rsfbclient-core/src/date_time.rs#L129
use of deprecated associated function `chrono::Utc::today`: use `Utc::now()` instead, potentially with `.date_naive()`
linting: rsfbclient-core/src/date_time.rs#L69
casting to the same type is unnecessary (`i64` -> `i64`)
linting: rsfbclient-core/src/transaction.rs#L110
this `impl` can be derived
linting: rsfbclient-rust/src/consts.rs#L199
unexpected `cfg` condition name: `tarpaulin_include`
linting: rsfbclient-native/src/connection.rs#L123
casting integer literal to `u8` is unnecessary