[INFO] cloning repository https://github.com/ed255/phantom-zone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ed255/phantom-zone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fed255%2Fphantom-zone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fed255%2Fphantom-zone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7b84bdee83a1d8764bd4eaeb71dc63fb5d4e2df [INFO] testing ed255/phantom-zone/f7b84bdee83a1d8764bd4eaeb71dc63fb5d4e2df against beta-2024-09-05 for beta-1.82-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fed255%2Fphantom-zone" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ed255/phantom-zone on toolchain beta-2024-09-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-09-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ed255/phantom-zone [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/ed255/phantom-zone [INFO] tweaked toml for git repo https://github.com/ed255/phantom-zone written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ed255/phantom-zone 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" "+beta-2024-09-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da96cfa509faf587819dc7a1b7836310f8d8de676335598df7ee290ef9cad892 [INFO] running `Command { std: "docker" "start" "-a" "da96cfa509faf587819dc7a1b7836310f8d8de676335598df7ee290ef9cad892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da96cfa509faf587819dc7a1b7836310f8d8de676335598df7ee290ef9cad892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da96cfa509faf587819dc7a1b7836310f8d8de676335598df7ee290ef9cad892", kill_on_drop: false }` [INFO] [stdout] da96cfa509faf587819dc7a1b7836310f8d8de676335598df7ee290ef9cad892 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3dbf94be2bf90b3786106a7839aad1fcbdf036442d34307075f6ba1c03acaad [INFO] running `Command { std: "docker" "start" "-a" "b3dbf94be2bf90b3786106a7839aad1fcbdf036442d34307075f6ba1c03acaad", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling phantom-zone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/bool/evaluator.rs:1138:23 [INFO] [stdout] | [INFO] [stdout] 1138 | .map(|(user_id)| { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1138 - .map(|(user_id)| { [INFO] [stdout] 1138 + .map(|user_id| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `izip` [INFO] [stdout] --> src/bool/keys.rs:1186:21 [INFO] [stdout] | [INFO] [stdout] 1186 | use itertools::{izip, Itertools}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/decomposer.rs:287:29 [INFO] [stdout] | [INFO] [stdout] 287 | let neg_carry = (T::zero().wrapping_sub(&carry)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 287 - let neg_carry = (T::zero().wrapping_sub(&carry)); [INFO] [stdout] 287 + let neg_carry = T::zero().wrapping_sub(&carry); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/shortint/ops.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 154 | for i in (0..8) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 154 - for i in (0..8) { [INFO] [stdout] 154 + for i in 0..8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/bool/evaluator.rs:922:13 [INFO] [stdout] | [INFO] [stdout] 922 | let g = self.pbs_info.parameters.g(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rlwe_q` [INFO] [stdout] --> src/bool/evaluator.rs:924:13 [INFO] [stdout] | [INFO] [stdout] 924 | let rlwe_q = self.pbs_info.parameters.rlwe_q(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rlwe_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lwe_q` [INFO] [stdout] --> src/bool/evaluator.rs:925:13 [INFO] [stdout] | [INFO] [stdout] 925 | let lwe_q = self.pbs_info.parameters.lwe_q(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lwe_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bool/evaluator.rs:1521:41 [INFO] [stdout] | [INFO] [stdout] 1521 | ... let mut other_rgsw_i = produce_rgsw_ciphertext_from_ni_rgsw( [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/bool/keys.rs:553:17 [INFO] [stdout] | [INFO] [stdout] 553 | let g = parameters.g() as isize; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/bool/keys.rs:694:17 [INFO] [stdout] | [INFO] [stdout] 694 | let g = value.parameters.g() as isize; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/utils.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | for i in 0..hamming_weight { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated type `BoolEncoding::Element` is more private than the item `evaluator::::Element> for B>::encode` [INFO] [stdout] --> src/bool/evaluator.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | fn encode(&self, v: bool) -> B::Element { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `evaluator::::Element> for B>::encode` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but associated type `BoolEncoding::Element` is only usable at visibility `pub(bool)` [INFO] [stdout] --> src/bool/evaluator.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | type Element; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BoolEncoding` is more private than the item `evaluator::::Element> for B>::encode` [INFO] [stdout] --> src/bool/evaluator.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | fn encode(&self, v: bool) -> B::Element { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `evaluator::::Element> for B>::encode` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `BoolEncoding` is only usable at visibility `pub(bool)` [INFO] [stdout] --> src/bool/evaluator.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | pub(super) trait BoolEncoding { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Encoder` is never used [INFO] [stdout] --> src/lib.rs:189:7 [INFO] [stdout] | [INFO] [stdout] 189 | trait Encoder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SizeInBitsWithLogModulus` is never used [INFO] [stdout] --> src/lib.rs:193:7 [INFO] [stdout] | [INFO] [stdout] 193 | trait SizeInBitsWithLogModulus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `nand_inplace`, `nor_inplace`, `nand`, and `nor` are never used [INFO] [stdout] --> src/bool/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) trait BooleanGates { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 27 | fn nand_inplace(&mut self, c0: &mut Self::Ciphertext, c1: &Self::Ciphertext, key: &Self::Key); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | fn or_inplace(&mut self, c0: &mut Self::Ciphertext, c1: &Self::Ciphertext, key: &Self::Key); [INFO] [stdout] 29 | fn nor_inplace(&mut self, c0: &mut Self::Ciphertext, c1: &Self::Ciphertext, key: &Self::Key); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn nand( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn nor( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random` is never used [INFO] [stdout] --> src/bool/evaluator.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 68 | impl InteractiveMultiPartyCrs<[u8; 32]> { [INFO] [stdout] | --------------------------------------- associated function in this implementation [INFO] [stdout] 69 | pub(super) fn random() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `public_key_share_seed` is never used [INFO] [stdout] --> src/bool/evaluator.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl InteractiveMultiPartyCrs { [INFO] [stdout] | --------------------------------------------------- method in this implementation [INFO] [stdout] 79 | /// Seed to generate public key share [INFO] [stdout] 80 | fn public_key_share_seed + RandomFill>(&self) -> S { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random` is never used [INFO] [stdout] --> src/bool/evaluator.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 119 | impl NonInteractiveMultiPartyCrs<[u8; 32]> { [INFO] [stdout] | ------------------------------------------ associated function in this implementation [INFO] [stdout] 120 | pub(super) fn random() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nand_test_vec` and `nor_test_vec` are never read [INFO] [stdout] --> src/bool/evaluator.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 359 | pub(crate) struct BoolEvaluator [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 365 | nand_test_vec: M::R, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | nor_test_vec: M::R, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trim_rgsw_ct_matrix_from_rgrg_to_rlrg` is never used [INFO] [stdout] --> src/bool/evaluator.rs:392:4 [INFO] [stdout] | [INFO] [stdout] 392 | fn trim_rgsw_ct_matrix_from_rgrg_to_rlrg< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `single_party_server_key`, `gen_interactive_multi_party_server_key_share`, `aggregate_interactive_multi_party_server_key_shares`, `multi_party_public_key_share`, `sk_encrypt`, and `sk_decrypt` are never used [INFO] [stdout] --> src/bool/evaluator.rs:792:19 [INFO] [stdout] | [INFO] [stdout] 628 | / impl BoolEvaluator [INFO] [stdout] 629 | | where [INFO] [stdout] 630 | | M: MatrixEntity + MatrixMut, [INFO] [stdout] 631 | | M::MatElement: PrimInt [INFO] [stdout] ... | [INFO] [stdout] 648 | | M::R: TryConvertFrom1<[i32], CiphertextModulus> + RowEntity + Debug, [INFO] [stdout] 649 | | ::R: RowMut, [INFO] [stdout] | |_____________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 792 | pub(super) fn single_party_server_key>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 899 | pub(super) fn gen_interactive_multi_party_server_key_share< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1050 | pub(super) fn aggregate_interactive_multi_party_server_key_shares( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2048 | pub(super) fn multi_party_public_key_share>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2079 | pub fn sk_encrypt>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2098 | pub fn sk_decrypt>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `InteractiveMultiPartyClientKey` is never used [INFO] [stdout] --> src/bool/keys.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) trait InteractiveMultiPartyClientKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key` is never read [INFO] [stdout] --> src/bool/keys.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct PublicKey { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 160 | key: M, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bool/keys.rs:324:19 [INFO] [stdout] | [INFO] [stdout] 323 | impl CommonReferenceSeededCollectivePublicKeyShare { [INFO] [stdout] | ---------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 324 | pub(super) fn new(share: Ro, cr_seed: S, parameters: P) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommonReferenceSeededInteractiveMultiPartyServerKeyShare` is never constructed [INFO] [stdout] --> src/bool/keys.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | pub struct CommonReferenceSeededInteractiveMultiPartyServerKeyShare { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bool/keys.rs:363:19 [INFO] [stdout] | [INFO] [stdout] 362 | impl CommonReferenceSeededInteractiveMultiPartyServerKeyShare { [INFO] [stdout] | --------------------------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 363 | pub(super) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub(super) fn cr_seed(&self) -> &S { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | pub(super) fn parameters(&self) -> &P { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | pub(super) fn auto_keys(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub(crate) fn self_leader_rgsws(&self) -> &[M] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub(super) fn not_self_leader_rgsws(&self) -> &[M] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub(super) fn lwe_ksk(&self) -> &M::R { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | pub(super) fn user_id(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `rgsw_cts` are never used [INFO] [stdout] --> src/bool/keys.rs:432:19 [INFO] [stdout] | [INFO] [stdout] 431 | impl SeededInteractiveMultiPartyServerKey { [INFO] [stdout] | ------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 432 | pub(super) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | pub(super) fn rgsw_cts(&self) -> &[M] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_raw` is never used [INFO] [stdout] --> src/bool/keys.rs:468:19 [INFO] [stdout] | [INFO] [stdout] 467 | impl SeededSinglePartyServerKey, S> { [INFO] [stdout] | ---------------------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 468 | pub(super) fn from_raw( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `key` is never used [INFO] [stdout] --> src/bool/keys.rs:168:33 [INFO] [stdout] | [INFO] [stdout] 167 | impl PublicKey { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] 168 | pub(in super::super) fn key(&self) -> &M { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rgsw_cts` is never used [INFO] [stdout] --> src/bool/keys.rs:531:33 [INFO] [stdout] | [INFO] [stdout] 530 | impl ServerKeyEvaluationDomain { [INFO] [stdout] | ---------------------------------------------------------- method in this implementation [INFO] [stdout] 531 | pub(in super::super) fn rgsw_cts(&self) -> &[M] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rgsw_cts` is never used [INFO] [stdout] --> src/bool/keys.rs:846:33 [INFO] [stdout] | [INFO] [stdout] 845 | impl NonInteractiveServerKeyEvaluationDomain { [INFO] [stdout] | -------------------------------------------------------------------- method in this implementation [INFO] [stdout] 846 | pub(in super::super) fn rgsw_cts(&self) -> &[M] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ideal_sk_rlwe` is never used [INFO] [stdout] --> src/bool/keys.rs:1511:19 [INFO] [stdout] | [INFO] [stdout] 1511 | pub(crate) fn ideal_sk_rlwe(cks: &[ClientKey]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ideal_sk_lwe` is never used [INFO] [stdout] --> src/bool/keys.rs:1522:19 [INFO] [stdout] | [INFO] [stdout] 1522 | pub(crate) fn ideal_sk_lwe(cks: &[ClientKey]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `measure_noise_lwe` is never used [INFO] [stdout] --> src/bool/keys.rs:1533:19 [INFO] [stdout] | [INFO] [stdout] 1533 | pub(crate) fn measure_noise_lwe< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DoubleDecomposerCount` is never used [INFO] [stdout] --> src/bool/parameters.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) trait DoubleDecomposerCount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SingleParty` and `InteractiveMultiParty` are never constructed [INFO] [stdout] --> src/bool/parameters.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) enum ParameterVariant { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 93 | SingleParty, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 94 | InteractiveMultiParty, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParameterVariant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rgsw_by_rgsw_decomposition_params`, `rlwe_rgsw_decomposition_base`, `rgsw_rgsw_decomposition_count`, `auto_decomposition_base`, and `lwe_decomposition_base` are never used [INFO] [stdout] --> src/bool/parameters.rs:215:19 [INFO] [stdout] | [INFO] [stdout] 169 | impl BoolParameters { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | pub(crate) fn rgsw_by_rgsw_decomposition_params( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub(crate) fn rlwe_rgsw_decomposition_base(&self) -> DecompostionLogBase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub(crate) fn rgsw_rgsw_decomposition_count(&self) -> (DecompositionCount, DecompositionCount) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub(crate) fn auto_decomposition_base(&self) -> DecompostionLogBase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub(crate) fn lwe_decomposition_base(&self) -> DecompostionLogBase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_native` is never used [INFO] [stdout] --> src/bool/parameters.rs:403:14 [INFO] [stdout] | [INFO] [stdout] 402 | impl CiphertextModulus { [INFO] [stdout] | --------------------------------------- associated function in this implementation [INFO] [stdout] 403 | const fn new_native() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `I_2P_LB_SR` is never used [INFO] [stdout] --> src/bool/parameters.rs:526:18 [INFO] [stdout] | [INFO] [stdout] 526 | pub(crate) const I_2P_LB_SR: BoolParameters = BoolParameters:: { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `I_4P` is never used [INFO] [stdout] --> src/bool/parameters.rs:550:18 [INFO] [stdout] | [INFO] [stdout] 550 | pub(crate) const I_4P: BoolParameters = BoolParameters:: { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `I_8P` is never used [INFO] [stdout] --> src/bool/parameters.rs:574:18 [INFO] [stdout] | [INFO] [stdout] 574 | pub(crate) const I_8P: BoolParameters = BoolParameters:: { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NI_4P_LB_SR` is never used [INFO] [stdout] --> src/bool/parameters.rs:652:18 [INFO] [stdout] | [INFO] [stdout] 652 | pub(crate) const NI_4P_LB_SR: BoolParameters = BoolParameters:: { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `recompose` is never used [INFO] [stdout] --> src/decomposer.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 128 | impl DefaultDecomposer { [INFO] [stdout] | ------------------------------------------------------- method in this implementation [INFO] [stdout] 129 | fn recompose(&self, limbs: &[T], modq_op: &Op) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `logq` and `b` are never read [INFO] [stdout] --> src/decomposer.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 243 | pub struct DecomposerIter { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 256 | logq: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 257 | /// b = 1 << logb [INFO] [stdout] 258 | b: T, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt_lwe` is never used [INFO] [stdout] --> src/lwe.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | pub(crate) fn encrypt_lwe< [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_lwe` is never used [INFO] [stdout] --> src/lwe.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | pub(crate) fn decrypt_lwe< [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `public_key_share` is never used [INFO] [stdout] --> src/multi_party.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) fn public_key_share< [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `non_interactive_rgsw_ct` is never used [INFO] [stdout] --> src/multi_party.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn non_interactive_rgsw_ct< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lwe_n` is never used [INFO] [stdout] --> src/pbs.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) trait PbsInfo { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 66 | fn lwe_n(&self) -> usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `secret_key_encrypt_rgsw` is never used [INFO] [stdout] --> src/rgsw/keygen.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) fn secret_key_encrypt_rgsw< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `public_key_encrypt_rgsw` is never used [INFO] [stdout] --> src/rgsw/keygen.rs:169:15 [INFO] [stdout] | [INFO] [stdout] 169 | pub(crate) fn public_key_encrypt_rgsw< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `public_key_encrypt_rlwe` is never used [INFO] [stdout] --> src/rgsw/keygen.rs:486:15 [INFO] [stdout] | [INFO] [stdout] 486 | pub(crate) fn public_key_encrypt_rlwe< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rlwe_public_key` is never used [INFO] [stdout] --> src/rgsw/keygen.rs:548:15 [INFO] [stdout] | [INFO] [stdout] 548 | pub(crate) fn rlwe_public_key< [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_rlwe` is never used [INFO] [stdout] --> src/rgsw/keygen.rs:592:15 [INFO] [stdout] | [INFO] [stdout] 592 | pub(crate) fn decrypt_rlwe< [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `measure_max_noise` is never used [INFO] [stdout] --> src/rgsw/keygen.rs:628:4 [INFO] [stdout] | [INFO] [stdout] 628 | fn measure_max_noise< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ring_size` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) trait RlweCiphertext { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 26 | fn ring_size(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rlwe_auto` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:412:15 [INFO] [stdout] | [INFO] [stdout] 412 | pub(crate) fn rlwe_auto< [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rlwe_by_rgsw` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:651:15 [INFO] [stdout] | [INFO] [stdout] 651 | pub(crate) fn rlwe_by_rgsw< [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bit_mux` is never used [INFO] [stdout] --> src/shortint/ops.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 107 | pub(super) fn bit_mux( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arbitrary_signed_bit_comparator` is never used [INFO] [stdout] --> src/shortint/ops.rs:324:15 [INFO] [stdout] | [INFO] [stdout] 324 | pub(super) fn arbitrary_signed_bit_comparator( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_probably_prime` is never used [INFO] [stdout] --> src/utils.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn is_probably_prime(candidate: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_prime` is never used [INFO] [stdout] --> src/utils.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | pub(crate) fn generate_prime(num_bits: usize, modulo: u64, upper_bound: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `negacyclic_mul` is never used [INFO] [stdout] --> src/utils.rs:171:15 [INFO] [stdout] | [INFO] [stdout] 171 | pub(crate) fn negacyclic_mul T>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.64s [INFO] running `Command { std: "docker" "inspect" "b3dbf94be2bf90b3786106a7839aad1fcbdf036442d34307075f6ba1c03acaad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3dbf94be2bf90b3786106a7839aad1fcbdf036442d34307075f6ba1c03acaad", kill_on_drop: false }` [INFO] [stdout] b3dbf94be2bf90b3786106a7839aad1fcbdf036442d34307075f6ba1c03acaad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e40caab6b463c313bf1b1d1fd2cb734229bc36e8849c745c218124a2e1842c78 [INFO] running `Command { std: "docker" "start" "-a" "e40caab6b463c313bf1b1d1fd2cb734229bc36e8849c745c218124a2e1842c78", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling plotters-backend v0.3.6 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.6 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling plotters v0.3.6 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling phantom-zone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/bool/evaluator.rs:1138:23 [INFO] [stdout] | [INFO] [stdout] 1138 | .map(|(user_id)| { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1138 - .map(|(user_id)| { [INFO] [stdout] 1138 + .map(|user_id| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `izip` [INFO] [stdout] --> src/bool/keys.rs:1186:21 [INFO] [stdout] | [INFO] [stdout] 1186 | use itertools::{izip, Itertools}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/decomposer.rs:287:29 [INFO] [stdout] | [INFO] [stdout] 287 | let neg_carry = (T::zero().wrapping_sub(&carry)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 287 - let neg_carry = (T::zero().wrapping_sub(&carry)); [INFO] [stdout] 287 + let neg_carry = T::zero().wrapping_sub(&carry); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/shortint/ops.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 154 | for i in (0..8) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 154 - for i in (0..8) { [INFO] [stdout] 154 + for i in 0..8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/bool/evaluator.rs:922:13 [INFO] [stdout] | [INFO] [stdout] 922 | let g = self.pbs_info.parameters.g(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rlwe_q` [INFO] [stdout] --> src/bool/evaluator.rs:924:13 [INFO] [stdout] | [INFO] [stdout] 924 | let rlwe_q = self.pbs_info.parameters.rlwe_q(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rlwe_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lwe_q` [INFO] [stdout] --> src/bool/evaluator.rs:925:13 [INFO] [stdout] | [INFO] [stdout] 925 | let lwe_q = self.pbs_info.parameters.lwe_q(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lwe_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bool/evaluator.rs:1521:41 [INFO] [stdout] | [INFO] [stdout] 1521 | ... let mut other_rgsw_i = produce_rgsw_ciphertext_from_ni_rgsw( [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/bool/keys.rs:553:17 [INFO] [stdout] | [INFO] [stdout] 553 | let g = parameters.g() as isize; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/bool/keys.rs:694:17 [INFO] [stdout] | [INFO] [stdout] 694 | let g = value.parameters.g() as isize; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/utils.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | for i in 0..hamming_weight { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated type `BoolEncoding::Element` is more private than the item `evaluator::::Element> for B>::encode` [INFO] [stdout] --> src/bool/evaluator.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | fn encode(&self, v: bool) -> B::Element { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `evaluator::::Element> for B>::encode` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but associated type `BoolEncoding::Element` is only usable at visibility `pub(bool)` [INFO] [stdout] --> src/bool/evaluator.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | type Element; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BoolEncoding` is more private than the item `evaluator::::Element> for B>::encode` [INFO] [stdout] --> src/bool/evaluator.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | fn encode(&self, v: bool) -> B::Element { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `evaluator::::Element> for B>::encode` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `BoolEncoding` is only usable at visibility `pub(bool)` [INFO] [stdout] --> src/bool/evaluator.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | pub(super) trait BoolEncoding { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Encoder` is never used [INFO] [stdout] --> src/lib.rs:189:7 [INFO] [stdout] | [INFO] [stdout] 189 | trait Encoder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SizeInBitsWithLogModulus` is never used [INFO] [stdout] --> src/lib.rs:193:7 [INFO] [stdout] | [INFO] [stdout] 193 | trait SizeInBitsWithLogModulus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `nand_inplace`, `nor_inplace`, `nand`, and `nor` are never used [INFO] [stdout] --> src/bool/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) trait BooleanGates { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 27 | fn nand_inplace(&mut self, c0: &mut Self::Ciphertext, c1: &Self::Ciphertext, key: &Self::Key); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | fn or_inplace(&mut self, c0: &mut Self::Ciphertext, c1: &Self::Ciphertext, key: &Self::Key); [INFO] [stdout] 29 | fn nor_inplace(&mut self, c0: &mut Self::Ciphertext, c1: &Self::Ciphertext, key: &Self::Key); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn nand( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn nor( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random` is never used [INFO] [stdout] --> src/bool/evaluator.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 68 | impl InteractiveMultiPartyCrs<[u8; 32]> { [INFO] [stdout] | --------------------------------------- associated function in this implementation [INFO] [stdout] 69 | pub(super) fn random() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `public_key_share_seed` is never used [INFO] [stdout] --> src/bool/evaluator.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl InteractiveMultiPartyCrs { [INFO] [stdout] | --------------------------------------------------- method in this implementation [INFO] [stdout] 79 | /// Seed to generate public key share [INFO] [stdout] 80 | fn public_key_share_seed + RandomFill>(&self) -> S { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random` is never used [INFO] [stdout] --> src/bool/evaluator.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 119 | impl NonInteractiveMultiPartyCrs<[u8; 32]> { [INFO] [stdout] | ------------------------------------------ associated function in this implementation [INFO] [stdout] 120 | pub(super) fn random() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nand_test_vec` and `nor_test_vec` are never read [INFO] [stdout] --> src/bool/evaluator.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 359 | pub(crate) struct BoolEvaluator [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 365 | nand_test_vec: M::R, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | nor_test_vec: M::R, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trim_rgsw_ct_matrix_from_rgrg_to_rlrg` is never used [INFO] [stdout] --> src/bool/evaluator.rs:392:4 [INFO] [stdout] | [INFO] [stdout] 392 | fn trim_rgsw_ct_matrix_from_rgrg_to_rlrg< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `single_party_server_key`, `gen_interactive_multi_party_server_key_share`, `aggregate_interactive_multi_party_server_key_shares`, `multi_party_public_key_share`, `sk_encrypt`, and `sk_decrypt` are never used [INFO] [stdout] --> src/bool/evaluator.rs:792:19 [INFO] [stdout] | [INFO] [stdout] 628 | / impl BoolEvaluator [INFO] [stdout] 629 | | where [INFO] [stdout] 630 | | M: MatrixEntity + MatrixMut, [INFO] [stdout] 631 | | M::MatElement: PrimInt [INFO] [stdout] ... | [INFO] [stdout] 648 | | M::R: TryConvertFrom1<[i32], CiphertextModulus> + RowEntity + Debug, [INFO] [stdout] 649 | | ::R: RowMut, [INFO] [stdout] | |_____________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 792 | pub(super) fn single_party_server_key>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 899 | pub(super) fn gen_interactive_multi_party_server_key_share< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1050 | pub(super) fn aggregate_interactive_multi_party_server_key_shares( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2048 | pub(super) fn multi_party_public_key_share>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2079 | pub fn sk_encrypt>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2098 | pub fn sk_decrypt>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `InteractiveMultiPartyClientKey` is never used [INFO] [stdout] --> src/bool/keys.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) trait InteractiveMultiPartyClientKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key` is never read [INFO] [stdout] --> src/bool/keys.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct PublicKey { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 160 | key: M, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bool/keys.rs:324:19 [INFO] [stdout] | [INFO] [stdout] 323 | impl CommonReferenceSeededCollectivePublicKeyShare { [INFO] [stdout] | ---------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 324 | pub(super) fn new(share: Ro, cr_seed: S, parameters: P) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommonReferenceSeededInteractiveMultiPartyServerKeyShare` is never constructed [INFO] [stdout] --> src/bool/keys.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | pub struct CommonReferenceSeededInteractiveMultiPartyServerKeyShare { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bool/keys.rs:363:19 [INFO] [stdout] | [INFO] [stdout] 362 | impl CommonReferenceSeededInteractiveMultiPartyServerKeyShare { [INFO] [stdout] | --------------------------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 363 | pub(super) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub(super) fn cr_seed(&self) -> &S { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | pub(super) fn parameters(&self) -> &P { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | pub(super) fn auto_keys(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub(crate) fn self_leader_rgsws(&self) -> &[M] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub(super) fn not_self_leader_rgsws(&self) -> &[M] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub(super) fn lwe_ksk(&self) -> &M::R { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | pub(super) fn user_id(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `rgsw_cts` are never used [INFO] [stdout] --> src/bool/keys.rs:432:19 [INFO] [stdout] | [INFO] [stdout] 431 | impl SeededInteractiveMultiPartyServerKey { [INFO] [stdout] | ------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 432 | pub(super) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | pub(super) fn rgsw_cts(&self) -> &[M] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_raw` is never used [INFO] [stdout] --> src/bool/keys.rs:468:19 [INFO] [stdout] | [INFO] [stdout] 467 | impl SeededSinglePartyServerKey, S> { [INFO] [stdout] | ---------------------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 468 | pub(super) fn from_raw( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `key` is never used [INFO] [stdout] --> src/bool/keys.rs:168:33 [INFO] [stdout] | [INFO] [stdout] 167 | impl PublicKey { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] 168 | pub(in super::super) fn key(&self) -> &M { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rgsw_cts` is never used [INFO] [stdout] --> src/bool/keys.rs:531:33 [INFO] [stdout] | [INFO] [stdout] 530 | impl ServerKeyEvaluationDomain { [INFO] [stdout] | ---------------------------------------------------------- method in this implementation [INFO] [stdout] 531 | pub(in super::super) fn rgsw_cts(&self) -> &[M] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rgsw_cts` is never used [INFO] [stdout] --> src/bool/keys.rs:846:33 [INFO] [stdout] | [INFO] [stdout] 845 | impl NonInteractiveServerKeyEvaluationDomain { [INFO] [stdout] | -------------------------------------------------------------------- method in this implementation [INFO] [stdout] 846 | pub(in super::super) fn rgsw_cts(&self) -> &[M] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ideal_sk_rlwe` is never used [INFO] [stdout] --> src/bool/keys.rs:1511:19 [INFO] [stdout] | [INFO] [stdout] 1511 | pub(crate) fn ideal_sk_rlwe(cks: &[ClientKey]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ideal_sk_lwe` is never used [INFO] [stdout] --> src/bool/keys.rs:1522:19 [INFO] [stdout] | [INFO] [stdout] 1522 | pub(crate) fn ideal_sk_lwe(cks: &[ClientKey]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `measure_noise_lwe` is never used [INFO] [stdout] --> src/bool/keys.rs:1533:19 [INFO] [stdout] | [INFO] [stdout] 1533 | pub(crate) fn measure_noise_lwe< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DoubleDecomposerCount` is never used [INFO] [stdout] --> src/bool/parameters.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) trait DoubleDecomposerCount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SingleParty` and `InteractiveMultiParty` are never constructed [INFO] [stdout] --> src/bool/parameters.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) enum ParameterVariant { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 93 | SingleParty, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 94 | InteractiveMultiParty, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParameterVariant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rgsw_by_rgsw_decomposition_params`, `rlwe_rgsw_decomposition_base`, `rgsw_rgsw_decomposition_count`, `auto_decomposition_base`, and `lwe_decomposition_base` are never used [INFO] [stdout] --> src/bool/parameters.rs:215:19 [INFO] [stdout] | [INFO] [stdout] 169 | impl BoolParameters { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | pub(crate) fn rgsw_by_rgsw_decomposition_params( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub(crate) fn rlwe_rgsw_decomposition_base(&self) -> DecompostionLogBase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub(crate) fn rgsw_rgsw_decomposition_count(&self) -> (DecompositionCount, DecompositionCount) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub(crate) fn auto_decomposition_base(&self) -> DecompostionLogBase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub(crate) fn lwe_decomposition_base(&self) -> DecompostionLogBase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_native` is never used [INFO] [stdout] --> src/bool/parameters.rs:403:14 [INFO] [stdout] | [INFO] [stdout] 402 | impl CiphertextModulus { [INFO] [stdout] | --------------------------------------- associated function in this implementation [INFO] [stdout] 403 | const fn new_native() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `I_2P_LB_SR` is never used [INFO] [stdout] --> src/bool/parameters.rs:526:18 [INFO] [stdout] | [INFO] [stdout] 526 | pub(crate) const I_2P_LB_SR: BoolParameters = BoolParameters:: { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `I_4P` is never used [INFO] [stdout] --> src/bool/parameters.rs:550:18 [INFO] [stdout] | [INFO] [stdout] 550 | pub(crate) const I_4P: BoolParameters = BoolParameters:: { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `I_8P` is never used [INFO] [stdout] --> src/bool/parameters.rs:574:18 [INFO] [stdout] | [INFO] [stdout] 574 | pub(crate) const I_8P: BoolParameters = BoolParameters:: { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NI_4P_LB_SR` is never used [INFO] [stdout] --> src/bool/parameters.rs:652:18 [INFO] [stdout] | [INFO] [stdout] 652 | pub(crate) const NI_4P_LB_SR: BoolParameters = BoolParameters:: { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `recompose` is never used [INFO] [stdout] --> src/decomposer.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 128 | impl DefaultDecomposer { [INFO] [stdout] | ------------------------------------------------------- method in this implementation [INFO] [stdout] 129 | fn recompose(&self, limbs: &[T], modq_op: &Op) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `logq` and `b` are never read [INFO] [stdout] --> src/decomposer.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 243 | pub struct DecomposerIter { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 256 | logq: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 257 | /// b = 1 << logb [INFO] [stdout] 258 | b: T, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt_lwe` is never used [INFO] [stdout] --> src/lwe.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | pub(crate) fn encrypt_lwe< [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_lwe` is never used [INFO] [stdout] --> src/lwe.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | pub(crate) fn decrypt_lwe< [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `public_key_share` is never used [INFO] [stdout] --> src/multi_party.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) fn public_key_share< [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `non_interactive_rgsw_ct` is never used [INFO] [stdout] --> src/multi_party.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn non_interactive_rgsw_ct< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lwe_n` is never used [INFO] [stdout] --> src/pbs.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) trait PbsInfo { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 66 | fn lwe_n(&self) -> usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `secret_key_encrypt_rgsw` is never used [INFO] [stdout] --> src/rgsw/keygen.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) fn secret_key_encrypt_rgsw< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `public_key_encrypt_rgsw` is never used [INFO] [stdout] --> src/rgsw/keygen.rs:169:15 [INFO] [stdout] | [INFO] [stdout] 169 | pub(crate) fn public_key_encrypt_rgsw< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `public_key_encrypt_rlwe` is never used [INFO] [stdout] --> src/rgsw/keygen.rs:486:15 [INFO] [stdout] | [INFO] [stdout] 486 | pub(crate) fn public_key_encrypt_rlwe< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rlwe_public_key` is never used [INFO] [stdout] --> src/rgsw/keygen.rs:548:15 [INFO] [stdout] | [INFO] [stdout] 548 | pub(crate) fn rlwe_public_key< [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_rlwe` is never used [INFO] [stdout] --> src/rgsw/keygen.rs:592:15 [INFO] [stdout] | [INFO] [stdout] 592 | pub(crate) fn decrypt_rlwe< [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `measure_max_noise` is never used [INFO] [stdout] --> src/rgsw/keygen.rs:628:4 [INFO] [stdout] | [INFO] [stdout] 628 | fn measure_max_noise< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ring_size` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) trait RlweCiphertext { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 26 | fn ring_size(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rlwe_auto` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:412:15 [INFO] [stdout] | [INFO] [stdout] 412 | pub(crate) fn rlwe_auto< [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rlwe_by_rgsw` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:651:15 [INFO] [stdout] | [INFO] [stdout] 651 | pub(crate) fn rlwe_by_rgsw< [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bit_mux` is never used [INFO] [stdout] --> src/shortint/ops.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 107 | pub(super) fn bit_mux( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arbitrary_signed_bit_comparator` is never used [INFO] [stdout] --> src/shortint/ops.rs:324:15 [INFO] [stdout] | [INFO] [stdout] 324 | pub(super) fn arbitrary_signed_bit_comparator( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_probably_prime` is never used [INFO] [stdout] --> src/utils.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn is_probably_prime(candidate: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_prime` is never used [INFO] [stdout] --> src/utils.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | pub(crate) fn generate_prime(num_bits: usize, modulo: u64, upper_bound: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `negacyclic_mul` is never used [INFO] [stdout] --> src/utils.rs:171:15 [INFO] [stdout] | [INFO] [stdout] 171 | pub(crate) fn negacyclic_mul T>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InteractiveLTE4Party` found for enum `phantom_zone::ParameterSelector` in the current scope [INFO] [stdout] --> examples/interactive_fheuint8.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 23 | set_parameter_set(ParameterSelector::InteractiveLTE4Party); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `ParameterSelector` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 23 | set_parameter_set(ParameterSelector::NonInteractiveLTE4Party; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `birthday_match` is never used [INFO] [stdout] --> examples/birthday.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn birthday_match( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `collective_pk_share` in this scope [INFO] [stdout] --> examples/interactive_fheuint8.rs:46:40 [INFO] [stdout] | [INFO] [stdout] 46 | let pk_shares = cks.iter().map(|k| collective_pk_share(k)).collect_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `birthday_match_fhe` is never used [INFO] [stdout] --> examples/birthday.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn birthday_match_fhe( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `aggregate_public_key_shares` in this scope [INFO] [stdout] --> examples/interactive_fheuint8.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | let pk = aggregate_public_key_shares(&pk_shares); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `aggregate_server_key_shares` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/bool/ni_mp_api.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / pub fn aggregate_server_key_shares( [INFO] [stdout] 96 | | shares: &[CommonReferenceSeededNonInteractiveMultiPartyServerKeyShare< [INFO] [stdout] 97 | | Vec>, [INFO] [stdout] 98 | | BoolParameters, [INFO] [stdout] ... | [INFO] [stdout] 104 | | BoolParameters, [INFO] [stdout] 105 | | > { [INFO] [stdout] | |_- similarly named function `aggregate_server_key_shares` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `collective_server_key_share` in this scope [INFO] [stdout] --> examples/interactive_fheuint8.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | .map(|(user_id, k)| collective_server_key_share(k, user_id, no_of_parties, &pk)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `aggregate_server_key_shares` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/bool/ni_mp_api.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / pub fn aggregate_server_key_shares( [INFO] [stdout] 96 | | shares: &[CommonReferenceSeededNonInteractiveMultiPartyServerKeyShare< [INFO] [stdout] 97 | | Vec>, [INFO] [stdout] 98 | | BoolParameters, [INFO] [stdout] ... | [INFO] [stdout] 104 | | BoolParameters, [INFO] [stdout] 105 | | > { [INFO] [stdout] | |_- similarly named function `aggregate_server_key_shares` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `phantom-zone` (example "interactive_fheuint8") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/bool/evaluator.rs:1138:23 [INFO] [stdout] | [INFO] [stdout] 1138 | .map(|(user_id)| { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1138 - .map(|(user_id)| { [INFO] [stdout] 1138 + .map(|user_id| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `izip` [INFO] [stdout] --> src/bool/keys.rs:1186:21 [INFO] [stdout] | [INFO] [stdout] 1186 | use itertools::{izip, Itertools}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bool/ni_mp_api.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RngCore` and `thread_rng` [INFO] [stdout] --> src/bool/ni_mp_api.rs:446:16 [INFO] [stdout] | [INFO] [stdout] 446 | use rand::{thread_rng, RngCore}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BooleanGates`, `Encoder`, `Encryptor`, `KeySwitchWithId`, `MultiPartyDecryptor`, `backend::Modulus`, `ideal_sk_rlwe`, `measure_noise_lwe`, and `utils::tests::Stats` [INFO] [stdout] --> src/bool/ni_mp_api.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | backend::Modulus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 450 | bool::{ [INFO] [stdout] 451 | keys::tests::{ideal_sk_rlwe, measure_noise_lwe}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 452 | BooleanGates, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 453 | }, [INFO] [stdout] 454 | utils::tests::Stats, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 455 | Encoder, Encryptor, KeySwitchWithId, MultiPartyDecryptor, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/bool/ni_mp_api.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 458 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/decomposer.rs:287:29 [INFO] [stdout] | [INFO] [stdout] 287 | let neg_carry = (T::zero().wrapping_sub(&carry)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 287 - let neg_carry = (T::zero().wrapping_sub(&carry)); [INFO] [stdout] 287 + let neg_carry = T::zero().wrapping_sub(&carry); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/shortint/ops.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 154 | for i in (0..8) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 154 - for i in (0..8) { [INFO] [stdout] 154 + for i in 0..8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/bool/evaluator.rs:922:13 [INFO] [stdout] | [INFO] [stdout] 922 | let g = self.pbs_info.parameters.g(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rlwe_q` [INFO] [stdout] --> src/bool/evaluator.rs:924:13 [INFO] [stdout] | [INFO] [stdout] 924 | let rlwe_q = self.pbs_info.parameters.rlwe_q(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rlwe_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lwe_q` [INFO] [stdout] --> src/bool/evaluator.rs:925:13 [INFO] [stdout] | [INFO] [stdout] 925 | let lwe_q = self.pbs_info.parameters.lwe_q(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lwe_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bool/evaluator.rs:1521:41 [INFO] [stdout] | [INFO] [stdout] 1521 | ... let mut other_rgsw_i = produce_rgsw_ciphertext_from_ni_rgsw( [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/bool/keys.rs:553:17 [INFO] [stdout] | [INFO] [stdout] 553 | let g = parameters.g() as isize; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/bool/keys.rs:694:17 [INFO] [stdout] | [INFO] [stdout] 694 | let g = value.parameters.g() as isize; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/utils.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | for i in 0..hamming_weight { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated type `BoolEncoding::Element` is more private than the item `evaluator::::Element> for B>::encode` [INFO] [stdout] --> src/bool/evaluator.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | fn encode(&self, v: bool) -> B::Element { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `evaluator::::Element> for B>::encode` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but associated type `BoolEncoding::Element` is only usable at visibility `pub(bool)` [INFO] [stdout] --> src/bool/evaluator.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | type Element; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BoolEncoding` is more private than the item `evaluator::::Element> for B>::encode` [INFO] [stdout] --> src/bool/evaluator.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | fn encode(&self, v: bool) -> B::Element { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `evaluator::::Element> for B>::encode` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `BoolEncoding` is only usable at visibility `pub(bool)` [INFO] [stdout] --> src/bool/evaluator.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | pub(super) trait BoolEncoding { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `nand_inplace`, `nor_inplace`, `nand`, and `nor` are never used [INFO] [stdout] --> src/bool/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) trait BooleanGates { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 27 | fn nand_inplace(&mut self, c0: &mut Self::Ciphertext, c1: &Self::Ciphertext, key: &Self::Key); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | fn or_inplace(&mut self, c0: &mut Self::Ciphertext, c1: &Self::Ciphertext, key: &Self::Key); [INFO] [stdout] 29 | fn nor_inplace(&mut self, c0: &mut Self::Ciphertext, c1: &Self::Ciphertext, key: &Self::Key); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn nand( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn nor( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random` is never used [INFO] [stdout] --> src/bool/evaluator.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 68 | impl InteractiveMultiPartyCrs<[u8; 32]> { [INFO] [stdout] | --------------------------------------- associated function in this implementation [INFO] [stdout] 69 | pub(super) fn random() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `public_key_share_seed` is never used [INFO] [stdout] --> src/bool/evaluator.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl InteractiveMultiPartyCrs { [INFO] [stdout] | --------------------------------------------------- method in this implementation [INFO] [stdout] 79 | /// Seed to generate public key share [INFO] [stdout] 80 | fn public_key_share_seed + RandomFill>(&self) -> S { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nand_test_vec` and `nor_test_vec` are never read [INFO] [stdout] --> src/bool/evaluator.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 359 | pub(crate) struct BoolEvaluator [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 365 | nand_test_vec: M::R, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | nor_test_vec: M::R, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trim_rgsw_ct_matrix_from_rgrg_to_rlrg` is never used [INFO] [stdout] --> src/bool/evaluator.rs:392:4 [INFO] [stdout] | [INFO] [stdout] 392 | fn trim_rgsw_ct_matrix_from_rgrg_to_rlrg< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `single_party_server_key`, `gen_interactive_multi_party_server_key_share`, `aggregate_interactive_multi_party_server_key_shares`, `multi_party_public_key_share`, `sk_encrypt`, and `sk_decrypt` are never used [INFO] [stdout] --> src/bool/evaluator.rs:792:19 [INFO] [stdout] | [INFO] [stdout] 628 | / impl BoolEvaluator [INFO] [stdout] 629 | | where [INFO] [stdout] 630 | | M: MatrixEntity + MatrixMut, [INFO] [stdout] 631 | | M::MatElement: PrimInt [INFO] [stdout] ... | [INFO] [stdout] 648 | | M::R: TryConvertFrom1<[i32], CiphertextModulus> + RowEntity + Debug, [INFO] [stdout] 649 | | ::R: RowMut, [INFO] [stdout] | |_____________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 792 | pub(super) fn single_party_server_key>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 899 | pub(super) fn gen_interactive_multi_party_server_key_share< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1050 | pub(super) fn aggregate_interactive_multi_party_server_key_shares( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2048 | pub(super) fn multi_party_public_key_share>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2079 | pub fn sk_encrypt>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2098 | pub fn sk_decrypt>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `InteractiveMultiPartyClientKey` is never used [INFO] [stdout] --> src/bool/keys.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) trait InteractiveMultiPartyClientKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key` is never read [INFO] [stdout] --> src/bool/keys.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct PublicKey { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 160 | key: M, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bool/keys.rs:324:19 [INFO] [stdout] | [INFO] [stdout] 323 | impl CommonReferenceSeededCollectivePublicKeyShare { [INFO] [stdout] | ---------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 324 | pub(super) fn new(share: Ro, cr_seed: S, parameters: P) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cr_seed` and `user_id` are never read [INFO] [stdout] --> src/bool/keys.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 334 | pub struct CommonReferenceSeededInteractiveMultiPartyServerKeyShare { [INFO] [stdout] | -------------------------------------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 354 | cr_seed: S, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | user_id: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bool/keys.rs:363:19 [INFO] [stdout] | [INFO] [stdout] 362 | impl CommonReferenceSeededInteractiveMultiPartyServerKeyShare { [INFO] [stdout] | --------------------------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 363 | pub(super) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub(super) fn cr_seed(&self) -> &S { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | pub(super) fn auto_keys(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub(crate) fn self_leader_rgsws(&self) -> &[M] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub(super) fn not_self_leader_rgsws(&self) -> &[M] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub(super) fn lwe_ksk(&self) -> &M::R { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | pub(super) fn user_id(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `rgsw_cts` are never used [INFO] [stdout] --> src/bool/keys.rs:432:19 [INFO] [stdout] | [INFO] [stdout] 431 | impl SeededInteractiveMultiPartyServerKey { [INFO] [stdout] | ------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 432 | pub(super) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | pub(super) fn rgsw_cts(&self) -> &[M] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_raw` is never used [INFO] [stdout] --> src/bool/keys.rs:468:19 [INFO] [stdout] | [INFO] [stdout] 467 | impl SeededSinglePartyServerKey, S> { [INFO] [stdout] | ---------------------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 468 | pub(super) fn from_raw( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `key` is never used [INFO] [stdout] --> src/bool/keys.rs:168:33 [INFO] [stdout] | [INFO] [stdout] 167 | impl PublicKey { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] 168 | pub(in super::super) fn key(&self) -> &M { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rgsw_cts` is never used [INFO] [stdout] --> src/bool/keys.rs:531:33 [INFO] [stdout] | [INFO] [stdout] 530 | impl ServerKeyEvaluationDomain { [INFO] [stdout] | ---------------------------------------------------------- method in this implementation [INFO] [stdout] 531 | pub(in super::super) fn rgsw_cts(&self) -> &[M] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rgsw_cts` is never used [INFO] [stdout] --> src/bool/keys.rs:846:33 [INFO] [stdout] | [INFO] [stdout] 845 | impl NonInteractiveServerKeyEvaluationDomain { [INFO] [stdout] | -------------------------------------------------------------------- method in this implementation [INFO] [stdout] 846 | pub(in super::super) fn rgsw_cts(&self) -> &[M] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DoubleDecomposerCount` is never used [INFO] [stdout] --> src/bool/parameters.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) trait DoubleDecomposerCount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SingleParty` and `InteractiveMultiParty` are never constructed [INFO] [stdout] --> src/bool/parameters.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub(crate) enum ParameterVariant { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 93 | SingleParty, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 94 | InteractiveMultiParty, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParameterVariant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rgsw_by_rgsw_decomposition_params`, `rlwe_rgsw_decomposition_base`, `rgsw_rgsw_decomposition_count`, `auto_decomposition_base`, and `lwe_decomposition_base` are never used [INFO] [stdout] --> src/bool/parameters.rs:215:19 [INFO] [stdout] | [INFO] [stdout] 169 | impl BoolParameters { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | pub(crate) fn rgsw_by_rgsw_decomposition_params( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub(crate) fn rlwe_rgsw_decomposition_base(&self) -> DecompostionLogBase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub(crate) fn rgsw_rgsw_decomposition_count(&self) -> (DecompositionCount, DecompositionCount) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub(crate) fn auto_decomposition_base(&self) -> DecompostionLogBase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub(crate) fn lwe_decomposition_base(&self) -> DecompostionLogBase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_native` is never used [INFO] [stdout] --> src/bool/parameters.rs:403:14 [INFO] [stdout] | [INFO] [stdout] 402 | impl CiphertextModulus { [INFO] [stdout] | --------------------------------------- associated function in this implementation [INFO] [stdout] 403 | const fn new_native() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `I_2P_LB_SR` is never used [INFO] [stdout] --> src/bool/parameters.rs:526:18 [INFO] [stdout] | [INFO] [stdout] 526 | pub(crate) const I_2P_LB_SR: BoolParameters = BoolParameters:: { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `I_4P` is never used [INFO] [stdout] --> src/bool/parameters.rs:550:18 [INFO] [stdout] | [INFO] [stdout] 550 | pub(crate) const I_4P: BoolParameters = BoolParameters:: { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `I_8P` is never used [INFO] [stdout] --> src/bool/parameters.rs:574:18 [INFO] [stdout] | [INFO] [stdout] 574 | pub(crate) const I_8P: BoolParameters = BoolParameters:: { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NI_4P_LB_SR` is never used [INFO] [stdout] --> src/bool/parameters.rs:652:18 [INFO] [stdout] | [INFO] [stdout] 652 | pub(crate) const NI_4P_LB_SR: BoolParameters = BoolParameters:: { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SP_TEST_BOOL_PARAMS` is never used [INFO] [stdout] --> src/bool/parameters.rs:707:18 [INFO] [stdout] | [INFO] [stdout] 707 | pub(crate) const SP_TEST_BOOL_PARAMS: BoolParameters = BoolParameters:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mod_switch_round` is never used [INFO] [stdout] --> src/bool/print_noise.rs:915:12 [INFO] [stdout] | [INFO] [stdout] 915 | fn mod_switch_round(v: u64, q_from: u64, q_to: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `logq` and `b` are never read [INFO] [stdout] --> src/decomposer.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 243 | pub struct DecomposerIter { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 256 | logq: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 257 | /// b = 1 << logb [INFO] [stdout] 258 | b: T, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K` is never used [INFO] [stdout] --> src/lwe.rs:181:11 [INFO] [stdout] | [INFO] [stdout] 181 | const K: usize = 50; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `public_key_share` is never used [INFO] [stdout] --> src/multi_party.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) fn public_key_share< [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `non_interactive_rgsw_ct` is never used [INFO] [stdout] --> src/multi_party.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn non_interactive_rgsw_ct< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lwe_n` is never used [INFO] [stdout] --> src/pbs.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) trait PbsInfo { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 66 | fn lwe_n(&self) -> usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `public_key_encrypt_rgsw` is never used [INFO] [stdout] --> src/rgsw/keygen.rs:169:15 [INFO] [stdout] | [INFO] [stdout] 169 | pub(crate) fn public_key_encrypt_rgsw< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `public_key_encrypt_rlwe` is never used [INFO] [stdout] --> src/rgsw/keygen.rs:486:15 [INFO] [stdout] | [INFO] [stdout] 486 | pub(crate) fn public_key_encrypt_rlwe< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `measure_max_noise` is never used [INFO] [stdout] --> src/rgsw/keygen.rs:628:4 [INFO] [stdout] | [INFO] [stdout] 628 | fn measure_max_noise< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ring_size` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) trait RlweCiphertext { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 26 | fn ring_size(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/rgsw/mod.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 120 | impl> RgswCiphertext { [INFO] [stdout] | ----------------------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 121 | pub(crate) fn empty( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/rgsw/mod.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 369 | struct RlwePublicKey { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 370 | data: M, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bit_mux` is never used [INFO] [stdout] --> src/shortint/ops.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 107 | pub(super) fn bit_mux( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arbitrary_signed_bit_comparator` is never used [INFO] [stdout] --> src/shortint/ops.rs:324:15 [INFO] [stdout] | [INFO] [stdout] 324 | pub(super) fn arbitrary_signed_bit_comparator( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e40caab6b463c313bf1b1d1fd2cb734229bc36e8849c745c218124a2e1842c78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e40caab6b463c313bf1b1d1fd2cb734229bc36e8849c745c218124a2e1842c78", kill_on_drop: false }` [INFO] [stdout] e40caab6b463c313bf1b1d1fd2cb734229bc36e8849c745c218124a2e1842c78