Update stronghold #4211
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
8 errors and 5 warnings
use of `default` to create a unit struct:
src/lib.rs#L375
error: use of `default` to create a unit struct
--> src/lib.rs:375:17
|
375 | Self::default()
| ^^^^^^^^^^^ help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
use of `default` to create a unit struct:
src/lib.rs#L334
error: use of `default` to create a unit struct
--> src/lib.rs:334:79
|
334 | crate::signing::set_signer(signer_type.clone(), TestSigner::default()).await;
| ^^^^^^^^^^^ help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
use of `default` to create a unit struct:
src/lib.rs#L265
error: use of `default` to create a unit struct
--> src/lib.rs:265:67
|
265 | crate::signing::set_signer(signer_type.clone(), TestSigner::default()).await;
| ^^^^^^^^^^^ help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
= note: `-D clippy::default-constructed-unit-structs` implied by `-D warnings`
|
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead:
src/message.rs#L1349
error: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
--> src/message.rs:1349:75
|
1349 | ... date_time = DateTime::from_utc(NaiveDateTime::from_timestamp(approx_timestamp, 0), Utc);
| ^^^^^^^^^^^^^^
|
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead:
src/message.rs#L1338
error: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
--> src/message.rs:1338:52
|
1338 | ... NaiveDateTime::from_timestamp(milestone.timestamp as i64, 0),
| ^^^^^^^^^^^^^^
|
= note: `-D deprecated` implied by `-D warnings`
|
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead:
src/message.rs#L1349
error: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
--> src/message.rs:1349:75
|
1349 | ... date_time = DateTime::from_utc(NaiveDateTime::from_timestamp(approx_timestamp, 0), Utc);
| ^^^^^^^^^^^^^^
|
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead:
src/message.rs#L1338
error: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
--> src/message.rs:1338:52
|
1338 | ... NaiveDateTime::from_timestamp(milestone.timestamp as i64, 0),
| ^^^^^^^^^^^^^^
|
= note: `-D deprecated` implied by `-D warnings`
|
clippy
Clippy had exited with the 101 exit code
|
clippy
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
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
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
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
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/
|