[INFO] cloning repository https://github.com/hqc-attack/divide-and-surrender [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hqc-attack/divide-and-surrender" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhqc-attack%2Fdivide-and-surrender", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhqc-attack%2Fdivide-and-surrender'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d2d66c99736674e964cf162c40e226e90637f71 [INFO] checking hqc-attack/divide-and-surrender against try#29194e8f603400afdb2f86c9418e9fccb1628ea0 for pr-135331-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhqc-attack%2Fdivide-and-surrender" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 71% (2978/4164) Updating files: 72% (2999/4164) Updating files: 73% (3040/4164) Updating files: 74% (3082/4164) Updating files: 75% (3123/4164) Updating files: 76% (3165/4164) Updating files: 77% (3207/4164) Updating files: 78% (3248/4164) Updating files: 79% (3290/4164) Updating files: 80% (3332/4164) Updating files: 81% (3373/4164) Updating files: 82% (3415/4164) Updating files: 83% (3457/4164) Updating files: 84% (3498/4164) Updating files: 85% (3540/4164) Updating files: 86% (3582/4164) Updating files: 87% (3623/4164) Updating files: 88% (3665/4164) Updating files: 89% (3706/4164) Updating files: 90% (3748/4164) Updating files: 91% (3790/4164) Updating files: 92% (3831/4164) Updating files: 93% (3873/4164) Updating files: 94% (3915/4164) Updating files: 95% (3956/4164) Updating files: 96% (3998/4164) Updating files: 97% (4040/4164) Updating files: 98% (4081/4164) Updating files: 99% (4123/4164) Updating files: 100% (4164/4164) Updating files: 100% (4164/4164), done. [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/hqc-attack/divide-and-surrender [INFO] finished tweaking git repo https://github.com/hqc-attack/divide-and-surrender [INFO] tweaked toml for git repo https://github.com/hqc-attack/divide-and-surrender written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hqc-attack/divide-and-surrender on toolchain 29194e8f603400afdb2f86c9418e9fccb1628ea0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hqc-attack/divide-and-surrender 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" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8fca88abbf0c035e729379d2b7bf2669510e3429925ee0ddb65bd8c3455bbc95 [INFO] running `Command { std: "docker" "start" "-a" "8fca88abbf0c035e729379d2b7bf2669510e3429925ee0ddb65bd8c3455bbc95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fca88abbf0c035e729379d2b7bf2669510e3429925ee0ddb65bd8c3455bbc95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fca88abbf0c035e729379d2b7bf2669510e3429925ee0ddb65bd8c3455bbc95", kill_on_drop: false }` [INFO] [stdout] 8fca88abbf0c035e729379d2b7bf2669510e3429925ee0ddb65bd8c3455bbc95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a6ac2fad4a4e45c9ed52bed91c6507fc3903501cdd39c7837bdf5050223d665 [INFO] running `Command { std: "docker" "start" "-a" "4a6ac2fad4a4e45c9ed52bed91c6507fc3903501cdd39c7837bdf5050223d665", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling prettyplease v0.2.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling build-deps v0.1.4 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling gmp-mpfr-sys v1.6.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rug v1.23.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Compiling sha2-asm v0.6.2 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling oqs v0.7.2 (/opt/rustwide/workdir/liboqs-rust/oqs) [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking cstr_core v0.2.6 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking perf-event-open-sys v4.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling regex v1.8.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking cpufeatures v0.2.7 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking perf-event v0.4.8 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking ctrlc v3.4.0 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Compiling oqs-sys v0.7.2 (/opt/rustwide/workdir/liboqs-rust/oqs-sys) [INFO] [stderr] Checking hqc-improved-pc-oracle-attack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `s` is never read [INFO] [stdout] --> src/hqc.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pk { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 72 | pub h: Poly, [INFO] [stdout] 73 | pub s: Poly, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Pk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RejectionSampling` is never constructed [INFO] [stdout] --> src/hqc.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum TimingLeakage { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 92 | RejectionSampling, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/hqc.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 96 | pub trait Hqc { [INFO] [stdout] | --- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 101 | const PARAM_OMEGA: u32; // Define the parameter omega of the scheme [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 102 | const PARAM_OMEGA_E: u32; // Define the parameter omega_e of the scheme [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 103 | const PARAM_OMEGA_R: u32; // Define the parameter omega_r of the scheme [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 104 | const PARAM_SECURITY: u32; // Define the security level corresponding to the chosen parameters [INFO] [stdout] 105 | const PARAM_DFR_EXP: u32; // Define the decryption failure rate corresponding to the chosen parameters [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | const UTILS_REJECTION_THRESHOLD: u32; // Define the rejection threshold used to generate given weight vectors (see vector_set_random_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | const VEC_N1_SIZE_BYTES: usize; // Define the size of the array used to store a PARAM_N1 sized vector in bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | const VEC_K_SIZE_64: usize; // Define the size of the array used to store a PARAM_K sized vector in 64 bits [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 120 | const VEC_N1_SIZE_64: usize; // Define the size of the array used to store a PARAM_N1 sized vector in 64 bits [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | const VEC_N_256_SIZE_64: usize; // Define the size of the array of 64 bits elements used to store an array of size PARAM_N considered... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | const PARAM_M: u32; // Define a positive integer [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 131 | const PARAM_GF_POLY: u32; // Generator polynomial of galois field GF(2^PARAM_M), represented in hexadecimial form [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 132 | const PARAM_GF_POLY_WT: u32; // Hamming weight of PARAM_GF_POLY [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | const PARAM_GF_POLY_M2: u32; // Distance between the primitive polynomial first two set bits [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 134 | const PARAM_GF_MUL_ORDER: u32; // Define the size of the multiplicative group of GF(2^PARAM_M), i.e 2^PARAM_M -1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | const PARAM_K: u32; // Define the size of the information bits of the Reed-Solomon code [INFO] [stdout] 136 | const PARAM_G: u32; // Define the size of the generator polynomial of Reed-Solomon code [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 137 | const PARAM_FFT: u32; // The additive FFT takes a 2^PARAM_FFT polynomial as input [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | const RS_POLY_COEFS: &'static [u32]; // Coefficients of the generator polynomial of the Reed-Solomon code [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 141 | [INFO] [stdout] 142 | const RED_MASK: u64; // A mask fot the higher bits of a vector [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 143 | const SHA512_BYTES: u32; // Define the size of SHA512 output in bytes [INFO] [stdout] 144 | const SEED_BYTES: u32; // Define the size of the seed in bytes [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 145 | const SEEDEXPANDER_MAX_LENGTH: u32; // Define the seed expander max length [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn sample_rm_message() -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | const RM_ENCODE_SINGLE: unsafe extern "C" fn(cdw: *mut u8, msg: *const u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | fn rm_encode_single(m: u8) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | const VECT_ADD: unsafe extern "C" fn(O: *mut u64, v1: *const u64, v2: *const u64, u32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 365 | [INFO] [stdout] 366 | fn vect_add(v1: &Poly, v2: &Poly) -> Poly { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hqc128` is never constructed [INFO] [stdout] --> src/hqc.rs:511:12 [INFO] [stdout] | [INFO] [stdout] 511 | pub struct Hqc128; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hqc192` is never constructed [INFO] [stdout] --> src/hqc.rs:512:12 [INFO] [stdout] | [INFO] [stdout] 512 | pub struct Hqc192; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hqc256` is never constructed [INFO] [stdout] --> src/hqc.rs:513:12 [INFO] [stdout] | [INFO] [stdout] 513 | pub struct Hqc256; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HqcR4192` is never constructed [INFO] [stdout] --> src/hqc.rs:809:12 [INFO] [stdout] | [INFO] [stdout] 809 | pub struct HqcR4192; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HqcR4256` is never constructed [INFO] [stdout] --> src/hqc.rs:810:12 [INFO] [stdout] | [INFO] [stdout] 810 | pub struct HqcR4256; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `O` should have a snake case name [INFO] [stdout] --> src/hqc.rs:364:42 [INFO] [stdout] | [INFO] [stdout] 364 | const VECT_ADD: unsafe extern "C" fn(O: *mut u64, v1: *const u64, v2: *const u64, u32); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `O` should have a snake case name [INFO] [stdout] --> src/hqc.rs:598:42 [INFO] [stdout] | [INFO] [stdout] 598 | const VECT_ADD: unsafe extern "C" fn(O: *mut u64, v1: *const u64, v2: *const u64, u32) = [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `O` should have a snake case name [INFO] [stdout] --> src/hqc.rs:695:42 [INFO] [stdout] | [INFO] [stdout] 695 | const VECT_ADD: unsafe extern "C" fn(O: *mut u64, v1: *const u64, v2: *const u64, u32) = [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `O` should have a snake case name [INFO] [stdout] --> src/hqc.rs:793:42 [INFO] [stdout] | [INFO] [stdout] 793 | const VECT_ADD: unsafe extern "C" fn(O: *mut u64, v1: *const u64, v2: *const u64, u32) = [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `O` should have a snake case name [INFO] [stdout] --> src/hqc.rs:897:42 [INFO] [stdout] | [INFO] [stdout] 897 | const VECT_ADD: unsafe extern "C" fn(O: *mut u64, v1: *const u64, v2: *const u64, u32) = [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `O` should have a snake case name [INFO] [stdout] --> src/hqc.rs:1008:42 [INFO] [stdout] | [INFO] [stdout] 1008 | const VECT_ADD: unsafe extern "C" fn(O: *mut u64, v1: *const u64, v2: *const u64, u32) = [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `O` should have a snake case name [INFO] [stdout] --> src/hqc.rs:1120:42 [INFO] [stdout] | [INFO] [stdout] 1120 | const VECT_ADD: unsafe extern "C" fn(O: *mut u64, v1: *const u64, v2: *const u64, u32) = [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `s` is never read [INFO] [stdout] --> src/hqc.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pk { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 72 | pub h: Poly, [INFO] [stdout] 73 | pub s: Poly, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Pk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated constants are never used [INFO] [stdout] --> src/hqc.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 96 | pub trait Hqc { [INFO] [stdout] | --- associated constants in this trait [INFO] [stdout] ... [INFO] [stdout] 101 | const PARAM_OMEGA: u32; // Define the parameter omega of the scheme [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 102 | const PARAM_OMEGA_E: u32; // Define the parameter omega_e of the scheme [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 103 | const PARAM_OMEGA_R: u32; // Define the parameter omega_r of the scheme [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 104 | const PARAM_SECURITY: u32; // Define the security level corresponding to the chosen parameters [INFO] [stdout] 105 | const PARAM_DFR_EXP: u32; // Define the decryption failure rate corresponding to the chosen parameters [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | const UTILS_REJECTION_THRESHOLD: u32; // Define the rejection threshold used to generate given weight vectors (see vector_set_random_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | const VEC_N1_SIZE_BYTES: usize; // Define the size of the array used to store a PARAM_N1 sized vector in bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | const VEC_K_SIZE_64: usize; // Define the size of the array used to store a PARAM_K sized vector in 64 bits [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 120 | const VEC_N1_SIZE_64: usize; // Define the size of the array used to store a PARAM_N1 sized vector in 64 bits [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | const VEC_N_256_SIZE_64: usize; // Define the size of the array of 64 bits elements used to store an array of size PARAM_N considered... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | const PARAM_M: u32; // Define a positive integer [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 131 | const PARAM_GF_POLY: u32; // Generator polynomial of galois field GF(2^PARAM_M), represented in hexadecimial form [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 132 | const PARAM_GF_POLY_WT: u32; // Hamming weight of PARAM_GF_POLY [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | const PARAM_GF_POLY_M2: u32; // Distance between the primitive polynomial first two set bits [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 134 | const PARAM_GF_MUL_ORDER: u32; // Define the size of the multiplicative group of GF(2^PARAM_M), i.e 2^PARAM_M -1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | const PARAM_K: u32; // Define the size of the information bits of the Reed-Solomon code [INFO] [stdout] 136 | const PARAM_G: u32; // Define the size of the generator polynomial of Reed-Solomon code [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 137 | const PARAM_FFT: u32; // The additive FFT takes a 2^PARAM_FFT polynomial as input [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | const RS_POLY_COEFS: &'static [u32]; // Coefficients of the generator polynomial of the Reed-Solomon code [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 141 | [INFO] [stdout] 142 | const RED_MASK: u64; // A mask fot the higher bits of a vector [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 143 | const SHA512_BYTES: u32; // Define the size of SHA512 output in bytes [INFO] [stdout] 144 | const SEED_BYTES: u32; // Define the size of the seed in bytes [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 145 | const SEEDEXPANDER_MAX_LENGTH: u32; // Define the seed expander max length [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `O` should have a snake case name [INFO] [stdout] --> src/hqc.rs:364:42 [INFO] [stdout] | [INFO] [stdout] 364 | const VECT_ADD: unsafe extern "C" fn(O: *mut u64, v1: *const u64, v2: *const u64, u32); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `O` should have a snake case name [INFO] [stdout] --> src/hqc.rs:598:42 [INFO] [stdout] | [INFO] [stdout] 598 | const VECT_ADD: unsafe extern "C" fn(O: *mut u64, v1: *const u64, v2: *const u64, u32) = [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `O` should have a snake case name [INFO] [stdout] --> src/hqc.rs:695:42 [INFO] [stdout] | [INFO] [stdout] 695 | const VECT_ADD: unsafe extern "C" fn(O: *mut u64, v1: *const u64, v2: *const u64, u32) = [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `O` should have a snake case name [INFO] [stdout] --> src/hqc.rs:793:42 [INFO] [stdout] | [INFO] [stdout] 793 | const VECT_ADD: unsafe extern "C" fn(O: *mut u64, v1: *const u64, v2: *const u64, u32) = [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `O` should have a snake case name [INFO] [stdout] --> src/hqc.rs:897:42 [INFO] [stdout] | [INFO] [stdout] 897 | const VECT_ADD: unsafe extern "C" fn(O: *mut u64, v1: *const u64, v2: *const u64, u32) = [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `O` should have a snake case name [INFO] [stdout] --> src/hqc.rs:1008:42 [INFO] [stdout] | [INFO] [stdout] 1008 | const VECT_ADD: unsafe extern "C" fn(O: *mut u64, v1: *const u64, v2: *const u64, u32) = [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `O` should have a snake case name [INFO] [stdout] --> src/hqc.rs:1120:42 [INFO] [stdout] | [INFO] [stdout] 1120 | const VECT_ADD: unsafe extern "C" fn(O: *mut u64, v1: *const u64, v2: *const u64, u32) = [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7m 13s [INFO] running `Command { std: "docker" "inspect" "4a6ac2fad4a4e45c9ed52bed91c6507fc3903501cdd39c7837bdf5050223d665", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a6ac2fad4a4e45c9ed52bed91c6507fc3903501cdd39c7837bdf5050223d665", kill_on_drop: false }` [INFO] [stdout] 4a6ac2fad4a4e45c9ed52bed91c6507fc3903501cdd39c7837bdf5050223d665