[INFO] fetching crate heca-convert-lib 0.0.5... [INFO] checking heca-convert-lib-0.0.5 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate heca-convert-lib 0.0.5 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate heca-convert-lib 0.0.5 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 49 packages to latest compatible versions [INFO] [stderr] Adding num v0.2.1 (available: v0.4.3) [INFO] [stderr] Adding num-bigint v0.2.6 (available: v0.4.6) [INFO] [stderr] Adding num-complex v0.2.4 (available: v0.4.6) [INFO] [stderr] Adding num-rational v0.2.4 (available: v0.4.2) [INFO] [stderr] Adding num-traits v0.1.43 (available: v0.2.19) [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] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num v0.2.1 [INFO] [stderr] Downloaded num-bigint v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43795de041d2e93cc31fe90be07674a2ac44602056c78ac7487a1770cd943cc6 [INFO] running `Command { std: "docker" "start" "-a" "43795de041d2e93cc31fe90be07674a2ac44602056c78ac7487a1770cd943cc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43795de041d2e93cc31fe90be07674a2ac44602056c78ac7487a1770cd943cc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43795de041d2e93cc31fe90be07674a2ac44602056c78ac7487a1770cd943cc6", kill_on_drop: false }` [INFO] [stdout] 43795de041d2e93cc31fe90be07674a2ac44602056c78ac7487a1770cd943cc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70469552c05a6344752d2116480acdfe74dfd450c2bac2aa7c9a6d966fa8b77c [INFO] running `Command { std: "docker" "start" "-a" "70469552c05a6344752d2116480acdfe74dfd450c2bac2aa7c9a6d966fa8b77c", kill_on_drop: false }` [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 chrono v0.4.38 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking time 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] 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: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] 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] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [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 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `heca-convert-lib` (lib test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "70469552c05a6344752d2116480acdfe74dfd450c2bac2aa7c9a6d966fa8b77c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70469552c05a6344752d2116480acdfe74dfd450c2bac2aa7c9a6d966fa8b77c", kill_on_drop: false }` [INFO] [stdout] 70469552c05a6344752d2116480acdfe74dfd450c2bac2aa7c9a6d966fa8b77c