[INFO] fetching crate chrono_elapsed 1.0.12... [INFO] checking chrono_elapsed-1.0.12 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate chrono_elapsed 1.0.12 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate chrono_elapsed 1.0.12 [INFO] finished tweaking crates.io crate chrono_elapsed 1.0.12 [INFO] tweaked toml for crates.io crate chrono_elapsed 1.0.12 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate chrono_elapsed 1.0.12 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 42 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d713cc626a5a65d1aa480f252c1366a96bbd26155c75e833d771378a7a966675 [INFO] running `Command { std: "docker" "start" "-a" "d713cc626a5a65d1aa480f252c1366a96bbd26155c75e833d771378a7a966675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d713cc626a5a65d1aa480f252c1366a96bbd26155c75e833d771378a7a966675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d713cc626a5a65d1aa480f252c1366a96bbd26155c75e833d771378a7a966675", kill_on_drop: false }` [INFO] [stdout] d713cc626a5a65d1aa480f252c1366a96bbd26155c75e833d771378a7a966675 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbad4ae4efff1d4847dbb6974a659dd3394cd8e2657d8944dbe70bef690cdc58 [INFO] running `Command { std: "docker" "start" "-a" "cbad4ae4efff1d4847dbb6974a659dd3394cd8e2657d8944dbe70bef690cdc58", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking libmath v0.2.1 [INFO] [stderr] Checking chrono_elapsed v1.0.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Date, DateTime, Duration, Local, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | date: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:424:11 [INFO] [stdout] | [INFO] [stdout] 424 | impl From> for Elapsed { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:438:11 [INFO] [stdout] | [INFO] [stdout] 438 | impl From> for Elapsed { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn new_from_date(date: Date) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:111:46 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new_from_date_then_localize(date: Date) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:141:45 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn new_from_date_with_context(date: Date, context: Date) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:141:67 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn new_from_date_with_context(date: Date, context: Date) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:176:38 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn set_date(&mut self, date: Date) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:426:19 [INFO] [stdout] | [INFO] [stdout] 426 | fn from(date: Date) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:440:19 [INFO] [stdout] | [INFO] [stdout] 440 | fn from(date: Date) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/lib.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | date: datetime.date(), [INFO] [stdout] | ^^^^ [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:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | let datetime = date.and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/lib.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | date: datetime.date(), [INFO] [stdout] | ^^^^ [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:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | let datetime = date.and_hms(0, 0, 0).with_timezone(&Local); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/lib.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | date: datetime.date(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/lib.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | date: datetime.date(), [INFO] [stdout] | ^^^^ [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:142:29 [INFO] [stdout] | [INFO] [stdout] 142 | let datetime = date.and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^ [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:143:40 [INFO] [stdout] | [INFO] [stdout] 143 | let datetime_context = context.and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/lib.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | self.date = datetime.date(); [INFO] [stdout] | ^^^^ [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:178:30 [INFO] [stdout] | [INFO] [stdout] 178 | self.datetime = date.and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tf` [INFO] [stdout] --> src/lib.rs:374:35 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn through_til(&mut self, tf: &TimeFrame) -> &mut Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{Date, DateTime, Duration, Local, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | date: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:424:11 [INFO] [stdout] | [INFO] [stdout] 424 | impl From> for Elapsed { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:438:11 [INFO] [stdout] | [INFO] [stdout] 438 | impl From> for Elapsed { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn new_from_date(date: Date) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:111:46 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new_from_date_then_localize(date: Date) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:141:45 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn new_from_date_with_context(date: Date, context: Date) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:141:67 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn new_from_date_with_context(date: Date, context: Date) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:176:38 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn set_date(&mut self, date: Date) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:426:19 [INFO] [stdout] | [INFO] [stdout] 426 | fn from(date: Date) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/lib.rs:440:19 [INFO] [stdout] | [INFO] [stdout] 440 | fn from(date: Date) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/lib.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | date: datetime.date(), [INFO] [stdout] | ^^^^ [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:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | let datetime = date.and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/lib.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | date: datetime.date(), [INFO] [stdout] | ^^^^ [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:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | let datetime = date.and_hms(0, 0, 0).with_timezone(&Local); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/lib.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | date: datetime.date(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/lib.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | date: datetime.date(), [INFO] [stdout] | ^^^^ [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:142:29 [INFO] [stdout] | [INFO] [stdout] 142 | let datetime = date.and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^ [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:143:40 [INFO] [stdout] | [INFO] [stdout] 143 | let datetime_context = context.and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/lib.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | self.date = datetime.date(); [INFO] [stdout] | ^^^^ [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:178:30 [INFO] [stdout] | [INFO] [stdout] 178 | self.datetime = date.and_hms(0, 0, 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tf` [INFO] [stdout] --> src/lib.rs:374:35 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn through_til(&mut self, tf: &TimeFrame) -> &mut Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.22s [INFO] running `Command { std: "docker" "inspect" "cbad4ae4efff1d4847dbb6974a659dd3394cd8e2657d8944dbe70bef690cdc58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbad4ae4efff1d4847dbb6974a659dd3394cd8e2657d8944dbe70bef690cdc58", kill_on_drop: false }` [INFO] [stdout] cbad4ae4efff1d4847dbb6974a659dd3394cd8e2657d8944dbe70bef690cdc58