[INFO] cloning repository https://github.com/KogarashiNetwork/zksnarks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KogarashiNetwork/zksnarks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKogarashiNetwork%2Fzksnarks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKogarashiNetwork%2Fzksnarks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f17e9fe667ccf73ab2988d669b48dc7f7344af3 [INFO] checking KogarashiNetwork/zksnarks/3f17e9fe667ccf73ab2988d669b48dc7f7344af3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKogarashiNetwork%2Fzksnarks" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KogarashiNetwork/zksnarks 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 git repo https://github.com/KogarashiNetwork/zksnarks [INFO] finished tweaking git repo https://github.com/KogarashiNetwork/zksnarks [INFO] tweaked toml for git repo https://github.com/KogarashiNetwork/zksnarks written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KogarashiNetwork/zksnarks 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] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Downgrading zksnarks v0.1.0 (/workspace/builds/worker-0-tc2/source) -> v0.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] a636a4c358ae7158c5a11908a1b0b7872999eebcad09a59e9754c0d2584efcf8 [INFO] running `Command { std: "docker" "start" "-a" "a636a4c358ae7158c5a11908a1b0b7872999eebcad09a59e9754c0d2584efcf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a636a4c358ae7158c5a11908a1b0b7872999eebcad09a59e9754c0d2584efcf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a636a4c358ae7158c5a11908a1b0b7872999eebcad09a59e9754c0d2584efcf8", kill_on_drop: false }` [INFO] [stdout] a636a4c358ae7158c5a11908a1b0b7872999eebcad09a59e9754c0d2584efcf8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] c45b600a838056fa982b77345eb33fde8fee2ed83aee3620dc5e826d83ff0660 [INFO] running `Command { std: "docker" "start" "-a" "c45b600a838056fa982b77345eb33fde8fee2ed83aee3620dc5e826d83ff0660", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling winnow v0.5.19 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking sp-std v3.0.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking zeroize v1.6.0 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [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] [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] 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] [stderr] error: could not compile `zksnarks` (lib test) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c45b600a838056fa982b77345eb33fde8fee2ed83aee3620dc5e826d83ff0660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c45b600a838056fa982b77345eb33fde8fee2ed83aee3620dc5e826d83ff0660", kill_on_drop: false }` [INFO] [stdout] c45b600a838056fa982b77345eb33fde8fee2ed83aee3620dc5e826d83ff0660