fix compatibility issues #703
Annotations
2 errors and 21 warnings
Run cargo fmt
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
|
Run cargo clippy
Unable to create clippy annotations! Reason: HttpError: Resource not accessible by integration
|
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/
|
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/
|
Install stable toolchain
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/
|
Install stable toolchain
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/
|
Install stable toolchain
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/
|
Install stable toolchain
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/
|
Run cargo build:
rsfbclient-core/src/date_time.rs#L50
use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead
|
Run cargo build:
rsfbclient-core/src/date_time.rs#L87
use of deprecated associated function `chrono::NaiveTime::from_hms_nano`: use `from_hms_nano_opt()` instead
|
Run cargo build:
rsfbclient-core/src/date_time.rs#L122
use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead
|
Run cargo build:
rsfbclient-core/src/date_time.rs#L129
use of deprecated associated function `chrono::Utc::today`: use `Utc::now()` instead, potentially with `.date_naive()`
|
Run cargo build
`rsfbclient-core` (lib) generated 4 warnings
|
Run cargo clippy
It seems that this Action is executed from the forked repository.
|
Run cargo clippy
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.
|
Run cargo clippy:
rsfbclient-core/src/date_time.rs#L50
use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead
|
Run cargo clippy:
rsfbclient-core/src/date_time.rs#L87
use of deprecated associated function `chrono::NaiveTime::from_hms_nano`: use `from_hms_nano_opt()` instead
|
Run cargo clippy:
rsfbclient-core/src/date_time.rs#L122
use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead
|
Run cargo clippy:
rsfbclient-core/src/date_time.rs#L129
use of deprecated associated function `chrono::Utc::today`: use `Utc::now()` instead, potentially with `.date_naive()`
|
Run cargo clippy:
rsfbclient-core/src/date_time.rs#L69
casting to the same type is unnecessary (`i64` -> `i64`)
|
Run cargo clippy:
rsfbclient-core/src/transaction.rs#L110
this `impl` can be derived
|
Run cargo clippy:
rsfbclient-rust/src/consts.rs#L199
unexpected `cfg` condition name: `tarpaulin_include`
|
Run cargo clippy:
rsfbclient-native/src/connection.rs#L123
casting integer literal to `u8` is unnecessary
|
Loading