[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] testing hqc-attack/divide-and-surrender against master#7704328ba5ae8d6ce0ac303c9d5a1a1605906766 for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhqc-attack%2Fdivide-and-surrender" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hqc-attack/divide-and-surrender on toolchain 7704328ba5ae8d6ce0ac303c9d5a1a1605906766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "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" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded perf-event-open-sys v4.0.0 [INFO] [stderr] Downloaded crossbeam v0.8.2 [INFO] [stderr] Downloaded perf-event v0.4.8 [INFO] [stderr] Downloaded prettyplease v0.2.5 [INFO] [stderr] Downloaded cstr_core v0.2.6 [INFO] [stderr] Downloaded build-deps v0.1.4 [INFO] [stderr] Downloaded sha2-asm v0.6.2 [INFO] [stderr] Downloaded rug v1.23.0 [INFO] [stderr] Downloaded gmp-mpfr-sys v1.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abecfa082efad063cacd249853a43d72dff56f44dc067f2d5255d741c023b7d5 [INFO] running `Command { std: "docker" "start" "-a" "abecfa082efad063cacd249853a43d72dff56f44dc067f2d5255d741c023b7d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abecfa082efad063cacd249853a43d72dff56f44dc067f2d5255d741c023b7d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abecfa082efad063cacd249853a43d72dff56f44dc067f2d5255d741c023b7d5", kill_on_drop: false }` [INFO] [stdout] abecfa082efad063cacd249853a43d72dff56f44dc067f2d5255d741c023b7d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8791f017087c706e38687d40b858ca12ce99a6f3d9e2f6398ff374ca6bba2be7 [INFO] running `Command { std: "docker" "start" "-a" "8791f017087c706e38687d40b858ca12ce99a6f3d9e2f6398ff374ca6bba2be7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling prettyplease v0.2.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling build-deps v0.1.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling gmp-mpfr-sys v1.6.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling sha2-asm v0.6.2 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling rug v1.23.0 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling oqs v0.7.2 (/opt/rustwide/workdir/liboqs-rust/oqs) [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling cstr_core v0.2.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling cpufeatures v0.2.7 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling nix v0.26.2 [INFO] [stderr] Compiling perf-event-open-sys v4.0.0 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling perf-event v0.4.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling regex v1.8.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling cexpr v0.6.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] Compiling ctrlc v3.4.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling clap v4.4.18 [INFO] [stderr] Compiling oqs-sys v0.7.2 (/opt/rustwide/workdir/liboqs-rust/oqs-sys) [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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_r... [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 cons... [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)]` (part of `#[warn(nonstandard_style)]`) 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 6m 05s [INFO] running `Command { std: "docker" "inspect" "8791f017087c706e38687d40b858ca12ce99a6f3d9e2f6398ff374ca6bba2be7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8791f017087c706e38687d40b858ca12ce99a6f3d9e2f6398ff374ca6bba2be7", kill_on_drop: false }` [INFO] [stdout] 8791f017087c706e38687d40b858ca12ce99a6f3d9e2f6398ff374ca6bba2be7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2ee3c41523d9fbe9d8c032f97839e1d0a0ee9dd9fc4556b206ba774183ea7bd [INFO] running `Command { std: "docker" "start" "-a" "d2ee3c41523d9fbe9d8c032f97839e1d0a0ee9dd9fc4556b206ba774183ea7bd", kill_on_drop: false }` [INFO] [stderr] Compiling hqc-improved-pc-oracle-attack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `test_r3` [INFO] [stdout] --> src/hqc.rs:1182:20 [INFO] [stdout] | [INFO] [stdout] 1182 | pub(crate) use test_r3; [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: `test_r34` [INFO] [stdout] --> src/hqc.rs:1183:20 [INFO] [stdout] | [INFO] [stdout] 1183 | pub(crate) use test_r34; [INFO] [stdout] | ^^^^^^^^ [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)]` (part of `#[warn(unused)]`) 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_r... [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 cons... [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)]` (part of `#[warn(nonstandard_style)]`) 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 `test` profile [unoptimized + debuginfo] target(s) in 2.25s [INFO] running `Command { std: "docker" "inspect" "d2ee3c41523d9fbe9d8c032f97839e1d0a0ee9dd9fc4556b206ba774183ea7bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2ee3c41523d9fbe9d8c032f97839e1d0a0ee9dd9fc4556b206ba774183ea7bd", kill_on_drop: false }` [INFO] [stdout] d2ee3c41523d9fbe9d8c032f97839e1d0a0ee9dd9fc4556b206ba774183ea7bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3d3a415f41fdcd54996ee3e9bcd32ac9a67ce870a763f33c0dbd1fe6e2010275 [INFO] running `Command { std: "docker" "start" "-a" "3d3a415f41fdcd54996ee3e9bcd32ac9a67ce870a763f33c0dbd1fe6e2010275", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `test_r3` [INFO] [stderr] --> src/hqc.rs:1182:20 [INFO] [stderr] | [INFO] [stderr] 1182 | pub(crate) use test_r3; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `test_r34` [INFO] [stderr] --> src/hqc.rs:1183:20 [INFO] [stderr] | [INFO] [stderr] 1183 | pub(crate) use test_r34; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `s` is never read [INFO] [stderr] --> src/hqc.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 71 | pub struct Pk { [INFO] [stderr] | -- field in this struct [INFO] [stderr] 72 | pub h: Poly, [INFO] [stderr] 73 | pub s: Poly, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `Pk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: multiple associated constants are never used [INFO] [stderr] --> src/hqc.rs:101:11 [INFO] [stderr] | [INFO] [stderr] 96 | pub trait Hqc { [INFO] [stderr] | --- associated constants in this trait [INFO] [stderr] ... [INFO] [stderr] 101 | const PARAM_OMEGA: u32; // Define the parameter omega of the scheme [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 102 | const PARAM_OMEGA_E: u32; // Define the parameter omega_e of the scheme [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 103 | const PARAM_OMEGA_R: u32; // Define the parameter omega_r of the scheme [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 104 | const PARAM_SECURITY: u32; // Define the security level corresponding to the chosen parameters [INFO] [stderr] 105 | const PARAM_DFR_EXP: u32; // Define the decryption failure rate corresponding to the chosen parameters [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 112 | const UTILS_REJECTION_THRESHOLD: u32; // Define the rejection threshold used to generate given weight vectors (see vector_set_r... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 115 | const VEC_N1_SIZE_BYTES: usize; // Define the size of the array used to store a PARAM_N1 sized vector in bytes [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 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] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 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] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 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 cons... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 130 | const PARAM_M: u32; // Define a positive integer [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 131 | const PARAM_GF_POLY: u32; // Generator polynomial of galois field GF(2^PARAM_M), represented in hexadecimial form [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 132 | const PARAM_GF_POLY_WT: u32; // Hamming weight of PARAM_GF_POLY [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 133 | const PARAM_GF_POLY_M2: u32; // Distance between the primitive polynomial first two set bits [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 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] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 135 | const PARAM_K: u32; // Define the size of the information bits of the Reed-Solomon code [INFO] [stderr] 136 | const PARAM_G: u32; // Define the size of the generator polynomial of Reed-Solomon code [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 137 | const PARAM_FFT: u32; // The additive FFT takes a 2^PARAM_FFT polynomial as input [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 140 | const RS_POLY_COEFS: &'static [u32]; // Coefficients of the generator polynomial of the Reed-Solomon code [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 141 | [INFO] [stderr] 142 | const RED_MASK: u64; // A mask fot the higher bits of a vector [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 143 | const SHA512_BYTES: u32; // Define the size of SHA512 output in bytes [INFO] [stderr] 144 | const SEED_BYTES: u32; // Define the size of the seed in bytes [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 145 | const SEEDEXPANDER_MAX_LENGTH: u32; // Define the seed expander max length [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `O` should have a snake case name [INFO] [stderr] --> src/hqc.rs:364:42 [INFO] [stderr] | [INFO] [stderr] 364 | const VECT_ADD: unsafe extern "C" fn(O: *mut u64, v1: *const u64, v2: *const u64, u32); [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `O` should have a snake case name [INFO] [stderr] --> src/hqc.rs:598:42 [INFO] [stderr] | [INFO] [stderr] 598 | const VECT_ADD: unsafe extern "C" fn(O: *mut u64, v1: *const u64, v2: *const u64, u32) = [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stderr] [INFO] [stderr] warning: variable `O` should have a snake case name [INFO] [stderr] --> src/hqc.rs:695:42 [INFO] [stderr] | [INFO] [stderr] 695 | const VECT_ADD: unsafe extern "C" fn(O: *mut u64, v1: *const u64, v2: *const u64, u32) = [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stderr] [INFO] [stderr] warning: variable `O` should have a snake case name [INFO] [stderr] --> src/hqc.rs:793:42 [INFO] [stderr] | [INFO] [stderr] 793 | const VECT_ADD: unsafe extern "C" fn(O: *mut u64, v1: *const u64, v2: *const u64, u32) = [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stderr] [INFO] [stderr] warning: variable `O` should have a snake case name [INFO] [stderr] --> src/hqc.rs:897:42 [INFO] [stderr] | [INFO] [stderr] 897 | const VECT_ADD: unsafe extern "C" fn(O: *mut u64, v1: *const u64, v2: *const u64, u32) = [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stderr] [INFO] [stderr] warning: variable `O` should have a snake case name [INFO] [stderr] --> src/hqc.rs:1008:42 [INFO] [stderr] | [INFO] [stderr] 1008 | const VECT_ADD: unsafe extern "C" fn(O: *mut u64, v1: *const u64, v2: *const u64, u32) = [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stderr] [INFO] [stderr] warning: variable `O` should have a snake case name [INFO] [stderr] --> src/hqc.rs:1120:42 [INFO] [stderr] | [INFO] [stderr] 1120 | const VECT_ADD: unsafe extern "C" fn(O: *mut u64, v1: *const u64, v2: *const u64, u32) = [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `o` [INFO] [stderr] [INFO] [stderr] warning: `hqc-improved-pc-oracle-attack` (bin "hqc-improved-pc-oracle-attack" test) generated 11 warnings (run `cargo fix --bin "hqc-improved-pc-oracle-attack" -p hqc-improved-pc-oracle-attack --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hqc_improved_pc_oracle_attack-43c66815809498ec) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test hqc::test::test_vect_mul ... ok [INFO] [stdout] test hqc::test::test_public_key_from_string ... ok [INFO] [stdout] test hqc::test::test_vect_add ... ok [INFO] [stdout] test hqc::test::test_code ... ok [INFO] [stdout] test hqc::test::test_ciphertext_from_string ... ok [INFO] [stdout] test hqc::test::test_secret_key_from_string ... ok [INFO] [stdout] test hqc::test::test_vect_mul_rand_vector ... ok [INFO] [stdout] test hqc::test::test_encaps_chosen_inputs ... ok [INFO] [stdout] test hqc::test::test_rm ... FAILED [INFO] [stdout] test hqc::test::test_find_high_seedexpansions_msg ... ok [INFO] [stdout] test test::test_shift has been running for over 60 seconds [INFO] [stdout] test test::test_shift ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- hqc::test::test_rm stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'hqc::test::test_rm' (31) panicked at src/hqc.rs:1205:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 59 [INFO] [stdout] right: 187 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x59c2d887fa72 - std[ed5b486fa4cdb954]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x59c2d887fa72 - std[ed5b486fa4cdb954]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x59c2d887fa72 - std[ed5b486fa4cdb954]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x59c2d887fa72 - <::print::DisplayBacktrace as core[ab67b43d93431064]::fmt::Display>::fmt [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x59c2d889499a - ::fmt [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x59c2d889499a - core[ab67b43d93431064]::fmt::write [INFO] [stdout] 6: 0x59c2d88848a6 - std[ed5b486fa4cdb954]::io::default_write_fmt::> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x59c2d88848a6 - as std[ed5b486fa4cdb954]::io::Write>::write_fmt [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x59c2d885df3f - ::print [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x59c2d885df3f - std[ed5b486fa4cdb954]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x59c2d8877da9 - std[ed5b486fa4cdb954]::panicking::default_hook [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x59c2d8703aae - core[ab67b43d93431064]::ops::function::Fn<(&'a std[ed5b486fa4cdb954]::panic::PanicHookInfo<'b>,), Output = ()> + core[ab67b43d93431064]::marker::Send + core[ab67b43d93431064]::marker::Sync> as core[ab67b43d93431064]::ops::function::Fn<(&std[ed5b486fa4cdb954]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x59c2d8703aae - test[f0ec78552bebb08e]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x59c2d8877f62 - core[ab67b43d93431064]::ops::function::Fn<(&'a std[ed5b486fa4cdb954]::panic::PanicHookInfo<'b>,), Output = ()> + core[ab67b43d93431064]::marker::Send + core[ab67b43d93431064]::marker::Sync> as core[ab67b43d93431064]::ops::function::Fn<(&std[ed5b486fa4cdb954]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x59c2d8877f62 - std[ed5b486fa4cdb954]::panicking::panic_with_hook [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x59c2d885dff8 - std[ed5b486fa4cdb954]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x59c2d8855a59 - std[ed5b486fa4cdb954]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x59c2d885ee4d - __rustc[5067f77124470312]::rust_begin_unwind [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x59c2d889506c - core[ab67b43d93431064]::panicking::panic_fmt [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x59c2d8894f23 - core[ab67b43d93431064]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x59c2d8739c12 - core[ab67b43d93431064]::panicking::assert_failed:: [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x59c2d86ede84 - hqc_improved_pc_oracle_attack[ed91741e84103491]::hqc::test::test_rm_hqc:: [INFO] [stdout] at /opt/rustwide/workdir/src/hqc.rs:1205:9 [INFO] [stdout] 22: 0x59c2d86f776b - hqc_improved_pc_oracle_attack[ed91741e84103491]::hqc::test::test_rm [INFO] [stdout] at /opt/rustwide/workdir/src/hqc.rs:1153:17 [INFO] [stdout] 23: 0x59c2d86f7597 - hqc_improved_pc_oracle_attack[ed91741e84103491]::hqc::test::test_rm::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/hqc.rs:1209:17 [INFO] [stdout] 24: 0x59c2d86e4966 - >::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x59c2d86f7e5b - core[ab67b43d93431064]::result::Result<(), alloc[8787631d7fe8ec5a]::string::String> as core[ab67b43d93431064]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x59c2d86f7e5b - test[f0ec78552bebb08e]::__rust_begin_short_backtrace::, fn() -> core[ab67b43d93431064]::result::Result<(), alloc[8787631d7fe8ec5a]::string::String>> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x59c2d87046ba - test[f0ec78552bebb08e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x59c2d87046ba - as core[ab67b43d93431064]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x59c2d87046ba - std[ed5b486fa4cdb954]::panicking::catch_unwind::do_call::, core[ab67b43d93431064]::result::Result<(), alloc[8787631d7fe8ec5a]::string::String>> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:581:40 [INFO] [stdout] 30: 0x59c2d87046ba - std[ed5b486fa4cdb954]::panicking::catch_unwind::, core[ab67b43d93431064]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:544:19 [INFO] [stdout] 31: 0x59c2d87046ba - std[ed5b486fa4cdb954]::panic::catch_unwind::, core[ab67b43d93431064]::result::Result<(), alloc[8787631d7fe8ec5a]::string::String>> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x59c2d87046ba - test[f0ec78552bebb08e]::run_test_in_process [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x59c2d87046ba - test[f0ec78552bebb08e]::run_test::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x59c2d86ffc64 - test[f0ec78552bebb08e]::run_test::{closure#1} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x59c2d86ffc64 - std[ed5b486fa4cdb954]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 36: 0x59c2d87071b2 - std[ed5b486fa4cdb954]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 37: 0x59c2d87071b2 - ::{closure#1}::{closure#0}> as core[ab67b43d93431064]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x59c2d87071b2 - std[ed5b486fa4cdb954]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:581:40 [INFO] [stdout] 39: 0x59c2d87071b2 - std[ed5b486fa4cdb954]::panicking::catch_unwind::<(), core[ab67b43d93431064]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:544:19 [INFO] [stdout] 40: 0x59c2d87071b2 - std[ed5b486fa4cdb954]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x59c2d87071b2 - std[ed5b486fa4cdb954]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 42: 0x59c2d87071b2 - ::{closure#1} as core[ab67b43d93431064]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x59c2d887f31f - + core[ab67b43d93431064]::marker::Send> as core[ab67b43d93431064]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 44: 0x59c2d887f31f - ::new::thread_start [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/sys/thread/unix.rs:127:17 [INFO] [stdout] 45: 0x76c53e42aaa4 - [INFO] [stdout] 46: 0x76c53e4b7a64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] hqc::test::test_rm [INFO] [stdout] [INFO] [stdout] test result: FAILED. 10 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 162.30s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin hqc-improved-pc-oracle-attack` [INFO] running `Command { std: "docker" "inspect" "3d3a415f41fdcd54996ee3e9bcd32ac9a67ce870a763f33c0dbd1fe6e2010275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d3a415f41fdcd54996ee3e9bcd32ac9a67ce870a763f33c0dbd1fe6e2010275", kill_on_drop: false }` [INFO] [stdout] 3d3a415f41fdcd54996ee3e9bcd32ac9a67ce870a763f33c0dbd1fe6e2010275