[INFO] fetching crate chrono-utilities 0.0.0-alpha1... [INFO] checking chrono-utilities-0.0.0-alpha1 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate chrono-utilities 0.0.0-alpha1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate chrono-utilities 0.0.0-alpha1 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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 (latest: v0.3.36) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.56.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 466ab508deccc1f201257e14b320d1868c4cad03d5058620754c858c075b7b38 [INFO] running `Command { std: "docker" "start" "-a" "466ab508deccc1f201257e14b320d1868c4cad03d5058620754c858c075b7b38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "466ab508deccc1f201257e14b320d1868c4cad03d5058620754c858c075b7b38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "466ab508deccc1f201257e14b320d1868c4cad03d5058620754c858c075b7b38", kill_on_drop: false }` [INFO] [stdout] 466ab508deccc1f201257e14b320d1868c4cad03d5058620754c858c075b7b38 [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=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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 104d4456ef45f0cc7895e9c8c03799c369b0810792552c87f291c907bc1db83c [INFO] running `Command { std: "docker" "start" "-a" "104d4456ef45f0cc7895e9c8c03799c369b0810792552c87f291c907bc1db83c", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking iana-time-zone v0.1.60 [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] > [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[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 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 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 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: 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] [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 test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "104d4456ef45f0cc7895e9c8c03799c369b0810792552c87f291c907bc1db83c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "104d4456ef45f0cc7895e9c8c03799c369b0810792552c87f291c907bc1db83c", kill_on_drop: false }` [INFO] [stdout] 104d4456ef45f0cc7895e9c8c03799c369b0810792552c87f291c907bc1db83c