[INFO] fetching crate chrono-intervals 0.3.0... [INFO] checking chrono-intervals-0.3.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate chrono-intervals 0.3.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate chrono-intervals 0.3.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate chrono-intervals 0.3.0 [INFO] finished tweaking crates.io crate chrono-intervals 0.3.0 [INFO] tweaked toml for crates.io crate chrono-intervals 0.3.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 44 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d101b0c9b8d4f53aa0174717d5927f0d5e54c9af4f66b70573d46e08608aaaf [INFO] running `Command { std: "docker" "start" "-a" "1d101b0c9b8d4f53aa0174717d5927f0d5e54c9af4f66b70573d46e08608aaaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d101b0c9b8d4f53aa0174717d5927f0d5e54c9af4f66b70573d46e08608aaaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d101b0c9b8d4f53aa0174717d5927f0d5e54c9af4f66b70573d46e08608aaaf", kill_on_drop: false }` [INFO] [stdout] 1d101b0c9b8d4f53aa0174717d5927f0d5e54c9af4f66b70573d46e08608aaaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bcb9f070d3eb9a91688d3dc7dc1d346129601686c96f0e1340dccd6de8c0bc9 [INFO] running `Command { std: "docker" "start" "-a" "5bcb9f070d3eb9a91688d3dc7dc1d346129601686c96f0e1340dccd6de8c0bc9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking chrono-intervals v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::west`: use `west_opt()` instead [INFO] [stdout] --> src/generator.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | local_timezone: FixedOffset::west(0), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::west`: use `west_opt()` instead [INFO] [stdout] --> src/generator.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | self.local_timezone = FixedOffset::west(offset_west_secs); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::west`: use `west_opt()` instead [INFO] [stdout] --> src/intervals.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | let local_timezone = &FixedOffset::west(offset_west_seconds); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::FixedOffset::west`: use `west_opt()` instead [INFO] [stdout] --> src/intervals.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | let local_timezone = &FixedOffset::west(offset_west_seconds); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/intervals_impl/boundaries.rs:13:53 [INFO] [stdout] | [INFO] [stdout] 13 | true => begin.with_timezone(local_timezone).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/intervals_impl/boundaries.rs:13:60 [INFO] [stdout] | [INFO] [stdout] 13 | true => begin.with_timezone(local_timezone).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/intervals_impl/boundaries.rs:14:54 [INFO] [stdout] | [INFO] [stdout] 14 | false => begin.with_timezone(local_timezone).date().and_hms(0, 0, 0) + Duration::hours(24), [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/intervals_impl/boundaries.rs:14:61 [INFO] [stdout] | [INFO] [stdout] 14 | false => begin.with_timezone(local_timezone).date().and_hms(0, 0, 0) + Duration::hours(24), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/intervals_impl/boundaries.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | true => localized_begin.date().and_hms(0, 0, 0) - Duration::days(num_days_since_monday), [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/intervals_impl/boundaries.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 32 | true => localized_begin.date().and_hms(0, 0, 0) - Duration::days(num_days_since_monday), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/intervals_impl/boundaries.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | localized_begin.date().and_hms(0, 0, 0) + Duration::days(7 - num_days_since_monday) [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/intervals_impl/boundaries.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | localized_begin.date().and_hms(0, 0, 0) + Duration::days(7 - num_days_since_monday) [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/intervals_impl/boundaries.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | .ymd(localized_begin.year(), localized_begin.month(), 1) [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/intervals_impl/boundaries.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | .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/intervals_impl/boundaries.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | let date = datetime.date(); [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/intervals_impl/boundaries.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | .ymd( [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/intervals_impl/boundaries.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | .and_hms(0, 0, 0) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Date` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/intervals_impl/boundaries.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 88 | fn next_month_start(datetime: DateTime) -> DateTime [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | let date = datetime.date(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | / datetime [INFO] [stdout] 94 | | .timezone() [INFO] [stdout] 95 | | .ymd( [INFO] [stdout] 96 | | match date.month() { [INFO] [stdout] ... | [INFO] [stdout] 104 | | 1, [INFO] [stdout] 105 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chrono-intervals` (lib) due to 2 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5bcb9f070d3eb9a91688d3dc7dc1d346129601686c96f0e1340dccd6de8c0bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bcb9f070d3eb9a91688d3dc7dc1d346129601686c96f0e1340dccd6de8c0bc9", kill_on_drop: false }` [INFO] [stdout] 5bcb9f070d3eb9a91688d3dc7dc1d346129601686c96f0e1340dccd6de8c0bc9