[INFO] fetching crate baseunits-rs 0.1.0... [INFO] checking baseunits-rs-0.1.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate baseunits-rs 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate baseunits-rs 0.1.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate baseunits-rs 0.1.0 [INFO] finished tweaking crates.io crate baseunits-rs 0.1.0 [INFO] tweaked toml for crates.io crate baseunits-rs 0.1.0 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 132 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.5.1) [INFO] [stderr] Adding num v0.3.1 (available: v0.4.3) [INFO] [stderr] Adding num-bigint v0.3.3 (available: v0.4.6) [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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded iso-4217 v0.1.0 [INFO] [stderr] Downloaded num-bigint v0.3.3 [INFO] [stderr] Downloaded rust-fp-categories v0.0.5 [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9e8d97a0cd7c538611c38ea1107b374147f115f8430d6d1491d9d510c5ffca5 [INFO] running `Command { std: "docker" "start" "-a" "c9e8d97a0cd7c538611c38ea1107b374147f115f8430d6d1491d9d510c5ffca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9e8d97a0cd7c538611c38ea1107b374147f115f8430d6d1491d9d510c5ffca5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9e8d97a0cd7c538611c38ea1107b374147f115f8430d6d1491d9d510c5ffca5", kill_on_drop: false }` [INFO] [stdout] c9e8d97a0cd7c538611c38ea1107b374147f115f8430d6d1491d9d510c5ffca5 [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7701c699cb54fb2ec3ba5f1ff502ee1430023789a300d9f33515d823fc1f415 [INFO] running `Command { std: "docker" "start" "-a" "d7701c699cb54fb2ec3ba5f1ff502ee1430023789a300d9f33515d823fc1f415", kill_on_drop: false }` [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking iso-4217 v0.1.0 [INFO] [stderr] Checking rust-fp-categories v0.0.5 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking baseunits-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: cannot add `time::Duration` to `chrono::DateTime` [INFO] [stdout] --> src/time/calendar_date.rs:124:39 [INFO] [stdout] | [INFO] [stdout] 124 | let new_date_time = date_time.add(OldDuration::days(days)); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `chrono::DateTime + time::Duration` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add` is not implemented for `chrono::DateTime` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `time::Duration` from `chrono::DateTime` [INFO] [stdout] --> src/time/calendar_date.rs:133:39 [INFO] [stdout] | [INFO] [stdout] 133 | let new_date_time = date_time.sub(OldDuration::days(days)); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `chrono::DateTime - time::Duration` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `chrono::DateTime` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `chrono::DateTime` implements `Sub<&chrono::DateTime>` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `time::Duration` from `chrono::DateTime` [INFO] [stdout] --> src/time/calendar_date.rs:142:35 [INFO] [stdout] | [INFO] [stdout] 142 | let new_date_time = date_time - OldDuration::days(30 * months); [INFO] [stdout] | ^ no implementation for `chrono::DateTime - time::Duration` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `chrono::DateTime` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `chrono::DateTime` implements `Sub<&chrono::DateTime>` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] `chrono::DateTime` implements `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `time::Duration` to `chrono::DateTime` [INFO] [stdout] --> src/time/calendar_date.rs:151:35 [INFO] [stdout] | [INFO] [stdout] 151 | let new_date_time = date_time + OldDuration::days(30 * months); [INFO] [stdout] | ^ no implementation for `chrono::DateTime + time::Duration` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add` is not implemented for `chrono::DateTime` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] `chrono::DateTime` implements `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `baseunits-rs` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d7701c699cb54fb2ec3ba5f1ff502ee1430023789a300d9f33515d823fc1f415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7701c699cb54fb2ec3ba5f1ff502ee1430023789a300d9f33515d823fc1f415", kill_on_drop: false }` [INFO] [stdout] d7701c699cb54fb2ec3ba5f1ff502ee1430023789a300d9f33515d823fc1f415