[INFO] fetching crate heca-convert-lib 0.0.5... [INFO] checking heca-convert-lib-0.0.5 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate heca-convert-lib 0.0.5 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate heca-convert-lib 0.0.5 [INFO] finished tweaking crates.io crate heca-convert-lib 0.0.5 [INFO] tweaked toml for crates.io crate heca-convert-lib 0.0.5 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate heca-convert-lib 0.0.5 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] [stderr] Adding num v0.2.1 (available: v0.4.3) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.41) [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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4289c18e3197ccd2914bc5525e8917ca3776e5a2b8730923acaaa4040edb6ce [INFO] running `Command { std: "docker" "start" "-a" "d4289c18e3197ccd2914bc5525e8917ca3776e5a2b8730923acaaa4040edb6ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4289c18e3197ccd2914bc5525e8917ca3776e5a2b8730923acaaa4040edb6ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4289c18e3197ccd2914bc5525e8917ca3776e5a2b8730923acaaa4040edb6ce", kill_on_drop: false }` [INFO] [stdout] d4289c18e3197ccd2914bc5525e8917ca3776e5a2b8730923acaaa4040edb6ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13e90b017ae68ceda0fcd8b052dcb85f20936edaabf32a976bf09ad7ae78051e [INFO] running `Command { std: "docker" "start" "-a" "13e90b017ae68ceda0fcd8b052dcb85f20936edaabf32a976bf09ad7ae78051e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking heca-convert-lib v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/lib.rs:25:51 [INFO] [stdout] | [INFO] [stdout] 25 | static ref EPOCH: chrono::DateTime = Utc.ymd(2, 9, 21).and_hms(18, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/lib.rs:25:65 [INFO] [stdout] | [INFO] [stdout] 25 | static ref EPOCH: chrono::DateTime = Utc.ymd(2, 9, 21).and_hms(18, 0, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `time::Duration` to `DateTime` [INFO] [stdout] --> src/lib.rs:154:15 [INFO] [stdout] | [INFO] [stdout] 154 | Ok(*EPOCH + Duration::days(amnt_days)) [INFO] [stdout] | ^ no implementation for `DateTime + time::Duration` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add` is not implemented for `DateTime` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `time::Duration` to `DateTime` [INFO] [stdout] --> src/lib.rs:208:34 [INFO] [stdout] | [INFO] [stdout] 208 | if time.year() < (*EPOCH + Duration::days(365)).year() { [INFO] [stdout] | ^ no implementation for `DateTime + time::Duration` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add` is not implemented for `DateTime` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `time::Duration` to `DateTime` [INFO] [stdout] --> src/lib.rs:211:25 [INFO] [stdout] | [INFO] [stdout] 211 | (*EPOCH + Duration::days(365)).year() [INFO] [stdout] | ^ no implementation for `DateTime + time::Duration` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add` is not implemented for `DateTime` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/lib.rs:25:51 [INFO] [stdout] | [INFO] [stdout] 25 | static ref EPOCH: chrono::DateTime = Utc.ymd(2, 9, 21).and_hms(18, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/lib.rs:25:65 [INFO] [stdout] | [INFO] [stdout] 25 | static ref EPOCH: chrono::DateTime = Utc.ymd(2, 9, 21).and_hms(18, 0, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `time::Duration` to `DateTime` [INFO] [stdout] --> src/lib.rs:154:15 [INFO] [stdout] | [INFO] [stdout] 154 | Ok(*EPOCH + Duration::days(amnt_days)) [INFO] [stdout] | ^ no implementation for `DateTime + time::Duration` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add` is not implemented for `DateTime` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `time::Duration` to `DateTime` [INFO] [stdout] --> src/lib.rs:208:34 [INFO] [stdout] | [INFO] [stdout] 208 | if time.year() < (*EPOCH + Duration::days(365)).year() { [INFO] [stdout] | ^ no implementation for `DateTime + time::Duration` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add` is not implemented for `DateTime` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `time::Duration` to `DateTime` [INFO] [stdout] --> src/lib.rs:211:25 [INFO] [stdout] | [INFO] [stdout] 211 | (*EPOCH + Duration::days(365)).year() [INFO] [stdout] | ^ no implementation for `DateTime + time::Duration` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add` is not implemented for `DateTime` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `DateTime` implements `Add` [INFO] [stdout] `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 `heca-convert-lib` (lib) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `heca-convert-lib` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "13e90b017ae68ceda0fcd8b052dcb85f20936edaabf32a976bf09ad7ae78051e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13e90b017ae68ceda0fcd8b052dcb85f20936edaabf32a976bf09ad7ae78051e", kill_on_drop: false }` [INFO] [stdout] 13e90b017ae68ceda0fcd8b052dcb85f20936edaabf32a976bf09ad7ae78051e