[INFO] cloning repository https://github.com/parsasarfarazi/threshold-paillier [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/parsasarfarazi/threshold-paillier" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparsasarfarazi%2Fthreshold-paillier", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparsasarfarazi%2Fthreshold-paillier'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d379ebfb39e22f1efdf673b0467b2ad697b0494 [INFO] building parsasarfarazi/threshold-paillier against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparsasarfarazi%2Fthreshold-paillier" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/parsasarfarazi/threshold-paillier on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/parsasarfarazi/threshold-paillier [INFO] finished tweaking git repo https://github.com/parsasarfarazi/threshold-paillier [INFO] tweaked toml for git repo https://github.com/parsasarfarazi/threshold-paillier written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/parsasarfarazi/threshold-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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81af1e149e0b1f59f4ab8fe4a6164653dd8f71a7e81c82e32c5f101bbbf2f459 [INFO] running `Command { std: "docker" "start" "-a" "81af1e149e0b1f59f4ab8fe4a6164653dd8f71a7e81c82e32c5f101bbbf2f459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81af1e149e0b1f59f4ab8fe4a6164653dd8f71a7e81c82e32c5f101bbbf2f459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81af1e149e0b1f59f4ab8fe4a6164653dd8f71a7e81c82e32c5f101bbbf2f459", kill_on_drop: false }` [INFO] [stdout] 81af1e149e0b1f59f4ab8fe4a6164653dd8f71a7e81c82e32c5f101bbbf2f459 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46aa2240559672d83f449d352f0964b49bd1bf64bee3f1ae10622c1ae7f6aa25 [INFO] running `Command { std: "docker" "start" "-a" "46aa2240559672d83f449d352f0964b49bd1bf64bee3f1ae10622c1ae7f6aa25", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling gmp-mpfr-sys v1.6.5 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling rug v1.27.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling threshold-paillier v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FunctionError` [INFO] [stdout] --> src/polynomial.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::functions::{random_mod, FunctionError}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngCore` [INFO] [stdout] --> src/polynomial.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PubKeyError` [INFO] [stdout] --> src/threshold_share.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::pub_key::{PubKeyError, PublicKey}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `q` is never read [INFO] [stdout] --> src/functions.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut q = Integer::new(); [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 `p` is never read [INFO] [stdout] --> src/functions.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let mut p = Integer::new(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_to_s` [INFO] [stdout] --> src/pub_key.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let n_to_s = &cache.n_to_s; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_to_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_to_s_plus_one` [INFO] [stdout] --> src/pub_key.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let n_to_s_plus_one = &cache.n_to_s_plus_one; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_to_s_plus_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n_minus_one`, `s_plus_one`, and `big_s` are never read [INFO] [stdout] --> src/pub_key.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Cached { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 30 | n_plus_one: BigInt, [INFO] [stdout] 31 | n_minus_one: BigInt, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | s_plus_one: BigInt, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | big_s: BigInt, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cached` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 58s [INFO] running `Command { std: "docker" "inspect" "46aa2240559672d83f449d352f0964b49bd1bf64bee3f1ae10622c1ae7f6aa25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46aa2240559672d83f449d352f0964b49bd1bf64bee3f1ae10622c1ae7f6aa25", kill_on_drop: false }` [INFO] [stdout] 46aa2240559672d83f449d352f0964b49bd1bf64bee3f1ae10622c1ae7f6aa25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3c15fd3572340a285e497f9d01c5939331c24970688fe47c602bbfbce9591cf [INFO] running `Command { std: "docker" "start" "-a" "f3c15fd3572340a285e497f9d01c5939331c24970688fe47c602bbfbce9591cf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling gmp-mpfr-sys v1.6.5 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rug v1.27.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling threshold-paillier v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FunctionError` [INFO] [stdout] --> src/polynomial.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::functions::{random_mod, FunctionError}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngCore` [INFO] [stdout] --> src/polynomial.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PubKeyError` [INFO] [stdout] --> src/threshold_share.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::pub_key::{PubKeyError, PublicKey}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `q` is never read [INFO] [stdout] --> src/functions.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut q = Integer::new(); [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 `p` is never read [INFO] [stdout] --> src/functions.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let mut p = Integer::new(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_to_s` [INFO] [stdout] --> src/pub_key.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let n_to_s = &cache.n_to_s; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_to_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_to_s_plus_one` [INFO] [stdout] --> src/pub_key.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let n_to_s_plus_one = &cache.n_to_s_plus_one; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_to_s_plus_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n_minus_one`, `s_plus_one`, and `big_s` are never read [INFO] [stdout] --> src/pub_key.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Cached { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 30 | n_plus_one: BigInt, [INFO] [stdout] 31 | n_minus_one: BigInt, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | s_plus_one: BigInt, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | big_s: BigInt, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cached` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `zk_proof::DecryptShareZK` [INFO] [stdout] --> tests/integration_test.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use threshold_paillier::{ThresholdPaillier, zk_proof::DecryptShareZK}; // Changed import [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proof` [INFO] [stdout] --> tests/integration_test.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | let (ds, proof) = tp.key_shares[i].partial_decrypt_with_proof(&enc_sum).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proof` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `One` [INFO] [stdout] --> src/functions.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | use num_traits::{One, Zero}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FunctionError` [INFO] [stdout] --> src/polynomial.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::functions::{random_mod, FunctionError}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngCore` [INFO] [stdout] --> src/polynomial.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToBigInt` [INFO] [stdout] --> src/polynomial.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | use num_bigint::{BigInt, ToBigInt}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::One` [INFO] [stdout] --> src/polynomial.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | use num_traits::One; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PubKeyError` [INFO] [stdout] --> src/threshold_share.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::pub_key::{PubKeyError, PublicKey}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `q` is never read [INFO] [stdout] --> src/functions.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut q = Integer::new(); [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 `p` is never read [INFO] [stdout] --> src/functions.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let mut p = Integer::new(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xs` [INFO] [stdout] --> src/polynomial.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | let xs = vec![ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_to_s` [INFO] [stdout] --> src/pub_key.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let n_to_s = &cache.n_to_s; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_to_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_to_s_plus_one` [INFO] [stdout] --> src/pub_key.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let n_to_s_plus_one = &cache.n_to_s_plus_one; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_to_s_plus_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_to_s` [INFO] [stdout] --> src/pub_key.rs:470:13 [INFO] [stdout] | [INFO] [stdout] 470 | let n_to_s = pk.n.clone().pow(pk.s as u32); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_to_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_to_s_plus_one` [INFO] [stdout] --> src/pub_key.rs:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | let n_to_s_plus_one = pk.n.clone().pow(s_plus_one); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_to_s_plus_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ciphertext` [INFO] [stdout] --> src/pub_key.rs:519:14 [INFO] [stdout] | [INFO] [stdout] 519 | let (ciphertext, proof) = result.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ciphertext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fixed_ciphertext` [INFO] [stdout] --> src/pub_key.rs:528:14 [INFO] [stdout] | [INFO] [stdout] 528 | let (fixed_ciphertext, fixed_proof) = fixed_result.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fixed_ciphertext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_to_s` [INFO] [stdout] --> src/zk_proof.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | let n_to_s = pk.get_n_to_s(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_to_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_to_s` [INFO] [stdout] --> src/zk_proof.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | let n_to_s = pk.get_n_to_s(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_to_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_to_s` [INFO] [stdout] --> src/zk_proof.rs:459:13 [INFO] [stdout] | [INFO] [stdout] 459 | let n_to_s = pk.get_n_to_s(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_to_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_to_s` [INFO] [stdout] --> src/zk_proof.rs:508:13 [INFO] [stdout] | [INFO] [stdout] 508 | let n_to_s = pk.get_n_to_s(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_to_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 24.55s [INFO] running `Command { std: "docker" "inspect" "f3c15fd3572340a285e497f9d01c5939331c24970688fe47c602bbfbce9591cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3c15fd3572340a285e497f9d01c5939331c24970688fe47c602bbfbce9591cf", kill_on_drop: false }` [INFO] [stdout] f3c15fd3572340a285e497f9d01c5939331c24970688fe47c602bbfbce9591cf