[INFO] fetching crate chrono-utilities 0.0.0-alpha1... [INFO] checking chrono-utilities-0.0.0-alpha1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate chrono-utilities 0.0.0-alpha1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate chrono-utilities 0.0.0-alpha1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate chrono-utilities 0.0.0-alpha1 [INFO] finished tweaking crates.io crate chrono-utilities 0.0.0-alpha1 [INFO] tweaked toml for crates.io crate chrono-utilities 0.0.0-alpha1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 40 packages to latest compatible versions [INFO] [stderr] Adding time v0.1.45 (available: v0.3.36) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] 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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 822ff794d9f8aa4756d33b749279e127aecc46b5589a25b96323b2f41b10f420 [INFO] running `Command { std: "docker" "start" "-a" "822ff794d9f8aa4756d33b749279e127aecc46b5589a25b96323b2f41b10f420", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "822ff794d9f8aa4756d33b749279e127aecc46b5589a25b96323b2f41b10f420", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "822ff794d9f8aa4756d33b749279e127aecc46b5589a25b96323b2f41b10f420", kill_on_drop: false }` [INFO] [stdout] 822ff794d9f8aa4756d33b749279e127aecc46b5589a25b96323b2f41b10f420 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b165772859b8bed6de9215fd9e7b8f101b657ab16a695a4a71e858a30f7a8ec1 [INFO] running `Command { std: "docker" "start" "-a" "b165772859b8bed6de9215fd9e7b8f101b657ab16a695a4a71e858a30f7a8ec1", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking chrono-utilities v0.0.0-alpha1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/naive/mod.rs:213:33 [INFO] [stdout] | [INFO] [stdout] 213 | self.checked_sub_signed(OldDuration::days(days)) [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^ expected `TimeDelta`, found `Duration` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.38/src/naive/date/mod.rs:1076:18 [INFO] [stdout] | [INFO] [stdout] 1076 | pub const fn checked_sub_signed(self, rhs: TimeDelta) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/naive/mod.rs:213:33 [INFO] [stdout] | [INFO] [stdout] 213 | self.checked_sub_signed(OldDuration::days(days)) [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^ expected `TimeDelta`, found `Duration` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.38/src/naive/date/mod.rs:1076:18 [INFO] [stdout] | [INFO] [stdout] 1076 | pub const fn checked_sub_signed(self, rhs: TimeDelta) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/naive/mod.rs:236:33 [INFO] [stdout] | [INFO] [stdout] 236 | self.checked_add_signed(OldDuration::days(days)) [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^ expected `TimeDelta`, found `Duration` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.38/src/naive/date/mod.rs:1043:18 [INFO] [stdout] | [INFO] [stdout] 1043 | pub const fn checked_add_signed(self, rhs: TimeDelta) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `oldtime::Duration` from `NaiveDate` [INFO] [stdout] --> src/naive/mod.rs:350:49 [INFO] [stdout] | [INFO] [stdout] 350 | Some(week_start) => Some(week_start - OldDuration::days(7)), [INFO] [stdout] | ^ no implementation for `NaiveDate - oldtime::Duration` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `NaiveDate` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `NaiveDate` implements `Sub` [INFO] [stdout] `NaiveDate` implements `Sub` [INFO] [stdout] `NaiveDate` implements `Sub` [INFO] [stdout] `NaiveDate` implements `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `oldtime::Duration` from `NaiveDate` [INFO] [stdout] --> src/naive/mod.rs:372:49 [INFO] [stdout] | [INFO] [stdout] 372 | Some(week_start) => Some(week_start - OldDuration::days(1)), [INFO] [stdout] | ^ no implementation for `NaiveDate - oldtime::Duration` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `NaiveDate` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `NaiveDate` implements `Sub` [INFO] [stdout] `NaiveDate` implements `Sub` [INFO] [stdout] `NaiveDate` implements `Sub` [INFO] [stdout] `NaiveDate` implements `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `oldtime::Duration` to `NaiveDate` [INFO] [stdout] --> src/naive/mod.rs:486:49 [INFO] [stdout] | [INFO] [stdout] 486 | Some(week_start) => Some(week_start + OldDuration::days(7)), [INFO] [stdout] | ^ no implementation for `NaiveDate + oldtime::Duration` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add` is not implemented for `NaiveDate` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `NaiveDate` implements `Add` [INFO] [stdout] `NaiveDate` implements `Add` [INFO] [stdout] `NaiveDate` implements `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `oldtime::Duration` to `NaiveDate` [INFO] [stdout] --> src/naive/mod.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | Some(week_start) => Some(week_start + OldDuration::days(6)), [INFO] [stdout] | ^ no implementation for `NaiveDate + oldtime::Duration` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add` is not implemented for `NaiveDate` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `NaiveDate` implements `Add` [INFO] [stdout] `NaiveDate` implements `Add` [INFO] [stdout] `NaiveDate` implements `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/naive/mod.rs:236:33 [INFO] [stdout] | [INFO] [stdout] 236 | self.checked_add_signed(OldDuration::days(days)) [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^ expected `TimeDelta`, found `Duration` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.38/src/naive/date/mod.rs:1043:18 [INFO] [stdout] | [INFO] [stdout] 1043 | pub const fn checked_add_signed(self, rhs: TimeDelta) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `oldtime::Duration` from `NaiveDate` [INFO] [stdout] --> src/naive/mod.rs:350:49 [INFO] [stdout] | [INFO] [stdout] 350 | Some(week_start) => Some(week_start - OldDuration::days(7)), [INFO] [stdout] | ^ no implementation for `NaiveDate - oldtime::Duration` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `NaiveDate` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `NaiveDate` implements `Sub` [INFO] [stdout] `NaiveDate` implements `Sub` [INFO] [stdout] `NaiveDate` implements `Sub` [INFO] [stdout] `NaiveDate` implements `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `oldtime::Duration` from `NaiveDate` [INFO] [stdout] --> src/naive/mod.rs:372:49 [INFO] [stdout] | [INFO] [stdout] 372 | Some(week_start) => Some(week_start - OldDuration::days(1)), [INFO] [stdout] | ^ no implementation for `NaiveDate - oldtime::Duration` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `NaiveDate` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `NaiveDate` implements `Sub` [INFO] [stdout] `NaiveDate` implements `Sub` [INFO] [stdout] `NaiveDate` implements `Sub` [INFO] [stdout] `NaiveDate` implements `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `oldtime::Duration` to `NaiveDate` [INFO] [stdout] --> src/naive/mod.rs:486:49 [INFO] [stdout] | [INFO] [stdout] 486 | Some(week_start) => Some(week_start + OldDuration::days(7)), [INFO] [stdout] | ^ no implementation for `NaiveDate + oldtime::Duration` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add` is not implemented for `NaiveDate` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `NaiveDate` implements `Add` [INFO] [stdout] `NaiveDate` implements `Add` [INFO] [stdout] `NaiveDate` implements `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `oldtime::Duration` to `NaiveDate` [INFO] [stdout] --> src/naive/mod.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | Some(week_start) => Some(week_start + OldDuration::days(6)), [INFO] [stdout] | ^ no implementation for `NaiveDate + oldtime::Duration` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add` is not implemented for `NaiveDate` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `NaiveDate` implements `Add` [INFO] [stdout] `NaiveDate` implements `Add` [INFO] [stdout] `NaiveDate` implements `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/lib.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | let d1 = NaiveDate::from_ymd(1996, 2, 23); [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::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/lib.rs:27:59 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(d1.end_of_month().unwrap(), NaiveDate::from_ymd(1996, 2, 29)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/lib.rs:28:61 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(d1.start_of_month().unwrap(), NaiveDate::from_ymd(1996, 2, 1)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/lib.rs:29:64 [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(d1.end_of_pred_month().unwrap(), NaiveDate::from_ymd(1996, 1, 31)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/lib.rs:30:66 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!(d1.start_of_pred_month().unwrap(), NaiveDate::from_ymd(1996, 1, 1)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/lib.rs:31:64 [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(d1.end_of_succ_month().unwrap(), NaiveDate::from_ymd(1996, 3, 31)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/lib.rs:32:66 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(d1.start_of_succ_month().unwrap(), NaiveDate::from_ymd(1996, 3, 1)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/lib.rs:35:58 [INFO] [stdout] | [INFO] [stdout] 35 | assert_eq!(d1.end_of_year().unwrap(), NaiveDate::from_ymd(1996, 12, 31)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/lib.rs:36:60 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(d1.start_of_year().unwrap(), NaiveDate::from_ymd(1996, 1, 1)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/lib.rs:37:63 [INFO] [stdout] | [INFO] [stdout] 37 | assert_eq!(d1.end_of_pred_year().unwrap(), NaiveDate::from_ymd(1995, 12, 31)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/lib.rs:38:65 [INFO] [stdout] | [INFO] [stdout] 38 | assert_eq!(d1.start_of_pred_year().unwrap(), NaiveDate::from_ymd(1995, 1, 1)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/lib.rs:39:63 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(d1.end_of_succ_year().unwrap(), NaiveDate::from_ymd(1997, 12, 31)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/lib.rs:40:65 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(d1.start_of_succ_year().unwrap(), NaiveDate::from_ymd(1997, 1, 1)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/lib.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | assert_eq!(d1.end_of_iso8601_week().unwrap(), NaiveDate::from_ymd(1996, 2, 25)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/lib.rs:44:68 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(d1.start_of_iso8601_week().unwrap(), NaiveDate::from_ymd(1996, 2, 19)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/lib.rs:45:71 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(d1.end_of_pred_iso8601_week().unwrap(), NaiveDate::from_ymd(1996, 2, 18)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/lib.rs:46:73 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(d1.start_of_pred_iso8601_week().unwrap(), NaiveDate::from_ymd(1996, 2, 12)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/lib.rs:47:71 [INFO] [stdout] | [INFO] [stdout] 47 | assert_eq!(d1.end_of_succ_iso8601_week().unwrap(), NaiveDate::from_ymd(1996, 3, 3)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/lib.rs:48:73 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(d1.start_of_succ_iso8601_week().unwrap(), NaiveDate::from_ymd(1996, 2, 26)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/lib.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | let d2 = NaiveDate::from_ymd(1900, 7, 4); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chrono-utilities` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chrono-utilities` (lib test) due to 7 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b165772859b8bed6de9215fd9e7b8f101b657ab16a695a4a71e858a30f7a8ec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b165772859b8bed6de9215fd9e7b8f101b657ab16a695a4a71e858a30f7a8ec1", kill_on_drop: false }` [INFO] [stdout] b165772859b8bed6de9215fd9e7b8f101b657ab16a695a4a71e858a30f7a8ec1