[INFO] fetching crate canistergeek_ic_rust 0.4.3... [INFO] checking canistergeek_ic_rust-0.4.3 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate canistergeek_ic_rust 0.4.3 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate canistergeek_ic_rust 0.4.3 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate canistergeek_ic_rust 0.4.3 [INFO] finished tweaking crates.io crate canistergeek_ic_rust 0.4.3 [INFO] tweaked toml for crates.io crate canistergeek_ic_rust 0.4.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 77 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (available: v0.7.6) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding ic-cdk v0.12.2 (available: v0.16.0) [INFO] [stderr] Adding ic-cdk-macros v0.8.4 (available: v0.16.0) [INFO] [stderr] Adding ic0 v0.21.1 (available: v0.23.0) [INFO] [stderr] Adding serde_tokenstream v0.1.7 (available: v0.2.2) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typed-arena v2.0.2 [INFO] [stderr] Downloaded serde_tokenstream v0.1.7 [INFO] [stderr] Downloaded ic0 v0.21.1 [INFO] [stderr] Downloaded ic-cdk v0.12.2 [INFO] [stderr] Downloaded pretty v0.12.3 [INFO] [stderr] Downloaded ic_principal v0.1.1 [INFO] [stderr] Downloaded ic-cdk-macros v0.8.4 [INFO] [stderr] Downloaded leb128 v0.2.5 [INFO] [stderr] Downloaded candid v0.10.10 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] [stderr] Downloaded candid_derive v0.6.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b8d5cab989ca1d47a9e0753b3e6ed37a9efac05c248c3c30c6a1c4fbc1c74be [INFO] running `Command { std: "docker" "start" "-a" "2b8d5cab989ca1d47a9e0753b3e6ed37a9efac05c248c3c30c6a1c4fbc1c74be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b8d5cab989ca1d47a9e0753b3e6ed37a9efac05c248c3c30c6a1c4fbc1c74be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b8d5cab989ca1d47a9e0753b3e6ed37a9efac05c248c3c30c6a1c4fbc1c74be", kill_on_drop: false }` [INFO] [stdout] 2b8d5cab989ca1d47a9e0753b3e6ed37a9efac05c248c3c30c6a1c4fbc1c74be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a749b22cc5d21987734aae406c9f9ce8f1a58f6470f27697d3e5cc39aac549fe [INFO] running `Command { std: "docker" "start" "-a" "a749b22cc5d21987734aae406c9f9ce8f1a58f6470f27697d3e5cc39aac549fe", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling psm v0.1.23 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Checking ic0 v0.21.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Checking candid v0.10.10 [INFO] [stderr] Compiling ic-cdk-macros v0.8.4 [INFO] [stderr] Checking ic-cdk v0.12.2 [INFO] [stderr] Checking canistergeek_ic_rust v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | from_day: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | from_day: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/ic_util/mod.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | Utc::now().timestamp_nanos() as u64 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/ic_util/mod.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | Utc::now().timestamp_nanos() as u64 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/logger/mod.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(s) = &mut STORAGE { [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(s) = addr_of_mut!(STORAGE) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp_millis`: use `timestamp_millis_opt()` instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | from_day: Utc.timestamp_millis(from_millis).date(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:28:57 [INFO] [stdout] | [INFO] [stdout] 28 | from_day: Utc.timestamp_millis(from_millis).date(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp_millis`: use `timestamp_millis_opt()` instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | .timestamp_millis(to_millis) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | .date() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | if self.day.date() < self.from_day { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/monitor/mod.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | if let Some(s) = &mut STORAGE { [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 21 | if let Some(s) = addr_of_mut!(STORAGE) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/logger/mod.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(s) = &mut STORAGE { [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(s) = addr_of_mut!(STORAGE) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp_millis`: use `timestamp_millis_opt()` instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | from_day: Utc.timestamp_millis(from_millis).date(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:28:57 [INFO] [stdout] | [INFO] [stdout] 28 | from_day: Utc.timestamp_millis(from_millis).date(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp_millis`: use `timestamp_millis_opt()` instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | .timestamp_millis(to_millis) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | .date() [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | if self.day.date() < self.from_day { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | let from = Utc.ymd(2020, 12, 28).and_hms(23, 12, 13); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:76:42 [INFO] [stdout] | [INFO] [stdout] 76 | let from = Utc.ymd(2020, 12, 28).and_hms(23, 12, 13); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | let to = Utc.ymd(2021, 1, 3).and_hms(23, 12, 13); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:77:38 [INFO] [stdout] | [INFO] [stdout] 77 | let to = Utc.ymd(2021, 1, 3).and_hms(23, 12, 13); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:82:45 [INFO] [stdout] | [INFO] [stdout] 82 | assert_eq!(iter.next().unwrap(), to.date().and_hms(0, 0, 0)); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:82:52 [INFO] [stdout] | [INFO] [stdout] 82 | assert_eq!(iter.next().unwrap(), to.date().and_hms(0, 0, 0)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | to.date().and_hms(0, 0, 0) - Duration::days(1) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | to.date().and_hms(0, 0, 0) - Duration::days(1) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | to.date().and_hms(0, 0, 0) - Duration::days(2) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | to.date().and_hms(0, 0, 0) - Duration::days(2) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 93 | to.date().and_hms(0, 0, 0) - Duration::days(3) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | to.date().and_hms(0, 0, 0) - Duration::days(3) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | to.date().and_hms(0, 0, 0) - Duration::days(4) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | to.date().and_hms(0, 0, 0) - Duration::days(4) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | to.date().and_hms(0, 0, 0) - Duration::days(5) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | to.date().and_hms(0, 0, 0) - Duration::days(5) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | to.date().and_hms(0, 0, 0) - Duration::days(6) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:105:23 [INFO] [stdout] | [INFO] [stdout] 105 | to.date().and_hms(0, 0, 0) - Duration::days(6) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | let from = Utc.ymd(2020, 12, 28).and_hms(23, 12, 13); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:112:42 [INFO] [stdout] | [INFO] [stdout] 112 | let from = Utc.ymd(2020, 12, 28).and_hms(23, 12, 13); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | let to = Utc.ymd(2021, 1, 3).and_hms(23, 12, 13); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:113:38 [INFO] [stdout] | [INFO] [stdout] 113 | let to = Utc.ymd(2021, 1, 3).and_hms(23, 12, 13); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/monitor/mod.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | if let Some(s) = &mut STORAGE { [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 21 | if let Some(s) = addr_of_mut!(STORAGE) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/monitor/mod.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | let time_nanos = Utc.ymd(2022, 01, 28).and_hms(13, 0, 0).timestamp_nanos() as u64; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/monitor/mod.rs:118:48 [INFO] [stdout] | [INFO] [stdout] 118 | let time_nanos = Utc.ymd(2022, 01, 28).and_hms(13, 0, 0).timestamp_nanos() as u64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/monitor/mod.rs:118:66 [INFO] [stdout] | [INFO] [stdout] 118 | let time_nanos = Utc.ymd(2022, 01, 28).and_hms(13, 0, 0).timestamp_nanos() as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/monitor/mod.rs:131:30 [INFO] [stdout] | [INFO] [stdout] 131 | let time_nanos = Utc.ymd(2022, 01, 28).and_hms(9, 0, 0).timestamp_nanos() as u64; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/monitor/mod.rs:131:48 [INFO] [stdout] | [INFO] [stdout] 131 | let time_nanos = Utc.ymd(2022, 01, 28).and_hms(9, 0, 0).timestamp_nanos() as u64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/monitor/mod.rs:131:65 [INFO] [stdout] | [INFO] [stdout] 131 | let time_nanos = Utc.ymd(2022, 01, 28).and_hms(9, 0, 0).timestamp_nanos() as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/monitor/mod.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | Utc.ymd(2022, 01, 28).and_hms(11, 11, 11).timestamp_millis() as u64 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/monitor/mod.rs:147:39 [INFO] [stdout] | [INFO] [stdout] 147 | Utc.ymd(2022, 01, 28).and_hms(11, 11, 11).timestamp_millis() as u64 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/monitor/mod.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | Utc.ymd(2022, 01, 28).and_hms(11, 11, 11).timestamp_millis() as u64 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/monitor/mod.rs:150:39 [INFO] [stdout] | [INFO] [stdout] 150 | Utc.ymd(2022, 01, 28).and_hms(11, 11, 11).timestamp_millis() as u64 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.10s [INFO] running `Command { std: "docker" "inspect" "a749b22cc5d21987734aae406c9f9ce8f1a58f6470f27697d3e5cc39aac549fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a749b22cc5d21987734aae406c9f9ce8f1a58f6470f27697d3e5cc39aac549fe", kill_on_drop: false }` [INFO] [stdout] a749b22cc5d21987734aae406c9f9ce8f1a58f6470f27697d3e5cc39aac549fe