[INFO] fetching crate dateparser 0.2.1... [INFO] checking dateparser-0.2.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate dateparser 0.2.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate dateparser 0.2.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dateparser 0.2.1 [INFO] finished tweaking crates.io crate dateparser 0.2.1 [INFO] tweaked toml for crates.io crate dateparser 0.2.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate dateparser 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52151bf887443f7b964165f2068b42d52cb1c14eb7017e3bf45712b371d027e1 [INFO] running `Command { std: "docker" "start" "-a" "52151bf887443f7b964165f2068b42d52cb1c14eb7017e3bf45712b371d027e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52151bf887443f7b964165f2068b42d52cb1c14eb7017e3bf45712b371d027e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52151bf887443f7b964165f2068b42d52cb1c14eb7017e3bf45712b371d027e1", kill_on_drop: false }` [INFO] [stdout] 52151bf887443f7b964165f2068b42d52cb1c14eb7017e3bf45712b371d027e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 784ac1aa2b5a32dce824bae8b2935d81f89af38b3b4434e2dd3e37d42383c072 [INFO] running `Command { std: "docker" "start" "-a" "784ac1aa2b5a32dce824bae8b2935d81f89af38b3b4434e2dd3e37d42383c072", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking clap_builder v4.4.8 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking clap v4.4.8 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Checking dateparser v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling chrono-tz v0.8.4 [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/datetime.rs:280:34 [INFO] [stdout] | [INFO] [stdout] 280 | .and_then(|datetime| self.tz.from_local_datetime(&datetime).single()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/datetime.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 334 | let now = Utc::now().with_timezone(self.tz); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 335 | / NaiveTime::parse_from_str(input, "%H:%M:%S") [INFO] [stdout] 336 | | .or_else(|_| NaiveTime::parse_from_str(input, "%H:%M")) [INFO] [stdout] 337 | | .or_else(|_| NaiveTime::parse_from_str(input, "%I:%M:%S %P")) [INFO] [stdout] 338 | | .or_else(|_| NaiveTime::parse_from_str(input, "%I:%M %P")) [INFO] [stdout] 339 | | .ok() [INFO] [stdout] 340 | | .and_then(|parsed| now.date().and_time(parsed)) [INFO] [stdout] | |___________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/datetime.rs:340:32 [INFO] [stdout] | [INFO] [stdout] 340 | .and_then(|parsed| now.date().and_time(parsed)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/datetime.rs:403:34 [INFO] [stdout] | [INFO] [stdout] 403 | .and_then(|datetime| self.tz.from_local_datetime(&datetime).single()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/datetime.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 422 | let now = Utc::now().with_timezone(self.tz); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 423 | let with_year = format!("{} {}", now.year(), input); [INFO] [stdout] 424 | / self.tz [INFO] [stdout] 425 | | .datetime_from_str(&with_year, "%Y %b %d at %I:%M %P") [INFO] [stdout] 426 | | .or_else(|_| self.tz.datetime_from_str(&with_year, "%Y %b %d %H:%M:%S")) [INFO] [stdout] 427 | | .ok() [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/datetime.rs:521:34 [INFO] [stdout] | [INFO] [stdout] 521 | .and_then(|datetime| self.tz.from_local_datetime(&datetime).single()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/datetime.rs:576:34 [INFO] [stdout] | [INFO] [stdout] 576 | .and_then(|datetime| self.tz.from_local_datetime(&datetime).single()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/datetime.rs:644:34 [INFO] [stdout] | [INFO] [stdout] 644 | .and_then(|datetime| self.tz.from_local_datetime(&datetime).single()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/datetime.rs:698:34 [INFO] [stdout] | [INFO] [stdout] 698 | .and_then(|datetime| self.tz.from_local_datetime(&datetime).single()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/datetime.rs:732:34 [INFO] [stdout] | [INFO] [stdout] 732 | .and_then(|datetime| self.tz.from_local_datetime(&datetime).single()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/datetime.rs:792:34 [INFO] [stdout] | [INFO] [stdout] 792 | .and_then(|datetime| self.tz.from_local_datetime(&datetime).single()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dateparser` (lib) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "784ac1aa2b5a32dce824bae8b2935d81f89af38b3b4434e2dd3e37d42383c072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "784ac1aa2b5a32dce824bae8b2935d81f89af38b3b4434e2dd3e37d42383c072", kill_on_drop: false }` [INFO] [stdout] 784ac1aa2b5a32dce824bae8b2935d81f89af38b3b4434e2dd3e37d42383c072