[INFO] fetching crate paillier-zk 0.4.1... [INFO] checking paillier-zk-0.4.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate paillier-zk 0.4.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate paillier-zk 0.4.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 paillier-zk 0.4.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate paillier-zk 0.4.1 [INFO] tweaked toml for crates.io crate paillier-zk 0.4.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate paillier-zk 0.4.1 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 2e3517837539f3c0e850f297aac94af2b5358de941a57a75b12fc3e817a27feb [INFO] running `Command { std: "docker" "start" "-a" "2e3517837539f3c0e850f297aac94af2b5358de941a57a75b12fc3e817a27feb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e3517837539f3c0e850f297aac94af2b5358de941a57a75b12fc3e817a27feb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e3517837539f3c0e850f297aac94af2b5358de941a57a75b12fc3e817a27feb", kill_on_drop: false }` [INFO] [stdout] 2e3517837539f3c0e850f297aac94af2b5358de941a57a75b12fc3e817a27feb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0e303374b1a992b62b57341ffc6ac3c54ac03018fec47a56b9b727f1f5301138 [INFO] running `Command { std: "docker" "start" "-a" "0e303374b1a992b62b57341ffc6ac3c54ac03018fec47a56b9b727f1f5301138", 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 libc v0.2.153 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking const-oid v0.9.2 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling semver v1.0.14 [INFO] [stderr] Compiling serde_derive v1.0.160 [INFO] [stderr] Compiling serde v1.0.160 [INFO] [stderr] Compiling gmp-mpfr-sys v1.6.0 [INFO] [stderr] Compiling platforms v3.3.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling rug v1.21.0 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking ryu v1.0.15 [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] Checking itoa v1.0.9 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Compiling syn v2.0.52 [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] Checking zeroize v1.7.0 [INFO] [stderr] Compiling educe v0.4.20 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Compiling darling_macro v0.14.2 [INFO] [stderr] Compiling darling v0.14.2 [INFO] [stderr] Compiling serde_with_macros v2.0.1 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking sec1 v0.7.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking udigest v0.2.1 [INFO] [stderr] Checking phantom-type v0.4.2 [INFO] [stderr] Checking rand_hash v0.1.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking generic-ec-core v0.2.0 [INFO] [stderr] Checking serde_with v2.0.1 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking k256 v0.13.3 [INFO] [stderr] Checking stark-curve v0.1.1 [INFO] [stderr] Checking p256 v0.13.2 [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.1 (/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/common.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 178 | let l_to_le: Integer = l [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | let r_to_re: Integer = r [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 186 | Ok((l_to_le * r_to_re).modulo(self)) [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] | [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/common.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 206 | let mut rng = fast_paillier::utils::external_rand(rng); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | let range_twice = range.clone() << 1u32; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | range_twice.random_below(&mut rng) - range [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/common/sqrt.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | let e = ((p - 1u8).complete() * (q - 1u8).complete() + 4) / 8; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | / x.pow_mod_ref(&e, n) [INFO] [stdout] 20 | | .expect("e guaranteed to be non-negative") [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/group_element_vs_paillier_encryption_in_range.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 209 | mut rng: R, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 210 | ) -> Result<(Commitment, PrivateCommitment), Error> { [INFO] [stdout] 211 | let two_to_l_e = (Integer::ONE << (security.l + security.epsilon)).complete(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | let hat_n_at_two_to_l = &aux.rsa_modulo * (Integer::ONE << security.l).complete(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 213 | let hat_n_at_two_to_l_e = (&aux.rsa_modulo * &two_to_l_e).complete(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 214 | [INFO] [stdout] 215 | let alpha = Integer::from_rng_pm(&two_to_l_e, &mut rng); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 216 | let mu = Integer::from_rng_pm(&hat_n_at_two_to_l, &mut rng); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 217 | let r = Integer::gen_invertible(data.key0.n(), &mut rng); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | let gamma = Integer::from_rng_pm(&hat_n_at_two_to_l_e, &mut rng); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | [INFO] [stdout] 220 | let commitment = Commitment { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | let private_commitment = PrivateCommitment { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 232 | Ok((commitment, private_commitment)) [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] | [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/group_element_vs_paillier_encryption_in_range.rs:335:12 [INFO] [stdout] | [INFO] [stdout] 332 | let (comm, pcomm) = super::interactive::commit(aux, data, pdata, security, rng)?; [INFO] [stdout] | ---- ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 333 | let challenge = challenge::(shared_state, aux, data, &comm, security); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 334 | let proof = super::interactive::prove(data, pdata, &pcomm, &challenge)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 335 | Ok((comm, proof)) [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] | [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/multiexp.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn build(s: &Integer, t: &Integer, x_bits: u32, y_bits: u32, N: Integer) -> Option { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | let mut s_table = Vec::with_capacity(k_x.try_into().ok()?); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let mut t_table = Vec::with_capacity(k_y.try_into().ok()?); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let ell_x = -(Integer::ONE.clone() << (k_x * 8)) + 1; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let s_to_ell_x = s.pow_mod_ref(&ell_x, &N)?.into(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | // smallest negative value possible for `y` [INFO] [stdout] 57 | let ell_y = -(Integer::ONE.clone() << (k_y * 8)) + 1; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | let t_to_ell_y = t.pow_mod_ref(&ell_y, &N)?.into(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | [INFO] [stdout] 60 | Some(Self { [INFO] [stdout] | ______________^ [INFO] [stdout] 61 | | s: s_table, [INFO] [stdout] 62 | | ell_x, [INFO] [stdout] 63 | | s_to_ell_x, [INFO] [stdout] ... | [INFO] [stdout] 67 | | N, [INFO] [stdout] 68 | | }) [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] | [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/no_small_factor.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 188 | mut rng: R, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | ) -> Result<(Commitment, PrivateCommitment), Error> { [INFO] [stdout] 190 | let two_to_l = (Integer::ONE << security.l).complete(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 191 | let two_to_l_plus_e = (Integer::ONE << (security.l + security.epsilon)).complete(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | let n_root_modulo = (&two_to_l_plus_e * data.n_root).complete(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | let l_n_circ_modulo = (&two_to_l * &aux.rsa_modulo).complete(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 194 | let l_e_n_circ_modulo = (&two_to_l_plus_e * &aux.rsa_modulo).complete(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 195 | let n_n_circ = (&aux.rsa_modulo * data.n).complete(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | [INFO] [stdout] 197 | let alpha = Integer::from_rng_pm(&n_root_modulo, &mut rng); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | let beta = Integer::from_rng_pm(&n_root_modulo, &mut rng); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | let mu = Integer::from_rng_pm(&l_n_circ_modulo, &mut rng); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | let nu = Integer::from_rng_pm(&l_n_circ_modulo, &mut rng); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | let sigma = Integer::from_rng_pm(&(&two_to_l * &n_n_circ).complete(), &mut rng); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 202 | let r = Integer::from_rng_pm(&(&two_to_l_plus_e * &n_n_circ).complete(), &mut rng); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | let x = Integer::from_rng_pm(&l_e_n_circ_modulo, &mut rng); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 204 | let y = Integer::from_rng_pm(&l_e_n_circ_modulo, &mut rng); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 205 | [INFO] [stdout] 206 | let p = aux.combine(pdata.p, &mu)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | let q = aux.combine(pdata.q, &nu)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | let a = aux.combine(&alpha, &x)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | let b = aux.combine(&beta, &y)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 210 | let t = aux.rsa_modulo.combine(&q, &alpha, &aux.t, &r)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 211 | [INFO] [stdout] 212 | let commitment = Commitment { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | let private_commitment = PrivateCommitment { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 229 | Ok((commitment, private_commitment)) [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] = 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/no_small_factor.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 246 | let sigma_circ = (&comm.sigma - &pcomm.nu * pdata.p).complete(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | [INFO] [stdout] 248 | Ok(Proof { [INFO] [stdout] | ____________^ [INFO] [stdout] 249 | | z1: (&pcomm.alpha + challenge * pdata.p).complete(), [INFO] [stdout] 250 | | z2: (&pcomm.beta + challenge * pdata.q).complete(), [INFO] [stdout] 251 | | w1: (&pcomm.x + challenge * &pcomm.mu).complete(), [INFO] [stdout] 252 | | w2: (&pcomm.y + challenge * &pcomm.nu).complete(), [INFO] [stdout] 253 | | v: &pcomm.r + challenge * sigma_circ, [INFO] [stdout] 254 | | }) [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/no_small_factor.rs:332:12 [INFO] [stdout] | [INFO] [stdout] 329 | let (commitment, pcomm) = super::interactive::commit(aux, data, pdata, security, rng)?; [INFO] [stdout] | ---------- ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 330 | let challenge = challenge::(shared_state, aux, data, &commitment, security); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 331 | let proof = super::interactive::prove(pdata, &commitment, &pcomm, &challenge)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 332 | Ok(Proof { commitment, proof }) [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] | [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/paillier_affine_operation_in_range.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 289 | mut rng: R, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | ) -> Result<(Commitment, PrivateCommitment), Error> { [INFO] [stdout] 291 | let two_to_l = (Integer::ONE << security.l_x).complete(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | let two_to_l_e = (Integer::ONE << (security.l_x + security.epsilon)).complete(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 293 | let two_to_l_prime_e = (Integer::ONE << (security.l_y + security.epsilon)).complete(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 294 | let hat_n_at_two_to_l_e = (&aux.rsa_modulo * &two_to_l_e).complete(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 295 | let hat_n_at_two_to_l = (&aux.rsa_modulo * &two_to_l).complete(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 296 | [INFO] [stdout] 297 | let alpha = Integer::from_rng_pm(&two_to_l_e, &mut rng); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 298 | let beta = Integer::from_rng_pm(&two_to_l_prime_e, &mut rng); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 299 | let r = Integer::gen_invertible(data.key0.n(), &mut rng); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 300 | let r_y = Integer::gen_invertible(data.key1.n(), &mut rng); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 301 | let gamma = Integer::from_rng_pm(&hat_n_at_two_to_l_e, &mut rng); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 302 | let delta = Integer::from_rng_pm(&hat_n_at_two_to_l_e, &mut rng); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 303 | let m = Integer::from_rng_pm(&hat_n_at_two_to_l, &mut rng); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 304 | let mu = Integer::from_rng_pm(&hat_n_at_two_to_l, &mut rng); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 305 | [INFO] [stdout] 306 | let beta_enc_key0 = data.key0.encrypt_with(&beta, &r)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 307 | let alpha_at_c = data.key0.omul(&alpha, data.c)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 308 | let a = data.key0.oadd(&alpha_at_c, &beta_enc_key0)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 309 | [INFO] [stdout] 310 | let commitment = Commitment { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 319 | let private_commitment = PrivateCommitment { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 329 | Ok((commitment, private_commitment)) [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] | 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] = 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/paillier_affine_operation_in_range.rs:472:12 [INFO] [stdout] | [INFO] [stdout] 469 | let (comm, pcomm) = super::interactive::commit(aux, data, pdata, security, rng)?; [INFO] [stdout] | ---- ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 470 | let challenge = challenge::(shared_state, aux, data, &comm, security); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 471 | let proof = super::interactive::prove(data, pdata, &pcomm, &challenge)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 472 | Ok((comm, proof)) [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] | [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/paillier_blum_modulus.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 146 | let phi = (p - 1u8).complete() * (q - 1u8).complete(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | let n_inverse = n.invert_ref(&phi).ok_or(ErrorReason::Invert)?.into(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | let points = challenge [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | Ok(Proof { points }) [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] | [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/paillier_blum_modulus.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 154 | let z = y [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 158 | let (a, b, y_) = find_residue(y, w, p, q, n).ok_or(ErrorReason::FindResidue)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | let x = blum_sqrt(blum_sqrt(y_)); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | Ok(ProofPoint { x, a, b, z }) [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] | [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/paillier_blum_modulus.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 246 | let commitment = super::interactive::commit(data, rng); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | let challenge = challenge::(shared_state, data, &commitment); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 248 | let proof = super::interactive::prove(data, pdata, &commitment, &challenge)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 249 | Ok((commitment, proof)) [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/paillier_encryption_in_range.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 196 | let two_to_l_plus_e = (Integer::ONE << (security.l + security.epsilon)).complete(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | let hat_n_at_two_to_l = (Integer::ONE << security.l).complete() * &aux.rsa_modulo; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | let hat_n_at_two_to_l_plus_e = [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | let alpha = Integer::from_rng_pm(&two_to_l_plus_e, rng); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 202 | let mu = Integer::from_rng_pm(&hat_n_at_two_to_l, rng); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | let r = Integer::gen_invertible(data.key.n(), rng); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 204 | let gamma = Integer::from_rng_pm(&hat_n_at_two_to_l_plus_e, rng); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 205 | [INFO] [stdout] 206 | let s = aux.combine(pdata.plaintext, &mu)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | let a = data.key.encrypt_with(&alpha, &r)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | let c = aux.combine(&alpha, &gamma)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | [INFO] [stdout] 210 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 211 | | Commitment { s, a, c }, [INFO] [stdout] 212 | | PrivateCommitment { [INFO] [stdout] 213 | | alpha, [INFO] [stdout] ... | [INFO] [stdout] 217 | | }, [INFO] [stdout] 218 | | )) [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] | [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/paillier_encryption_in_range.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 228 | let z1 = (&private_commitment.alpha + (challenge * pdata.plaintext)).complete(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | let nonce_to_challenge_mod_n: Integer = pdata [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 234 | let z2 = (&private_commitment.r * nonce_to_challenge_mod_n).modulo(data.key.n()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | let z3 = (&private_commitment.gamma + (challenge * &private_commitment.mu)).complete(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 236 | Ok(Proof { z1, z2, z3 }) [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/paillier_encryption_in_range.rs:321:12 [INFO] [stdout] | [INFO] [stdout] 318 | let (comm, pcomm) = super::interactive::commit(aux, data, pdata, security, rng)?; [INFO] [stdout] | ---- ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 319 | let challenge = challenge::(shared_state, aux, data, &comm, security); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 320 | let proof = super::interactive::prove(data, pdata, &pcomm, &challenge)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | Ok((comm, proof)) [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] | [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 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `paillier-zk` (lib) due to 18 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/common.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 178 | let l_to_le: Integer = l [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | let r_to_re: Integer = r [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 186 | Ok((l_to_le * r_to_re).modulo(self)) [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] | [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/common.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 206 | let mut rng = fast_paillier::utils::external_rand(rng); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | let range_twice = range.clone() << 1u32; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | range_twice.random_below(&mut rng) - range [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/common/sqrt.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | let e = ((p - 1u8).complete() * (q - 1u8).complete() + 4) / 8; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | / x.pow_mod_ref(&e, n) [INFO] [stdout] 20 | | .expect("e guaranteed to be non-negative") [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/common.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 303 | let p = generate_blum_prime(rng, 1024); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 304 | let q = generate_blum_prime(rng, 1024); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 305 | fast_paillier::DecryptionKey::from_primes(p, q).ok() [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/common.rs:328:23 [INFO] [stdout] | [INFO] [stdout] 309 | let p = generate_blum_prime(rng, 1024); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 310 | let q = generate_blum_prime(rng, 1024); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 311 | let n = (&p * &q).complete(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 312 | [INFO] [stdout] 313 | let (s, t) = { [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 314 | let phi_n = (p.clone() - 1u8) * (q.clone() - 1u8); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 315 | let r = Integer::gen_invertible(&n, rng); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 316 | let lambda = phi_n.random_below(&mut fast_paillier::utils::external_rand(rng)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 317 | [INFO] [stdout] 318 | let t = r.square().modulo(&n); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 319 | let s = t.pow_mod_ref(&lambda, &n).unwrap().into(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 328 | multiexp: None, [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/common.rs:329:18 [INFO] [stdout] | [INFO] [stdout] 309 | let p = generate_blum_prime(rng, 1024); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 310 | let q = generate_blum_prime(rng, 1024); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 311 | let n = (&p * &q).complete(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 312 | [INFO] [stdout] 313 | let (s, t) = { [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 314 | let phi_n = (p.clone() - 1u8) * (q.clone() - 1u8); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 315 | let r = Integer::gen_invertible(&n, rng); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 316 | let lambda = phi_n.random_below(&mut fast_paillier::utils::external_rand(rng)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 317 | [INFO] [stdout] 318 | let t = r.square().modulo(&n); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 319 | let s = t.pow_mod_ref(&lambda, &n).unwrap().into(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 329 | crt: None, [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/group_element_vs_paillier_encryption_in_range.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 209 | mut rng: R, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 210 | ) -> Result<(Commitment, PrivateCommitment), Error> { [INFO] [stdout] 211 | let two_to_l_e = (Integer::ONE << (security.l + security.epsilon)).complete(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | let hat_n_at_two_to_l = &aux.rsa_modulo * (Integer::ONE << security.l).complete(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 213 | let hat_n_at_two_to_l_e = (&aux.rsa_modulo * &two_to_l_e).complete(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 214 | [INFO] [stdout] 215 | let alpha = Integer::from_rng_pm(&two_to_l_e, &mut rng); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 216 | let mu = Integer::from_rng_pm(&hat_n_at_two_to_l, &mut rng); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 217 | let r = Integer::gen_invertible(data.key0.n(), &mut rng); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | let gamma = Integer::from_rng_pm(&hat_n_at_two_to_l_e, &mut rng); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | [INFO] [stdout] 220 | let commitment = Commitment { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | let private_commitment = PrivateCommitment { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 232 | Ok((commitment, private_commitment)) [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] | [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/group_element_vs_paillier_encryption_in_range.rs:335:12 [INFO] [stdout] | [INFO] [stdout] 332 | let (comm, pcomm) = super::interactive::commit(aux, data, pdata, security, rng)?; [INFO] [stdout] | ---- ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 333 | let challenge = challenge::(shared_state, aux, data, &comm, security); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 334 | let proof = super::interactive::prove(data, pdata, &pcomm, &challenge)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 335 | Ok((comm, proof)) [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] | [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/multiexp.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn build(s: &Integer, t: &Integer, x_bits: u32, y_bits: u32, N: Integer) -> Option { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | let mut s_table = Vec::with_capacity(k_x.try_into().ok()?); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let mut t_table = Vec::with_capacity(k_y.try_into().ok()?); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let ell_x = -(Integer::ONE.clone() << (k_x * 8)) + 1; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let s_to_ell_x = s.pow_mod_ref(&ell_x, &N)?.into(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | // smallest negative value possible for `y` [INFO] [stdout] 57 | let ell_y = -(Integer::ONE.clone() << (k_y * 8)) + 1; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | let t_to_ell_y = t.pow_mod_ref(&ell_y, &N)?.into(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | [INFO] [stdout] 60 | Some(Self { [INFO] [stdout] | ______________^ [INFO] [stdout] 61 | | s: s_table, [INFO] [stdout] 62 | | ell_x, [INFO] [stdout] 63 | | s_to_ell_x, [INFO] [stdout] ... | [INFO] [stdout] 67 | | N, [INFO] [stdout] 68 | | }) [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] | [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/no_small_factor.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 188 | mut rng: R, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | ) -> Result<(Commitment, PrivateCommitment), Error> { [INFO] [stdout] 190 | let two_to_l = (Integer::ONE << security.l).complete(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 191 | let two_to_l_plus_e = (Integer::ONE << (security.l + security.epsilon)).complete(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | let n_root_modulo = (&two_to_l_plus_e * data.n_root).complete(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | let l_n_circ_modulo = (&two_to_l * &aux.rsa_modulo).complete(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 194 | let l_e_n_circ_modulo = (&two_to_l_plus_e * &aux.rsa_modulo).complete(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 195 | let n_n_circ = (&aux.rsa_modulo * data.n).complete(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | [INFO] [stdout] 197 | let alpha = Integer::from_rng_pm(&n_root_modulo, &mut rng); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | let beta = Integer::from_rng_pm(&n_root_modulo, &mut rng); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | let mu = Integer::from_rng_pm(&l_n_circ_modulo, &mut rng); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | let nu = Integer::from_rng_pm(&l_n_circ_modulo, &mut rng); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | let sigma = Integer::from_rng_pm(&(&two_to_l * &n_n_circ).complete(), &mut rng); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 202 | let r = Integer::from_rng_pm(&(&two_to_l_plus_e * &n_n_circ).complete(), &mut rng); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | let x = Integer::from_rng_pm(&l_e_n_circ_modulo, &mut rng); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 204 | let y = Integer::from_rng_pm(&l_e_n_circ_modulo, &mut rng); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 205 | [INFO] [stdout] 206 | let p = aux.combine(pdata.p, &mu)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | let q = aux.combine(pdata.q, &nu)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | let a = aux.combine(&alpha, &x)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | let b = aux.combine(&beta, &y)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 210 | let t = aux.rsa_modulo.combine(&q, &alpha, &aux.t, &r)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 211 | [INFO] [stdout] 212 | let commitment = Commitment { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | let private_commitment = PrivateCommitment { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 229 | Ok((commitment, private_commitment)) [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] = 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/no_small_factor.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 246 | let sigma_circ = (&comm.sigma - &pcomm.nu * pdata.p).complete(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | [INFO] [stdout] 248 | Ok(Proof { [INFO] [stdout] | ____________^ [INFO] [stdout] 249 | | z1: (&pcomm.alpha + challenge * pdata.p).complete(), [INFO] [stdout] 250 | | z2: (&pcomm.beta + challenge * pdata.q).complete(), [INFO] [stdout] 251 | | w1: (&pcomm.x + challenge * &pcomm.mu).complete(), [INFO] [stdout] 252 | | w2: (&pcomm.y + challenge * &pcomm.nu).complete(), [INFO] [stdout] 253 | | v: &pcomm.r + challenge * sigma_circ, [INFO] [stdout] 254 | | }) [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/no_small_factor.rs:332:12 [INFO] [stdout] | [INFO] [stdout] 329 | let (commitment, pcomm) = super::interactive::commit(aux, data, pdata, security, rng)?; [INFO] [stdout] | ---------- ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 330 | let challenge = challenge::(shared_state, aux, data, &commitment, security); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 331 | let proof = super::interactive::prove(pdata, &commitment, &pcomm, &challenge)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 332 | Ok(Proof { commitment, proof }) [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] | [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/paillier_affine_operation_in_range.rs:329:12 [INFO] [stdout] | [INFO] [stdout] 289 | mut rng: R, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 290 | ) -> Result<(Commitment, PrivateCommitment), Error> { [INFO] [stdout] 291 | let two_to_l = (Integer::ONE << security.l_x).complete(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | let two_to_l_e = (Integer::ONE << (security.l_x + security.epsilon)).complete(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 293 | let two_to_l_prime_e = (Integer::ONE << (security.l_y + security.epsilon)).complete(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 294 | let hat_n_at_two_to_l_e = (&aux.rsa_modulo * &two_to_l_e).complete(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 295 | let hat_n_at_two_to_l = (&aux.rsa_modulo * &two_to_l).complete(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 296 | [INFO] [stdout] 297 | let alpha = Integer::from_rng_pm(&two_to_l_e, &mut rng); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 298 | let beta = Integer::from_rng_pm(&two_to_l_prime_e, &mut rng); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 299 | let r = Integer::gen_invertible(data.key0.n(), &mut rng); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 300 | let r_y = Integer::gen_invertible(data.key1.n(), &mut rng); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 301 | let gamma = Integer::from_rng_pm(&hat_n_at_two_to_l_e, &mut rng); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 302 | let delta = Integer::from_rng_pm(&hat_n_at_two_to_l_e, &mut rng); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 303 | let m = Integer::from_rng_pm(&hat_n_at_two_to_l, &mut rng); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 304 | let mu = Integer::from_rng_pm(&hat_n_at_two_to_l, &mut rng); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 305 | [INFO] [stdout] 306 | let beta_enc_key0 = data.key0.encrypt_with(&beta, &r)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 307 | let alpha_at_c = data.key0.omul(&alpha, data.c)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 308 | let a = data.key0.oadd(&alpha_at_c, &beta_enc_key0)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 309 | [INFO] [stdout] 310 | let commitment = Commitment { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 319 | let private_commitment = PrivateCommitment { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 329 | Ok((commitment, private_commitment)) [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] | 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] = 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/paillier_affine_operation_in_range.rs:472:12 [INFO] [stdout] | [INFO] [stdout] 469 | let (comm, pcomm) = super::interactive::commit(aux, data, pdata, security, rng)?; [INFO] [stdout] | ---- ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 470 | let challenge = challenge::(shared_state, aux, data, &comm, security); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 471 | let proof = super::interactive::prove(data, pdata, &pcomm, &challenge)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 472 | Ok((comm, proof)) [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] | [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/paillier_blum_modulus.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 146 | let phi = (p - 1u8).complete() * (q - 1u8).complete(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | let n_inverse = n.invert_ref(&phi).ok_or(ErrorReason::Invert)?.into(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | let points = challenge [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | Ok(Proof { points }) [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] | [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/paillier_blum_modulus.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 154 | let z = y [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 158 | let (a, b, y_) = find_residue(y, w, p, q, n).ok_or(ErrorReason::FindResidue)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | let x = blum_sqrt(blum_sqrt(y_)); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | Ok(ProofPoint { x, a, b, z }) [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] | [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/paillier_blum_modulus.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 246 | let commitment = super::interactive::commit(data, rng); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | let challenge = challenge::(shared_state, data, &commitment); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 248 | let proof = super::interactive::prove(data, pdata, &commitment, &challenge)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 249 | Ok((commitment, proof)) [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/paillier_encryption_in_range.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 196 | let two_to_l_plus_e = (Integer::ONE << (security.l + security.epsilon)).complete(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | let hat_n_at_two_to_l = (Integer::ONE << security.l).complete() * &aux.rsa_modulo; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | let hat_n_at_two_to_l_plus_e = [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | let alpha = Integer::from_rng_pm(&two_to_l_plus_e, rng); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 202 | let mu = Integer::from_rng_pm(&hat_n_at_two_to_l, rng); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | let r = Integer::gen_invertible(data.key.n(), rng); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 204 | let gamma = Integer::from_rng_pm(&hat_n_at_two_to_l_plus_e, rng); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 205 | [INFO] [stdout] 206 | let s = aux.combine(pdata.plaintext, &mu)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | let a = data.key.encrypt_with(&alpha, &r)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | let c = aux.combine(&alpha, &gamma)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | [INFO] [stdout] 210 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 211 | | Commitment { s, a, c }, [INFO] [stdout] 212 | | PrivateCommitment { [INFO] [stdout] 213 | | alpha, [INFO] [stdout] ... | [INFO] [stdout] 217 | | }, [INFO] [stdout] 218 | | )) [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] | [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/paillier_encryption_in_range.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 228 | let z1 = (&private_commitment.alpha + (challenge * pdata.plaintext)).complete(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | let nonce_to_challenge_mod_n: Integer = pdata [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 234 | let z2 = (&private_commitment.r * nonce_to_challenge_mod_n).modulo(data.key.n()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | let z3 = (&private_commitment.gamma + (challenge * &private_commitment.mu)).complete(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 236 | Ok(Proof { z1, z2, z3 }) [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/paillier_encryption_in_range.rs:321:12 [INFO] [stdout] | [INFO] [stdout] 318 | let (comm, pcomm) = super::interactive::commit(aux, data, pdata, security, rng)?; [INFO] [stdout] | ---- ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 319 | let challenge = challenge::(shared_state, aux, data, &comm, security); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 320 | let proof = super::interactive::prove(data, pdata, &pcomm, &challenge)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | Ok((comm, proof)) [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] | [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 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `paillier-zk` (lib test) due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "0e303374b1a992b62b57341ffc6ac3c54ac03018fec47a56b9b727f1f5301138", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e303374b1a992b62b57341ffc6ac3c54ac03018fec47a56b9b727f1f5301138", kill_on_drop: false }` [INFO] [stdout] 0e303374b1a992b62b57341ffc6ac3c54ac03018fec47a56b9b727f1f5301138