[INFO] fetching crate curve25519-elligator2 0.1.0-alpha.2... [INFO] checking curve25519-elligator2-0.1.0-alpha.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate curve25519-elligator2 0.1.0-alpha.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate curve25519-elligator2 0.1.0-alpha.2 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 curve25519-elligator2 0.1.0-alpha.2 [INFO] finished tweaking crates.io crate curve25519-elligator2 0.1.0-alpha.2 [INFO] tweaked toml for crates.io crate curve25519-elligator2 0.1.0-alpha.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 115 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (latest: v0.2.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding radium v0.7.0 (latest: v1.1.0) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding wyz v0.5.1 (latest: v0.6.1) [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] 14fd43159863139bbe4b544c862e08340452da0e4724eef7dd5972d048ec7cc3 [INFO] running `Command { std: "docker" "start" "-a" "14fd43159863139bbe4b544c862e08340452da0e4724eef7dd5972d048ec7cc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14fd43159863139bbe4b544c862e08340452da0e4724eef7dd5972d048ec7cc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14fd43159863139bbe4b544c862e08340452da0e4724eef7dd5972d048ec7cc3", kill_on_drop: false }` [INFO] [stdout] 14fd43159863139bbe4b544c862e08340452da0e4724eef7dd5972d048ec7cc3 [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] df72ff648f3ff0301074475a3cbe263c37ee11603cd88f24bab9cb4f5dd33a07 [INFO] running `Command { std: "docker" "start" "-a" "df72ff648f3ff0301074475a3cbe263c37ee11603cd88f24bab9cb4f5dd33a07", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling curve25519-elligator2 v0.1.0-alpha.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking kolmogorov_smirnov v1.1.0 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [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/ristretto.rs:1026:13 [INFO] [stdout] | [INFO] [stdout] 1020 | fn new(static_points: I) -> Self [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1026 | static_points.into_iter().map(|P| P.borrow().0), [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/ristretto.rs:1047:17 [INFO] [stdout] | [INFO] [stdout] 1032 | static_scalars: I, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1033 | dynamic_scalars: J, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1034 | dynamic_points: K, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1047 | dynamic_points.into_iter().map(|P_opt| P_opt.map(|P| P.0)), [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/traits.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 249 | fn vartime_multiscalar_mul(scalars: I, points: J) -> Self::Point [INFO] [stdout] | ---------- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | / Self::optional_multiscalar_mul( [INFO] [stdout] 258 | | scalars, [INFO] [stdout] 259 | | points.into_iter().map(|P| Some(P.borrow().clone())), [INFO] [stdout] 260 | | ) [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/traits.rs:259:45 [INFO] [stdout] | [INFO] [stdout] 259 | points.into_iter().map(|P| Some(P.borrow().clone())), [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/traits.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 349 | static_scalars: I, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | dynamic_scalars: J, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 351 | dynamic_points: K, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 361 | / Self::optional_mixed_multiscalar_mul( [INFO] [stdout] 362 | | self, [INFO] [stdout] 363 | | static_scalars, [INFO] [stdout] 364 | | dynamic_scalars, [INFO] [stdout] 365 | | dynamic_points.into_iter().map(|P| Some(P.borrow().clone())), [INFO] [stdout] 366 | | ) [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/traits.rs:365:53 [INFO] [stdout] | [INFO] [stdout] 365 | dynamic_points.into_iter().map(|P| Some(P.borrow().clone())), [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/backend/serial/scalar_mul/precomputed_straus.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 36 | fn new(static_points: I) -> Self [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | static_lookup_tables: static_points [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 43 | | .into_iter() [INFO] [stdout] 44 | | .map(|P| NafLookupTable8::::from(P.borrow())) [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/backend/vector/scalar_mul/precomputed_straus.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 44 | fn new(static_points: I) -> Self [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | static_lookup_tables: static_points [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 51 | | .into_iter() [INFO] [stdout] 52 | | .map(|P| NafLookupTable8::::from(P.borrow())) [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 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `curve25519-elligator2` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "df72ff648f3ff0301074475a3cbe263c37ee11603cd88f24bab9cb4f5dd33a07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df72ff648f3ff0301074475a3cbe263c37ee11603cd88f24bab9cb4f5dd33a07", kill_on_drop: false }` [INFO] [stdout] df72ff648f3ff0301074475a3cbe263c37ee11603cd88f24bab9cb4f5dd33a07