[INFO] cloning repository https://github.com/Stirling75/RevHomTrace [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Stirling75/RevHomTrace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStirling75%2FRevHomTrace", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStirling75%2FRevHomTrace'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 47c8f6f6b65a451a14b542dc45c873f1e962decd [INFO] checking Stirling75/RevHomTrace against 95f0840caffecee2d5a8b374e44806c3a0d50ca1 for pr-163717-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStirling75%2FRevHomTrace" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Stirling75/RevHomTrace [INFO] finished tweaking git repo https://github.com/Stirling75/RevHomTrace [INFO] tweaked toml for git repo https://github.com/Stirling75/RevHomTrace written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Stirling75/RevHomTrace on toolchain 95f0840caffecee2d5a8b374e44806c3a0d50ca1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95f0840caffecee2d5a8b374e44806c3a0d50ca1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Stirling75/RevHomTrace 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" "+95f0840caffecee2d5a8b374e44806c3a0d50ca1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 37410d5d9946472f6b1d7f2016fa40830ec4fe51fc9e7dc14310a24ccaeb86c7 [INFO] running `Command { std: "docker" "start" "37410d5d9946472f6b1d7f2016fa40830ec4fe51fc9e7dc14310a24ccaeb86c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37410d5d9946472f6b1d7f2016fa40830ec4fe51fc9e7dc14310a24ccaeb86c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "37410d5d9946472f6b1d7f2016fa40830ec4fe51fc9e7dc14310a24ccaeb86c7" "/opt/rustwide/cargo-home/bin/cargo" "+95f0840caffecee2d5a8b374e44806c3a0d50ca1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37410d5d9946472f6b1d7f2016fa40830ec4fe51fc9e7dc14310a24ccaeb86c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "37410d5d9946472f6b1d7f2016fa40830ec4fe51fc9e7dc14310a24ccaeb86c7" "/opt/rustwide/cargo-home/bin/cargo" "+95f0840caffecee2d5a8b374e44806c3a0d50ca1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Checking reborrow v0.5.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling concrete-csprng v0.4.1 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Compiling tfhe v0.5.4 [INFO] [stderr] Checking dyn-stack v0.9.1 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking pulp v0.18.22 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking concrete-fft v0.4.1 [INFO] [stderr] Checking refined-tfhe-lhe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `fourier_glwe_keyswitch::*` and `glwe_keyswitch::*` [INFO] [stdout] --> src/automorphism_rev.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{automorphism::*, utils::*, glwe_keyswitch::*, fourier_glwe_keyswitch::*, mod_switch_rev::*, mod_switch::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `algorithms::slice_algorithms::slice_wrapping_opposite_assign` [INFO] [stdout] --> src/glwe_conv_rev.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | algorithms::slice_algorithms::slice_wrapping_opposite_assign, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glwe_conv::*` [INFO] [stdout] --> src/glwe_conv_rev.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | glwe_conv::*, automorphism_rev::*, automorphism::*, keyswitch_glwe_ciphertext, mod_switch_rev::*, mod_switch::*, utils::*, Fouri... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CACHELINE_ALIGN` [INFO] [stdout] --> src/ggsw_conv_rev.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use aligned_vec::{ABox, CACHELINE_ALIGN}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bootstrap::FourierLweBootstrapKeyView` and `polynomial_algorithms::*` [INFO] [stdout] --> src/ggsw_conv_rev.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | bootstrap::FourierLweBootstrapKeyView, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | prelude::{polynomial_algorithms::*, *}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FourierGlweKeyswitchKey`, `glwe_preprocessing_assign`, `keyswitch_glwe_ciphertext`, and `pbs::*` [INFO] [stdout] --> src/ggsw_conv_rev.rs:13:79 [INFO] [stdout] | [INFO] [stdout] 13 | ..., glwe_conv::*, glwe_preprocessing_assign, keyswitch_glwe_ciphertext, pbs::*, utils::*, FourierGlweKeyswitchKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tfhe::core_crypto::algorithms::slice_algorithms::*` [INFO] [stdout] --> src/lwe_to_glwe.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tfhe::core_crypto::algorithms::slice_algorithms::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tfhe::core_crypto::commons::traits::*` [INFO] [stdout] --> src/lwe_to_glwe.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tfhe::core_crypto::commons::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tfhe::core_crypto::entities::*` [INFO] [stdout] --> src/lwe_to_glwe.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tfhe::core_crypto::entities::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `algorithms::slice_algorithms::slice_wrapping_opposite_assign` [INFO] [stdout] --> src/lwe_to_glwe.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | algorithms::slice_algorithms::slice_wrapping_opposite_assign, prelude::{polynomial_algorithms::*, *} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GlevCiphertextList` and `encrypt_glev_ciphertext` [INFO] [stdout] --> src/lwe_to_glwe.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{encrypt_glev_ciphertext, GlevCiphertextList}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fourier_glwe_keyswitch::*` and `glwe_keyswitch::*` [INFO] [stdout] --> src/automorphism_rev.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{automorphism::*, utils::*, glwe_keyswitch::*, fourier_glwe_keyswitch::*, mod_switch_rev::*, mod_switch::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `algorithms::slice_algorithms::slice_wrapping_opposite_assign` [INFO] [stdout] --> src/glwe_conv_rev.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | algorithms::slice_algorithms::slice_wrapping_opposite_assign, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glwe_conv::*` [INFO] [stdout] --> src/glwe_conv_rev.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | glwe_conv::*, automorphism_rev::*, automorphism::*, keyswitch_glwe_ciphertext, mod_switch_rev::*, mod_switch::*, utils::*, Fouri... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CACHELINE_ALIGN` [INFO] [stdout] --> src/ggsw_conv_rev.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use aligned_vec::{ABox, CACHELINE_ALIGN}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bootstrap::FourierLweBootstrapKeyView` and `polynomial_algorithms::*` [INFO] [stdout] --> src/ggsw_conv_rev.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | bootstrap::FourierLweBootstrapKeyView, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | prelude::{polynomial_algorithms::*, *}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FourierGlweKeyswitchKey`, `glwe_preprocessing_assign`, `keyswitch_glwe_ciphertext`, and `pbs::*` [INFO] [stdout] --> src/ggsw_conv_rev.rs:13:79 [INFO] [stdout] | [INFO] [stdout] 13 | ..., glwe_conv::*, glwe_preprocessing_assign, keyswitch_glwe_ciphertext, pbs::*, utils::*, FourierGlweKeyswitchKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tfhe::core_crypto::algorithms::slice_algorithms::*` [INFO] [stdout] --> src/lwe_to_glwe.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tfhe::core_crypto::algorithms::slice_algorithms::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tfhe::core_crypto::commons::traits::*` [INFO] [stdout] --> src/lwe_to_glwe.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tfhe::core_crypto::commons::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tfhe::core_crypto::entities::*` [INFO] [stdout] --> src/lwe_to_glwe.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tfhe::core_crypto::entities::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `algorithms::slice_algorithms::slice_wrapping_opposite_assign` [INFO] [stdout] --> src/lwe_to_glwe.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | algorithms::slice_algorithms::slice_wrapping_opposite_assign, prelude::{polynomial_algorithms::*, *} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GlevCiphertextList` and `encrypt_glev_ciphertext` [INFO] [stdout] --> src/lwe_to_glwe.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{encrypt_glev_ciphertext, GlevCiphertextList}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ciphertext_modulus` [INFO] [stdout] --> src/glwe_conv_rev.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let ciphertext_modulus = input.ciphertext_modulus(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ciphertext_modulus` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/glwe_conv_rev.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | let mut buf = LweCiphertext::new(Scalar::ZERO, lwe_size, ciphertext_modulus); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/glwe_conv_rev.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | let mut buf = LweCiphertext::new(Scalar::ZERO, lwe_size, ciphertext_modulus); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lwe_to_glwe.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let mut buffer = GlweCiphertext::new( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lwe_to_glwe.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | let mut tmp = GlweCiphertext::new( [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/lwe_to_glwe.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let mut buffer = GlweCiphertext::new( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decomp_level_count` [INFO] [stdout] --> src/lwe_to_glwe.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let decomp_level_count = lwe_pksk.decomposition_level_count().0 as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decomp_level_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp` [INFO] [stdout] --> src/lwe_to_glwe.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | let mut tmp = GlweCiphertext::new( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tmp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fourier_glwe_ciphertext.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn as_fourier_polynomial_list(&self) -> FourierPolynomialListView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 109 | pub fn as_fourier_polynomial_list(&self) -> FourierPolynomialListView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fourier_glwe_ciphertext.rs:119:43 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn as_mut_fourier_polynomial_list(&mut self) -> FourierPolynomialListMutView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 119 | pub fn as_mut_fourier_polynomial_list(&mut self) -> FourierPolynomialListMutView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fourier_glev_ciphertext.rs:83:44 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn as_fourier_glwe_ciphertext_list(&self) -> FourierGlweCiphertextListView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn as_fourier_glwe_ciphertext_list(&self) -> FourierGlweCiphertextListView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fourier_glev_ciphertext.rs:93:48 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn as_mut_fourier_glwe_ciphertext_list(&mut self) -> FourierGlweCiphertextListMutView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 93 | pub fn as_mut_fourier_glwe_ciphertext_list(&mut self) -> FourierGlweCiphertextListMutView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fourier_glwe_keyswitch.rs:102:44 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn as_fourier_glev_ciphertext_list(&self) -> FourierGlevCiphertextListView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 102 | pub fn as_fourier_glev_ciphertext_list(&self) -> FourierGlevCiphertextListView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fourier_glwe_keyswitch.rs:114:48 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn as_mut_fourier_glev_ciphertext_list(&mut self) -> FourierGlevCiphertextListMutView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 114 | pub fn as_mut_fourier_glev_ciphertext_list(&mut self) -> FourierGlevCiphertextListMutView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ciphertext_modulus` [INFO] [stdout] --> src/glwe_conv_rev.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let ciphertext_modulus = input.ciphertext_modulus(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ciphertext_modulus` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/glwe_conv_rev.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | let mut buf = LweCiphertext::new(Scalar::ZERO, lwe_size, ciphertext_modulus); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/glwe_conv_rev.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | let mut buf = LweCiphertext::new(Scalar::ZERO, lwe_size, ciphertext_modulus); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dyn_stack::ReborrowMut` [INFO] [stdout] --> benches/bench_integer_input_lhe.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dyn_stack::ReborrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `circuit_bootstrap_boolean_scratch`, `extract_bits_scratch`, and `extract_bits` [INFO] [stdout] --> benches/bench_integer_input_lhe.rs:5:59 [INFO] [stdout] | [INFO] [stdout] 5 | use tfhe::core_crypto::fft_impl::fft64::crypto::wop_pbs::{extract_bits_scratch, extract_bits, circuit_bootstrap_boolean_scratch}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `convert_to_ggsw_after_blind_rotate` and `lwe_msb_bit_to_lev` [INFO] [stdout] --> benches/bench_integer_input_lhe.rs:6:185 [INFO] [stdout] | [INFO] [stdout] 6 | ...r, convert_to_ggsw_after_blind_rotate, convert_to_ggsw_after_blind_rotate_high_prec, gen_all_auto_keys, generate_scheme_switching_key, get_max_err_ggsw_bit, glwe_ciphertext_clone_from, glwe_ciphertext_monic_monomial_div, keygen_pbs, lwe_msb_bit_to_lev, i... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tfhe::core_crypto::fft_impl::fft64::c64` [INFO] [stdout] --> benches/bench_ks_err.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tfhe::core_crypto::fft_impl::fft64::c64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `blind_rotate_for_msb`, `convert_to_ggsw_after_blind_rotate`, `get_max_err_ggsw_bit`, `glwe_ciphertext_clone_from`, `glwe_ciphertext_monic_monomial_div`, `glwe_preprocessing_assign`, `revtrace_assign`, `trace_assign_with_glwe_preprocess`, and `trace_assign` [INFO] [stdout] --> benches/bench_ks_err.rs:4:118 [INFO] [stdout] | [INFO] [stdout] 4 | ...r, glwe_preprocessing_assign, trace_assign_with_glwe_preprocess, revtrace_assign, get_glwe_avg_err, get_glwe_max_err, get_glwe_l2_err, trace_assign, blind_rotate_for_msb, convert_to_ggsw_after_blind_rotate, gen_all_auto_keys, get_max_err_ggsw_bit, glwe_ciphertext_clone_from, glwe_ciphertext_monic_monomial_div, k... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `keyswitch_glwe_ciphertext` [INFO] [stdout] --> benches/bench_ks_err.rs:5:56 [INFO] [stdout] | [INFO] [stdout] 5 | use refined_tfhe_lhe::{glwe_conv::*, glwe_conv_rev::*, keyswitch_glwe_ciphertext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tfhe::core_crypto::fft_impl::fft64::c64` [INFO] [stdout] --> benches/bench_auto.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tfhe::core_crypto::fft_impl::fft64::c64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `blind_rotate_for_msb`, `convert_to_ggsw_after_blind_rotate_revtrace`, `convert_to_ggsw_after_blind_rotate`, `get_glwe_avg_err`, `get_glwe_l2_err`, `get_glwe_max_err`, `get_max_err_ggsw_bit`, `glwe_ciphertext_monic_monomial_div`, `glwe_conv_rev::*`, `mod_switch_rev::*`, and `trace_assign_with_glwe_preprocess` [INFO] [stdout] --> benches/bench_auto.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | ...::{mod_switch_rev::*, glwe_conv_rev::*, allocate_and_generate_new_glwe_keyswitch_key, convert_standard_glwe_keyswitch_key_to_fourier, glwe_preprocessing_assign, trace_assign_with_glwe_preprocess, revtrace_assign, get_glwe_avg_err, get_glwe_max_err, get_glwe_l2_err, trace_assign, blind_rotate_for_msb, convert_to_ggsw_after_blind_rotate, convert_to_ggsw_after_blind_rotate_revtrace, gen_all_auto_keys, generate_scheme_switching_key, get_max_err_ggsw_bit, glwe_ciphertext_clone_from, glwe_ciphertext_monic_monomial_div, k... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tfhe::core_crypto::fft_impl::fft64::c64` [INFO] [stdout] --> benches/bench_tradks_err.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tfhe::core_crypto::fft_impl::fft64::c64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tfhe::core_crypto::entities::LwePackingKeyswitchKey` [INFO] [stdout] --> benches/bench_tradks_err.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tfhe::core_crypto::entities::LwePackingKeyswitchKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `allocate_and_generate_new_glwe_keyswitch_key`, `blind_rotate_for_msb`, `convert_standard_glwe_keyswitch_key_to_fourier`, `convert_to_ggsw_after_blind_rotate`, `gen_all_auto_keys`, `get_max_err_ggsw_bit`, `glwe_ciphertext_clone_from`, `glwe_ciphertext_monic_monomial_div`, `glwe_preprocessing_assign`, `keygen_pbs`, `revtrace_assign`, `trace_assign_with_glwe_preprocess`, and `trace_assign` [INFO] [stdout] --> benches/bench_tradks_err.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | ...::{allocate_and_generate_new_glwe_keyswitch_key, convert_standard_glwe_keyswitch_key_to_fourier, glwe_preprocessing_assign, trace_assign_with_glwe_preprocess, revtrace_assign, get_glwe_avg_err, get_glwe_max_err, get_glwe_l2_err, trace_assign, blind_rotate_for_msb, convert_to_ggsw_after_blind_rotate, gen_all_auto_keys, get_max_err_ggsw_bit, glwe_ciphertext_clone_from, glwe_ciphertext_monic_monomial_div, keygen_pbs, i... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `glwe_conv::*`, `glwe_conv_rev::*`, and `keyswitch_glwe_ciphertext` [INFO] [stdout] --> benches/bench_tradks_err.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use refined_tfhe_lhe::{glwe_conv::*, glwe_conv_rev::*, keyswitch_glwe_ciphertext}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `refined_tfhe_lhe::FourierGlweKeyswitchKey` [INFO] [stdout] --> benches/bench_tradks_err.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use refined_tfhe_lhe::FourierGlweKeyswitchKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `sample_size` should have an upper case name [INFO] [stdout] --> benches/bench_ks_err.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | static sample_size:usize = 1000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 8 - static sample_size:usize = 1000; [INFO] [stdout] 8 + static SAMPLE_SIZE:usize = 1000; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tfhe::core_crypto::fft_impl::fft64::c64` [INFO] [stdout] --> benches/bench_ks.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tfhe::core_crypto::fft_impl::fft64::c64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `blind_rotate_for_msb`, `convert_to_ggsw_after_blind_rotate`, `get_glwe_avg_err`, `get_glwe_l2_err`, `get_glwe_max_err`, `get_max_err_ggsw_bit`, `glwe_ciphertext_clone_from`, `glwe_ciphertext_monic_monomial_div`, `glwe_preprocessing_assign`, `revtrace_assign`, `trace_assign_with_glwe_preprocess`, and `trace_assign` [INFO] [stdout] --> benches/bench_ks.rs:4:118 [INFO] [stdout] | [INFO] [stdout] 4 | ...r, glwe_preprocessing_assign, trace_assign_with_glwe_preprocess, revtrace_assign, get_glwe_avg_err, get_glwe_max_err, get_glwe_l2_err, trace_assign, blind_rotate_for_msb, convert_to_ggsw_after_blind_rotate, gen_all_auto_keys, get_max_err_ggsw_bit, glwe_ciphertext_clone_from, glwe_ciphertext_monic_monomial_div, k... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `keyswitch_glwe_ciphertext` [INFO] [stdout] --> benches/bench_ks.rs:5:56 [INFO] [stdout] | [INFO] [stdout] 5 | use refined_tfhe_lhe::{glwe_conv::*, glwe_conv_rev::*, keyswitch_glwe_ciphertext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `sample_size` should have an upper case name [INFO] [stdout] --> benches/bench_tradks.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | static sample_size:usize = 1000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 7 - static sample_size:usize = 1000; [INFO] [stdout] 7 + static SAMPLE_SIZE:usize = 1000; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tfhe::core_crypto::fft_impl::fft64::c64` [INFO] [stdout] --> benches/bench_auto_err.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tfhe::core_crypto::fft_impl::fft64::c64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `blind_rotate_for_msb`, `convert_to_ggsw_after_blind_rotate_revtrace`, `convert_to_ggsw_after_blind_rotate`, `get_max_err_ggsw_bit`, `glwe_ciphertext_monic_monomial_div`, `glwe_conv_rev::*`, `mod_switch_rev::*`, and `trace_assign_with_glwe_preprocess` [INFO] [stdout] --> benches/bench_auto_err.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | ...::{mod_switch_rev::*, glwe_conv_rev::*, allocate_and_generate_new_glwe_keyswitch_key, convert_standard_glwe_keyswitch_key_to_fourier, glwe_preprocessing_assign, trace_assign_with_glwe_preprocess, revtrace_assign, get_glwe_avg_err, get_glwe_max_err, get_glwe_l2_err, trace_assign, blind_rotate_for_msb, convert_to_ggsw_after_blind_rotate, convert_to_ggsw_after_blind_rotate_revtrace, gen_all_auto_keys, generate_scheme_switching_key, get_max_err_ggsw_bit, glwe_ciphertext_clone_from, glwe_ciphertext_monic_monomial_div, k... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `sample_size` should have an upper case name [INFO] [stdout] --> benches/bench_auto.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | static sample_size:usize = 1000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 9 - static sample_size:usize = 1000; [INFO] [stdout] 9 + static SAMPLE_SIZE:usize = 1000; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `sample_size` should have an upper case name [INFO] [stdout] --> benches/bench_tradks_err.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | static sample_size:usize = 1000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 12 - static sample_size:usize = 1000; [INFO] [stdout] 12 + static SAMPLE_SIZE:usize = 1000; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `sample_size` should have an upper case name [INFO] [stdout] --> benches/bench_ks.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | static sample_size:usize = 30; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 8 - static sample_size:usize = 30; [INFO] [stdout] 8 + static SAMPLE_SIZE:usize = 30; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `sample_size` should have an upper case name [INFO] [stdout] --> benches/bench_auto_err.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | static sample_size:usize = 1000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 9 - static sample_size:usize = 1000; [INFO] [stdout] 9 + static SAMPLE_SIZE:usize = 1000; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lwe_to_glwe.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let mut buffer = GlweCiphertext::new( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lwe_to_glwe.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | let mut tmp = GlweCiphertext::new( [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/lwe_to_glwe.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let mut buffer = GlweCiphertext::new( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decomp_level_count` [INFO] [stdout] --> src/lwe_to_glwe.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let decomp_level_count = lwe_pksk.decomposition_level_count().0 as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decomp_level_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp` [INFO] [stdout] --> src/lwe_to_glwe.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | let mut tmp = GlweCiphertext::new( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tmp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fourier_glwe_ciphertext.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn as_fourier_polynomial_list(&self) -> FourierPolynomialListView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 109 | pub fn as_fourier_polynomial_list(&self) -> FourierPolynomialListView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fourier_glwe_ciphertext.rs:119:43 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn as_mut_fourier_polynomial_list(&mut self) -> FourierPolynomialListMutView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 119 | pub fn as_mut_fourier_polynomial_list(&mut self) -> FourierPolynomialListMutView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fourier_glev_ciphertext.rs:83:44 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn as_fourier_glwe_ciphertext_list(&self) -> FourierGlweCiphertextListView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | pub fn as_fourier_glwe_ciphertext_list(&self) -> FourierGlweCiphertextListView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fourier_glev_ciphertext.rs:93:48 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn as_mut_fourier_glwe_ciphertext_list(&mut self) -> FourierGlweCiphertextListMutView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 93 | pub fn as_mut_fourier_glwe_ciphertext_list(&mut self) -> FourierGlweCiphertextListMutView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fourier_glwe_keyswitch.rs:102:44 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn as_fourier_glev_ciphertext_list(&self) -> FourierGlevCiphertextListView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 102 | pub fn as_fourier_glev_ciphertext_list(&self) -> FourierGlevCiphertextListView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fourier_glwe_keyswitch.rs:114:48 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn as_mut_fourier_glev_ciphertext_list(&mut self) -> FourierGlevCiphertextListMutView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 114 | pub fn as_mut_fourier_glev_ciphertext_list(&mut self) -> FourierGlevCiphertextListMutView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `rand` [INFO] [stderr] --> Cargo.toml:47:15 [INFO] [stderr] | [INFO] [stderr] 47 | [dependencies.rand] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `rand` [INFO] [stderr] warning: `refined-tfhe-lhe` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.89s [INFO] running `Command { std: "docker" "inspect" "37410d5d9946472f6b1d7f2016fa40830ec4fe51fc9e7dc14310a24ccaeb86c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37410d5d9946472f6b1d7f2016fa40830ec4fe51fc9e7dc14310a24ccaeb86c7", kill_on_drop: false }` [INFO] [stdout] 37410d5d9946472f6b1d7f2016fa40830ec4fe51fc9e7dc14310a24ccaeb86c7