mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
81298dd90f
Summary: Implicitly panicking methods like `TimeZone::timestamp` are deprecated as of chrono 0.4.23. ``` warning: use of deprecated associated function `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead --> buck2_common/src/cas_digest.rs:330:13 | 330 | Utc.timestamp(self.inner.expires.load(Ordering::Relaxed), 0) | ^^^^^^^^^ warning: use of deprecated associated function `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead --> buck2_build_api/src/actions/impls/cas_artifact.rs:234:60 | 234 | let dir = re_tree_to_directory(&tree, &Utc.timestamp(0, 0)) | ^^^^^^^^^ warning: use of deprecated associated function `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead --> buck2_build_api/src/interpreter/rule_defs/context.rs:925:43 | 925 | let expires_after_timestamp = Utc.timestamp(expires_after_timestamp, 0); | ^^^^^^^^^ ``` Reviewed By: zertosh Differential Revision: D42177451 fbshipit-source-id: fd0ba0a37b02316e3fcd67737049a53dffb94ed2 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |