[INFO] fetching crate chrono-utilities 0.0.0-alpha1... [INFO] testing chrono-utilities-0.0.0-alpha1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate chrono-utilities 0.0.0-alpha1 into /workspace/builds/worker-7-tc1/source [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] validating manifest of crates.io crate chrono-utilities 0.0.0-alpha1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] [stderr] Adding time v0.1.45 (available: v0.3.44) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time v0.1.45 [INFO] [stderr] Downloaded wasi v0.10.0+wasi-snapshot-preview1 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5dd3c80d1ff5cfb7c7972fd9f423765e5b9feaafe2a492ccff83133454f3322 [INFO] running `Command { std: "docker" "start" "-a" "b5dd3c80d1ff5cfb7c7972fd9f423765e5b9feaafe2a492ccff83133454f3322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5dd3c80d1ff5cfb7c7972fd9f423765e5b9feaafe2a492ccff83133454f3322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5dd3c80d1ff5cfb7c7972fd9f423765e5b9feaafe2a492ccff83133454f3322", kill_on_drop: false }` [INFO] [stdout] b5dd3c80d1ff5cfb7c7972fd9f423765e5b9feaafe2a492ccff83133454f3322 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff296af0bb6616768342c569934f50efcc65835cb7d295ac1d878a5043abc115 [INFO] running `Command { std: "docker" "start" "-a" "ff296af0bb6616768342c569934f50efcc65835cb7d295ac1d878a5043abc115", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling 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-1949cf8c6b5b557f/chrono-0.4.42/src/naive/date/mod.rs:1105:18 [INFO] [stdout] | [INFO] [stdout] 1105 | 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-1949cf8c6b5b557f/chrono-0.4.42/src/naive/date/mod.rs:1072:18 [INFO] [stdout] | [INFO] [stdout] 1072 | 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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.42/src/naive/date/mod.rs:2030:1 [INFO] [stdout] | [INFO] [stdout] 2030 | impl Sub for NaiveDate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `NaiveDate` implements `Sub` [INFO] [stdout] ... [INFO] [stdout] 2058 | impl Sub for NaiveDate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `NaiveDate` implements `Sub` [INFO] [stdout] ... [INFO] [stdout] 2104 | impl Sub for NaiveDate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `NaiveDate` implements `Sub` [INFO] [stdout] ... [INFO] [stdout] 2160 | impl Sub for NaiveDate { [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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.42/src/naive/date/mod.rs:2030:1 [INFO] [stdout] | [INFO] [stdout] 2030 | impl Sub for NaiveDate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `NaiveDate` implements `Sub` [INFO] [stdout] ... [INFO] [stdout] 2058 | impl Sub for NaiveDate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `NaiveDate` implements `Sub` [INFO] [stdout] ... [INFO] [stdout] 2104 | impl Sub for NaiveDate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `NaiveDate` implements `Sub` [INFO] [stdout] ... [INFO] [stdout] 2160 | impl Sub for NaiveDate { [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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.42/src/naive/date/mod.rs:1952:1 [INFO] [stdout] | [INFO] [stdout] 1952 | impl Add for NaiveDate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `NaiveDate` implements `Add` [INFO] [stdout] ... [INFO] [stdout] 2001 | impl Add for NaiveDate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `NaiveDate` implements `Add` [INFO] [stdout] ... [INFO] [stdout] 2044 | impl Add for NaiveDate { [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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.42/src/naive/date/mod.rs:1952:1 [INFO] [stdout] | [INFO] [stdout] 1952 | impl Add for NaiveDate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `NaiveDate` implements `Add` [INFO] [stdout] ... [INFO] [stdout] 2001 | impl Add for NaiveDate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `NaiveDate` implements `Add` [INFO] [stdout] ... [INFO] [stdout] 2044 | impl Add for NaiveDate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `NaiveDate` implements `Add` [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 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ff296af0bb6616768342c569934f50efcc65835cb7d295ac1d878a5043abc115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff296af0bb6616768342c569934f50efcc65835cb7d295ac1d878a5043abc115", kill_on_drop: false }` [INFO] [stdout] ff296af0bb6616768342c569934f50efcc65835cb7d295ac1d878a5043abc115