[INFO] fetching crate circadia 0.1.0... [INFO] building circadia-0.1.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate circadia 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate circadia 0.1.0 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate circadia 0.1.0 [INFO] finished tweaking crates.io crate circadia 0.1.0 [INFO] tweaked toml for crates.io crate circadia 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate circadia 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfd99094005f7f2e2a0e2c49e5a97928613ffe399f36b0bb9f25c374611aa7e4 [INFO] running `Command { std: "docker" "start" "-a" "bfd99094005f7f2e2a0e2c49e5a97928613ffe399f36b0bb9f25c374611aa7e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfd99094005f7f2e2a0e2c49e5a97928613ffe399f36b0bb9f25c374611aa7e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfd99094005f7f2e2a0e2c49e5a97928613ffe399f36b0bb9f25c374611aa7e4", kill_on_drop: false }` [INFO] [stdout] bfd99094005f7f2e2a0e2c49e5a97928613ffe399f36b0bb9f25c374611aa7e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da1da9eaba4ddb25f32f7e6e8342bbc4977804441bf9cda02bd73d755adb44d6 [INFO] running `Command { std: "docker" "start" "-a" "da1da9eaba4ddb25f32f7e6e8342bbc4977804441bf9cda02bd73d755adb44d6", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling circadia v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/algorithm.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{ Date, DateTime, Utc, Datelike, NaiveTime }; [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/algorithm.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | mut date: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead [INFO] [stdout] --> src/pos.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | chrono::FixedOffset::east((self.lng_hour.abs() * SECS_IN_HOUR) as i32) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::west`: use `west_opt()` instead [INFO] [stdout] --> src/pos.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | chrono::FixedOffset::west((self.lng_hour.abs() * SECS_IN_HOUR) as i32) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_num_seconds_from_midnight`: use `from_num_seconds_from_midnight_opt()` instead [INFO] [stdout] --> src/algorithm.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | let time = NaiveTime::from_num_seconds_from_midnight((UT * SECS_IN_HOUR as f64) as u32, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::pred`: Use pred_opt() instead [INFO] [stdout] --> src/algorithm.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | date = date.pred(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::succ`: Use succ_opt() instead [INFO] [stdout] --> src/algorithm.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | date = date.succ(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/iter.rs:73:77 [INFO] [stdout] | [INFO] [stdout] 73 | if let Some(event_time) = time_of_event(self.0.current_time.date(), &self.0.pos, event) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/iter.rs:80:52 [INFO] [stdout] | [INFO] [stdout] 80 | let tomorrow = self.0.current_time.date().succ(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::succ`: Use succ_opt() instead [INFO] [stdout] --> src/iter.rs:80:59 [INFO] [stdout] | [INFO] [stdout] 80 | let tomorrow = self.0.current_time.date().succ(); [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/iter.rs:81:48 [INFO] [stdout] | [INFO] [stdout] 81 | self.0.current_time = tomorrow.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/iter.rs:99:77 [INFO] [stdout] | [INFO] [stdout] 99 | if let Some(event_time) = time_of_event(self.0.current_time.date(), &self.0.pos, event) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/iter.rs:106:53 [INFO] [stdout] | [INFO] [stdout] 106 | let yesterday = self.0.current_time.date().pred(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::pred`: Use pred_opt() instead [INFO] [stdout] --> src/iter.rs:106:60 [INFO] [stdout] | [INFO] [stdout] 106 | let yesterday = self.0.current_time.date().pred(); [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/iter.rs:107:49 [INFO] [stdout] | [INFO] [stdout] 107 | self.0.current_time = yesterday.and_hms(23, 59, 59); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.62s [INFO] running `Command { std: "docker" "inspect" "da1da9eaba4ddb25f32f7e6e8342bbc4977804441bf9cda02bd73d755adb44d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da1da9eaba4ddb25f32f7e6e8342bbc4977804441bf9cda02bd73d755adb44d6", kill_on_drop: false }` [INFO] [stdout] da1da9eaba4ddb25f32f7e6e8342bbc4977804441bf9cda02bd73d755adb44d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b491cebbe57c0af6d27e6741e9506b247639c49ae9a16a3c97d1ed901fa84918 [INFO] running `Command { std: "docker" "start" "-a" "b491cebbe57c0af6d27e6741e9506b247639c49ae9a16a3c97d1ed901fa84918", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/algorithm.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{ Date, DateTime, Utc, Datelike, NaiveTime }; [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/algorithm.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | mut date: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead [INFO] [stdout] --> src/pos.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | chrono::FixedOffset::east((self.lng_hour.abs() * SECS_IN_HOUR) as i32) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::west`: use `west_opt()` instead [INFO] [stdout] --> src/pos.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | chrono::FixedOffset::west((self.lng_hour.abs() * SECS_IN_HOUR) as i32) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_num_seconds_from_midnight`: use `from_num_seconds_from_midnight_opt()` instead [INFO] [stdout] --> src/algorithm.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | let time = NaiveTime::from_num_seconds_from_midnight((UT * SECS_IN_HOUR as f64) as u32, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::pred`: Use pred_opt() instead [INFO] [stdout] --> src/algorithm.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | date = date.pred(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::succ`: Use succ_opt() instead [INFO] [stdout] --> src/algorithm.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | date = date.succ(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/iter.rs:73:77 [INFO] [stdout] | [INFO] [stdout] 73 | if let Some(event_time) = time_of_event(self.0.current_time.date(), &self.0.pos, event) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/iter.rs:80:52 [INFO] [stdout] | [INFO] [stdout] 80 | let tomorrow = self.0.current_time.date().succ(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::succ`: Use succ_opt() instead [INFO] [stdout] --> src/iter.rs:80:59 [INFO] [stdout] | [INFO] [stdout] 80 | let tomorrow = self.0.current_time.date().succ(); [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/iter.rs:81:48 [INFO] [stdout] | [INFO] [stdout] 81 | self.0.current_time = tomorrow.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/iter.rs:99:77 [INFO] [stdout] | [INFO] [stdout] 99 | if let Some(event_time) = time_of_event(self.0.current_time.date(), &self.0.pos, event) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/iter.rs:106:53 [INFO] [stdout] | [INFO] [stdout] 106 | let yesterday = self.0.current_time.date().pred(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::pred`: Use pred_opt() instead [INFO] [stdout] --> src/iter.rs:106:60 [INFO] [stdout] | [INFO] [stdout] 106 | let yesterday = self.0.current_time.date().pred(); [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/iter.rs:107:49 [INFO] [stdout] | [INFO] [stdout] 107 | self.0.current_time = yesterday.and_hms(23, 59, 59); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling circadia v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> examples/sunrise_today.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | let today = Utc::now().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/algorithm.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{ Date, DateTime, Utc, Datelike, NaiveTime }; [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/algorithm.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | mut date: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead [INFO] [stdout] --> src/pos.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | chrono::FixedOffset::east((self.lng_hour.abs() * SECS_IN_HOUR) as i32) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::west`: use `west_opt()` instead [INFO] [stdout] --> src/pos.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | chrono::FixedOffset::west((self.lng_hour.abs() * SECS_IN_HOUR) as i32) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_num_seconds_from_midnight`: use `from_num_seconds_from_midnight_opt()` instead [INFO] [stdout] --> src/algorithm.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | let time = NaiveTime::from_num_seconds_from_midnight((UT * SECS_IN_HOUR as f64) as u32, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::pred`: Use pred_opt() instead [INFO] [stdout] --> src/algorithm.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | date = date.pred(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::succ`: Use succ_opt() instead [INFO] [stdout] --> src/algorithm.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | date = date.succ(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/iter.rs:73:77 [INFO] [stdout] | [INFO] [stdout] 73 | if let Some(event_time) = time_of_event(self.0.current_time.date(), &self.0.pos, event) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/iter.rs:80:52 [INFO] [stdout] | [INFO] [stdout] 80 | let tomorrow = self.0.current_time.date().succ(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::succ`: Use succ_opt() instead [INFO] [stdout] --> src/iter.rs:80:59 [INFO] [stdout] | [INFO] [stdout] 80 | let tomorrow = self.0.current_time.date().succ(); [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/iter.rs:81:48 [INFO] [stdout] | [INFO] [stdout] 81 | self.0.current_time = tomorrow.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/iter.rs:99:77 [INFO] [stdout] | [INFO] [stdout] 99 | if let Some(event_time) = time_of_event(self.0.current_time.date(), &self.0.pos, event) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/iter.rs:106:53 [INFO] [stdout] | [INFO] [stdout] 106 | let yesterday = self.0.current_time.date().pred(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::pred`: Use pred_opt() instead [INFO] [stdout] --> src/iter.rs:106:60 [INFO] [stdout] | [INFO] [stdout] 106 | let yesterday = self.0.current_time.date().pred(); [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/iter.rs:107:49 [INFO] [stdout] | [INFO] [stdout] 107 | self.0.current_time = yesterday.and_hms(23, 59, 59); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/iter.rs:136:38 [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(last_time.date().succ(), time.date()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::succ`: Use succ_opt() instead [INFO] [stdout] --> src/iter.rs:136:45 [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(last_time.date().succ(), time.date()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/iter.rs:136:58 [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(last_time.date().succ(), time.date()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/iter.rs:150:38 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(last_time.date().pred(), time.date()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::pred`: Use pred_opt() instead [INFO] [stdout] --> src/iter.rs:150:45 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(last_time.date().pred(), time.date()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/iter.rs:150:58 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(last_time.date().pred(), time.date()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] running `Command { std: "docker" "inspect" "b491cebbe57c0af6d27e6741e9506b247639c49ae9a16a3c97d1ed901fa84918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b491cebbe57c0af6d27e6741e9506b247639c49ae9a16a3c97d1ed901fa84918", kill_on_drop: false }` [INFO] [stdout] b491cebbe57c0af6d27e6741e9506b247639c49ae9a16a3c97d1ed901fa84918