[INFO] fetching crate float_duration 0.3.3...
[INFO] checking float_duration-0.3.3 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate float_duration 0.3.3 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate float_duration 0.3.3 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate float_duration 0.3.3
[INFO] finished tweaking crates.io crate float_duration 0.3.3
[INFO] tweaked toml for crates.io crate float_duration 0.3.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_test v1.0.176
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c2fb34415d5fb32de81d7d3247a1f616737ed9256ce5e6f7f9eae65682f53fed
[INFO] running `Command { std: "docker" "start" "-a" "c2fb34415d5fb32de81d7d3247a1f616737ed9256ce5e6f7f9eae65682f53fed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c2fb34415d5fb32de81d7d3247a1f616737ed9256ce5e6f7f9eae65682f53fed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2fb34415d5fb32de81d7d3247a1f616737ed9256ce5e6f7f9eae65682f53fed", kill_on_drop: false }`
[INFO] [stdout] c2fb34415d5fb32de81d7d3247a1f616737ed9256ce5e6f7f9eae65682f53fed
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c7940a5847311872cf8f8d637cec44daeb52ca9077ee5e95b43ea5dc89121862
[INFO] running `Command { std: "docker" "start" "-a" "c7940a5847311872cf8f8d637cec44daeb52ca9077ee5e95b43ea5dc89121862", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking approx v0.1.1
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking serde_test v1.0.176
[INFO] [stderr]     Checking chrono v0.4.35
[INFO] [stderr]     Checking float_duration v0.3.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `chrono` is imported redundantly
[INFO] [stdout]    --> src/duration.rs:10:5
[INFO] [stdout]     |
[INFO] [stdout] 10  | use chrono;
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:162:1
[INFO] [stdout]     |
[INFO] [stdout] 162 | extern crate chrono;
[INFO] [stdout]     | -------------------- the item `chrono` is already imported here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `time` is imported redundantly
[INFO] [stdout]    --> src/error.rs:6:5
[INFO] [stdout]     |
[INFO] [stdout] 6   | use time;
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:164:1
[INFO] [stdout]     |
[INFO] [stdout] 164 | extern crate time;
[INFO] [stdout]     | ------------------ the item `time` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]    --> src/duration.rs:376:50
[INFO] [stdout]     |
[INFO] [stdout] 376 | impl<Tz: chrono::TimeZone> TimePoint for chrono::Date<Tz> {
[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<Tz>` instead
[INFO] [stdout]    --> src/duration.rs:379:50
[INFO] [stdout]     |
[INFO] [stdout] 379 |     fn float_duration_since(self, since: chrono::Date<Tz>) -> Result<FloatDuration, ()> {
[INFO] [stdout]     |                                                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `time` is imported redundantly
[INFO] [stdout]    --> src/duration.rs:637:9
[INFO] [stdout]     |
[INFO] [stdout] 636 |     use super::*;
[INFO] [stdout]     |         -------- the item `time` is already imported here
[INFO] [stdout] 637 |     use std::time;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `time` is imported redundantly
[INFO] [stdout]    --> src/error.rs:6:5
[INFO] [stdout]     |
[INFO] [stdout] 6   | use time;
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:164:1
[INFO] [stdout]     |
[INFO] [stdout] 164 | extern crate time;
[INFO] [stdout]     | ------------------ the item `time` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` instead
[INFO] [stdout]    --> src/duration.rs:376:50
[INFO] [stdout]     |
[INFO] [stdout] 376 | impl<Tz: chrono::TimeZone> TimePoint for chrono::Date<Tz> {
[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<Tz>` instead
[INFO] [stdout]    --> src/duration.rs:379:50
[INFO] [stdout]     |
[INFO] [stdout] 379 |     fn float_duration_since(self, since: chrono::Date<Tz>) -> Result<FloatDuration, ()> {
[INFO] [stdout]     |                                                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::OutOfRangeError`
[INFO] [stdout]    --> src/duration.rs:299:71
[INFO] [stdout]     |
[INFO] [stdout] 299 |         let chrono_duration = chrono::Duration::from_std(std_duration)?;
[INFO] [stdout]     |                                                                       ^ the trait `From<chrono::OutOfRangeError>` is not implemented for `error::OutOfRangeError`, which is required by `Result<TimeDelta, error::OutOfRangeError>: FromResidual<Result<Infallible, chrono::OutOfRangeError>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]     = help: the trait `From<time::OutOfRangeError>` is implemented for `error::OutOfRangeError`
[INFO] [stdout]     = help: for that trait implementation, expected `time::OutOfRangeError`, found `chrono::OutOfRangeError`
[INFO] [stdout]     = note: required for `Result<TimeDelta, error::OutOfRangeError>` to implement `FromResidual<Result<Infallible, chrono::OutOfRangeError>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/error.rs:25:30
[INFO] [stdout]    |
[INFO] [stdout] 25 |         write!(f, "{}", self.description())
[INFO] [stdout]    |                              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::OutOfRangeError`
[INFO] [stdout]    --> src/duration.rs:299:71
[INFO] [stdout]     |
[INFO] [stdout] 299 |         let chrono_duration = chrono::Duration::from_std(std_duration)?;
[INFO] [stdout]     |                                                                       ^ the trait `From<chrono::OutOfRangeError>` is not implemented for `error::OutOfRangeError`, which is required by `Result<TimeDelta, error::OutOfRangeError>: FromResidual<Result<Infallible, chrono::OutOfRangeError>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]     = help: the trait `From<time::OutOfRangeError>` is implemented for `error::OutOfRangeError`
[INFO] [stdout]     = help: for that trait implementation, expected `time::OutOfRangeError`, found `chrono::OutOfRangeError`
[INFO] [stdout]     = note: required for `Result<TimeDelta, error::OutOfRangeError>` to implement `FromResidual<Result<Infallible, chrono::OutOfRangeError>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::minutes`: Use `TimeDelta::try_minutes` instead
[INFO] [stdout]    --> src/duration.rs:831:58
[INFO] [stdout]     |
[INFO] [stdout] 831 |         assert_eq!(FloatDuration::from(chrono::Duration::minutes(10)),
[INFO] [stdout]     |                                                          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::hours`: Use `TimeDelta::try_hours` instead
[INFO] [stdout]    --> src/duration.rs:833:65
[INFO] [stdout]     |
[INFO] [stdout] 833 |         assert_eq!(FloatDuration::from_chrono(chrono::Duration::hours(72)),
[INFO] [stdout]     |                                                                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::hours`: Use `TimeDelta::try_hours` instead
[INFO] [stdout]    --> src/duration.rs:841:58
[INFO] [stdout]     |
[INFO] [stdout] 841 |         assert_eq!(FloatDuration::from(chrono::Duration::hours(10000)),
[INFO] [stdout]     |                                                          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::milliseconds`: Use `TimeDelta::try_milliseconds` instead
[INFO] [stdout]    --> src/duration.rs:843:65
[INFO] [stdout]     |
[INFO] [stdout] 843 |         assert_eq!(FloatDuration::from_chrono(chrono::Duration::milliseconds(1i64 << 62)),
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::TimeDelta::seconds`: Use `TimeDelta::try_seconds` instead
[INFO] [stdout]    --> src/duration.rs:847:38
[INFO] [stdout]     |
[INFO] [stdout] 847 |                    chrono::Duration::seconds(150));
[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/duration.rs:861:25
[INFO] [stdout]     |
[INFO] [stdout] 861 |         let date1 = Utc.ymd(2017, 5, 25).and_hms(10, 0, 0);
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::Date::<Tz>::and_hms`: Use and_hms_opt() instead
[INFO] [stdout]    --> src/duration.rs:861:42
[INFO] [stdout]     |
[INFO] [stdout] 861 |         let date1 = Utc.ymd(2017, 5, 25).and_hms(10, 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/duration.rs:862:25
[INFO] [stdout]     |
[INFO] [stdout] 862 |         let date2 = Utc.ymd(2017, 5, 26).and_hms(12, 0, 0);
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::Date::<Tz>::and_hms`: Use and_hms_opt() instead
[INFO] [stdout]    --> src/duration.rs:862:42
[INFO] [stdout]     |
[INFO] [stdout] 862 |         let date2 = Utc.ymd(2017, 5, 26).and_hms(12, 0, 0);
[INFO] [stdout]     |                                          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/error.rs:25:30
[INFO] [stdout]    |
[INFO] [stdout] 25 |         write!(f, "{}", self.description())
[INFO] [stdout]    |                              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `float_duration` (lib) due to 2 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 1 previous error; 14 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 `float_duration` (lib test) due to 2 previous errors; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c7940a5847311872cf8f8d637cec44daeb52ca9077ee5e95b43ea5dc89121862", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7940a5847311872cf8f8d637cec44daeb52ca9077ee5e95b43ea5dc89121862", kill_on_drop: false }`
[INFO] [stdout] c7940a5847311872cf8f8d637cec44daeb52ca9077ee5e95b43ea5dc89121862
