[INFO] fetching crate heca-convert-lib 0.0.5... [INFO] testing heca-convert-lib-0.0.5 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate heca-convert-lib 0.0.5 into /workspace/builds/worker-4-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate heca-convert-lib 0.0.5 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 45 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.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] 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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80959c2e97c20c970f8827c0c79928c7eeca62cfbedfb1b9ad6fc433ddf0893b [INFO] running `Command { std: "docker" "start" "-a" "80959c2e97c20c970f8827c0c79928c7eeca62cfbedfb1b9ad6fc433ddf0893b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80959c2e97c20c970f8827c0c79928c7eeca62cfbedfb1b9ad6fc433ddf0893b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80959c2e97c20c970f8827c0c79928c7eeca62cfbedfb1b9ad6fc433ddf0893b", kill_on_drop: false }` [INFO] [stdout] 80959c2e97c20c970f8827c0c79928c7eeca62cfbedfb1b9ad6fc433ddf0893b [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb83b07444a8835839c865fe2137047b84733ed6d3befa5c19887b26564fe254 [INFO] running `Command { std: "docker" "start" "-a" "cb83b07444a8835839c865fe2137047b84733ed6d3befa5c19887b26564fe254", 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] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling 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[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:208:26 [INFO] [stdout] | [INFO] [stdout] 208 | if time.year() < (*EPOCH + Duration::days(365)).year() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | (*EPOCH + Duration::days(365)).year() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `heca-convert-lib` (lib) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "cb83b07444a8835839c865fe2137047b84733ed6d3befa5c19887b26564fe254", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb83b07444a8835839c865fe2137047b84733ed6d3befa5c19887b26564fe254", kill_on_drop: false }` [INFO] [stdout] cb83b07444a8835839c865fe2137047b84733ed6d3befa5c19887b26564fe254