Skip to content

fix(deps): <- update provable-things dependencies to pnetwork-association #23

fix(deps): <- update provable-things dependencies to pnetwork-association

fix(deps): <- update provable-things dependencies to pnetwork-association #23

GitHub Actions / clippy failed Feb 2, 2024 in 0s

clippy

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
Warning 0
Note 0
Help 0

Versions

  • rustc 1.75.0 (82e1608df 2023-12-21)
  • cargo 1.75.0 (1d8b05cdd 2023-11-20)
  • clippy 0.1.75 (82e1608 2023-12-21)

Annotations

Check failure on line 57 in common/eos/src/eos_submission_material.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead

error: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead
  --> common/eos/src/eos_submission_material.rs:57:17
   |
57 |             Utc.datetime_from_str(timestamp, timestamp_format)?.timestamp_millis() * 1_000_000,
   |                 ^^^^^^^^^^^^^^^^^
   |
   = note: `-D deprecated` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(deprecated)]`