[INFO] fetching crate float_duration 0.3.3... [INFO] checking float_duration-0.3.3 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate float_duration 0.3.3 into /workspace/builds/worker-6-tc1/source [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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate float_duration 0.3.3 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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] [stderr] Adding approx v0.1.1 (available: v0.5.1) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.43) [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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8600082896ecdca992fc8165530dd87d6958ba944be62462cea37f46dfc24ec6 [INFO] running `Command { std: "docker" "start" "-a" "8600082896ecdca992fc8165530dd87d6958ba944be62462cea37f46dfc24ec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8600082896ecdca992fc8165530dd87d6958ba944be62462cea37f46dfc24ec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8600082896ecdca992fc8165530dd87d6958ba944be62462cea37f46dfc24ec6", kill_on_drop: false }` [INFO] [stdout] 8600082896ecdca992fc8165530dd87d6958ba944be62462cea37f46dfc24ec6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55710588ebded758fd741376f90f8e863a4dbc1ecc5f2f692c09981b3351d247 [INFO] running `Command { std: "docker" "start" "-a" "55710588ebded758fd741376f90f8e863a4dbc1ecc5f2f692c09981b3351d247", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Checking float_duration v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/duration.rs:376:50 [INFO] [stdout] | [INFO] [stdout] 376 | impl TimePoint for chrono::Date { [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/duration.rs:379:50 [INFO] [stdout] | [INFO] [stdout] 379 | fn float_duration_since(self, since: chrono::Date) -> Result { [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` is not implemented for `error::OutOfRangeError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, chrono::OutOfRangeError>` [INFO] [stdout] | [INFO] [stdout] note: `error::OutOfRangeError` needs to implement `From` [INFO] [stdout] --> src/error.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct 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` is not implemented for `error::OutOfRangeError` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `time::OutOfRangeError`, found `chrono::OutOfRangeError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/duration.rs:376:50 [INFO] [stdout] | [INFO] [stdout] 376 | impl TimePoint for chrono::Date { [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/duration.rs:379:50 [INFO] [stdout] | [INFO] [stdout] 379 | fn float_duration_since(self, since: chrono::Date) -> Result { [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] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `float_duration` (lib) due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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` is not implemented for `error::OutOfRangeError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, chrono::OutOfRangeError>` [INFO] [stdout] | [INFO] [stdout] note: `error::OutOfRangeError` needs to implement `From` [INFO] [stdout] --> src/error.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct 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` is not implemented for `error::OutOfRangeError` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `time::OutOfRangeError`, found `chrono::OutOfRangeError` [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::::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::::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] [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 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "55710588ebded758fd741376f90f8e863a4dbc1ecc5f2f692c09981b3351d247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55710588ebded758fd741376f90f8e863a4dbc1ecc5f2f692c09981b3351d247", kill_on_drop: false }` [INFO] [stdout] 55710588ebded758fd741376f90f8e863a4dbc1ecc5f2f692c09981b3351d247