[INFO] fetching crate zshuffle 0.1.2... [INFO] checking zshuffle-0.1.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate zshuffle 0.1.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate zshuffle 0.1.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 zshuffle 0.1.2 [INFO] finished tweaking crates.io crate zshuffle 0.1.2 [INFO] tweaked toml for crates.io crate zshuffle 0.1.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate zshuffle 0.1.2 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 4f8df347af6b05898c2733d96af3b4aa73429ec1fa1b6572152869cc0f3f9a61 [INFO] running `Command { std: "docker" "start" "-a" "4f8df347af6b05898c2733d96af3b4aa73429ec1fa1b6572152869cc0f3f9a61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f8df347af6b05898c2733d96af3b4aa73429ec1fa1b6572152869cc0f3f9a61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f8df347af6b05898c2733d96af3b4aa73429ec1fa1b6572152869cc0f3f9a61", kill_on_drop: false }` [INFO] [stdout] 4f8df347af6b05898c2733d96af3b4aa73429ec1fa1b6572152869cc0f3f9a61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] fbd45658038781ba96f9aa2abbdae5314edaf93b4ce599805d0cafba8cb56a46 [INFO] running `Command { std: "docker" "start" "-a" "fbd45658038781ba96f9aa2abbdae5314edaf93b4ce599805d0cafba8cb56a46", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking ark-std-zypher v0.4.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling ark-serialize-derive-zypher v0.4.2 [INFO] [stderr] Compiling ark-ff-macros-zypher v0.4.2 [INFO] [stderr] Compiling ark-ff-asm-zypher v0.4.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling ark-crypto-primitives-macros-zypher v0.4.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking ark-serialize-zypher v0.4.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ark-ff-zypher v0.4.2 [INFO] [stderr] Checking serde v1.0.199 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ark-poly-zypher v0.4.2 [INFO] [stderr] Checking ark-relations-zypher v0.4.0 [INFO] [stderr] Checking ark-snark-zypher v0.4.0 [INFO] [stderr] Checking ark-ec-zypher v0.4.2 [INFO] [stderr] Checking ark-r1cs-std-zypher v0.4.0 [INFO] [stderr] Checking ark-bn254-zypher v0.4.0 [INFO] [stderr] Checking ark-crypto-primitives-zypher v0.4.0 [INFO] [stderr] Checking ark-groth16-zypher v0.4.0 [INFO] [stderr] Checking ark-ed-on-bn254-zypher v0.4.0 [INFO] [stderr] Checking uzkge v0.1.2 [INFO] [stderr] Checking zshuffle v0.1.2 (/opt/rustwide/workdir) [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/reveal_with_snark.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 50 | cs: impl Into>>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | f: impl FnOnce() -> Result, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | f().and_then(|val| { [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/reveal_with_snark.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 50 | cs: impl Into>>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | f: impl FnOnce() -> Result, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | f().and_then(|val| { [INFO] [stdout] | ______________________^ [INFO] [stdout] 55 | | let cs = cs.into(); [INFO] [stdout] 56 | | let g = GC::new_variable(cs.clone(), || Ok(val.borrow().g), AllocationMode::Constant)?; [INFO] [stdout] 57 | | let h = GC::new_variable(cs.clone(), || Ok(val.borrow().h), AllocationMode::Input)?; [INFO] [stdout] ... | [INFO] [stdout] 79 | | }) [INFO] [stdout] 80 | | }) [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/reveal_with_snark.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 50 | cs: impl Into>>, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | f().and_then(|val| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let cs = cs.into(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | let g = GC::new_variable(cs.clone(), || Ok(val.borrow().g), AllocationMode::Constant)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let h = GC::new_variable(cs.clone(), || Ok(val.borrow().h), AllocationMode::Input)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | let reveal = GC::new_variable( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let pk = GC::new_variable(cs.clone(), || Ok(val.borrow().pk), AllocationMode::Input)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | let sk: Vec>> = AllocVar::new_variable( [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Ok(Self { [INFO] [stdout] | ________________^ [INFO] [stdout] 73 | | g, [INFO] [stdout] 74 | | h, [INFO] [stdout] 75 | | reveal, [INFO] [stdout] ... | [INFO] [stdout] 78 | | _curve: PhantomData, [INFO] [stdout] 79 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zshuffle` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/reveal_with_snark.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 50 | cs: impl Into>>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | f: impl FnOnce() -> Result, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | f().and_then(|val| { [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/reveal_with_snark.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 50 | cs: impl Into>>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | f: impl FnOnce() -> Result, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | f().and_then(|val| { [INFO] [stdout] | ______________________^ [INFO] [stdout] 55 | | let cs = cs.into(); [INFO] [stdout] 56 | | let g = GC::new_variable(cs.clone(), || Ok(val.borrow().g), AllocationMode::Constant)?; [INFO] [stdout] 57 | | let h = GC::new_variable(cs.clone(), || Ok(val.borrow().h), AllocationMode::Input)?; [INFO] [stdout] ... | [INFO] [stdout] 79 | | }) [INFO] [stdout] 80 | | }) [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/reveal_with_snark.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 50 | cs: impl Into>>, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | f().and_then(|val| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let cs = cs.into(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | let g = GC::new_variable(cs.clone(), || Ok(val.borrow().g), AllocationMode::Constant)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let h = GC::new_variable(cs.clone(), || Ok(val.borrow().h), AllocationMode::Input)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | let reveal = GC::new_variable( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let pk = GC::new_variable(cs.clone(), || Ok(val.borrow().pk), AllocationMode::Input)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | let sk: Vec>> = AllocVar::new_variable( [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Ok(Self { [INFO] [stdout] | ________________^ [INFO] [stdout] 73 | | g, [INFO] [stdout] 74 | | h, [INFO] [stdout] 75 | | reveal, [INFO] [stdout] ... | [INFO] [stdout] 78 | | _curve: PhantomData, [INFO] [stdout] 79 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zshuffle` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "fbd45658038781ba96f9aa2abbdae5314edaf93b4ce599805d0cafba8cb56a46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbd45658038781ba96f9aa2abbdae5314edaf93b4ce599805d0cafba8cb56a46", kill_on_drop: false }` [INFO] [stdout] fbd45658038781ba96f9aa2abbdae5314edaf93b4ce599805d0cafba8cb56a46