[INFO] cloning repository https://github.com/xomexh/ECtF-Fresh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xomexh/ECtF-Fresh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxomexh%2FECtF-Fresh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxomexh%2FECtF-Fresh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3fcc0ad1508b709fbaef2b42ce273951c530be6d [INFO] checking xomexh/ECtF-Fresh against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxomexh%2FECtF-Fresh" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xomexh/ECtF-Fresh on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xomexh/ECtF-Fresh [INFO] finished tweaking git repo https://github.com/xomexh/ECtF-Fresh [INFO] tweaked toml for git repo https://github.com/xomexh/ECtF-Fresh written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xomexh/ECtF-Fresh 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-epoch v0.9.18 [INFO] [stderr] Downloaded autocfg v0.1.8 [INFO] [stderr] Downloaded zeroize_derive v1.4.2 [INFO] [stderr] Downloaded crossbeam-deque v0.8.5 [INFO] [stderr] Downloaded block-padding v0.2.1 [INFO] [stderr] Downloaded crypto-mac v0.11.1 [INFO] [stderr] Downloaded base16ct v0.1.1 [INFO] [stderr] Downloaded hmac v0.11.0 [INFO] [stderr] Downloaded ecdsa v0.14.8 [INFO] [stderr] Downloaded rust-gmp-kzen v0.5.1 [INFO] [stderr] Downloaded thiserror v1.0.58 [INFO] [stderr] Downloaded crypto-bigint v0.4.9 [INFO] [stderr] Downloaded der v0.6.1 [INFO] [stderr] Downloaded cc v1.0.90 [INFO] [stderr] Downloaded cryptoxide v0.1.3 [INFO] [stderr] Downloaded elliptic-curve v0.12.3 [INFO] [stderr] Downloaded p256 v0.11.1 [INFO] [stderr] Downloaded rayon v1.9.0 [INFO] [stderr] Downloaded syn v2.0.52 [INFO] [stderr] Downloaded secp256k1 v0.20.3 [INFO] [stderr] Downloaded rayon-core v1.12.1 [INFO] [stderr] Downloaded pkcs8 v0.9.0 [INFO] [stderr] Downloaded merkle-cbt v0.3.2 [INFO] [stderr] Downloaded secp256k1-sys v0.4.2 [INFO] [stderr] Downloaded signature v1.6.4 [INFO] [stderr] Downloaded ff v0.12.1 [INFO] [stderr] Downloaded curv-kzen v0.10.0 [INFO] [stderr] Downloaded group v0.12.1 [INFO] [stderr] Downloaded ff_derive-zeroize v0.6.2 [INFO] [stderr] Downloaded rand_xorshift v0.2.0 [INFO] [stderr] Downloaded generic-array v0.12.4 [INFO] [stderr] Downloaded kzen-paillier v0.4.3 [INFO] [stderr] Downloaded spki v0.6.0 [INFO] [stderr] Downloaded sha2 v0.9.9 [INFO] [stderr] Downloaded rfc6979 v0.3.1 [INFO] [stderr] Downloaded sec1 v0.3.0 [INFO] [stderr] Downloaded curve25519-dalek v3.2.0 [INFO] [stderr] Downloaded pairing-plus v0.19.0 [INFO] [stderr] Downloaded sha3 v0.9.1 [INFO] [stderr] Downloaded subtle v2.4.1 [INFO] [stderr] Downloaded ff-zeroize v0.6.3 [INFO] [stderr] Downloaded serde_bytes v0.11.14 [INFO] [stderr] Downloaded keccak v0.1.5 [INFO] [stderr] Downloaded thiserror-impl v1.0.58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f474fbd02531fe0966d596c7fabb2760a1fa4aa0298af3d5c96dc4c0ca702ce7 [INFO] running `Command { std: "docker" "start" "-a" "f474fbd02531fe0966d596c7fabb2760a1fa4aa0298af3d5c96dc4c0ca702ce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f474fbd02531fe0966d596c7fabb2760a1fa4aa0298af3d5c96dc4c0ca702ce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f474fbd02531fe0966d596c7fabb2760a1fa4aa0298af3d5c96dc4c0ca702ce7", kill_on_drop: false }` [INFO] [stdout] f474fbd02531fe0966d596c7fabb2760a1fa4aa0298af3d5c96dc4c0ca702ce7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e10d7e2e60ef45513b11bf0aeddde3d22e202844a623b18d36db9ff6fa301a4b [INFO] running `Command { std: "docker" "start" "-a" "e10d7e2e60ef45513b11bf0aeddde3d22e202844a623b18d36db9ff6fa301a4b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking merkle-cbt v0.3.2 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking cryptoxide v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling ff_derive-zeroize v0.6.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking ff-zeroize v0.6.3 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking pairing-plus v0.19.0 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Checking p256 v0.11.1 [INFO] [stderr] Checking secp256k1 v0.20.3 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking rust-gmp-kzen v0.5.1 [INFO] [stderr] Checking curv-kzen v0.10.0 [INFO] [stderr] Checking kzen-paillier v0.4.3 [INFO] [stderr] Checking ectf_fresh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `x_sum` is never read [INFO] [stdout] --> src/main-bkp.rs:374:9 [INFO] [stdout] | [INFO] [stdout] 374 | x_sum = zp_n.clone() - (x_sum.abs() - zp_n.clone()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x_sum` is never read [INFO] [stdout] --> src/main-bkp.rs:374:9 [INFO] [stdout] | [INFO] [stdout] 374 | x_sum = zp_n.clone() - (x_sum.abs() - zp_n.clone()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mta_4` is never used [INFO] [stdout] --> src/main-bkp.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn mta_4( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mta_4` is never used [INFO] [stdout] --> src/main-bkp.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn mta_4( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.07s [INFO] running `Command { std: "docker" "inspect" "e10d7e2e60ef45513b11bf0aeddde3d22e202844a623b18d36db9ff6fa301a4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e10d7e2e60ef45513b11bf0aeddde3d22e202844a623b18d36db9ff6fa301a4b", kill_on_drop: false }` [INFO] [stdout] e10d7e2e60ef45513b11bf0aeddde3d22e202844a623b18d36db9ff6fa301a4b [INFO] checking xomexh/ECtF-Fresh against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxomexh%2FECtF-Fresh" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xomexh/ECtF-Fresh on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xomexh/ECtF-Fresh [INFO] finished tweaking git repo https://github.com/xomexh/ECtF-Fresh [INFO] tweaked toml for git repo https://github.com/xomexh/ECtF-Fresh written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/xomexh/ECtF-Fresh 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8625430b6b32914430d8d5ff5b71a463b47a6637ed8d98fa8bfa1f5f8adcd416 [INFO] running `Command { std: "docker" "start" "-a" "8625430b6b32914430d8d5ff5b71a463b47a6637ed8d98fa8bfa1f5f8adcd416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8625430b6b32914430d8d5ff5b71a463b47a6637ed8d98fa8bfa1f5f8adcd416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8625430b6b32914430d8d5ff5b71a463b47a6637ed8d98fa8bfa1f5f8adcd416", kill_on_drop: false }` [INFO] [stdout] 8625430b6b32914430d8d5ff5b71a463b47a6637ed8d98fa8bfa1f5f8adcd416 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8bfe2d9ea01267c5c96b16e82bb138238b0939525e2d19c1d13403fbf5a8892 [INFO] running `Command { std: "docker" "start" "-a" "b8bfe2d9ea01267c5c96b16e82bb138238b0939525e2d19c1d13403fbf5a8892", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking merkle-cbt v0.3.2 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking cryptoxide v0.1.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling ff_derive-zeroize v0.6.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking ff-zeroize v0.6.3 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking pairing-plus v0.19.0 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Checking p256 v0.11.1 [INFO] [stderr] Checking rust-gmp-kzen v0.5.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking secp256k1 v0.20.3 [INFO] [stderr] Checking curv-kzen v0.10.0 [INFO] [stderr] Checking kzen-paillier v0.4.3 [INFO] [stderr] Checking ectf_fresh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `x_sum` is never read [INFO] [stdout] --> src/main-bkp.rs:374:9 [INFO] [stdout] | [INFO] [stdout] 374 | x_sum = zp_n.clone() - (x_sum.abs() - zp_n.clone()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x_sum` is never read [INFO] [stdout] --> src/main-bkp.rs:374:9 [INFO] [stdout] | [INFO] [stdout] 374 | x_sum = zp_n.clone() - (x_sum.abs() - zp_n.clone()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mta_4` is never used [INFO] [stdout] --> src/main-bkp.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn mta_4( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mta_4` is never used [INFO] [stdout] --> src/main-bkp.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn mta_4( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/main-bkp.rs:136:6 [INFO] [stdout] | [INFO] [stdout] 82 | let (ek, dk) = Paillier::keypair().keys(); [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] ... [INFO] [stdout] 91 | let c_a = Paillier::encrypt(&ek, RawPlaintext::from(&a1.clone())); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | // 2. Alice computes CR1 = EncryptA(r1) [INFO] [stdout] 93 | let c_r1 = Paillier::encrypt(&ek, RawPlaintext::from(r1.clone())); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | let beta_prime = BigInt::sample_below(&zp); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | let r2_mul_c_alice = Paillier::mul(&ek, RawPlaintext::from(r2.clone()), c_a.clone()); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let a2_mul_c_r1 = Paillier::mul(&ek, RawPlaintext::from(a2.clone()), c_r1.clone()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | let enc_beta_prime = Paillier::encrypt(&ek, RawPlaintext::from(&beta_prime)); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | let c_bob = Paillier::add(&ek, r2_mul_c_alice.clone(), a2_mul_c_r1.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | let c_bob = Paillier::add(&ek, c_bob.clone(), enc_beta_prime.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | let mut delta_2 = (BigInt::zero() - &beta_prime); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | let dec_alice = Paillier::decrypt(&dk, &c_bob); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let mut delta_1 = BigInt::from(dec_alice); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | let left = (&delta_1 + &delta_2)%zp; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let mut right = ((a1*r2) + (a2*r1)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | (delta_1.into(), delta_2.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main-bkp.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 82 | let (ek, dk) = Paillier::keypair().keys(); [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] ... [INFO] [stdout] 91 | let c_a = Paillier::encrypt(&ek, RawPlaintext::from(&a1.clone())); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | // 2. Alice computes CR1 = EncryptA(r1) [INFO] [stdout] 93 | let c_r1 = Paillier::encrypt(&ek, RawPlaintext::from(r1.clone())); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | let beta_prime = BigInt::sample_below(&zp); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | let r2_mul_c_alice = Paillier::mul(&ek, RawPlaintext::from(r2.clone()), c_a.clone()); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let a2_mul_c_r1 = Paillier::mul(&ek, RawPlaintext::from(a2.clone()), c_r1.clone()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | let enc_beta_prime = Paillier::encrypt(&ek, RawPlaintext::from(&beta_prime)); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | let c_bob = Paillier::add(&ek, r2_mul_c_alice.clone(), a2_mul_c_r1.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | let c_bob = Paillier::add(&ek, c_bob.clone(), enc_beta_prime.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | let mut delta_2 = (BigInt::zero() - &beta_prime); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | let dec_alice = Paillier::decrypt(&dk, &c_bob); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let mut delta_1 = BigInt::from(dec_alice); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | let left = (&delta_1 + &delta_2)%zp; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let mut right = ((a1*r2) + (a2*r1)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | (delta_1.into(), delta_2.into()) [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/main-bkp.rs:136:6 [INFO] [stdout] | [INFO] [stdout] 82 | let (ek, dk) = Paillier::keypair().keys(); [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] ... [INFO] [stdout] 91 | let c_a = Paillier::encrypt(&ek, RawPlaintext::from(&a1.clone())); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | // 2. Alice computes CR1 = EncryptA(r1) [INFO] [stdout] 93 | let c_r1 = Paillier::encrypt(&ek, RawPlaintext::from(r1.clone())); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | let beta_prime = BigInt::sample_below(&zp); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | let r2_mul_c_alice = Paillier::mul(&ek, RawPlaintext::from(r2.clone()), c_a.clone()); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let a2_mul_c_r1 = Paillier::mul(&ek, RawPlaintext::from(a2.clone()), c_r1.clone()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | let enc_beta_prime = Paillier::encrypt(&ek, RawPlaintext::from(&beta_prime)); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | let c_bob = Paillier::add(&ek, r2_mul_c_alice.clone(), a2_mul_c_r1.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | let c_bob = Paillier::add(&ek, c_bob.clone(), enc_beta_prime.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | let mut delta_2 = (BigInt::zero() - &beta_prime); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | let dec_alice = Paillier::decrypt(&dk, &c_bob); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let mut delta_1 = BigInt::from(dec_alice); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | let left = (&delta_1 + &delta_2)%zp; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let mut right = ((a1*r2) + (a2*r1)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | (delta_1.into(), delta_2.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main-bkp.rs:206:6 [INFO] [stdout] | [INFO] [stdout] 150 | let (ek, dk) = Paillier::keypair().keys(); [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] ... [INFO] [stdout] 160 | let c_a = Paillier::encrypt(&ek, RawPlaintext::from(&a1.clone())); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | // 2. Alice computes CR1 = EncryptA(r1) [INFO] [stdout] 162 | let c_r1 = Paillier::encrypt(&ek, RawPlaintext::from(r1.clone())); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | let beta_prime = BigInt::sample_below(&zp); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | let r2_mul_c_alice = Paillier::mul(&ek, RawPlaintext::from(r2.clone()), c_a.clone()); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | let a2_mul_c_r1 = Paillier::mul(&ek, RawPlaintext::from(a2.clone()), c_r1.clone()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | let enc_beta_prime = Paillier::encrypt(&ek, RawPlaintext::from(&beta_prime)); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | let c_bob = Paillier::add(&ek, r2_mul_c_alice.clone(), a2_mul_c_r1.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | let c_bob = Paillier::add(&ek, c_bob.clone(), enc_beta_prime.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | let mut delta_2 = (BigInt::zero() - &beta_prime); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | let dec_alice = Paillier::decrypt(&dk, &c_bob); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | let mut delta_1 = BigInt::from(dec_alice); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | let left = (&delta_1 + &delta_2)%zp; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | let mut right = ((a1*r2) + (a2*r1)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | (delta_1.into(), delta_2.into()) [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/main-bkp.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 82 | let (ek, dk) = Paillier::keypair().keys(); [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] ... [INFO] [stdout] 91 | let c_a = Paillier::encrypt(&ek, RawPlaintext::from(&a1.clone())); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | // 2. Alice computes CR1 = EncryptA(r1) [INFO] [stdout] 93 | let c_r1 = Paillier::encrypt(&ek, RawPlaintext::from(r1.clone())); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | let beta_prime = BigInt::sample_below(&zp); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | let r2_mul_c_alice = Paillier::mul(&ek, RawPlaintext::from(r2.clone()), c_a.clone()); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let a2_mul_c_r1 = Paillier::mul(&ek, RawPlaintext::from(a2.clone()), c_r1.clone()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | let enc_beta_prime = Paillier::encrypt(&ek, RawPlaintext::from(&beta_prime)); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | let c_bob = Paillier::add(&ek, r2_mul_c_alice.clone(), a2_mul_c_r1.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | let c_bob = Paillier::add(&ek, c_bob.clone(), enc_beta_prime.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | let mut delta_2 = (BigInt::zero() - &beta_prime); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | let dec_alice = Paillier::decrypt(&dk, &c_bob); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let mut delta_1 = BigInt::from(dec_alice); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | let left = (&delta_1 + &delta_2)%zp; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let mut right = ((a1*r2) + (a2*r1)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | (delta_1.into(), delta_2.into()) [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/main-bkp.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 150 | let (ek, dk) = Paillier::keypair().keys(); [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] ... [INFO] [stdout] 160 | let c_a = Paillier::encrypt(&ek, RawPlaintext::from(&a1.clone())); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | // 2. Alice computes CR1 = EncryptA(r1) [INFO] [stdout] 162 | let c_r1 = Paillier::encrypt(&ek, RawPlaintext::from(r1.clone())); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | let beta_prime = BigInt::sample_below(&zp); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | let r2_mul_c_alice = Paillier::mul(&ek, RawPlaintext::from(r2.clone()), c_a.clone()); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | let a2_mul_c_r1 = Paillier::mul(&ek, RawPlaintext::from(a2.clone()), c_r1.clone()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | let enc_beta_prime = Paillier::encrypt(&ek, RawPlaintext::from(&beta_prime)); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | let c_bob = Paillier::add(&ek, r2_mul_c_alice.clone(), a2_mul_c_r1.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | let c_bob = Paillier::add(&ek, c_bob.clone(), enc_beta_prime.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | let mut delta_2 = (BigInt::zero() - &beta_prime); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | let dec_alice = Paillier::decrypt(&dk, &c_bob); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | let mut delta_1 = BigInt::from(dec_alice); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | let left = (&delta_1 + &delta_2)%zp; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | let mut right = ((a1*r2) + (a2*r1)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | (delta_1.into(), delta_2.into()) [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/main-bkp.rs:206:6 [INFO] [stdout] | [INFO] [stdout] 150 | let (ek, dk) = Paillier::keypair().keys(); [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] ... [INFO] [stdout] 160 | let c_a = Paillier::encrypt(&ek, RawPlaintext::from(&a1.clone())); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | // 2. Alice computes CR1 = EncryptA(r1) [INFO] [stdout] 162 | let c_r1 = Paillier::encrypt(&ek, RawPlaintext::from(r1.clone())); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | let beta_prime = BigInt::sample_below(&zp); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | let r2_mul_c_alice = Paillier::mul(&ek, RawPlaintext::from(r2.clone()), c_a.clone()); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | let a2_mul_c_r1 = Paillier::mul(&ek, RawPlaintext::from(a2.clone()), c_r1.clone()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | let enc_beta_prime = Paillier::encrypt(&ek, RawPlaintext::from(&beta_prime)); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | let c_bob = Paillier::add(&ek, r2_mul_c_alice.clone(), a2_mul_c_r1.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | let c_bob = Paillier::add(&ek, c_bob.clone(), enc_beta_prime.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | let mut delta_2 = (BigInt::zero() - &beta_prime); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | let dec_alice = Paillier::decrypt(&dk, &c_bob); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | let mut delta_1 = BigInt::from(dec_alice); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | let left = (&delta_1 + &delta_2)%zp; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | let mut right = ((a1*r2) + (a2*r1)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | (delta_1.into(), delta_2.into()) [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/main-bkp.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 150 | let (ek, dk) = Paillier::keypair().keys(); [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] ... [INFO] [stdout] 160 | let c_a = Paillier::encrypt(&ek, RawPlaintext::from(&a1.clone())); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | // 2. Alice computes CR1 = EncryptA(r1) [INFO] [stdout] 162 | let c_r1 = Paillier::encrypt(&ek, RawPlaintext::from(r1.clone())); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | let beta_prime = BigInt::sample_below(&zp); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | let r2_mul_c_alice = Paillier::mul(&ek, RawPlaintext::from(r2.clone()), c_a.clone()); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | let a2_mul_c_r1 = Paillier::mul(&ek, RawPlaintext::from(a2.clone()), c_r1.clone()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | let enc_beta_prime = Paillier::encrypt(&ek, RawPlaintext::from(&beta_prime)); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | let c_bob = Paillier::add(&ek, r2_mul_c_alice.clone(), a2_mul_c_r1.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | let c_bob = Paillier::add(&ek, c_bob.clone(), enc_beta_prime.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | let mut delta_2 = (BigInt::zero() - &beta_prime); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | let dec_alice = Paillier::decrypt(&dk, &c_bob); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | let mut delta_1 = BigInt::from(dec_alice); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | let left = (&delta_1 + &delta_2)%zp; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | let mut right = ((a1*r2) + (a2*r1)); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | (delta_1.into(), delta_2.into()) [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/main-bkp.rs:445:6 [INFO] [stdout] | [INFO] [stdout] 214 | let zp = BigInt::from_str_radix("115792089237316195423570985008687907853269984665640564039457584007908834671663", 10).unwrap(); //BIGGER [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | let x1 = p1.x_coord().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | let y1 = p1.y_coord().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | let x2 = p2.x_coord().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | let y2 = p2.y_coord().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 234 | let rho_1 = BigInt::sample_below(&zp_n); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | let rho_2 = BigInt::sample_below(&zp_n); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | let (alpha_1, alpha_2) = mta_2(&Scalar::::from((-x1.clone())), (&rho_1), (&rho_2), &Scalar::::from(x2.clone())); [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] ... [INFO] [stdout] 242 | let alpha_sum = (alpha_1.clone().to_bigint() + alpha_2.clone().to_bigint()) % zp_n.clone(); //CORRECT [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 243 | let right_ch1 = (alpha_1.clone()+alpha_2.clone()).to_bigint() %zp_n.clone(); //CORRECT [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 244 | //dbg!(&right_ch1); [INFO] [stdout] 245 | let mut left_ch1 = ((-x1.clone() * rho_2.clone()) + (x2.clone() * rho_1.clone()))%zp_n.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 261 | let mut delta_1 = (-x1.clone() * rho_1.clone()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 269 | let delta_2 = (( x2.clone() * rho_2.clone()) + alpha_2.clone().to_bigint())%zp_n; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | let delta = BigInt::mod_add(&delta_1, &delta_2, &zp_n); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | let delta_inv = BigInt::mod_inv(&delta, &zp).unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 276 | let mut x2_minus_x1 = (x2.clone()-x1.clone()) % zp_n; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 284 | let rho1_plus_rho2 = (rho_1.clone()+rho_2.clone()) % zp_n; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 285 | let right = (x2_minus_x1.clone() * rho1_plus_rho2) % zp_n; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | let delta_inverse = BigInt::mod_inv(&delta, &zp_n).unwrap(); //Correct delta-inverse [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 292 | let delta_inv=delta_inverse.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 295 | let eta_1 = (rho_1.clone()*delta_inv.clone())%zp_n; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 296 | let eta_2 = (rho_2.clone()*delta_inv.clone())%zp_n; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 301 | let sum_eta = (eta_1 .clone()+ eta_2.clone()) % zp_n.clone(); // CORRECT. [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 302 | let mut right_ch2 = BigInt::mod_inv(&(x2.clone()-x1.clone()), zp_n).unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 313 | let (beta_1, beta_2) = mta_2(&Scalar::::from(-y1.clone()), &eta_1, &eta_2, &Scalar::::from(y2.clone())); [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] ... [INFO] [stdout] 320 | let left_ch3 = (beta_1.clone().to_bigint() + beta_2.clone().to_bigint()) % zp_n.clone(); //CORRECT. [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | [INFO] [stdout] 322 | let mut y1_etta2 = -y1.clone() * eta_2.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 327 | let y2_etta1 = (y2.clone()*eta_1.clone())% zp_n.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 330 | let right_ch3 = (y1_etta2+y2_etta1)% zp_n.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 337 | let mut lambda_1 = (-y1.clone() * eta_1.clone()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 345 | let lambda_2 = ((( y2.clone() * eta_2) % zp_n.clone()) + beta_2.clone().to_bigint()) % zp_n.clone(); //correct. [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 351 | let mut lambda_sum = lambda_1.clone() + lambda_2.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 357 | let mut y2_minus_y1 = (y2.clone() - y1.clone()) % zp_n.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 365 | let right_ch4 = (y2_minus_y1 * right_ch2) % zp_n.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 370 | let lamda_power2 = (lambda_sum.clone() * lambda_sum.clone()) % zp_n.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 371 | [INFO] [stdout] 372 | let mut x_sum = (x1.clone() + x2.clone()) % zp_n.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 377 | let xs_point_calculation = (lambda_sum.clone() * lambda_sum.clone()) - x1.clone() - x2.clone(); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 378 | let mut xs_point = xs_point_calculation.clone() % zp_n.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 390 | let (gamma_1, gamma_2) = mta(&Scalar::::from(lambda_1.clone()), &Scalar::::from(lambda_2.clone())); [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] ... [INFO] [stdout] 395 | let gamma_sum = (gamma_1.clone() + gamma_2.clone()) % zp_n.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 396 | let lamda_product = (lambda_1.clone() * lambda_2.clone()) % zp_n.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 401 | let wtf_1 = (((((BigInt::from(2) * gamma_1)% zp_n.clone())+((lambda_1.clone()*lambda_1.clone()) % zp_n.clone()))% zp_n.clone()) - x1.... [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 402 | let mut s1 = wtf_1.clone() % zp_n.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 407 | let wtf_2 = (((((BigInt::from(2) * gamma_2)% zp_n.clone())+((lambda_2.clone()*lambda_2.clone()) % zp_n.clone()))% zp_n.clone()) - x2.... [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 408 | let mut s2 = wtf_2.clone() % zp_n.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 414 | let s_sum = (s1.clone()+s2.clone())%zp_n.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 419 | let mut another_s = (lambda_sum.clone() * lambda_sum.clone()) - x1.clone() - x2.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 431 | let mut x1_x2 = x1.clone() + x2.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 445 | (s1.into(), s2.into()) [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/main-bkp.rs:445:6 [INFO] [stdout] | [INFO] [stdout] 214 | let zp = BigInt::from_str_radix("115792089237316195423570985008687907853269984665640564039457584007908834671663", 10).unwrap(); //BIGGER [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | let x1 = p1.x_coord().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | let y1 = p1.y_coord().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | let x2 = p2.x_coord().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | let y2 = p2.y_coord().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 234 | let rho_1 = BigInt::sample_below(&zp_n); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | let rho_2 = BigInt::sample_below(&zp_n); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | let (alpha_1, alpha_2) = mta_2(&Scalar::::from((-x1.clone())), (&rho_1), (&rho_2), &Scalar::::from(x2.clone())); [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] ... [INFO] [stdout] 242 | let alpha_sum = (alpha_1.clone().to_bigint() + alpha_2.clone().to_bigint()) % zp_n.clone(); //CORRECT [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 243 | let right_ch1 = (alpha_1.clone()+alpha_2.clone()).to_bigint() %zp_n.clone(); //CORRECT [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 244 | //dbg!(&right_ch1); [INFO] [stdout] 245 | let mut left_ch1 = ((-x1.clone() * rho_2.clone()) + (x2.clone() * rho_1.clone()))%zp_n.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 261 | let mut delta_1 = (-x1.clone() * rho_1.clone()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 269 | let delta_2 = (( x2.clone() * rho_2.clone()) + alpha_2.clone().to_bigint())%zp_n; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | let delta = BigInt::mod_add(&delta_1, &delta_2, &zp_n); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | let delta_inv = BigInt::mod_inv(&delta, &zp).unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 276 | let mut x2_minus_x1 = (x2.clone()-x1.clone()) % zp_n; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 284 | let rho1_plus_rho2 = (rho_1.clone()+rho_2.clone()) % zp_n; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 285 | let right = (x2_minus_x1.clone() * rho1_plus_rho2) % zp_n; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | let delta_inverse = BigInt::mod_inv(&delta, &zp_n).unwrap(); //Correct delta-inverse [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 292 | let delta_inv=delta_inverse.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 295 | let eta_1 = (rho_1.clone()*delta_inv.clone())%zp_n; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 296 | let eta_2 = (rho_2.clone()*delta_inv.clone())%zp_n; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 301 | let sum_eta = (eta_1 .clone()+ eta_2.clone()) % zp_n.clone(); // CORRECT. [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 302 | let mut right_ch2 = BigInt::mod_inv(&(x2.clone()-x1.clone()), zp_n).unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 313 | let (beta_1, beta_2) = mta_2(&Scalar::::from(-y1.clone()), &eta_1, &eta_2, &Scalar::::from(y2.clone())); [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] ... [INFO] [stdout] 320 | let left_ch3 = (beta_1.clone().to_bigint() + beta_2.clone().to_bigint()) % zp_n.clone(); //CORRECT. [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | [INFO] [stdout] 322 | let mut y1_etta2 = -y1.clone() * eta_2.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 327 | let y2_etta1 = (y2.clone()*eta_1.clone())% zp_n.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 330 | let right_ch3 = (y1_etta2+y2_etta1)% zp_n.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 337 | let mut lambda_1 = (-y1.clone() * eta_1.clone()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 345 | let lambda_2 = ((( y2.clone() * eta_2) % zp_n.clone()) + beta_2.clone().to_bigint()) % zp_n.clone(); //correct. [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 351 | let mut lambda_sum = lambda_1.clone() + lambda_2.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 357 | let mut y2_minus_y1 = (y2.clone() - y1.clone()) % zp_n.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 365 | let right_ch4 = (y2_minus_y1 * right_ch2) % zp_n.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 370 | let lamda_power2 = (lambda_sum.clone() * lambda_sum.clone()) % zp_n.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 371 | [INFO] [stdout] 372 | let mut x_sum = (x1.clone() + x2.clone()) % zp_n.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 377 | let xs_point_calculation = (lambda_sum.clone() * lambda_sum.clone()) - x1.clone() - x2.clone(); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 378 | let mut xs_point = xs_point_calculation.clone() % zp_n.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 390 | let (gamma_1, gamma_2) = mta(&Scalar::::from(lambda_1.clone()), &Scalar::::from(lambda_2.clone())); [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] ... [INFO] [stdout] 395 | let gamma_sum = (gamma_1.clone() + gamma_2.clone()) % zp_n.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 396 | let lamda_product = (lambda_1.clone() * lambda_2.clone()) % zp_n.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 401 | let wtf_1 = (((((BigInt::from(2) * gamma_1)% zp_n.clone())+((lambda_1.clone()*lambda_1.clone()) % zp_n.clone()))% zp_n.clone()) - x1.... [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 402 | let mut s1 = wtf_1.clone() % zp_n.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 407 | let wtf_2 = (((((BigInt::from(2) * gamma_2)% zp_n.clone())+((lambda_2.clone()*lambda_2.clone()) % zp_n.clone()))% zp_n.clone()) - x2.... [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 408 | let mut s2 = wtf_2.clone() % zp_n.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 414 | let s_sum = (s1.clone()+s2.clone())%zp_n.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 419 | let mut another_s = (lambda_sum.clone() * lambda_sum.clone()) - x1.clone() - x2.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 431 | let mut x1_x2 = x1.clone() + x2.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 445 | (s1.into(), s2.into()) [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/main-bkp.rs:445:17 [INFO] [stdout] | [INFO] [stdout] 214 | ...et zp = BigInt::from_str_radix("115792089237316195423570985008687907853269984665640564039457584007908834671663", 10).unwrap(); //BIGGER [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | ...et x1 = p1.x_coord().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | ...et y1 = p1.y_coord().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | ...et x2 = p2.x_coord().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | ...et y2 = p2.y_coord().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 234 | ...et rho_1 = BigInt::sample_below(&zp_n); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | ...et rho_2 = BigInt::sample_below(&zp_n); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | ...et (alpha_1, alpha_2) = mta_2(&Scalar::::from((-x1.clone())), (&rho_1), (&rho_2), &Scalar::::from(x2.clone())); [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] ... [INFO] [stdout] 242 | ...et alpha_sum = (alpha_1.clone().to_bigint() + alpha_2.clone().to_bigint()) % zp_n.clone(); //CORRECT [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 243 | ...et right_ch1 = (alpha_1.clone()+alpha_2.clone()).to_bigint() %zp_n.clone(); //CORRECT [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 244 | .../dbg!(&right_ch1); [INFO] [stdout] 245 | ...et mut left_ch1 = ((-x1.clone() * rho_2.clone()) + (x2.clone() * rho_1.clone()))%zp_n.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 261 | ...et mut delta_1 = (-x1.clone() * rho_1.clone()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 269 | ...et delta_2 = (( x2.clone() * rho_2.clone()) + alpha_2.clone().to_bigint())%zp_n; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | ...et delta = BigInt::mod_add(&delta_1, &delta_2, &zp_n); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | ...et delta_inv = BigInt::mod_inv(&delta, &zp).unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 276 | ...et mut x2_minus_x1 = (x2.clone()-x1.clone()) % zp_n; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 284 | ...et rho1_plus_rho2 = (rho_1.clone()+rho_2.clone()) % zp_n; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 285 | ...et right = (x2_minus_x1.clone() * rho1_plus_rho2) % zp_n; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | ...et delta_inverse = BigInt::mod_inv(&delta, &zp_n).unwrap(); //Correct delta-inverse [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 292 | ...et delta_inv=delta_inverse.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 295 | ...et eta_1 = (rho_1.clone()*delta_inv.clone())%zp_n; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 296 | ...et eta_2 = (rho_2.clone()*delta_inv.clone())%zp_n; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 301 | ...et sum_eta = (eta_1 .clone()+ eta_2.clone()) % zp_n.clone(); // CORRECT. [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 302 | ...et mut right_ch2 = BigInt::mod_inv(&(x2.clone()-x1.clone()), zp_n).unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 313 | ...et (beta_1, beta_2) = mta_2(&Scalar::::from(-y1.clone()), &eta_1, &eta_2, &Scalar::::from(y2.clone())); [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] ... [INFO] [stdout] 320 | ...et left_ch3 = (beta_1.clone().to_bigint() + beta_2.clone().to_bigint()) % zp_n.clone(); //CORRECT. [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | ... [INFO] [stdout] 322 | ...et mut y1_etta2 = -y1.clone() * eta_2.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 327 | ...et y2_etta1 = (y2.clone()*eta_1.clone())% zp_n.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 330 | ...et right_ch3 = (y1_etta2+y2_etta1)% zp_n.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 337 | ...et mut lambda_1 = (-y1.clone() * eta_1.clone()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 345 | ...et lambda_2 = ((( y2.clone() * eta_2) % zp_n.clone()) + beta_2.clone().to_bigint()) % zp_n.clone(); //correct. [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 351 | ...et mut lambda_sum = lambda_1.clone() + lambda_2.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 357 | ...et mut y2_minus_y1 = (y2.clone() - y1.clone()) % zp_n.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 365 | ...et right_ch4 = (y2_minus_y1 * right_ch2) % zp_n.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 370 | ...et lamda_power2 = (lambda_sum.clone() * lambda_sum.clone()) % zp_n.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 371 | ... [INFO] [stdout] 372 | ...et mut x_sum = (x1.clone() + x2.clone()) % zp_n.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 377 | ...et xs_point_calculation = (lambda_sum.clone() * lambda_sum.clone()) - x1.clone() - x2.clone(); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 378 | ...et mut xs_point = xs_point_calculation.clone() % zp_n.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 390 | ...et (gamma_1, gamma_2) = mta(&Scalar::::from(lambda_1.clone()), &Scalar::::from(lambda_2.clone())); [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] ... [INFO] [stdout] 395 | ...et gamma_sum = (gamma_1.clone() + gamma_2.clone()) % zp_n.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 396 | ...et lamda_product = (lambda_1.clone() * lambda_2.clone()) % zp_n.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 401 | ...et wtf_1 = (((((BigInt::from(2) * gamma_1)% zp_n.clone())+((lambda_1.clone()*lambda_1.clone()) % zp_n.clone()))% zp_n.clone()) - x1.cl... [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 402 | ...et mut s1 = wtf_1.clone() % zp_n.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 407 | ...et wtf_2 = (((((BigInt::from(2) * gamma_2)% zp_n.clone())+((lambda_2.clone()*lambda_2.clone()) % zp_n.clone()))% zp_n.clone()) - x2.cl... [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 408 | ...et mut s2 = wtf_2.clone() % zp_n.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 414 | ...et s_sum = (s1.clone()+s2.clone())%zp_n.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 419 | ...et mut another_s = (lambda_sum.clone() * lambda_sum.clone()) - x1.clone() - x2.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 431 | ...et mut x1_x2 = x1.clone() + x2.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 445 | ...s1.into(), s2.into()) [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/main-bkp.rs:445:17 [INFO] [stdout] | [INFO] [stdout] 214 | ...et zp = BigInt::from_str_radix("115792089237316195423570985008687907853269984665640564039457584007908834671663", 10).unwrap(); //BIGGER [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | ...et x1 = p1.x_coord().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | ...et y1 = p1.y_coord().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | ...et x2 = p2.x_coord().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | ...et y2 = p2.y_coord().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 234 | ...et rho_1 = BigInt::sample_below(&zp_n); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | ...et rho_2 = BigInt::sample_below(&zp_n); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | ...et (alpha_1, alpha_2) = mta_2(&Scalar::::from((-x1.clone())), (&rho_1), (&rho_2), &Scalar::::from(x2.clone())); [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] ... [INFO] [stdout] 242 | ...et alpha_sum = (alpha_1.clone().to_bigint() + alpha_2.clone().to_bigint()) % zp_n.clone(); //CORRECT [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 243 | ...et right_ch1 = (alpha_1.clone()+alpha_2.clone()).to_bigint() %zp_n.clone(); //CORRECT [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 244 | .../dbg!(&right_ch1); [INFO] [stdout] 245 | ...et mut left_ch1 = ((-x1.clone() * rho_2.clone()) + (x2.clone() * rho_1.clone()))%zp_n.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 261 | ...et mut delta_1 = (-x1.clone() * rho_1.clone()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 269 | ...et delta_2 = (( x2.clone() * rho_2.clone()) + alpha_2.clone().to_bigint())%zp_n; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | ...et delta = BigInt::mod_add(&delta_1, &delta_2, &zp_n); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | ...et delta_inv = BigInt::mod_inv(&delta, &zp).unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 276 | ...et mut x2_minus_x1 = (x2.clone()-x1.clone()) % zp_n; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 284 | ...et rho1_plus_rho2 = (rho_1.clone()+rho_2.clone()) % zp_n; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 285 | ...et right = (x2_minus_x1.clone() * rho1_plus_rho2) % zp_n; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | ...et delta_inverse = BigInt::mod_inv(&delta, &zp_n).unwrap(); //Correct delta-inverse [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 292 | ...et delta_inv=delta_inverse.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 295 | ...et eta_1 = (rho_1.clone()*delta_inv.clone())%zp_n; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 296 | ...et eta_2 = (rho_2.clone()*delta_inv.clone())%zp_n; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 301 | ...et sum_eta = (eta_1 .clone()+ eta_2.clone()) % zp_n.clone(); // CORRECT. [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 302 | ...et mut right_ch2 = BigInt::mod_inv(&(x2.clone()-x1.clone()), zp_n).unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 313 | ...et (beta_1, beta_2) = mta_2(&Scalar::::from(-y1.clone()), &eta_1, &eta_2, &Scalar::::from(y2.clone())); [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] ... [INFO] [stdout] 320 | ...et left_ch3 = (beta_1.clone().to_bigint() + beta_2.clone().to_bigint()) % zp_n.clone(); //CORRECT. [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | ... [INFO] [stdout] 322 | ...et mut y1_etta2 = -y1.clone() * eta_2.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 327 | ...et y2_etta1 = (y2.clone()*eta_1.clone())% zp_n.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 330 | ...et right_ch3 = (y1_etta2+y2_etta1)% zp_n.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 337 | ...et mut lambda_1 = (-y1.clone() * eta_1.clone()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 345 | ...et lambda_2 = ((( y2.clone() * eta_2) % zp_n.clone()) + beta_2.clone().to_bigint()) % zp_n.clone(); //correct. [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 351 | ...et mut lambda_sum = lambda_1.clone() + lambda_2.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 357 | ...et mut y2_minus_y1 = (y2.clone() - y1.clone()) % zp_n.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 365 | ...et right_ch4 = (y2_minus_y1 * right_ch2) % zp_n.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 370 | ...et lamda_power2 = (lambda_sum.clone() * lambda_sum.clone()) % zp_n.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 371 | ... [INFO] [stdout] 372 | ...et mut x_sum = (x1.clone() + x2.clone()) % zp_n.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 377 | ...et xs_point_calculation = (lambda_sum.clone() * lambda_sum.clone()) - x1.clone() - x2.clone(); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 378 | ...et mut xs_point = xs_point_calculation.clone() % zp_n.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 390 | ...et (gamma_1, gamma_2) = mta(&Scalar::::from(lambda_1.clone()), &Scalar::::from(lambda_2.clone())); [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] ... [INFO] [stdout] 395 | ...et gamma_sum = (gamma_1.clone() + gamma_2.clone()) % zp_n.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 396 | ...et lamda_product = (lambda_1.clone() * lambda_2.clone()) % zp_n.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 401 | ...et wtf_1 = (((((BigInt::from(2) * gamma_1)% zp_n.clone())+((lambda_1.clone()*lambda_1.clone()) % zp_n.clone()))% zp_n.clone()) - x1.cl... [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 402 | ...et mut s1 = wtf_1.clone() % zp_n.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 407 | ...et wtf_2 = (((((BigInt::from(2) * gamma_2)% zp_n.clone())+((lambda_2.clone()*lambda_2.clone()) % zp_n.clone()))% zp_n.clone()) - x2.cl... [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 408 | ...et mut s2 = wtf_2.clone() % zp_n.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 414 | ...et s_sum = (s1.clone()+s2.clone())%zp_n.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 419 | ...et mut another_s = (lambda_sum.clone() * lambda_sum.clone()) - x1.clone() - x2.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 431 | ...et mut x1_x2 = x1.clone() + x2.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 445 | ...s1.into(), s2.into()) [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 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ectf_fresh` (bin "main-bkp" test) due to 7 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ectf_fresh` (bin "main-bkp") due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b8bfe2d9ea01267c5c96b16e82bb138238b0939525e2d19c1d13403fbf5a8892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8bfe2d9ea01267c5c96b16e82bb138238b0939525e2d19c1d13403fbf5a8892", kill_on_drop: false }` [INFO] [stdout] b8bfe2d9ea01267c5c96b16e82bb138238b0939525e2d19c1d13403fbf5a8892