Bump deps #180
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
10 warnings
use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead:
apps/sdk/src/time.rs#L54
warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--> apps/sdk/src/time.rs:54:22
|
54 | Timestamp(dt.timestamp_nanos() as u64)
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead:
store/src/local/mutation_index/mod.rs#L536
warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--> store/src/local/mutation_index/mod.rs:536:55
|
536 | doc.add_u64(mapped_field.field, value.timestamp_nanos() as u64);
| ^^^^^^^^^^^^^^^
|
use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead:
store/src/local/mutation_index/mod.rs#L826
warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--> store/src/local/mutation_index/mod.rs:826:30
|
826 | let now = Utc::now().timestamp_nanos() as u64;
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
unnecessary `pub(self)`:
store/src/remote/mod.rs#L1
warning: unnecessary `pub(self)`
--> store/src/remote/mod.rs:1:1
|
1 | pub(self) mod seri;
| ^^^^^^^^^ help: remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: `#[warn(clippy::needless_pub_self)]` on by default
|
useless use of `vec!`:
chain/src/block.rs#L88
warning: useless use of `vec!`
--> chain/src/block.rs:88:13
|
88 | / vec![
89 | | self.header().whole_data(),
90 | | self.operations_data(),
91 | | self.signatures().whole_data(),
92 | | ]
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
= note: `#[warn(clippy::useless_vec)]` on by default
help: you can use an array directly
|
88 ~ [self.header().whole_data(),
89 + self.operations_data(),
90 + self.signatures().whole_data()]
|
|
unnecessary `pub(self)`:
chain/src/chain/directory/mod.rs#L23
warning: unnecessary `pub(self)`
--> chain/src/chain/directory/mod.rs:23:1
|
23 | pub(self) mod tracker;
| ^^^^^^^^^ help: remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
= note: `#[warn(clippy::needless_pub_self)]` on by default
|
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead:
core/src/time/mod.rs#L15
warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
--> core/src/time/mod.rs:15:23
|
15 | chrono::DateTime::from_utc(dt.unwrap_or_default(), chrono::Utc)
| ^^^^^^^^
|
use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead:
core/src/time/consistent_timestamp.rs#L96
warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--> core/src/time/consistent_timestamp.rs:96:34
|
96 | ConsistentTimestamp(date.timestamp_nanos() as u64)
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead:
protos/src/time.rs#L3
warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
--> protos/src/time.rs:3:23
|
3 | chrono::DateTime::from_utc(dt.unwrap_or_default(), chrono::Utc)
| ^^^^^^^^
|
use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead:
protos/src/prost.rs#L10
warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--> protos/src/prost.rs:10:35
|
10 | self.to_chrono_datetime().timestamp_nanos() as u64
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|