[INFO] fetching crate recurdates 0.3.1... [INFO] building recurdates-0.3.1 against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] extracting crate recurdates 0.3.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate recurdates 0.3.1 on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate recurdates 0.3.1 [INFO] finished tweaking crates.io crate recurdates 0.3.1 [INFO] tweaked toml for crates.io crate recurdates 0.3.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 34 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d08b0ab2b329a0d0099c37f9024b015ebd0bb247b9d7de1ee3486fc2908a7fc9 [INFO] running `Command { std: "docker" "start" "-a" "d08b0ab2b329a0d0099c37f9024b015ebd0bb247b9d7de1ee3486fc2908a7fc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d08b0ab2b329a0d0099c37f9024b015ebd0bb247b9d7de1ee3486fc2908a7fc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d08b0ab2b329a0d0099c37f9024b015ebd0bb247b9d7de1ee3486fc2908a7fc9", kill_on_drop: false }` [INFO] [stdout] d08b0ab2b329a0d0099c37f9024b015ebd0bb247b9d7de1ee3486fc2908a7fc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc5f3cf965d9d6abd44b38405b05f1b9fd203ffef902596e082b5d8d7ea95c73 [INFO] running `Command { std: "docker" "start" "-a" "dc5f3cf965d9d6abd44b38405b05f1b9fd203ffef902596e082b5d8d7ea95c73", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling recurdates v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MAX_DATE`: Use NaiveDate::MAX instead [INFO] [stdout] --> src/lib.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::naive::{MAX_DATE, MIN_DATE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MIN_DATE`: Use NaiveDate::MIN instead [INFO] [stdout] --> src/lib.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::naive::{MAX_DATE, MIN_DATE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MAX_DATE`: Use NaiveDate::MAX instead [INFO] [stdout] --> src/lib.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | () => (Utc.from_utc_datetime(&MAX_DATE.and_hms(23, 59, 59))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | ReDateTime { at: dt, repeat: RepeatEvery::zero(), until: max_datetime!() } [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `max_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MIN_DATE`: Use NaiveDate::MIN instead [INFO] [stdout] --> src/lib.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | () => (Utc.from_utc_datetime(&MIN_DATE.and_hms(0, 0, 0))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | let lim = if dur.is_zero() { min_datetime!() } else { max_datetime!() [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `min_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MAX_DATE`: Use NaiveDate::MAX instead [INFO] [stdout] --> src/lib.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | () => (Utc.from_utc_datetime(&MAX_DATE.and_hms(23, 59, 59))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | let lim = if dur.is_zero() { min_datetime!() } else { max_datetime!() [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `max_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MAX_DATE`: Use NaiveDate::MAX instead [INFO] [stdout] --> src/lib.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | () => (Utc.from_utc_datetime(&MAX_DATE.and_hms(23, 59, 59))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | self.until != max_datetime!() [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `max_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/lib.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | () => (Utc.from_utc_datetime(&MAX_DATE.and_hms(23, 59, 59))) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | ReDateTime { at: dt, repeat: RepeatEvery::zero(), until: max_datetime!() } [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `max_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/lib.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | () => (Utc.from_utc_datetime(&MIN_DATE.and_hms(0, 0, 0))) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | let lim = if dur.is_zero() { min_datetime!() } else { max_datetime!() [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `min_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/lib.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | () => (Utc.from_utc_datetime(&MAX_DATE.and_hms(23, 59, 59))) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | let lim = if dur.is_zero() { min_datetime!() } else { max_datetime!() [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `max_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/lib.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | () => (Utc.from_utc_datetime(&MAX_DATE.and_hms(23, 59, 59))) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | self.until != max_datetime!() [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `max_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn iter(&self) -> ReDateTimeIter { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 89 | pub fn iter(&self) -> ReDateTimeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.10s [INFO] running `Command { std: "docker" "inspect" "dc5f3cf965d9d6abd44b38405b05f1b9fd203ffef902596e082b5d8d7ea95c73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc5f3cf965d9d6abd44b38405b05f1b9fd203ffef902596e082b5d8d7ea95c73", kill_on_drop: false }` [INFO] [stdout] dc5f3cf965d9d6abd44b38405b05f1b9fd203ffef902596e082b5d8d7ea95c73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bcd814755624ccd45bb1ffbbd3dcc54a374957050b4cbe53159f29d32dd2b01 [INFO] running `Command { std: "docker" "start" "-a" "2bcd814755624ccd45bb1ffbbd3dcc54a374957050b4cbe53159f29d32dd2b01", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling recurdates v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MAX_DATE`: Use NaiveDate::MAX instead [INFO] [stdout] --> src/lib.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::naive::{MAX_DATE, MIN_DATE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MIN_DATE`: Use NaiveDate::MIN instead [INFO] [stdout] --> src/lib.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::naive::{MAX_DATE, MIN_DATE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MAX_DATE`: Use NaiveDate::MAX instead [INFO] [stdout] --> src/lib.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | () => (Utc.from_utc_datetime(&MAX_DATE.and_hms(23, 59, 59))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | ReDateTime { at: dt, repeat: RepeatEvery::zero(), until: max_datetime!() } [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `max_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MIN_DATE`: Use NaiveDate::MIN instead [INFO] [stdout] --> src/lib.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | () => (Utc.from_utc_datetime(&MIN_DATE.and_hms(0, 0, 0))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | let lim = if dur.is_zero() { min_datetime!() } else { max_datetime!() [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `min_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MAX_DATE`: Use NaiveDate::MAX instead [INFO] [stdout] --> src/lib.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | () => (Utc.from_utc_datetime(&MAX_DATE.and_hms(23, 59, 59))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | let lim = if dur.is_zero() { min_datetime!() } else { max_datetime!() [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `max_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MAX_DATE`: Use NaiveDate::MAX instead [INFO] [stdout] --> src/lib.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | () => (Utc.from_utc_datetime(&MAX_DATE.and_hms(23, 59, 59))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | self.until != max_datetime!() [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `max_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/lib.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | () => (Utc.from_utc_datetime(&MAX_DATE.and_hms(23, 59, 59))) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | ReDateTime { at: dt, repeat: RepeatEvery::zero(), until: max_datetime!() } [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `max_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/lib.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | () => (Utc.from_utc_datetime(&MIN_DATE.and_hms(0, 0, 0))) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | let lim = if dur.is_zero() { min_datetime!() } else { max_datetime!() [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `min_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/lib.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | () => (Utc.from_utc_datetime(&MAX_DATE.and_hms(23, 59, 59))) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | let lim = if dur.is_zero() { min_datetime!() } else { max_datetime!() [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `max_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/lib.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | () => (Utc.from_utc_datetime(&MAX_DATE.and_hms(23, 59, 59))) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | self.until != max_datetime!() [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `max_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn iter(&self) -> ReDateTimeIter { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 89 | pub fn iter(&self) -> ReDateTimeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MAX_DATE`: Use NaiveDate::MAX instead [INFO] [stdout] --> src/lib.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::naive::{MAX_DATE, MIN_DATE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MIN_DATE`: Use NaiveDate::MIN instead [INFO] [stdout] --> src/lib.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::naive::{MAX_DATE, MIN_DATE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MAX_DATE`: Use NaiveDate::MAX instead [INFO] [stdout] --> src/lib.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | () => (Utc.from_utc_datetime(&MAX_DATE.and_hms(23, 59, 59))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | ReDateTime { at: dt, repeat: RepeatEvery::zero(), until: max_datetime!() } [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `max_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MIN_DATE`: Use NaiveDate::MIN instead [INFO] [stdout] --> src/lib.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | () => (Utc.from_utc_datetime(&MIN_DATE.and_hms(0, 0, 0))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | let lim = if dur.is_zero() { min_datetime!() } else { max_datetime!() [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `min_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MAX_DATE`: Use NaiveDate::MAX instead [INFO] [stdout] --> src/lib.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | () => (Utc.from_utc_datetime(&MAX_DATE.and_hms(23, 59, 59))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | let lim = if dur.is_zero() { min_datetime!() } else { max_datetime!() [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `max_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MAX_DATE`: Use NaiveDate::MAX instead [INFO] [stdout] --> src/lib.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | () => (Utc.from_utc_datetime(&MAX_DATE.and_hms(23, 59, 59))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | self.until != max_datetime!() [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `max_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MAX_DATE`: Use NaiveDate::MAX instead [INFO] [stdout] --> src/tests.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::naive::MAX_DATE; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `chrono::naive::MAX_DATE`: Use NaiveDate::MAX instead [INFO] [stdout] --> src/lib.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | () => (Utc.from_utc_datetime(&MAX_DATE.and_hms(23, 59, 59))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(dt.until, max_datetime!()); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `max_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/lib.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | () => (Utc.from_utc_datetime(&MAX_DATE.and_hms(23, 59, 59))) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(dt.until, max_datetime!()); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `max_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/lib.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | () => (Utc.from_utc_datetime(&MAX_DATE.and_hms(23, 59, 59))) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | ReDateTime { at: dt, repeat: RepeatEvery::zero(), until: max_datetime!() } [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `max_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/lib.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | () => (Utc.from_utc_datetime(&MIN_DATE.and_hms(0, 0, 0))) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | let lim = if dur.is_zero() { min_datetime!() } else { max_datetime!() [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `min_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/lib.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | () => (Utc.from_utc_datetime(&MAX_DATE.and_hms(23, 59, 59))) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | let lim = if dur.is_zero() { min_datetime!() } else { max_datetime!() [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `max_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::NaiveDate::and_hms`: use `and_hms_opt()` instead [INFO] [stdout] --> src/lib.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | () => (Utc.from_utc_datetime(&MAX_DATE.and_hms(23, 59, 59))) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | self.until != max_datetime!() [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `max_datetime` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn iter(&self) -> ReDateTimeIter { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 89 | pub fn iter(&self) -> ReDateTimeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "2bcd814755624ccd45bb1ffbbd3dcc54a374957050b4cbe53159f29d32dd2b01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bcd814755624ccd45bb1ffbbd3dcc54a374957050b4cbe53159f29d32dd2b01", kill_on_drop: false }` [INFO] [stdout] 2bcd814755624ccd45bb1ffbbd3dcc54a374957050b4cbe53159f29d32dd2b01