[INFO] fetching crate exonum-crypto 1.0.0... [INFO] checking exonum-crypto-1.0.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate exonum-crypto 1.0.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate exonum-crypto 1.0.0 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 exonum-crypto 1.0.0 [INFO] finished tweaking crates.io crate exonum-crypto 1.0.0 [INFO] tweaked toml for crates.io crate exonum-crypto 1.0.0 written to /workspace/builds/worker-1-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 113 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.12.3 (latest: v0.22.1) [INFO] [stderr] Adding base64-serde v0.5.1 (latest: v0.7.0) [INFO] [stderr] Adding bit-vec v0.6.3 (latest: v0.8.0) [INFO] [stderr] Adding darling v0.10.2 (latest: v0.20.10) [INFO] [stderr] Adding darling_core v0.10.2 (latest: v0.20.10) [INFO] [stderr] Adding darling_macro v0.10.2 (latest: v0.20.10) [INFO] [stderr] Adding exonum_libsodium-sys v0.0.23 (latest: v0.0.24) [INFO] [stderr] Adding exonum_sodiumoxide v0.0.23 (latest: v0.0.24) [INFO] [stderr] Adding heck v0.3.3 (latest: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding protobuf v2.28.0 (latest: v3.5.1) [INFO] [stderr] Adding protobuf-codegen v2.28.0 (latest: v3.5.1) [INFO] [stderr] Adding protobuf-convert v0.4.0 (latest: v0.5.0) [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 remove_dir_all v0.5.3 (latest: v0.8.3) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding strsim v0.9.3 (latest: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.36) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding which v4.4.2 (latest: v6.0.3) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding zip v0.5.13 (latest: v2.2.0) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 28cf9cf8173c423bdb6f40b190f7e4ed5bc5a10d9d65b904a1e784fa3d6487b3 [INFO] running `Command { std: "docker" "start" "-a" "28cf9cf8173c423bdb6f40b190f7e4ed5bc5a10d9d65b904a1e784fa3d6487b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28cf9cf8173c423bdb6f40b190f7e4ed5bc5a10d9d65b904a1e784fa3d6487b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28cf9cf8173c423bdb6f40b190f7e4ed5bc5a10d9d65b904a1e784fa3d6487b3", kill_on_drop: false }` [INFO] [stdout] 28cf9cf8173c423bdb6f40b190f7e4ed5bc5a10d9d65b904a1e784fa3d6487b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 75757faae8645fa819d698de4ec08adb71192d2274591fa4189ea40859a035cb [INFO] running `Command { std: "docker" "start" "-a" "75757faae8645fa819d698de4ec08adb71192d2274591fa4189ea40859a035cb", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling protoc v2.28.0 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling xattr v1.3.1 [INFO] [stderr] Compiling tar v0.4.41 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling exonum_libsodium-sys v0.0.23 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking base64-serde v0.5.1 [INFO] [stderr] Checking exonum_sodiumoxide v0.0.23 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling exonum-derive v1.0.0 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Compiling protoc-rust v2.28.0 [INFO] [stderr] Compiling exonum-build v1.0.1 [INFO] [stderr] Compiling exonum-proto v1.0.0 [INFO] [stderr] Compiling protobuf-convert v0.4.0 [INFO] [stderr] Compiling exonum-crypto v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/exonum-crypto-3a145366d3b70580/out/types.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/exonum-crypto-3a145366d3b70580/out/types.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [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/lib.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 126 | let (impl_pub_key, impl_secret_key) = crypto_impl::gen_keypair_from_seed(&seed.0); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | (PublicKey(impl_pub_key), SecretKey(impl_secret_key)) [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/lib.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 126 | let (impl_pub_key, impl_secret_key) = crypto_impl::gen_keypair_from_seed(&seed.0); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | (PublicKey(impl_pub_key), SecretKey(impl_secret_key)) [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/lib.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 142 | let (pubkey, secret_key) = crypto_impl::gen_keypair(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | (PublicKey(pubkey), SecretKey(secret_key)) [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/lib.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 142 | let (pubkey, secret_key) = crypto_impl::gen_keypair(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | (PublicKey(pubkey), SecretKey(secret_key)) [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/crypto_lib/sodiumoxide/x25519.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 58 | sk: crypto_SecretKey, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let sk_sod = SecretKeySodium::from_slice(&sk[..])?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | [INFO] [stdout] 63 | let (pk, sk) = convert_ed_keypair_to_curve25519(pk_sod, sk_sod); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | Some((PublicKey::new(pk.0), SecretKey::new(secret_key))) [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/crypto_lib/sodiumoxide/x25519.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 58 | sk: crypto_SecretKey, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | let sk_sod = SecretKeySodium::from_slice(&sk[..])?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | [INFO] [stdout] 63 | let (pk, sk) = convert_ed_keypair_to_curve25519(pk_sod, sk_sod); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | Some((PublicKey::new(pk.0), SecretKey::new(secret_key))) [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: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exonum-crypto` (lib) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `exonum-crypto` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "75757faae8645fa819d698de4ec08adb71192d2274591fa4189ea40859a035cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75757faae8645fa819d698de4ec08adb71192d2274591fa4189ea40859a035cb", kill_on_drop: false }` [INFO] [stdout] 75757faae8645fa819d698de4ec08adb71192d2274591fa4189ea40859a035cb