[INFO] cloning repository https://github.com/DeviousCilantro/paillier [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DeviousCilantro/paillier" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeviousCilantro%2Fpaillier", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeviousCilantro%2Fpaillier'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d198ea0e00c7bcff40166057f06d050693e25fb9 [INFO] checking DeviousCilantro/paillier against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeviousCilantro%2Fpaillier" "/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/DeviousCilantro/paillier 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/DeviousCilantro/paillier [INFO] finished tweaking git repo https://github.com/DeviousCilantro/paillier [INFO] tweaked toml for git repo https://github.com/DeviousCilantro/paillier written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DeviousCilantro/paillier 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 num-primes v0.3.0 [INFO] [stderr] Downloaded rug v1.19.2 [INFO] [stderr] Downloaded gmp-mpfr-sys v1.5.3 [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] a06bb2edb8985ed3f602bf357efc2da32e6684f36817c4689e9a57af7c4d0fe2 [INFO] running `Command { std: "docker" "start" "-a" "a06bb2edb8985ed3f602bf357efc2da32e6684f36817c4689e9a57af7c4d0fe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a06bb2edb8985ed3f602bf357efc2da32e6684f36817c4689e9a57af7c4d0fe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a06bb2edb8985ed3f602bf357efc2da32e6684f36817c4689e9a57af7c4d0fe2", kill_on_drop: false }` [INFO] [stdout] a06bb2edb8985ed3f602bf357efc2da32e6684f36817c4689e9a57af7c4d0fe2 [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] 9dd1ef4dab5927233542b544e6ae7e31f3c41fdf6905b2e28184c6bfd83358ef [INFO] running `Command { std: "docker" "start" "-a" "9dd1ef4dab5927233542b544e6ae7e31f3c41fdf6905b2e28184c6bfd83358ef", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling gmp-mpfr-sys v1.5.3 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling rug v1.19.2 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking num-primes v0.3.0 [INFO] [stderr] Checking paillier v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 42s [INFO] running `Command { std: "docker" "inspect" "9dd1ef4dab5927233542b544e6ae7e31f3c41fdf6905b2e28184c6bfd83358ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dd1ef4dab5927233542b544e6ae7e31f3c41fdf6905b2e28184c6bfd83358ef", kill_on_drop: false }` [INFO] [stdout] 9dd1ef4dab5927233542b544e6ae7e31f3c41fdf6905b2e28184c6bfd83358ef [INFO] checking DeviousCilantro/paillier 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%2FDeviousCilantro%2Fpaillier" "/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/DeviousCilantro/paillier 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/DeviousCilantro/paillier [INFO] finished tweaking git repo https://github.com/DeviousCilantro/paillier [INFO] tweaked toml for git repo https://github.com/DeviousCilantro/paillier written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/DeviousCilantro/paillier 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] 714044de56657d4b7b750a150ce0cb1d9331f9bf44aa1dcd97bb1a56035df126 [INFO] running `Command { std: "docker" "start" "-a" "714044de56657d4b7b750a150ce0cb1d9331f9bf44aa1dcd97bb1a56035df126", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "714044de56657d4b7b750a150ce0cb1d9331f9bf44aa1dcd97bb1a56035df126", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "714044de56657d4b7b750a150ce0cb1d9331f9bf44aa1dcd97bb1a56035df126", kill_on_drop: false }` [INFO] [stdout] 714044de56657d4b7b750a150ce0cb1d9331f9bf44aa1dcd97bb1a56035df126 [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] e344d028466cf498c48cf3b35261b827da54c3de4c5fc391a886fde609e6162b [INFO] running `Command { std: "docker" "start" "-a" "e344d028466cf498c48cf3b35261b827da54c3de4c5fc391a886fde609e6162b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling gmp-mpfr-sys v1.5.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling rug v1.19.2 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking num-primes v0.3.0 [INFO] [stderr] Checking paillier v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> decrypt_ciphertext/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | fn decrypt_ciphertext(ciphertext: Integer, sk: (Integer, Integer), n: Integer) -> Integer { [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | let (lambda, mu) = sk; [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] 7 | let nsq = n.clone() * n.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | let first_exp = ((ciphertext.secure_pow_mod(&lambda, &nsq) - Integer::from(1)) / n.clone()) % n.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | let second_exp = mu % n.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | (first_exp * second_exp) % n [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: aborting due to 1 previous error [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] --> decrypt_ciphertext/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | fn decrypt_ciphertext(ciphertext: Integer, sk: (Integer, Integer), n: Integer) -> Integer { [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | let (lambda, mu) = sk; [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] 7 | let nsq = n.clone() * n.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | let first_exp = ((ciphertext.secure_pow_mod(&lambda, &nsq) - Integer::from(1)) / n.clone()) % n.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | let second_exp = mu % n.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | (first_exp * second_exp) % n [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `paillier` (bin "decrypt_ciphertext" test) due to 2 previous errors [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] --> verify_homomorphism/src/main.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 9 | let p = Integer::from_str_radix(&Generator::safe_prime(512).to_string(), 10).unwrap(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | let q = Integer::from_str_radix(&Generator::safe_prime(512).to_string(), 10).unwrap(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | let n = p.clone() * q.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | let nsq = n.clone() * n.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | let lambda = Integer::lcm(p - Integer::from(1), &(q - Integer::from(1))); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | let mut g; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | let mu = Integer::invert((Integer::secure_pow_mod(g.clone(), &lambda, &nsq)- Integer::from(1)) / n.clone(), &n).unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | ((n, g), (lambda, mu)) [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> verify_homomorphism/src/main.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 9 | let p = Integer::from_str_radix(&Generator::safe_prime(512).to_string(), 10).unwrap(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | let q = Integer::from_str_radix(&Generator::safe_prime(512).to_string(), 10).unwrap(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | let n = p.clone() * q.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | let nsq = n.clone() * n.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | let lambda = Integer::lcm(p - Integer::from(1), &(q - Integer::from(1))); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | let mut g; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | let mu = Integer::invert((Integer::secure_pow_mod(g.clone(), &lambda, &nsq)- Integer::from(1)) / n.clone(), &n).unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | ((n, g), (lambda, mu)) [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] --> verify_homomorphism/src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 54 | fn decrypt_ciphertext(ciphertext: Integer, sk: (Integer, Integer), n: Integer) -> Integer { [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let (lambda, mu) = sk; [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] 56 | let nsq = n.clone() * n.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let first_exp = ((ciphertext.secure_pow_mod(&lambda, &nsq) - Integer::from(1)) / n.clone()) % n.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | let second_exp = mu % n.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | (first_exp * second_exp) % n [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `paillier` (bin "decrypt_ciphertext") due to 2 previous errors [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] --> verify_homomorphism/src/main.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 9 | let p = Integer::from_str_radix(&Generator::safe_prime(512).to_string(), 10).unwrap(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | let q = Integer::from_str_radix(&Generator::safe_prime(512).to_string(), 10).unwrap(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | let n = p.clone() * q.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | let nsq = n.clone() * n.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | let lambda = Integer::lcm(p - Integer::from(1), &(q - Integer::from(1))); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | let mut g; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | let mu = Integer::invert((Integer::secure_pow_mod(g.clone(), &lambda, &nsq)- Integer::from(1)) / n.clone(), &n).unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | ((n, g), (lambda, mu)) [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] --> verify_homomorphism/src/main.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 9 | let p = Integer::from_str_radix(&Generator::safe_prime(512).to_string(), 10).unwrap(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | let q = Integer::from_str_radix(&Generator::safe_prime(512).to_string(), 10).unwrap(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | let n = p.clone() * q.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | let nsq = n.clone() * n.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | let lambda = Integer::lcm(p - Integer::from(1), &(q - Integer::from(1))); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | let mut g; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | let mu = Integer::invert((Integer::secure_pow_mod(g.clone(), &lambda, &nsq)- Integer::from(1)) / n.clone(), &n).unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | ((n, g), (lambda, mu)) [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] --> verify_homomorphism/src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 54 | fn decrypt_ciphertext(ciphertext: Integer, sk: (Integer, Integer), n: Integer) -> Integer { [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let (lambda, mu) = sk; [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] 56 | let nsq = n.clone() * n.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let first_exp = ((ciphertext.secure_pow_mod(&lambda, &nsq) - Integer::from(1)) / n.clone()) % n.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | let second_exp = mu % n.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | (first_exp * second_exp) % n [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] [stderr] error: could not compile `paillier` (bin "verify_homomorphism") due to 4 previous errors [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `paillier` (bin "verify_homomorphism" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "e344d028466cf498c48cf3b35261b827da54c3de4c5fc391a886fde609e6162b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e344d028466cf498c48cf3b35261b827da54c3de4c5fc391a886fde609e6162b", kill_on_drop: false }` [INFO] [stdout] e344d028466cf498c48cf3b35261b827da54c3de4c5fc391a886fde609e6162b