[INFO] cloning repository https://github.com/usergeek/canistergeek_ic_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/usergeek/canistergeek_ic_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fusergeek%2Fcanistergeek_ic_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fusergeek%2Fcanistergeek_ic_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2d8f58dac8c714fca0547b3c725da14932734d3 [INFO] checking usergeek/canistergeek_ic_rust against master#c1feb3eceef7d5f0126c309a87062cf413fe0a25 for pr-121053 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fusergeek%2Fcanistergeek_ic_rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/usergeek/canistergeek_ic_rust on toolchain c1feb3eceef7d5f0126c309a87062cf413fe0a25 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c1feb3eceef7d5f0126c309a87062cf413fe0a25" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/usergeek/canistergeek_ic_rust [INFO] finished tweaking git repo https://github.com/usergeek/canistergeek_ic_rust [INFO] tweaked toml for git repo https://github.com/usergeek/canistergeek_ic_rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c1feb3eceef7d5f0126c309a87062cf413fe0a25" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 79 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (latest: v0.7.4) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding ic-cdk v0.12.1 (latest: v0.13.2) [INFO] [stderr] Adding ic-cdk-macros v0.8.4 (latest: v0.13.2) [INFO] [stderr] Adding serde_tokenstream v0.1.7 (latest: v0.2.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.60) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.56.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c1feb3eceef7d5f0126c309a87062cf413fe0a25" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-cdk-macros v0.8.4 [INFO] [stderr] Downloaded ic-cdk v0.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c1feb3eceef7d5f0126c309a87062cf413fe0a25" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbd810c395bf6ca6670f3e7048ed262e2b7dc6155d135dd6e7bc77f98aef2634 [INFO] running `Command { std: "docker" "start" "-a" "dbd810c395bf6ca6670f3e7048ed262e2b7dc6155d135dd6e7bc77f98aef2634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbd810c395bf6ca6670f3e7048ed262e2b7dc6155d135dd6e7bc77f98aef2634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbd810c395bf6ca6670f3e7048ed262e2b7dc6155d135dd6e7bc77f98aef2634", kill_on_drop: false }` [INFO] [stdout] dbd810c395bf6ca6670f3e7048ed262e2b7dc6155d135dd6e7bc77f98aef2634 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c1feb3eceef7d5f0126c309a87062cf413fe0a25" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0da12ec1339e2f45c43ec705a50c9b8bf755908ef8b2b040f45fc216de71da5d [INFO] running `Command { std: "docker" "start" "-a" "0da12ec1339e2f45c43ec705a50c9b8bf755908ef8b2b040f45fc216de71da5d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking ic0 v0.21.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Checking candid v0.10.7 [INFO] [stderr] Compiling ic-cdk-macros v0.8.4 [INFO] [stderr] Checking ic-cdk v0.12.1 [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: 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: 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: 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 30.22s [INFO] running `Command { std: "docker" "inspect" "0da12ec1339e2f45c43ec705a50c9b8bf755908ef8b2b040f45fc216de71da5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0da12ec1339e2f45c43ec705a50c9b8bf755908ef8b2b040f45fc216de71da5d", kill_on_drop: false }` [INFO] [stdout] 0da12ec1339e2f45c43ec705a50c9b8bf755908ef8b2b040f45fc216de71da5d