Update stronghold #4211
core
7 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 7 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.71.1 (eb26296b5 2023-08-03)
- cargo 1.71.1 (7f1d04c00 2023-07-29)
- clippy 0.1.71 (eb26296 2023-08-03)
Annotations
Check failure on line 375 in src/lib.rs
github-actions / core
use of `default` to create a unit struct
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
Check failure on line 334 in src/lib.rs
github-actions / core
use of `default` to create a unit struct
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
Check failure on line 265 in src/lib.rs
github-actions / core
use of `default` to create a unit struct
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`
Check failure on line 1349 in src/message.rs
github-actions / core
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
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);
| ^^^^^^^^^^^^^^
Check failure on line 1338 in src/message.rs
github-actions / core
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
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`
Check failure on line 1349 in src/message.rs
github-actions / core
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
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);
| ^^^^^^^^^^^^^^
Check failure on line 1338 in src/message.rs
github-actions / core
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
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`