[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] d183d08b015818b8ea959c29070104abaaaecfff [INFO] testing usergeek/canistergeek_ic_rust/d183d08b015818b8ea959c29070104abaaaecfff against master#159ba8a92c9e2fa4121f106176309521f4af87e9+rustflags=-Copt-level=3 for pr-107051 [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 159ba8a92c9e2fa4121f106176309521f4af87e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "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" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-cdk v0.6.10 [INFO] [stderr] Downloaded candid v0.8.4 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded serde_tokenstream v0.1.6 [INFO] [stderr] Downloaded ic-cdk-macros v0.6.8 [INFO] [stderr] Downloaded ic0 v0.18.9 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] [stderr] Downloaded candid_derive v0.5.0 [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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a977ffab38188105649e521966a9b3f4c603ebf9a723356d0f9aea324a80e937 [INFO] running `Command { std: "docker" "start" "-a" "a977ffab38188105649e521966a9b3f4c603ebf9a723356d0f9aea324a80e937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a977ffab38188105649e521966a9b3f4c603ebf9a723356d0f9aea324a80e937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a977ffab38188105649e521966a9b3f4c603ebf9a723356d0f9aea324a80e937", kill_on_drop: false }` [INFO] [stdout] a977ffab38188105649e521966a9b3f4c603ebf9a723356d0f9aea324a80e937 [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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9ab1e75f12b95e27058c919dc78098338f0ede3c31f4ee3be459559c3b37886 [INFO] running `Command { std: "docker" "start" "-a" "e9ab1e75f12b95e27058c919dc78098338f0ede3c31f4ee3be459559c3b37886", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling rustversion v1.0.11 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling paste v1.0.11 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling data-encoding v2.3.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ic0 v0.18.9 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling candid v0.8.4 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_bytes v0.11.8 [INFO] [stderr] Compiling serde_tokenstream v0.1.6 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Compiling num_enum v0.5.7 [INFO] [stderr] Compiling ic-cdk-macros v0.6.8 [INFO] [stderr] Compiling ic-cdk v0.6.10 [INFO] [stderr] Compiling canistergeek_ic_rust v0.3.1 (/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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5m 27s [INFO] running `Command { std: "docker" "inspect" "e9ab1e75f12b95e27058c919dc78098338f0ede3c31f4ee3be459559c3b37886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9ab1e75f12b95e27058c919dc78098338f0ede3c31f4ee3be459559c3b37886", kill_on_drop: false }` [INFO] [stdout] e9ab1e75f12b95e27058c919dc78098338f0ede3c31f4ee3be459559c3b37886 [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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 057bb3a9a88e2db619155890404f0d76aa28556d6bfa32468ede616f084eac10 [INFO] running `Command { std: "docker" "start" "-a" "057bb3a9a88e2db619155890404f0d76aa28556d6bfa32468ede616f084eac10", kill_on_drop: false }` [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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling canistergeek_ic_rust v0.3.1 (/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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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: use of deprecated associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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 associated function `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: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.26s [INFO] running `Command { std: "docker" "inspect" "057bb3a9a88e2db619155890404f0d76aa28556d6bfa32468ede616f084eac10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "057bb3a9a88e2db619155890404f0d76aa28556d6bfa32468ede616f084eac10", kill_on_drop: false }` [INFO] [stdout] 057bb3a9a88e2db619155890404f0d76aa28556d6bfa32468ede616f084eac10 [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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8fad1bece028d287876eb706c8195b8bcd97b23c6a82b14c4d0f007029461f1e [INFO] running `Command { std: "docker" "start" "-a" "8fad1bece028d287876eb706c8195b8bcd97b23c6a82b14c4d0f007029461f1e", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:17:15 [INFO] [stderr] | [INFO] [stderr] 17 | from_day: Date, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::TimeZone::timestamp_millis`: use `timestamp_millis_opt()` instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:28:27 [INFO] [stderr] | [INFO] [stderr] 28 | from_day: Utc.timestamp_millis(from_millis).date(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:28:57 [INFO] [stderr] | [INFO] [stderr] 28 | from_day: Utc.timestamp_millis(from_millis).date(), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::TimeZone::timestamp_millis`: use `timestamp_millis_opt()` instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:30:18 [INFO] [stderr] | [INFO] [stderr] 30 | .timestamp_millis(to_millis) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:31:18 [INFO] [stderr] | [INFO] [stderr] 31 | .date() [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:42:21 [INFO] [stderr] | [INFO] [stderr] 42 | if self.day.date() < self.from_day { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:76:24 [INFO] [stderr] | [INFO] [stderr] 76 | let from = Utc.ymd(2020, 12, 28).and_hms(23, 12, 13); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:76:42 [INFO] [stderr] | [INFO] [stderr] 76 | let from = Utc.ymd(2020, 12, 28).and_hms(23, 12, 13); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:77:22 [INFO] [stderr] | [INFO] [stderr] 77 | let to = Utc.ymd(2021, 1, 3).and_hms(23, 12, 13); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:77:38 [INFO] [stderr] | [INFO] [stderr] 77 | let to = Utc.ymd(2021, 1, 3).and_hms(23, 12, 13); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:82:45 [INFO] [stderr] | [INFO] [stderr] 82 | assert_eq!(iter.next().unwrap(), to.date().and_hms(0, 0, 0)); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:82:52 [INFO] [stderr] | [INFO] [stderr] 82 | assert_eq!(iter.next().unwrap(), to.date().and_hms(0, 0, 0)); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:85:16 [INFO] [stderr] | [INFO] [stderr] 85 | to.date().and_hms(0, 0, 0) - Duration::days(1) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:85:23 [INFO] [stderr] | [INFO] [stderr] 85 | to.date().and_hms(0, 0, 0) - Duration::days(1) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:89:16 [INFO] [stderr] | [INFO] [stderr] 89 | to.date().and_hms(0, 0, 0) - Duration::days(2) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:89:23 [INFO] [stderr] | [INFO] [stderr] 89 | to.date().and_hms(0, 0, 0) - Duration::days(2) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:93:16 [INFO] [stderr] | [INFO] [stderr] 93 | to.date().and_hms(0, 0, 0) - Duration::days(3) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:93:23 [INFO] [stderr] | [INFO] [stderr] 93 | to.date().and_hms(0, 0, 0) - Duration::days(3) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:97:16 [INFO] [stderr] | [INFO] [stderr] 97 | to.date().and_hms(0, 0, 0) - Duration::days(4) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:97:23 [INFO] [stderr] | [INFO] [stderr] 97 | to.date().and_hms(0, 0, 0) - Duration::days(4) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:101:16 [INFO] [stderr] | [INFO] [stderr] 101 | to.date().and_hms(0, 0, 0) - Duration::days(5) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:101:23 [INFO] [stderr] | [INFO] [stderr] 101 | to.date().and_hms(0, 0, 0) - Duration::days(5) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:105:16 [INFO] [stderr] | [INFO] [stderr] 105 | to.date().and_hms(0, 0, 0) - Duration::days(6) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:105:23 [INFO] [stderr] | [INFO] [stderr] 105 | to.date().and_hms(0, 0, 0) - Duration::days(6) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:112:24 [INFO] [stderr] | [INFO] [stderr] 112 | let from = Utc.ymd(2020, 12, 28).and_hms(23, 12, 13); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:112:42 [INFO] [stderr] | [INFO] [stderr] 112 | let from = Utc.ymd(2020, 12, 28).and_hms(23, 12, 13); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:113:22 [INFO] [stderr] | [INFO] [stderr] 113 | let to = Utc.ymd(2021, 1, 3).and_hms(23, 12, 13); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/monitor/calculator/day_iterator.rs:113:38 [INFO] [stderr] | [INFO] [stderr] 113 | let to = Utc.ymd(2021, 1, 3).and_hms(23, 12, 13); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/monitor/mod.rs:118:30 [INFO] [stderr] | [INFO] [stderr] 118 | let time_nanos = Utc.ymd(2022, 01, 28).and_hms(13, 0, 0).timestamp_nanos() as u64; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/monitor/mod.rs:118:48 [INFO] [stderr] | [INFO] [stderr] 118 | let time_nanos = Utc.ymd(2022, 01, 28).and_hms(13, 0, 0).timestamp_nanos() as u64; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/monitor/mod.rs:131:30 [INFO] [stderr] | [INFO] [stderr] 131 | let time_nanos = Utc.ymd(2022, 01, 28).and_hms(9, 0, 0).timestamp_nanos() as u64; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/monitor/mod.rs:131:48 [INFO] [stderr] | [INFO] [stderr] 131 | let time_nanos = Utc.ymd(2022, 01, 28).and_hms(9, 0, 0).timestamp_nanos() as u64; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/monitor/mod.rs:147:21 [INFO] [stderr] | [INFO] [stderr] 147 | Utc.ymd(2022, 01, 28).and_hms(11, 11, 11).timestamp_millis() as u64 [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/monitor/mod.rs:147:39 [INFO] [stderr] | [INFO] [stderr] 147 | Utc.ymd(2022, 01, 28).and_hms(11, 11, 11).timestamp_millis() as u64 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stderr] --> src/monitor/mod.rs:150:21 [INFO] [stderr] | [INFO] [stderr] 150 | Utc.ymd(2022, 01, 28).and_hms(11, 11, 11).timestamp_millis() as u64 [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stderr] --> src/monitor/mod.rs:150:39 [INFO] [stderr] | [INFO] [stderr] 150 | Utc.ymd(2022, 01, 28).and_hms(11, 11, 11).timestamp_millis() as u64 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `canistergeek_ic_rust` (lib) generated 6 warnings [INFO] [stderr] warning: `canistergeek_ic_rust` (lib test) generated 36 warnings (6 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/canistergeek_ic_rust-919b85a29d379b41) [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test logger::tests::test_chunk_log_messages ... ok [INFO] [stdout] test logger::store::tests::test_cyclic_with_from ... ok [INFO] [stdout] test monitor::calculator::day_iterator::tests::single ... ok [INFO] [stdout] test logger::collector::tests::test_validate_message ... ok [INFO] [stdout] test monitor::calculator::day_iterator::tests::some_max ... ok [INFO] [stdout] test monitor::calculator::day_iterator::tests::wrong ... ok [INFO] [stdout] test monitor::store::day_id::tests::test ... ok [INFO] [stdout] test monitor::store::day_id::tests::wrong ... ok [INFO] [stdout] test logger::tests::test_filter_log_messages_by_contains ... ok [INFO] [stdout] test logger::tests::test_log_messages_info ... ok [INFO] [stdout] test logger::store::tests::test_set_max_size_not_full_more ... ok [INFO] [stdout] test logger::store::tests::test_set_max_size_not_full_less ... ok [INFO] [stdout] test logger::store::tests::test_set_max_size_full_more ... ok [INFO] [stdout] test logger::store::tests::test_set_max_size_full_less ... ok [INFO] [stdout] test logger::store::tests::test_set_max_size ... ok [INFO] [stdout] test logger::store::tests::test_cyclic ... ok [INFO] [stderr] Doc-tests canistergeek_ic_rust [INFO] [stdout] test logger::collector::tests::test_shifting_message_time ... ok [INFO] [stdout] test logger::tests::test_empty_log_messages ... ok [INFO] [stdout] test logger::calculator::contains_filter::tests::test ... ok [INFO] [stdout] test logger::store::tests::test_info ... ok [INFO] [stdout] test monitor::calculator::day_iterator::tests::some ... ok [INFO] [stdout] test logger::store::tests::test_empty ... ok [INFO] [stdout] test monitor::tests::test_metrics ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/monitor/calculator/day_iterator.rs - monitor::calculator::day_iterator::DayIterator (line 10) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/monitor/calculator/day_iterator.rs - monitor::calculator::day_iterator::DayIterator (line 10) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DayIterator` [INFO] [stdout] --> src/monitor/calculator/day_iterator.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 3 | let result = DayIterator::new_reverse(23_i64, 23_i64); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `DayIterator` [INFO] [stdout] | help: a trait with a similar name exists: `Iterator` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/monitor/calculator/day_iterator.rs - monitor::calculator::day_iterator::DayIterator (line 10) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8fad1bece028d287876eb706c8195b8bcd97b23c6a82b14c4d0f007029461f1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fad1bece028d287876eb706c8195b8bcd97b23c6a82b14c4d0f007029461f1e", kill_on_drop: false }` [INFO] [stdout] 8fad1bece028d287876eb706c8195b8bcd97b23c6a82b14c4d0f007029461f1e