[INFO] fetching crate paillier-zk 0.4.2... [INFO] checking paillier-zk-0.4.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate paillier-zk 0.4.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate paillier-zk 0.4.2 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate paillier-zk 0.4.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate paillier-zk 0.4.2 [INFO] tweaked toml for crates.io crate paillier-zk 0.4.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate paillier-zk 0.4.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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9a12ceda5f4fc10d3e7b44f5d52aed331b36e3e99dbafec5cb24d76d4818054 [INFO] running `Command { std: "docker" "start" "-a" "f9a12ceda5f4fc10d3e7b44f5d52aed331b36e3e99dbafec5cb24d76d4818054", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9a12ceda5f4fc10d3e7b44f5d52aed331b36e3e99dbafec5cb24d76d4818054", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9a12ceda5f4fc10d3e7b44f5d52aed331b36e3e99dbafec5cb24d76d4818054", kill_on_drop: false }` [INFO] [stdout] f9a12ceda5f4fc10d3e7b44f5d52aed331b36e3e99dbafec5cb24d76d4818054 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80e46fa5f078d66a51843558d22c0dd1b5381d64c78afdcc58be096d4acaac4d [INFO] running `Command { std: "docker" "start" "-a" "80e46fa5f078d66a51843558d22c0dd1b5381d64c78afdcc58be096d4acaac4d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking const-oid v0.9.2 [INFO] [stderr] Compiling semver v1.0.14 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.160 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling serde v1.0.160 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling platforms v3.3.0 [INFO] [stderr] Compiling gmp-mpfr-sys v1.6.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling rug v1.21.0 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_dev v0.1.1 [INFO] [stderr] Compiling addchain v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling udigest-derive v0.3.0 [INFO] [stderr] Compiling bytemuck_derive v1.4.1 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling darling_core v0.14.2 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling ff_derive v0.13.0 [INFO] [stderr] Compiling enum-ordinalize v3.1.12 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling educe v0.4.20 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking sec1 v0.7.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling darling_macro v0.14.2 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking udigest v0.2.1 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling darling v0.14.2 [INFO] [stderr] Compiling serde_with_macros v2.0.1 [INFO] [stderr] Checking rand_hash v0.1.0 [INFO] [stderr] Checking phantom-type v0.4.2 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking k256 v0.13.3 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking stark-curve v0.1.1 [INFO] [stderr] Checking generic-ec-core v0.2.0 [INFO] [stderr] Checking serde_with v2.0.1 [INFO] [stderr] Checking generic-ec-curves v0.2.1 [INFO] [stderr] Checking generic-ec v0.4.0 [INFO] [stderr] Checking fast-paillier v0.1.0 [INFO] [stderr] Checking paillier-zk v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `rug::Integer` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/common.rs:435:17 [INFO] [stdout] | [INFO] [stdout] 401 | let mut aux = super::test::aux(&mut rng); [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 410 | let x_max = (Integer::ONE.clone() << x_bits) - 1; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 411 | let y_max = (Integer::ONE.clone() << y_bits) - 1; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 412 | let actual = aux.combine(&x_max, &y_max).unwrap(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 413 | let expected = aux [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 420 | let x_min = -x_max.clone(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 421 | let y_min = -y_max.clone(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 422 | let actual = aux.combine(&x_min, &y_min).unwrap(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 423 | let expected = aux [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 430 | let mut rng = fast_paillier::utils::external_rand(&mut rng); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 435 | let x = if rng.bits(1) == 1 { x } else { -x }; [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: this value of type `rug::Integer` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/multiexp.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 199 | let N = Integer::from(100000); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | let s = Integer::from(3); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | let t = Integer::from(7); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | let table = MultiexpTable::build(&s, &t, x_bits, y_bits, N.clone()).unwrap(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | [INFO] [stdout] 208 | let mut rng = rug::rand::RandState::new_mersenne_twister(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 211 | let mut x = Integer::from(Integer::random_bits(x_bits, &mut rng)); [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `paillier-zk` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "80e46fa5f078d66a51843558d22c0dd1b5381d64c78afdcc58be096d4acaac4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80e46fa5f078d66a51843558d22c0dd1b5381d64c78afdcc58be096d4acaac4d", kill_on_drop: false }` [INFO] [stdout] 80e46fa5f078d66a51843558d22c0dd1b5381d64c78afdcc58be096d4acaac4d