[INFO] fetching crate zksnarks 0.0.1... [INFO] checking zksnarks-0.0.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate zksnarks 0.0.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate zksnarks 0.0.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 zksnarks 0.0.1 [INFO] finished tweaking crates.io crate zksnarks 0.0.1 [INFO] tweaked toml for crates.io crate zksnarks 0.0.1 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 41 packages to latest compatible versions [INFO] [stderr] Adding parity-scale-codec v2.3.1 (latest: v3.6.12) [INFO] [stderr] Adding parity-scale-codec-derive v2.3.1 (latest: v3.6.12) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (latest: v3.2.0) [INFO] [stderr] Adding sp-std v3.0.0 (latest: v14.0.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding toml_edit v0.19.15 (latest: v0.22.20) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.18) [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] 583a74afafcbbcc26afd485ed1840b5265b160ef4a0566287ce08c018f9696d7 [INFO] running `Command { std: "docker" "start" "-a" "583a74afafcbbcc26afd485ed1840b5265b160ef4a0566287ce08c018f9696d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "583a74afafcbbcc26afd485ed1840b5265b160ef4a0566287ce08c018f9696d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "583a74afafcbbcc26afd485ed1840b5265b160ef4a0566287ce08c018f9696d7", kill_on_drop: false }` [INFO] [stdout] 583a74afafcbbcc26afd485ed1840b5265b160ef4a0566287ce08c018f9696d7 [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] b1db7fa4783d7c1e100dae5093e59393b3d7a193c97c6349d7a0cd1ec067c13a [INFO] running `Command { std: "docker" "start" "-a" "b1db7fa4783d7c1e100dae5093e59393b3d7a193c97c6349d7a0cd1ec067c13a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking sp-std v3.0.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Checking parity-scale-codec v2.3.1 [INFO] [stderr] Checking zkstd v0.0.22 [INFO] [stderr] Checking bls-12-381 v0.0.23 [INFO] [stderr] Checking jub-jub v0.0.20 [INFO] [stderr] Checking ec-pairing v0.0.14 [INFO] [stderr] Checking poly-commit v0.0.13 [INFO] [stderr] Checking zksnarks v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/error.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/error.rs:167:7 [INFO] [stdout] | [INFO] [stdout] 167 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/error.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/error.rs:167:7 [INFO] [stdout] | [INFO] [stdout] 167 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/groth16/matrix.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Evaluable { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 17 | fn evaluate(&self, instance: &[Element], witness: &[Element]) -> R; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Prover` is never used [INFO] [stdout] --> src/prover.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Prover { [INFO] [stdout] | ^^^^^^ [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/groth16/key.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 162 | let pvk = params.vk.prepare(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | [INFO] [stdout] 164 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 165 | | Prover:: { [INFO] [stdout] 166 | | params, [INFO] [stdout] 167 | | _mark: PhantomData, [INFO] [stdout] 168 | | }, [INFO] [stdout] 169 | | Verifier::

{ vk: pvk }, [INFO] [stdout] 170 | | )) [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/plonk/params.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 19 | fn setup(k: u64, r: impl RngCore) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | evaluation_key: EvaluationKey { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 34 | | g: g1[0], [INFO] [stdout] 35 | | h: g2, [INFO] [stdout] 36 | | beta_h, [INFO] [stdout] 37 | | prepared_h: P::G2PairngRepr::from(g2), [INFO] [stdout] 38 | | prepared_beta_h: P::G2PairngRepr::from(beta_h), [INFO] [stdout] 39 | | }, [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 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `evaluate` is never used [INFO] [stdout] --> src/groth16/matrix.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Evaluable { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 17 | fn evaluate(&self, instance: &[Element], witness: &[Element]) -> R; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Prover` is never used [INFO] [stdout] --> src/prover.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Prover { [INFO] [stdout] | ^^^^^^ [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/groth16/key.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 162 | let pvk = params.vk.prepare(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | [INFO] [stdout] 164 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 165 | | Prover:: { [INFO] [stdout] 166 | | params, [INFO] [stdout] 167 | | _mark: PhantomData, [INFO] [stdout] 168 | | }, [INFO] [stdout] 169 | | Verifier::

{ vk: pvk }, [INFO] [stdout] 170 | | )) [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/plonk/params.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 19 | fn setup(k: u64, r: impl RngCore) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | evaluation_key: EvaluationKey { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 34 | | g: g1[0], [INFO] [stdout] 35 | | h: g2, [INFO] [stdout] 36 | | beta_h, [INFO] [stdout] 37 | | prepared_h: P::G2PairngRepr::from(g2), [INFO] [stdout] 38 | | prepared_beta_h: P::G2PairngRepr::from(beta_h), [INFO] [stdout] 39 | | }, [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] [stderr] error: could not compile `zksnarks` (lib) due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zksnarks` (lib test) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b1db7fa4783d7c1e100dae5093e59393b3d7a193c97c6349d7a0cd1ec067c13a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1db7fa4783d7c1e100dae5093e59393b3d7a193c97c6349d7a0cd1ec067c13a", kill_on_drop: false }` [INFO] [stdout] b1db7fa4783d7c1e100dae5093e59393b3d7a193c97c6349d7a0cd1ec067c13a