[INFO] fetching crate chrono-utilities 0.0.0-alpha1... [INFO] checking chrono-utilities-0.0.0-alpha1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] extracting crate chrono-utilities 0.0.0-alpha1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate chrono-utilities 0.0.0-alpha1 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 39 packages [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.34) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.55.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ea7428533a53eb5cf0ef819ea2f98e90b9537b06a62824553a35d21c0590f2a [INFO] running `Command { std: "docker" "start" "-a" "1ea7428533a53eb5cf0ef819ea2f98e90b9537b06a62824553a35d21c0590f2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ea7428533a53eb5cf0ef819ea2f98e90b9537b06a62824553a35d21c0590f2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ea7428533a53eb5cf0ef819ea2f98e90b9537b06a62824553a35d21c0590f2a", kill_on_drop: false }` [INFO] [stdout] 1ea7428533a53eb5cf0ef819ea2f98e90b9537b06a62824553a35d21c0590f2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 072b7c04ebd2a602f65f20a4807b12b8f9a08955a09098ea48274775fc0700b9 [INFO] running `Command { std: "docker" "start" "-a" "072b7c04ebd2a602f65f20a4807b12b8f9a08955a09098ea48274775fc0700b9", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking chrono v0.4.37 [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.37/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.37/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.37/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[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.37/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] > [INFO] [stdout] > [INFO] [stdout] > [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] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [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] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [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] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [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] > [INFO] [stdout] > [INFO] [stdout] > [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] > [INFO] [stdout] > [INFO] [stdout] > [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] > [INFO] [stdout] > [INFO] [stdout] > [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] > [INFO] [stdout] > [INFO] [stdout] > [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: 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] [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] [stderr] error: could not compile `chrono-utilities` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "072b7c04ebd2a602f65f20a4807b12b8f9a08955a09098ea48274775fc0700b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "072b7c04ebd2a602f65f20a4807b12b8f9a08955a09098ea48274775fc0700b9", kill_on_drop: false }` [INFO] [stdout] 072b7c04ebd2a602f65f20a4807b12b8f9a08955a09098ea48274775fc0700b9