[INFO] fetching crate phantom-zone 0.1.0... [INFO] testing phantom-zone-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate phantom-zone 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate phantom-zone 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate phantom-zone 0.1.0 [INFO] tweaked toml for crates.io crate phantom-zone 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate phantom-zone 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate phantom-zone 0.1.0 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59ed4c761d11b70ee7ddc548ecb09b7bc0aeb582ba39eab51bdb8b1528ffea2e [INFO] running `Command { std: "docker" "start" "-a" "59ed4c761d11b70ee7ddc548ecb09b7bc0aeb582ba39eab51bdb8b1528ffea2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59ed4c761d11b70ee7ddc548ecb09b7bc0aeb582ba39eab51bdb8b1528ffea2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59ed4c761d11b70ee7ddc548ecb09b7bc0aeb582ba39eab51bdb8b1528ffea2e", kill_on_drop: false }` [INFO] [stdout] 59ed4c761d11b70ee7ddc548ecb09b7bc0aeb582ba39eab51bdb8b1528ffea2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e87442072229801d0c14479a6978556c942f22127d1e8346e9e779ad601d7dd6 [INFO] running `Command { std: "docker" "start" "-a" "e87442072229801d0c14479a6978556c942f22127d1e8346e9e779ad601d7dd6", 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 ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling phantom-zone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `power_of_2::ModulusPowerOf2` [INFO] [stdout] --> src/backend/mod.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) use power_of_2::ModulusPowerOf2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [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] [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: 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(in crate::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(in crate::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: trait `GetModulus` is never used [INFO] [stdout] --> src/backend/mod.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | pub trait GetModulus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `modulus` is never read [INFO] [stdout] --> src/backend/modulus_u64.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ModularOpsU64 { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | modulus: T, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `modulus` is never read [INFO] [stdout] --> src/backend/power_of_2.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct ModulusPowerOf2 { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 8 | modulus: T, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `modulus` is never read [INFO] [stdout] --> src/backend/word_size.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WordSizeModulus { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 7 | modulus: T, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BooleanGates` is never used [INFO] [stdout] --> src/bool/mod.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) trait BooleanGates { [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: methods `ni_rgsw_cts_main_seed` and `ni_rgsw_ct_seed_for_index` are never used [INFO] [stdout] --> src/bool/evaluator.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 129 | impl NonInteractiveMultiPartyCrs { [INFO] [stdout] | ------------------------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub(crate) fn ni_rgsw_cts_main_seed + RandomFill>(&self) -> S { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub(crate) fn ni_rgsw_ct_seed_for_index + RandomFill>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScratchMemory` is never constructed [INFO] [stdout] --> src/bool/evaluator.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | struct ScratchMemory [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bool/evaluator.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 182 | / impl ScratchMemory [INFO] [stdout] 183 | | where [INFO] [stdout] 184 | | M::R: RowEntity, [INFO] [stdout] | |____________________- associated function in this implementation [INFO] [stdout] 185 | { [INFO] [stdout] 186 | fn new(parameters: &BoolParameters) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BoolEncoding` is never used [INFO] [stdout] --> src/bool/evaluator.rs:209:18 [INFO] [stdout] | [INFO] [stdout] 209 | pub(super) trait BoolEncoding { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoolPbsInfo` is never constructed [INFO] [stdout] --> src/bool/evaluator.rs:272:19 [INFO] [stdout] | [INFO] [stdout] 272 | pub(super) struct BoolPbsInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoolEvaluator` is never constructed [INFO] [stdout] --> src/bool/evaluator.rs:359:19 [INFO] [stdout] | [INFO] [stdout] 359 | pub(crate) struct BoolEvaluator [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parameters`, `pbs_info`, and `ni_ui_to_s_ks_decomposer` are never used [INFO] [stdout] --> src/bool/evaluator.rs:379:19 [INFO] [stdout] | [INFO] [stdout] 376 | / impl [INFO] [stdout] 377 | | BoolEvaluator [INFO] [stdout] | |______________________________________________________- methods in this implementation [INFO] [stdout] 378 | { [INFO] [stdout] 379 | pub(crate) fn parameters(&self) -> &BoolParameters { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub(super) fn pbs_info(&self) -> &BoolPbsInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | pub(super) fn ni_ui_to_s_ks_decomposer(&self) -> &Option> { [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: function `produce_rgsw_ciphertext_from_ni_rgsw` is never used [INFO] [stdout] --> src/bool/evaluator.rs:480:4 [INFO] [stdout] | [INFO] [stdout] 480 | fn produce_rgsw_ciphertext_from_ni_rgsw< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multi_party_user_id_lwe_segment` is never used [INFO] [stdout] --> src/bool/evaluator.rs:613:15 [INFO] [stdout] | [INFO] [stdout] 613 | pub(super) fn multi_party_user_id_lwe_segment( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bool/evaluator.rs:651: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] | |_____________________________- associated items in this implementation [INFO] [stdout] 650 | { [INFO] [stdout] 651 | pub(super) fn new(parameters: BoolParameters) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 786 | pub(crate) fn client_key( [INFO] [stdout] | ^^^^^^^^^^ [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] 1222 | pub(super) fn aggregate_non_interactive_multi_party_server_key_shares( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1624 | pub(super) fn gen_non_interactive_multi_party_key_share< [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 `SinglePartyClientKey` is never used [INFO] [stdout] --> src/bool/keys.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) trait SinglePartyClientKey { [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: trait `NonInteractiveMultiPartyClientKey` is never used [INFO] [stdout] --> src/bool/keys.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) trait NonInteractiveMultiPartyClientKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `seed` and `parameters` are never read [INFO] [stdout] --> src/bool/keys.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct ClientKey { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 51 | seed: S, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | parameters: BoolParameters, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientKey` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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: associated function `new` is never used [INFO] [stdout] --> src/bool/keys.rs:1045:19 [INFO] [stdout] | [INFO] [stdout] 1044 | impl SeededNonInteractiveMultiPartyServerKey { [INFO] [stdout] | ---------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 1045 | pub(super) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rgsw_cts`, `auto_keys`, `lwe_ksk`, and `ui_to_s_ksks` are never read [INFO] [stdout] --> src/bool/keys.rs:1069:5 [INFO] [stdout] | [INFO] [stdout] 1068 | pub(crate) struct ShoupNonInteractiveServerKeyEvaluationDomain { [INFO] [stdout] | -------------------------------------------- fields in this struct [INFO] [stdout] 1069 | rgsw_cts: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1070 | auto_keys: HashMap>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1071 | lwe_ksk: M, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 1072 | ui_to_s_ksks: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rgsw_cts`, `galois_keys`, and `lwe_ksk` are never read [INFO] [stdout] --> src/bool/keys.rs:1180:5 [INFO] [stdout] | [INFO] [stdout] 1179 | pub(crate) struct ShoupServerKeyEvaluationDomain { [INFO] [stdout] | ------------------------------ fields in this struct [INFO] [stdout] 1180 | rgsw_cts: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1181 | galois_keys: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1182 | lwe_ksk: M, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommonReferenceSeededNonInteractiveMultiPartyServerKeyShare` is never constructed [INFO] [stdout] --> src/bool/keys.rs:1240:12 [INFO] [stdout] | [INFO] [stdout] 1240 | pub struct CommonReferenceSeededNonInteractiveMultiPartyServerKeyShare { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bool/keys.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 64 | impl ClientKey<[u8; 32], E> { [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] 65 | pub(in super::super) fn new(parameters: BoolParameters) -> ClientKey<[u8; 32], E> { [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: method `ui_to_s_ksk` is never used [INFO] [stdout] --> src/bool/keys.rs:1083:33 [INFO] [stdout] | [INFO] [stdout] 1082 | impl ShoupNonInteractiveServerKeyEvaluationDomain { [INFO] [stdout] | ------------------------------------------------------- method in this implementation [INFO] [stdout] 1083 | pub(in super::super) fn ui_to_s_ksk(&self, user_id: usize) -> &NormalAndShoup { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bool/keys.rs:1298:33 [INFO] [stdout] | [INFO] [stdout] 1297 | impl CommonReferenceSeededNonInteractiveMultiPartyServerKeyShare { [INFO] [stdout] | ------------------------------------------------------------------------------------------ associated items in this implementation [INFO] [stdout] 1298 | pub(in super::super) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1328 | pub(in super::super) fn ni_rgsw_cts_for_self_leader_lwe_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1338 | pub(in super::super) fn ni_rgsw_cts_for_self_not_leader_lwe_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1357 | pub(in super::super) fn ni_rgsw_zero_enc_for_lwe_index(&self, lwe_index: usize) -> &M { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1361 | pub(in super::super) fn ui_to_s_ksk(&self) -> &M { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1365 | pub(in super::super) fn user_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1369 | pub(in super::super) fn auto_keys_share(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1373 | pub(in super::super) fn lwe_ksk_share(&self) -> &M::R { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1377 | pub(in super::super) fn ui_to_s_ksk_zero_encs_for_user_i(&self, user_i: usize) -> &M { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1386 | pub(in super::super) fn cr_seed(&self) -> &S { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1390 | pub(in super::super) fn parameters(&self) -> &P { [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: trait `DoubleDecomposerParams` is never used [INFO] [stdout] --> src/bool/parameters.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) trait DoubleDecomposerParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `decomposition_base` is never used [INFO] [stdout] --> src/bool/parameters.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) trait SingleDecomposerParams { [INFO] [stdout] | ---------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 29 | fn decomposition_base(&self) -> Self::Base; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ErrorDistribution` and `TernaryDistribution` are never constructed [INFO] [stdout] --> src/bool/parameters.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) enum SecretKeyDistribution { [INFO] [stdout] | --------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 85 | ErrorDistribution, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | TernaryDistribution, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SecretKeyDistribution` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SingleParty`, `InteractiveMultiParty`, and `NonInteractiveMultiParty` 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] 95 | NonInteractiveMultiParty, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParameterVariant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/bool/parameters.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 169 | impl BoolParameters { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] 170 | pub(crate) fn rlwe_secret_key_dist(&self) -> &SecretKeyDistribution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub(crate) fn lwe_secret_key_dist(&self) -> &SecretKeyDistribution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub(crate) fn br_q(&self) -> &usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub(crate) fn w(&self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub(crate) fn rlwe_by_rgsw_decomposition_params( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 243 | pub(crate) fn auto_decomposition_param(&self) -> &(DecompostionLogBase, 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] 275 | pub(crate) fn rgsw_rgsw_decomposer>(&self) -> (D, D) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub(crate) fn auto_decomposer>(&self) -> D [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub(crate) fn lwe_decomposer>(&self) -> D [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub(crate) fn rlwe_rgsw_decomposer>(&self) -> (D, D) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | pub(crate) fn non_interactive_ui_to_s_key_switch_decomposer>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | pub(crate) fn variant(&self) -> &ParameterVariant { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_native` and `new_non_native` are never used [INFO] [stdout] --> src/bool/parameters.rs:403:14 [INFO] [stdout] | [INFO] [stdout] 402 | impl CiphertextModulus { [INFO] [stdout] | --------------------------------------- associated functions in this implementation [INFO] [stdout] 403 | const fn new_native() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | const fn new_non_native(q: T) -> 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_2P` is never used [INFO] [stdout] --> src/bool/parameters.rs:598:18 [INFO] [stdout] | [INFO] [stdout] 598 | pub(crate) const NI_2P: BoolParameters = BoolParameters:: { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NI_4P_HB_FR` is never used [INFO] [stdout] --> src/bool/parameters.rs:625:18 [INFO] [stdout] | [INFO] [stdout] 625 | pub(crate) const NI_4P_HB_FR: 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 `NI_8P` is never used [INFO] [stdout] --> src/bool/parameters.rs:679:18 [INFO] [stdout] | [INFO] [stdout] 679 | pub(crate) const NI_8P: BoolParameters = BoolParameters:: { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RlweDecomposer` is never used [INFO] [stdout] --> src/decomposer.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait RlweDecomposer { [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 `lwe_key_switch` is never used [INFO] [stdout] --> src/lwe.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn lwe_key_switch< [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seeded_lwe_ksk_keygen` is never used [INFO] [stdout] --> src/lwe.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) fn seeded_lwe_ksk_keygen< [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 `multi_party_decryption_share` is never used [INFO] [stdout] --> src/multi_party.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) fn multi_party_decryption_share< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multi_party_aggregate_decryption_shares_and_decrypt` is never used [INFO] [stdout] --> src/multi_party.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) fn multi_party_aggregate_decryption_shares_and_decrypt< [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: function `non_interactive_ksk_gen` is never used [INFO] [stdout] --> src/multi_party.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | pub(crate) fn non_interactive_ksk_gen< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `non_interactive_ksk_zero_encryptions_for_other_party_i` is never used [INFO] [stdout] --> src/multi_party.rs:241:15 [INFO] [stdout] | [INFO] [stdout] 241 | pub(crate) fn non_interactive_ksk_zero_encryptions_for_other_party_i< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PbsKey` is never used [INFO] [stdout] --> src/pbs.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) trait PbsKey { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WithShoupRepr` is never used [INFO] [stdout] --> src/pbs.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) trait WithShoupRepr: AsRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PbsInfo` is never used [INFO] [stdout] --> src/pbs.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) trait PbsInfo { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pbs` is never used [INFO] [stdout] --> src/pbs.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | pub(crate) fn pbs< [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blind_rotation` is never used [INFO] [stdout] --> src/pbs.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | fn blind_rotation< [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mod_switch_odd` is never used [INFO] [stdout] --> src/pbs.rs:416:4 [INFO] [stdout] | [INFO] [stdout] 416 | fn mod_switch_odd(v: f64, from_q: f64, to_q: f64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_extract` is never used [INFO] [stdout] --> src/pbs.rs:423:15 [INFO] [stdout] | [INFO] [stdout] 423 | pub(crate) fn sample_extract>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `monomial_mul` is never used [INFO] [stdout] --> src/pbs.rs:454:4 [INFO] [stdout] | [INFO] [stdout] 454 | fn monomial_mul>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RandomElementInModulus` is never used [INFO] [stdout] --> src/random.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait RandomElementInModulus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RandomGaussianElementInModulus` is never used [INFO] [stdout] --> src/random.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait RandomGaussianElementInModulus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RandomFillGaussian` is never used [INFO] [stdout] --> src/random.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait RandomFillGaussian [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RandomFillGaussianInModulus` is never used [INFO] [stdout] --> src/random.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait RandomFillGaussianInModulus [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `fill_bytes` are never used [INFO] [stdout] --> src/random.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl DefaultSecureRng { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn new() -> DefaultSecureRng { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn fill_bytes(&mut self, a: &mut [u8; 32]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_auto_map` is never used [INFO] [stdout] --> src/rgsw/keygen.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) fn generate_auto_map(ring_size: usize, k: isize) -> (Vec, Vec) { [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 `seeded_rlwe_ksk_gen` is never used [INFO] [stdout] --> src/rgsw/keygen.rs:306:4 [INFO] [stdout] | [INFO] [stdout] 306 | fn seeded_rlwe_ksk_gen< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seeded_auto_key_gen` is never used [INFO] [stdout] --> src/rgsw/keygen.rs:376:15 [INFO] [stdout] | [INFO] [stdout] 376 | pub(crate) fn seeded_auto_key_gen< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seeded_secret_key_encrypt_rlwe` is never used [INFO] [stdout] --> src/rgsw/keygen.rs:439:15 [INFO] [stdout] | [INFO] [stdout] 439 | pub(crate) fn seeded_secret_key_encrypt_rlwe< [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: trait `RlweCiphertext` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) trait RlweCiphertext { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RgswCiphertext` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) trait RgswCiphertext { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RgswCiphertextMut` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) trait RgswCiphertextMut: RgswCiphertext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RlweKsk` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) trait RlweKsk { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RuntimeScratchMatrix` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | pub(crate) trait RuntimeScratchMatrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RlweCiphertextMutRef` is never constructed [INFO] [stdout] --> src/rgsw/runtime.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) struct RlweCiphertextMutRef<'a, R> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 131 | impl<'a, R> RlweCiphertextMutRef<'a, R> { [INFO] [stdout] | --------------------------------------- associated function in this implementation [INFO] [stdout] 132 | pub(crate) fn new(data: &'a mut [R]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data`, `d_a`, and `d_b` are never read [INFO] [stdout] --> src/rgsw/runtime.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub(crate) struct RgswCiphertextRef<'a, R> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 157 | data: &'a [R], [INFO] [stdout] | ^^^^ [INFO] [stdout] 158 | d_a: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 159 | d_b: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:163:19 [INFO] [stdout] | [INFO] [stdout] 162 | impl<'a, R> RgswCiphertextRef<'a, R> { [INFO] [stdout] | ------------------------------------ associated function in this implementation [INFO] [stdout] 163 | pub(crate) fn new(data: &'a [R], d_a: usize, d_b: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RgswCiphertextMutRef` is never constructed [INFO] [stdout] --> src/rgsw/runtime.rs:183:19 [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) struct RgswCiphertextMutRef<'a, R> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:190:19 [INFO] [stdout] | [INFO] [stdout] 189 | impl<'a, R> RgswCiphertextMutRef<'a, R> { [INFO] [stdout] | --------------------------------------- associated function in this implementation [INFO] [stdout] 190 | pub(crate) fn new(data: &'a mut [R], d_a: usize, d_b: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RlweKskRef` is never constructed [INFO] [stdout] --> src/rgsw/runtime.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | pub(crate) struct RlweKskRef<'a, R> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:239:19 [INFO] [stdout] | [INFO] [stdout] 238 | impl<'a, R: Row> RlweKskRef<'a, R> { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] 239 | pub(crate) fn new(ksk: &'a [R], decomposition_count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RuntimeScratchMutRef` is never constructed [INFO] [stdout] --> src/rgsw/runtime.rs:259:19 [INFO] [stdout] | [INFO] [stdout] 259 | pub(crate) struct RuntimeScratchMutRef<'a, R> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:264:19 [INFO] [stdout] | [INFO] [stdout] 263 | impl<'a, R> RuntimeScratchMutRef<'a, R> { [INFO] [stdout] | --------------------------------------- associated function in this implementation [INFO] [stdout] 264 | pub(crate) fn new(data: &'a mut [R]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rgsw_x_rgsw_scratch_rows` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:335:15 [INFO] [stdout] | [INFO] [stdout] 335 | pub(crate) fn rgsw_x_rgsw_scratch_rows>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rlwe_x_rgsw_scratch_rows` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:347:15 [INFO] [stdout] | [INFO] [stdout] 347 | pub(crate) fn rlwe_x_rgsw_scratch_rows>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rlwe_auto_scratch_rows` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:357:15 [INFO] [stdout] | [INFO] [stdout] 357 | pub(crate) fn rlwe_auto_scratch_rows>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `poly_fma_routine` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:363:15 [INFO] [stdout] | [INFO] [stdout] 363 | pub(crate) fn poly_fma_routine>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decompose_r` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:382:15 [INFO] [stdout] | [INFO] [stdout] 382 | pub(crate) fn decompose_r>( [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_auto_shoup` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:530:15 [INFO] [stdout] | [INFO] [stdout] 530 | pub(crate) fn rlwe_auto_shoup< [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 `rlwe_by_rgsw_shoup` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:754:15 [INFO] [stdout] | [INFO] [stdout] 754 | pub(crate) fn rlwe_by_rgsw_shoup< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rgsw_by_rgsw_inplace` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:883:15 [INFO] [stdout] | [INFO] [stdout] 883 | pub(crate) fn rgsw_by_rgsw_inplace< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rlwe_key_switch` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:1001:15 [INFO] [stdout] | [INFO] [stdout] 1001 | pub(crate) fn rlwe_key_switch< [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WithLocal` is never used [INFO] [stdout] --> src/utils.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait WithLocal { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Global` is never used [INFO] [stdout] --> src/utils.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait Global { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_random_ternary_secret_with_hamming_weight` is never used [INFO] [stdout] --> src/utils.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn fill_random_ternary_secret_with_hamming_weight< [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: function `encode_x_pow_si_with_emebedding_factor` is never used [INFO] [stdout] --> src/utils.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | pub(crate) fn encode_x_pow_si_with_emebedding_factor< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TryConvertFrom1` is never used [INFO] [stdout] --> src/utils.rs:239:11 [INFO] [stdout] | [INFO] [stdout] 239 | pub trait TryConvertFrom1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.18s [INFO] running `Command { std: "docker" "inspect" "e87442072229801d0c14479a6978556c942f22127d1e8346e9e779ad601d7dd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e87442072229801d0c14479a6978556c942f22127d1e8346e9e779ad601d7dd6", kill_on_drop: false }` [INFO] [stdout] e87442072229801d0c14479a6978556c942f22127d1e8346e9e779ad601d7dd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c97810d3f4f70ab5f09769d436f6cdc5177d47e394a663bbdc2e165eed8ab0be [INFO] running `Command { std: "docker" "start" "-a" "c97810d3f4f70ab5f09769d436f6cdc5177d47e394a663bbdc2e165eed8ab0be", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [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 ciborium-io v0.2.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.6 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling plotters v0.3.6 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [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: unused import: `power_of_2::ModulusPowerOf2` [INFO] [stdout] --> src/backend/mod.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) use power_of_2::ModulusPowerOf2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [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] [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: 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(in crate::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(in crate::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: trait `GetModulus` is never used [INFO] [stdout] --> src/backend/mod.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | pub trait GetModulus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `modulus` is never read [INFO] [stdout] --> src/backend/modulus_u64.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ModularOpsU64 { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | modulus: T, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `modulus` is never read [INFO] [stdout] --> src/backend/power_of_2.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct ModulusPowerOf2 { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 8 | modulus: T, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `modulus` is never read [INFO] [stdout] --> src/backend/word_size.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WordSizeModulus { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 7 | modulus: T, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BooleanGates` is never used [INFO] [stdout] --> src/bool/mod.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) trait BooleanGates { [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: methods `ni_rgsw_cts_main_seed` and `ni_rgsw_ct_seed_for_index` are never used [INFO] [stdout] --> src/bool/evaluator.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 129 | impl NonInteractiveMultiPartyCrs { [INFO] [stdout] | ------------------------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub(crate) fn ni_rgsw_cts_main_seed + RandomFill>(&self) -> S { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub(crate) fn ni_rgsw_ct_seed_for_index + RandomFill>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScratchMemory` is never constructed [INFO] [stdout] --> src/bool/evaluator.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | struct ScratchMemory [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bool/evaluator.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 182 | / impl ScratchMemory [INFO] [stdout] 183 | | where [INFO] [stdout] 184 | | M::R: RowEntity, [INFO] [stdout] | |____________________- associated function in this implementation [INFO] [stdout] 185 | { [INFO] [stdout] 186 | fn new(parameters: &BoolParameters) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BoolEncoding` is never used [INFO] [stdout] --> src/bool/evaluator.rs:209:18 [INFO] [stdout] | [INFO] [stdout] 209 | pub(super) trait BoolEncoding { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoolPbsInfo` is never constructed [INFO] [stdout] --> src/bool/evaluator.rs:272:19 [INFO] [stdout] | [INFO] [stdout] 272 | pub(super) struct BoolPbsInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoolEvaluator` is never constructed [INFO] [stdout] --> src/bool/evaluator.rs:359:19 [INFO] [stdout] | [INFO] [stdout] 359 | pub(crate) struct BoolEvaluator [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parameters`, `pbs_info`, and `ni_ui_to_s_ks_decomposer` are never used [INFO] [stdout] --> src/bool/evaluator.rs:379:19 [INFO] [stdout] | [INFO] [stdout] 376 | / impl [INFO] [stdout] 377 | | BoolEvaluator [INFO] [stdout] | |______________________________________________________- methods in this implementation [INFO] [stdout] 378 | { [INFO] [stdout] 379 | pub(crate) fn parameters(&self) -> &BoolParameters { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub(super) fn pbs_info(&self) -> &BoolPbsInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | pub(super) fn ni_ui_to_s_ks_decomposer(&self) -> &Option> { [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: function `produce_rgsw_ciphertext_from_ni_rgsw` is never used [INFO] [stdout] --> src/bool/evaluator.rs:480:4 [INFO] [stdout] | [INFO] [stdout] 480 | fn produce_rgsw_ciphertext_from_ni_rgsw< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multi_party_user_id_lwe_segment` is never used [INFO] [stdout] --> src/bool/evaluator.rs:613:15 [INFO] [stdout] | [INFO] [stdout] 613 | pub(super) fn multi_party_user_id_lwe_segment( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bool/evaluator.rs:651: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] | |_____________________________- associated items in this implementation [INFO] [stdout] 650 | { [INFO] [stdout] 651 | pub(super) fn new(parameters: BoolParameters) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 786 | pub(crate) fn client_key( [INFO] [stdout] | ^^^^^^^^^^ [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] 1222 | pub(super) fn aggregate_non_interactive_multi_party_server_key_shares( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1624 | pub(super) fn gen_non_interactive_multi_party_key_share< [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 `SinglePartyClientKey` is never used [INFO] [stdout] --> src/bool/keys.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) trait SinglePartyClientKey { [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: trait `NonInteractiveMultiPartyClientKey` is never used [INFO] [stdout] --> src/bool/keys.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) trait NonInteractiveMultiPartyClientKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `seed` and `parameters` are never read [INFO] [stdout] --> src/bool/keys.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct ClientKey { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 51 | seed: S, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | parameters: BoolParameters, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientKey` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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: associated function `new` is never used [INFO] [stdout] --> src/bool/keys.rs:1045:19 [INFO] [stdout] | [INFO] [stdout] 1044 | impl SeededNonInteractiveMultiPartyServerKey { [INFO] [stdout] | ---------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 1045 | pub(super) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rgsw_cts`, `auto_keys`, `lwe_ksk`, and `ui_to_s_ksks` are never read [INFO] [stdout] --> src/bool/keys.rs:1069:5 [INFO] [stdout] | [INFO] [stdout] 1068 | pub(crate) struct ShoupNonInteractiveServerKeyEvaluationDomain { [INFO] [stdout] | -------------------------------------------- fields in this struct [INFO] [stdout] 1069 | rgsw_cts: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1070 | auto_keys: HashMap>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1071 | lwe_ksk: M, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 1072 | ui_to_s_ksks: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rgsw_cts`, `galois_keys`, and `lwe_ksk` are never read [INFO] [stdout] --> src/bool/keys.rs:1180:5 [INFO] [stdout] | [INFO] [stdout] 1179 | pub(crate) struct ShoupServerKeyEvaluationDomain { [INFO] [stdout] | ------------------------------ fields in this struct [INFO] [stdout] 1180 | rgsw_cts: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1181 | galois_keys: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1182 | lwe_ksk: M, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommonReferenceSeededNonInteractiveMultiPartyServerKeyShare` is never constructed [INFO] [stdout] --> src/bool/keys.rs:1240:12 [INFO] [stdout] | [INFO] [stdout] 1240 | pub struct CommonReferenceSeededNonInteractiveMultiPartyServerKeyShare { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bool/keys.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 64 | impl ClientKey<[u8; 32], E> { [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] 65 | pub(in super::super) fn new(parameters: BoolParameters) -> ClientKey<[u8; 32], E> { [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: method `ui_to_s_ksk` is never used [INFO] [stdout] --> src/bool/keys.rs:1083:33 [INFO] [stdout] | [INFO] [stdout] 1082 | impl ShoupNonInteractiveServerKeyEvaluationDomain { [INFO] [stdout] | ------------------------------------------------------- method in this implementation [INFO] [stdout] 1083 | pub(in super::super) fn ui_to_s_ksk(&self, user_id: usize) -> &NormalAndShoup { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bool/keys.rs:1298:33 [INFO] [stdout] | [INFO] [stdout] 1297 | impl CommonReferenceSeededNonInteractiveMultiPartyServerKeyShare { [INFO] [stdout] | ------------------------------------------------------------------------------------------ associated items in this implementation [INFO] [stdout] 1298 | pub(in super::super) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1328 | pub(in super::super) fn ni_rgsw_cts_for_self_leader_lwe_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1338 | pub(in super::super) fn ni_rgsw_cts_for_self_not_leader_lwe_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1357 | pub(in super::super) fn ni_rgsw_zero_enc_for_lwe_index(&self, lwe_index: usize) -> &M { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1361 | pub(in super::super) fn ui_to_s_ksk(&self) -> &M { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1365 | pub(in super::super) fn user_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1369 | pub(in super::super) fn auto_keys_share(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1373 | pub(in super::super) fn lwe_ksk_share(&self) -> &M::R { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1377 | pub(in super::super) fn ui_to_s_ksk_zero_encs_for_user_i(&self, user_i: usize) -> &M { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1386 | pub(in super::super) fn cr_seed(&self) -> &S { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1390 | pub(in super::super) fn parameters(&self) -> &P { [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: trait `DoubleDecomposerParams` is never used [INFO] [stdout] --> src/bool/parameters.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) trait DoubleDecomposerParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `decomposition_base` is never used [INFO] [stdout] --> src/bool/parameters.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) trait SingleDecomposerParams { [INFO] [stdout] | ---------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 29 | fn decomposition_base(&self) -> Self::Base; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ErrorDistribution` and `TernaryDistribution` are never constructed [INFO] [stdout] --> src/bool/parameters.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) enum SecretKeyDistribution { [INFO] [stdout] | --------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 85 | ErrorDistribution, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | TernaryDistribution, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SecretKeyDistribution` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SingleParty`, `InteractiveMultiParty`, and `NonInteractiveMultiParty` 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] 95 | NonInteractiveMultiParty, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParameterVariant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/bool/parameters.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 169 | impl BoolParameters { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] 170 | pub(crate) fn rlwe_secret_key_dist(&self) -> &SecretKeyDistribution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub(crate) fn lwe_secret_key_dist(&self) -> &SecretKeyDistribution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub(crate) fn br_q(&self) -> &usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub(crate) fn w(&self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub(crate) fn rlwe_by_rgsw_decomposition_params( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 243 | pub(crate) fn auto_decomposition_param(&self) -> &(DecompostionLogBase, 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] 275 | pub(crate) fn rgsw_rgsw_decomposer>(&self) -> (D, D) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub(crate) fn auto_decomposer>(&self) -> D [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub(crate) fn lwe_decomposer>(&self) -> D [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub(crate) fn rlwe_rgsw_decomposer>(&self) -> (D, D) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | pub(crate) fn non_interactive_ui_to_s_key_switch_decomposer>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | pub(crate) fn variant(&self) -> &ParameterVariant { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_native` and `new_non_native` are never used [INFO] [stdout] --> src/bool/parameters.rs:403:14 [INFO] [stdout] | [INFO] [stdout] 402 | impl CiphertextModulus { [INFO] [stdout] | --------------------------------------- associated functions in this implementation [INFO] [stdout] 403 | const fn new_native() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | const fn new_non_native(q: T) -> 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_2P` is never used [INFO] [stdout] --> src/bool/parameters.rs:598:18 [INFO] [stdout] | [INFO] [stdout] 598 | pub(crate) const NI_2P: BoolParameters = BoolParameters:: { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NI_4P_HB_FR` is never used [INFO] [stdout] --> src/bool/parameters.rs:625:18 [INFO] [stdout] | [INFO] [stdout] 625 | pub(crate) const NI_4P_HB_FR: 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 `NI_8P` is never used [INFO] [stdout] --> src/bool/parameters.rs:679:18 [INFO] [stdout] | [INFO] [stdout] 679 | pub(crate) const NI_8P: BoolParameters = BoolParameters:: { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RlweDecomposer` is never used [INFO] [stdout] --> src/decomposer.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait RlweDecomposer { [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 `lwe_key_switch` is never used [INFO] [stdout] --> src/lwe.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn lwe_key_switch< [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seeded_lwe_ksk_keygen` is never used [INFO] [stdout] --> src/lwe.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) fn seeded_lwe_ksk_keygen< [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 `multi_party_decryption_share` is never used [INFO] [stdout] --> src/multi_party.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) fn multi_party_decryption_share< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multi_party_aggregate_decryption_shares_and_decrypt` is never used [INFO] [stdout] --> src/multi_party.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) fn multi_party_aggregate_decryption_shares_and_decrypt< [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: function `non_interactive_ksk_gen` is never used [INFO] [stdout] --> src/multi_party.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | pub(crate) fn non_interactive_ksk_gen< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `non_interactive_ksk_zero_encryptions_for_other_party_i` is never used [INFO] [stdout] --> src/multi_party.rs:241:15 [INFO] [stdout] | [INFO] [stdout] 241 | pub(crate) fn non_interactive_ksk_zero_encryptions_for_other_party_i< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PbsKey` is never used [INFO] [stdout] --> src/pbs.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) trait PbsKey { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WithShoupRepr` is never used [INFO] [stdout] --> src/pbs.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) trait WithShoupRepr: AsRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PbsInfo` is never used [INFO] [stdout] --> src/pbs.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) trait PbsInfo { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pbs` is never used [INFO] [stdout] --> src/pbs.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | pub(crate) fn pbs< [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blind_rotation` is never used [INFO] [stdout] --> src/pbs.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | fn blind_rotation< [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mod_switch_odd` is never used [INFO] [stdout] --> src/pbs.rs:416:4 [INFO] [stdout] | [INFO] [stdout] 416 | fn mod_switch_odd(v: f64, from_q: f64, to_q: f64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_extract` is never used [INFO] [stdout] --> src/pbs.rs:423:15 [INFO] [stdout] | [INFO] [stdout] 423 | pub(crate) fn sample_extract>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `monomial_mul` is never used [INFO] [stdout] --> src/pbs.rs:454:4 [INFO] [stdout] | [INFO] [stdout] 454 | fn monomial_mul>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RandomElementInModulus` is never used [INFO] [stdout] --> src/random.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait RandomElementInModulus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RandomGaussianElementInModulus` is never used [INFO] [stdout] --> src/random.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait RandomGaussianElementInModulus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RandomFillGaussian` is never used [INFO] [stdout] --> src/random.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait RandomFillGaussian [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RandomFillGaussianInModulus` is never used [INFO] [stdout] --> src/random.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait RandomFillGaussianInModulus [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `fill_bytes` are never used [INFO] [stdout] --> src/random.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl DefaultSecureRng { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn new() -> DefaultSecureRng { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn fill_bytes(&mut self, a: &mut [u8; 32]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_auto_map` is never used [INFO] [stdout] --> src/rgsw/keygen.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) fn generate_auto_map(ring_size: usize, k: isize) -> (Vec, Vec) { [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 `seeded_rlwe_ksk_gen` is never used [INFO] [stdout] --> src/rgsw/keygen.rs:306:4 [INFO] [stdout] | [INFO] [stdout] 306 | fn seeded_rlwe_ksk_gen< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seeded_auto_key_gen` is never used [INFO] [stdout] --> src/rgsw/keygen.rs:376:15 [INFO] [stdout] | [INFO] [stdout] 376 | pub(crate) fn seeded_auto_key_gen< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seeded_secret_key_encrypt_rlwe` is never used [INFO] [stdout] --> src/rgsw/keygen.rs:439:15 [INFO] [stdout] | [INFO] [stdout] 439 | pub(crate) fn seeded_secret_key_encrypt_rlwe< [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: trait `RlweCiphertext` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) trait RlweCiphertext { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RgswCiphertext` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) trait RgswCiphertext { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RgswCiphertextMut` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) trait RgswCiphertextMut: RgswCiphertext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RlweKsk` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) trait RlweKsk { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RuntimeScratchMatrix` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | pub(crate) trait RuntimeScratchMatrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RlweCiphertextMutRef` is never constructed [INFO] [stdout] --> src/rgsw/runtime.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) struct RlweCiphertextMutRef<'a, R> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 131 | impl<'a, R> RlweCiphertextMutRef<'a, R> { [INFO] [stdout] | --------------------------------------- associated function in this implementation [INFO] [stdout] 132 | pub(crate) fn new(data: &'a mut [R]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data`, `d_a`, and `d_b` are never read [INFO] [stdout] --> src/rgsw/runtime.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub(crate) struct RgswCiphertextRef<'a, R> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 157 | data: &'a [R], [INFO] [stdout] | ^^^^ [INFO] [stdout] 158 | d_a: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 159 | d_b: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:163:19 [INFO] [stdout] | [INFO] [stdout] 162 | impl<'a, R> RgswCiphertextRef<'a, R> { [INFO] [stdout] | ------------------------------------ associated function in this implementation [INFO] [stdout] 163 | pub(crate) fn new(data: &'a [R], d_a: usize, d_b: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RgswCiphertextMutRef` is never constructed [INFO] [stdout] --> src/rgsw/runtime.rs:183:19 [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) struct RgswCiphertextMutRef<'a, R> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:190:19 [INFO] [stdout] | [INFO] [stdout] 189 | impl<'a, R> RgswCiphertextMutRef<'a, R> { [INFO] [stdout] | --------------------------------------- associated function in this implementation [INFO] [stdout] 190 | pub(crate) fn new(data: &'a mut [R], d_a: usize, d_b: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RlweKskRef` is never constructed [INFO] [stdout] --> src/rgsw/runtime.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | pub(crate) struct RlweKskRef<'a, R> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:239:19 [INFO] [stdout] | [INFO] [stdout] 238 | impl<'a, R: Row> RlweKskRef<'a, R> { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] 239 | pub(crate) fn new(ksk: &'a [R], decomposition_count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RuntimeScratchMutRef` is never constructed [INFO] [stdout] --> src/rgsw/runtime.rs:259:19 [INFO] [stdout] | [INFO] [stdout] 259 | pub(crate) struct RuntimeScratchMutRef<'a, R> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:264:19 [INFO] [stdout] | [INFO] [stdout] 263 | impl<'a, R> RuntimeScratchMutRef<'a, R> { [INFO] [stdout] | --------------------------------------- associated function in this implementation [INFO] [stdout] 264 | pub(crate) fn new(data: &'a mut [R]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rgsw_x_rgsw_scratch_rows` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:335:15 [INFO] [stdout] | [INFO] [stdout] 335 | pub(crate) fn rgsw_x_rgsw_scratch_rows>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rlwe_x_rgsw_scratch_rows` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:347:15 [INFO] [stdout] | [INFO] [stdout] 347 | pub(crate) fn rlwe_x_rgsw_scratch_rows>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rlwe_auto_scratch_rows` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:357:15 [INFO] [stdout] | [INFO] [stdout] 357 | pub(crate) fn rlwe_auto_scratch_rows>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `poly_fma_routine` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:363:15 [INFO] [stdout] | [INFO] [stdout] 363 | pub(crate) fn poly_fma_routine>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decompose_r` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:382:15 [INFO] [stdout] | [INFO] [stdout] 382 | pub(crate) fn decompose_r>( [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_auto_shoup` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:530:15 [INFO] [stdout] | [INFO] [stdout] 530 | pub(crate) fn rlwe_auto_shoup< [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 `rlwe_by_rgsw_shoup` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:754:15 [INFO] [stdout] | [INFO] [stdout] 754 | pub(crate) fn rlwe_by_rgsw_shoup< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rgsw_by_rgsw_inplace` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:883:15 [INFO] [stdout] | [INFO] [stdout] 883 | pub(crate) fn rgsw_by_rgsw_inplace< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rlwe_key_switch` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:1001:15 [INFO] [stdout] | [INFO] [stdout] 1001 | pub(crate) fn rlwe_key_switch< [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WithLocal` is never used [INFO] [stdout] --> src/utils.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait WithLocal { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Global` is never used [INFO] [stdout] --> src/utils.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait Global { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_random_ternary_secret_with_hamming_weight` is never used [INFO] [stdout] --> src/utils.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn fill_random_ternary_secret_with_hamming_weight< [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: function `encode_x_pow_si_with_emebedding_factor` is never used [INFO] [stdout] --> src/utils.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | pub(crate) fn encode_x_pow_si_with_emebedding_factor< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TryConvertFrom1` is never used [INFO] [stdout] --> src/utils.rs:239:11 [INFO] [stdout] | [INFO] [stdout] 239 | pub trait TryConvertFrom1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FheUint8` in this scope [INFO] [stdout] --> examples/interactive_fheuint8.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | fn function1_fhe(a: &FheUint8, b: &FheUint8, c: &FheUint8, d: &FheUint8) -> FheUint8 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FheUint8` in this scope [INFO] [stdout] --> examples/interactive_fheuint8.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | fn function1_fhe(a: &FheUint8, b: &FheUint8, c: &FheUint8, d: &FheUint8) -> FheUint8 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FheUint8` in this scope [INFO] [stdout] --> examples/interactive_fheuint8.rs:9:50 [INFO] [stdout] | [INFO] [stdout] 9 | fn function1_fhe(a: &FheUint8, b: &FheUint8, c: &FheUint8, d: &FheUint8) -> FheUint8 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FheUint8` in this scope [INFO] [stdout] --> examples/interactive_fheuint8.rs:9:64 [INFO] [stdout] | [INFO] [stdout] 9 | fn function1_fhe(a: &FheUint8, b: &FheUint8, c: &FheUint8, d: &FheUint8) -> FheUint8 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FheUint8` in this scope [INFO] [stdout] --> examples/interactive_fheuint8.rs:9:77 [INFO] [stdout] | [INFO] [stdout] 9 | fn function1_fhe(a: &FheUint8, b: &FheUint8, c: &FheUint8, d: &FheUint8) -> FheUint8 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FheUint8` in this scope [INFO] [stdout] --> examples/interactive_fheuint8.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | fn function2_fhe(a: &FheUint8, b: &FheUint8, c: &FheUint8, d: &FheUint8) -> FheUint8 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FheUint8` in this scope [INFO] [stdout] --> examples/interactive_fheuint8.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | fn function2_fhe(a: &FheUint8, b: &FheUint8, c: &FheUint8, d: &FheUint8) -> FheUint8 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FheUint8` in this scope [INFO] [stdout] --> examples/interactive_fheuint8.rs:17:50 [INFO] [stdout] | [INFO] [stdout] 17 | fn function2_fhe(a: &FheUint8, b: &FheUint8, c: &FheUint8, d: &FheUint8) -> FheUint8 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FheUint8` in this scope [INFO] [stdout] --> examples/interactive_fheuint8.rs:17:64 [INFO] [stdout] | [INFO] [stdout] 17 | fn function2_fhe(a: &FheUint8, b: &FheUint8, c: &FheUint8, d: &FheUint8) -> FheUint8 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FheUint8` in this scope [INFO] [stdout] --> examples/interactive_fheuint8.rs:17:77 [INFO] [stdout] | [INFO] [stdout] 17 | fn function2_fhe(a: &FheUint8, b: &FheUint8, c: &FheUint8, d: &FheUint8) -> FheUint8 { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ParameterSelector` [INFO] [stdout] --> examples/interactive_fheuint8.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | set_parameter_set(ParameterSelector::InteractiveLTE4Party); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `ParameterSelector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_parameter_set` in this scope [INFO] [stdout] --> examples/interactive_fheuint8.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | set_parameter_set(ParameterSelector::InteractiveLTE4Party); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_common_reference_seed` in this scope [INFO] [stdout] --> examples/interactive_fheuint8.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | set_common_reference_seed(seed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gen_client_key` in this scope [INFO] [stdout] --> examples/interactive_fheuint8.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | .map(|_| gen_client_key()) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [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] 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `aggregate_server_key_shares` in this scope [INFO] [stdout] --> examples/interactive_fheuint8.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | let server_key = aggregate_server_key_shares(&server_key_shares); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `phantom-zone` (example "interactive_fheuint8") due to 18 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: 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: 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(in crate::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(in crate::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: trait `BooleanGates` is never used [INFO] [stdout] --> src/bool/mod.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) trait BooleanGates { [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: methods `ni_rgsw_cts_main_seed` and `ni_rgsw_ct_seed_for_index` are never used [INFO] [stdout] --> src/bool/evaluator.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 129 | impl NonInteractiveMultiPartyCrs { [INFO] [stdout] | ------------------------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub(crate) fn ni_rgsw_cts_main_seed + RandomFill>(&self) -> S { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub(crate) fn ni_rgsw_ct_seed_for_index + RandomFill>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScratchMemory` is never constructed [INFO] [stdout] --> src/bool/evaluator.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | struct ScratchMemory [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bool/evaluator.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 182 | / impl ScratchMemory [INFO] [stdout] 183 | | where [INFO] [stdout] 184 | | M::R: RowEntity, [INFO] [stdout] | |____________________- associated function in this implementation [INFO] [stdout] 185 | { [INFO] [stdout] 186 | fn new(parameters: &BoolParameters) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BoolEncoding` is never used [INFO] [stdout] --> src/bool/evaluator.rs:209:18 [INFO] [stdout] | [INFO] [stdout] 209 | pub(super) trait BoolEncoding { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoolPbsInfo` is never constructed [INFO] [stdout] --> src/bool/evaluator.rs:272:19 [INFO] [stdout] | [INFO] [stdout] 272 | pub(super) struct BoolPbsInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoolEvaluator` is never constructed [INFO] [stdout] --> src/bool/evaluator.rs:359:19 [INFO] [stdout] | [INFO] [stdout] 359 | pub(crate) struct BoolEvaluator [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parameters`, `pbs_info`, and `ni_ui_to_s_ks_decomposer` are never used [INFO] [stdout] --> src/bool/evaluator.rs:379:19 [INFO] [stdout] | [INFO] [stdout] 376 | / impl [INFO] [stdout] 377 | | BoolEvaluator [INFO] [stdout] | |______________________________________________________- methods in this implementation [INFO] [stdout] 378 | { [INFO] [stdout] 379 | pub(crate) fn parameters(&self) -> &BoolParameters { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub(super) fn pbs_info(&self) -> &BoolPbsInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | pub(super) fn ni_ui_to_s_ks_decomposer(&self) -> &Option> { [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: function `produce_rgsw_ciphertext_from_ni_rgsw` is never used [INFO] [stdout] --> src/bool/evaluator.rs:480:4 [INFO] [stdout] | [INFO] [stdout] 480 | fn produce_rgsw_ciphertext_from_ni_rgsw< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multi_party_user_id_lwe_segment` is never used [INFO] [stdout] --> src/bool/evaluator.rs:613:15 [INFO] [stdout] | [INFO] [stdout] 613 | pub(super) fn multi_party_user_id_lwe_segment( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bool/evaluator.rs:651: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] | |_____________________________- associated items in this implementation [INFO] [stdout] 650 | { [INFO] [stdout] 651 | pub(super) fn new(parameters: BoolParameters) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 786 | pub(crate) fn client_key( [INFO] [stdout] | ^^^^^^^^^^ [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] 1222 | pub(super) fn aggregate_non_interactive_multi_party_server_key_shares( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1624 | pub(super) fn gen_non_interactive_multi_party_key_share< [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 `SinglePartyClientKey` is never used [INFO] [stdout] --> src/bool/keys.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) trait SinglePartyClientKey { [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: trait `NonInteractiveMultiPartyClientKey` is never used [INFO] [stdout] --> src/bool/keys.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) trait NonInteractiveMultiPartyClientKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `seed` and `parameters` are never read [INFO] [stdout] --> src/bool/keys.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct ClientKey { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 51 | seed: S, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | parameters: BoolParameters, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientKey` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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: associated function `new` is never used [INFO] [stdout] --> src/bool/keys.rs:1045:19 [INFO] [stdout] | [INFO] [stdout] 1044 | impl SeededNonInteractiveMultiPartyServerKey { [INFO] [stdout] | ---------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 1045 | pub(super) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rgsw_cts`, `auto_keys`, `lwe_ksk`, and `ui_to_s_ksks` are never read [INFO] [stdout] --> src/bool/keys.rs:1069:5 [INFO] [stdout] | [INFO] [stdout] 1068 | pub(crate) struct ShoupNonInteractiveServerKeyEvaluationDomain { [INFO] [stdout] | -------------------------------------------- fields in this struct [INFO] [stdout] 1069 | rgsw_cts: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1070 | auto_keys: HashMap>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1071 | lwe_ksk: M, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 1072 | ui_to_s_ksks: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rgsw_cts`, `galois_keys`, and `lwe_ksk` are never read [INFO] [stdout] --> src/bool/keys.rs:1180:5 [INFO] [stdout] | [INFO] [stdout] 1179 | pub(crate) struct ShoupServerKeyEvaluationDomain { [INFO] [stdout] | ------------------------------ fields in this struct [INFO] [stdout] 1180 | rgsw_cts: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1181 | galois_keys: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1182 | lwe_ksk: M, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommonReferenceSeededNonInteractiveMultiPartyServerKeyShare` is never constructed [INFO] [stdout] --> src/bool/keys.rs:1240:12 [INFO] [stdout] | [INFO] [stdout] 1240 | pub struct CommonReferenceSeededNonInteractiveMultiPartyServerKeyShare { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bool/keys.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 64 | impl ClientKey<[u8; 32], E> { [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] 65 | pub(in super::super) fn new(parameters: BoolParameters) -> ClientKey<[u8; 32], E> { [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: method `ui_to_s_ksk` is never used [INFO] [stdout] --> src/bool/keys.rs:1083:33 [INFO] [stdout] | [INFO] [stdout] 1082 | impl ShoupNonInteractiveServerKeyEvaluationDomain { [INFO] [stdout] | ------------------------------------------------------- method in this implementation [INFO] [stdout] 1083 | pub(in super::super) fn ui_to_s_ksk(&self, user_id: usize) -> &NormalAndShoup { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bool/keys.rs:1298:33 [INFO] [stdout] | [INFO] [stdout] 1297 | impl CommonReferenceSeededNonInteractiveMultiPartyServerKeyShare { [INFO] [stdout] | ------------------------------------------------------------------------------------------ associated items in this implementation [INFO] [stdout] 1298 | pub(in super::super) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1328 | pub(in super::super) fn ni_rgsw_cts_for_self_leader_lwe_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1338 | pub(in super::super) fn ni_rgsw_cts_for_self_not_leader_lwe_index( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1357 | pub(in super::super) fn ni_rgsw_zero_enc_for_lwe_index(&self, lwe_index: usize) -> &M { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1361 | pub(in super::super) fn ui_to_s_ksk(&self) -> &M { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1365 | pub(in super::super) fn user_index(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1369 | pub(in super::super) fn auto_keys_share(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1373 | pub(in super::super) fn lwe_ksk_share(&self) -> &M::R { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1377 | pub(in super::super) fn ui_to_s_ksk_zero_encs_for_user_i(&self, user_i: usize) -> &M { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1386 | pub(in super::super) fn cr_seed(&self) -> &S { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1390 | pub(in super::super) fn parameters(&self) -> &P { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `KeySize` is never used [INFO] [stdout] --> src/bool/keys.rs:1432:22 [INFO] [stdout] | [INFO] [stdout] 1432 | pub(crate) trait KeySize { [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: method `decomposition_base` is never used [INFO] [stdout] --> src/bool/parameters.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) trait DoubleDecomposerParams { [INFO] [stdout] | ---------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | fn decomposition_base(&self) -> Self::Base; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `decomposition_base` is never used [INFO] [stdout] --> src/bool/parameters.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) trait SingleDecomposerParams { [INFO] [stdout] | ---------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 29 | fn decomposition_base(&self) -> Self::Base; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TernaryDistribution` is never constructed [INFO] [stdout] --> src/bool/parameters.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) enum SecretKeyDistribution { [INFO] [stdout] | --------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 88 | TernaryDistribution, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SecretKeyDistribution` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SingleParty`, `InteractiveMultiParty`, and `NonInteractiveMultiParty` 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] 95 | NonInteractiveMultiParty, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParameterVariant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/bool/parameters.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 169 | impl BoolParameters { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] 170 | pub(crate) fn rlwe_secret_key_dist(&self) -> &SecretKeyDistribution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub(crate) fn lwe_secret_key_dist(&self) -> &SecretKeyDistribution { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub(crate) fn br_q(&self) -> &usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub(crate) fn w(&self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub(crate) fn rlwe_by_rgsw_decomposition_params( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 243 | pub(crate) fn auto_decomposition_param(&self) -> &(DecompostionLogBase, 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] 275 | pub(crate) fn rgsw_rgsw_decomposer>(&self) -> (D, D) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub(crate) fn auto_decomposer>(&self) -> D [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub(crate) fn lwe_decomposer>(&self) -> D [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub(crate) fn rlwe_rgsw_decomposer>(&self) -> (D, D) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | pub(crate) fn non_interactive_ui_to_s_key_switch_decomposer>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | pub(crate) fn variant(&self) -> &ParameterVariant { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_native` and `new_non_native` are never used [INFO] [stdout] --> src/bool/parameters.rs:403:14 [INFO] [stdout] | [INFO] [stdout] 402 | impl CiphertextModulus { [INFO] [stdout] | --------------------------------------- associated functions in this implementation [INFO] [stdout] 403 | const fn new_native() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | const fn new_non_native(q: T) -> 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_2P` is never used [INFO] [stdout] --> src/bool/parameters.rs:598:18 [INFO] [stdout] | [INFO] [stdout] 598 | pub(crate) const NI_2P: BoolParameters = BoolParameters:: { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NI_4P_HB_FR` is never used [INFO] [stdout] --> src/bool/parameters.rs:625:18 [INFO] [stdout] | [INFO] [stdout] 625 | pub(crate) const NI_4P_HB_FR: 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 `NI_8P` is never used [INFO] [stdout] --> src/bool/parameters.rs:679:18 [INFO] [stdout] | [INFO] [stdout] 679 | pub(crate) const NI_8P: 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: trait `CollectRuntimeServerKeyStats` is never used [INFO] [stdout] --> src/bool/print_noise.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) trait CollectRuntimeServerKeyStats { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ServerKeyStats` is never constructed [INFO] [stdout] --> src/bool/print_noise.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct ServerKeyStats { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerKeyStats` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_noise_brk_rgsw_cts_nsm`, `add_noise_brk_rgsw_cts_m`, `add_noise_post_1_auto`, `add_noise_post_kwe_key_switch`, and `merge_in` are never used [INFO] [stdout] --> src/bool/print_noise.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 53 | / impl ServerKeyStats [INFO] [stdout] 54 | | where [INFO] [stdout] 55 | | T: for<'a> Sum<&'a T>, [INFO] [stdout] | |__________________________- associated items in this implementation [INFO] [stdout] 56 | { [INFO] [stdout] 57 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn add_noise_brk_rgsw_cts_nsm(&mut self, noise: &[T]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn add_noise_brk_rgsw_cts_m(&mut self, noise: &[T]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn add_noise_post_1_auto(&mut self, noise: &[T]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn add_noise_post_kwe_key_switch(&mut self, noise: &[T]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn merge_in(&mut self, other: &Self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_server_key_stats` is never used [INFO] [stdout] --> src/bool/print_noise.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn collect_server_key_stats< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K` is never used [INFO] [stdout] --> src/bool/print_noise.rs:473:11 [INFO] [stdout] | [INFO] [stdout] 473 | const K: usize = 10; [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 `multi_party_decryption_share` is never used [INFO] [stdout] --> src/multi_party.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) fn multi_party_decryption_share< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multi_party_aggregate_decryption_shares_and_decrypt` is never used [INFO] [stdout] --> src/multi_party.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | pub(crate) fn multi_party_aggregate_decryption_shares_and_decrypt< [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: function `non_interactive_ksk_gen` is never used [INFO] [stdout] --> src/multi_party.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | pub(crate) fn non_interactive_ksk_gen< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `non_interactive_ksk_zero_encryptions_for_other_party_i` is never used [INFO] [stdout] --> src/multi_party.rs:241:15 [INFO] [stdout] | [INFO] [stdout] 241 | pub(crate) fn non_interactive_ksk_zero_encryptions_for_other_party_i< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PbsKey` is never used [INFO] [stdout] --> src/pbs.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) trait PbsKey { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WithShoupRepr` is never used [INFO] [stdout] --> src/pbs.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) trait WithShoupRepr: AsRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PbsInfo` is never used [INFO] [stdout] --> src/pbs.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) trait PbsInfo { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pbs` is never used [INFO] [stdout] --> src/pbs.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | pub(crate) fn pbs< [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blind_rotation` is never used [INFO] [stdout] --> src/pbs.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | fn blind_rotation< [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mod_switch_odd` is never used [INFO] [stdout] --> src/pbs.rs:416:4 [INFO] [stdout] | [INFO] [stdout] 416 | fn mod_switch_odd(v: f64, from_q: f64, to_q: f64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_extract` is never used [INFO] [stdout] --> src/pbs.rs:423:15 [INFO] [stdout] | [INFO] [stdout] 423 | pub(crate) fn sample_extract>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `monomial_mul` is never used [INFO] [stdout] --> src/pbs.rs:454:4 [INFO] [stdout] | [INFO] [stdout] 454 | fn monomial_mul>( [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: function `rlwe_key_switch` is never used [INFO] [stdout] --> src/rgsw/runtime.rs:1001:15 [INFO] [stdout] | [INFO] [stdout] 1001 | pub(crate) fn rlwe_key_switch< [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: associated functions `with_local` and `with_local_mut_mut` are never used [INFO] [stdout] --> src/utils.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait WithLocal { [INFO] [stdout] | --------- associated functions in this trait [INFO] [stdout] 13 | fn with_local(func: F) -> R [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn with_local_mut_mut(func: &mut F) -> R [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Global` is never used [INFO] [stdout] --> src/utils.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait Global { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_x_pow_si_with_emebedding_factor` is never used [INFO] [stdout] --> src/utils.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | pub(crate) fn encode_x_pow_si_with_emebedding_factor< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_sample` and `merge_in` are never used [INFO] [stdout] --> src/utils.rs:329:23 [INFO] [stdout] | [INFO] [stdout] 291 | / impl Stats [INFO] [stdout] 292 | | where [INFO] [stdout] 293 | | // T: for<'a> Sum<&'a T>, [INFO] [stdout] 294 | | T: for<'a> std::iter::Sum<&'a T> + std::iter::Sum, [INFO] [stdout] | |_____________________________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 329 | pub(crate) fn add_sample(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | pub(crate) fn merge_in(&mut self, other: &Self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c97810d3f4f70ab5f09769d436f6cdc5177d47e394a663bbdc2e165eed8ab0be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c97810d3f4f70ab5f09769d436f6cdc5177d47e394a663bbdc2e165eed8ab0be", kill_on_drop: false }` [INFO] [stdout] c97810d3f4f70ab5f09769d436f6cdc5177d47e394a663bbdc2e165eed8ab0be