[INFO] cloning repository https://github.com/ammatsui/crystals-kyber [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ammatsui/crystals-kyber" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fammatsui%2Fcrystals-kyber", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fammatsui%2Fcrystals-kyber'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 974372b83c3348194490cf560b6d48f0c63088fa [INFO] building ammatsui/crystals-kyber against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fammatsui%2Fcrystals-kyber" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ammatsui/crystals-kyber on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ammatsui/crystals-kyber [INFO] finished tweaking git repo https://github.com/ammatsui/crystals-kyber [INFO] tweaked toml for git repo https://github.com/ammatsui/crystals-kyber written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ammatsui/crystals-kyber 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2418855a746d1a61cc1d5032697da59ffef10485918af6602b27c828724916d [INFO] running `Command { std: "docker" "start" "-a" "a2418855a746d1a61cc1d5032697da59ffef10485918af6602b27c828724916d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2418855a746d1a61cc1d5032697da59ffef10485918af6602b27c828724916d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2418855a746d1a61cc1d5032697da59ffef10485918af6602b27c828724916d", kill_on_drop: false }` [INFO] [stdout] a2418855a746d1a61cc1d5032697da59ffef10485918af6602b27c828724916d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbd3a5c2b6dde5b44465cfcf882d16276a7157837beefc2be2b18be465ae8b67 [INFO] running `Command { std: "docker" "start" "-a" "cbd3a5c2b6dde5b44465cfcf882d16276a7157837beefc2be2b18be465ae8b67", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling keccak v0.1.4 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [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 sha3 v0.10.8 [INFO] [stderr] Compiling crystal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::Q` [INFO] [stdout] --> src/params/mode768.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::Q; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `params::*` [INFO] [stdout] --> src/ntt.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{params::*, utils::*}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `packing::*` [INFO] [stdout] --> src/sample.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{params::*, poly::*, utils::*, packing::*}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `packing::*` and `poly::*` [INFO] [stdout] --> src/ccakem.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{params::*, sample::*, poly::*, packing::*}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut t = a; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sample.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut res = hasher.finalize(); [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/cpapke.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut A = get_matrix(&mut rho); [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/cpapke.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let mut tmp = Compress(&u, Du as i16); [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/cpapke.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let mut tmp = compress(&v, Dv as i16); [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/ccakem.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (mut shk, r) = res.split_at(SEEDBYTES); [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/ccakem.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | let (mut shkp, r) = res.split_at(SEEDBYTES); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Du` should have an upper case name [INFO] [stdout] --> src/params/mode768.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const Du: usize = 10; [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `DU` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Dv` should have an upper case name [INFO] [stdout] --> src/params/mode768.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const Dv: usize = 4; [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `DV` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `l` should have an upper case name [INFO] [stdout] --> src/poly.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct VecPoly [INFO] [stdout] | ^ help: convert the identifier to upper case: `L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `l` should have an upper case name [INFO] [stdout] --> src/poly.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | impl Default for VecPoly<{l}> [INFO] [stdout] | ^ help: convert the identifier to upper case: `L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:162:23 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn inf_norm(p: &VecPoly<{k}>) -> i16 [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct Mat [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `l` should have an upper case name [INFO] [stdout] --> src/poly.rs:177:38 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct Mat [INFO] [stdout] | ^ help: convert the identifier to upper case: `L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | impl Default for Mat<{k}, {l}> [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `l` should have an upper case name [INFO] [stdout] --> src/poly.rs:183:28 [INFO] [stdout] | [INFO] [stdout] 183 | impl Default for Mat<{k}, {l}> [INFO] [stdout] | ^ help: convert the identifier to upper case: `L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn transp(A: &Mat<{k}, {l}>) -> Mat<{l}, {k}> [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `l` should have an upper case name [INFO] [stdout] --> src/poly.rs:191:37 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn transp(A: &Mat<{k}, {l}>) -> Mat<{l}, {k}> [INFO] [stdout] | ^ help: convert the identifier to upper case: `L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/poly.rs:191:47 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn transp(A: &Mat<{k}, {l}>) -> Mat<{l}, {k}> [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:212:24 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn vb_reduce(a: &mut VecPoly<{k}>) [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Ntt` should have a snake case name [INFO] [stdout] --> src/poly.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn Ntt(a: &VecPoly<{k}>) -> VecPoly<{k}> [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ntt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:221:18 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn Ntt(a: &VecPoly<{k}>) -> VecPoly<{k}> [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inv_Ntt` should have a snake case name [INFO] [stdout] --> src/poly.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn inv_Ntt(a: &VecPoly<{k}>) -> VecPoly<{k}> [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `inv_ntt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:233:22 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn inv_Ntt(a: &VecPoly<{k}>) -> VecPoly<{k}> [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Neg` should have a snake case name [INFO] [stdout] --> src/poly.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn Neg(a: &VecPoly<{k}>) -> VecPoly<{k}> [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `neg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:244:18 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn Neg(a: &VecPoly<{k}>) -> VecPoly<{k}> [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sMult` should have a snake case name [INFO] [stdout] --> src/poly.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn sMult(s: i16, a: &VecPoly<{k}>) -> VecPoly<{k}> [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `s_mult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:254:20 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn sMult(s: i16, a: &VecPoly<{k}>) -> VecPoly<{k}> [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:265:20 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn v_add(a: &VecPoly, b: &VecPoly) -> VecPoly [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:277:20 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn v_sub(a: &VecPoly, b: &VecPoly) -> VecPoly [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:289:23 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn p_mult_v(p: &Poly, v: &VecPoly<{k}>) -> VecPoly<{k}> [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:303:23 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn v_mult_v(v: &VecPoly<{k}>, u: &VecPoly<{k}>) -> Poly [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:317:23 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn m_mult_v(A: &Mat<{k}, {l}>, s: &VecPoly<{l}>) -> VecPoly<{k}> [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `l` should have an upper case name [INFO] [stdout] --> src/poly.rs:317:38 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn m_mult_v(A: &Mat<{k}, {l}>, s: &VecPoly<{l}>) -> VecPoly<{k}> [INFO] [stdout] | ^ help: convert the identifier to upper case: `L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/poly.rs:317:47 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn m_mult_v(A: &Mat<{k}, {l}>, s: &VecPoly<{l}>) -> VecPoly<{k}> [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:328:23 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn v_mult_m(s: &VecPoly<{k}>, A: &Mat<{k}, {l}>) -> VecPoly<{l}> [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `l` should have an upper case name [INFO] [stdout] --> src/poly.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn v_mult_m(s: &VecPoly<{k}>, A: &Mat<{k}, {l}>) -> VecPoly<{l}> [INFO] [stdout] | ^ help: convert the identifier to upper case: `L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/poly.rs:328:65 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn v_mult_m(s: &VecPoly<{k}>, A: &Mat<{k}, {l}>) -> VecPoly<{l}> [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Caddq` should have a snake case name [INFO] [stdout] --> src/poly.rs:365:8 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn Caddq(a: &VecPoly) -> VecPoly [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `caddq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:365:20 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn Caddq(a: &VecPoly) -> VecPoly [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:375:19 [INFO] [stdout] | [INFO] [stdout] 375 | pub fn modq(a: &VecPoly) -> VecPoly [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Compress` should have a snake case name [INFO] [stdout] --> src/poly.rs:409:8 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn Compress(r: &VecPoly, d: i16) -> VecPoly [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `compress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Decompress` should have a snake case name [INFO] [stdout] --> src/poly.rs:420:8 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn Decompress(r: &VecPoly, d: i16) -> VecPoly [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `decompress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `H` should have a snake case name [INFO] [stdout] --> src/sample.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn H(seed: &[u8], out: &mut [u8]) [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `G` should have a snake case name [INFO] [stdout] --> src/sample.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn G(seed: &[u8], out: &mut [u8]) [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load32_LE` should have a snake case name [INFO] [stdout] --> src/sample.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn load32_LE(x: &[u8]) -> u32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `load32_le` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load24_LE` should have a snake case name [INFO] [stdout] --> src/sample.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn load24_LE(x: &[u8]) -> u32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `load24_le` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CBD` should have a snake case name [INFO] [stdout] --> src/sample.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn CBD(b: &[u8], ETA: usize) -> Poly [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `cbd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ETA` should have a snake case name [INFO] [stdout] --> src/sample.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn CBD(b: &[u8], ETA: usize) -> Poly [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `eta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/sample.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let mut A: Mat = Mat::::default(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Encode` should have a snake case name [INFO] [stdout] --> src/packing.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn Encode(r: &mut [u8], a: &VecPoly, d: usize) [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Decode` should have a snake case name [INFO] [stdout] --> src/packing.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn Decode(r: &mut VecPoly, a: &[u8], d: usize) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `keyGen` should have a snake case name [INFO] [stdout] --> src/cpapke.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn keyGen() -> ([u8; PK_BYTES], [u8; SK_BYTES]) [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `key_gen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/cpapke.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let A = get_matrix(&rho); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/cpapke.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut A = get_matrix(&mut rho); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `keyGen` should have a snake case name [INFO] [stdout] --> src/ccakem.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn keyGen() -> ([u8; KEMPK_BYTES], [u8; KEMSK_BYTES]) [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `key_gen` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.77s [INFO] running `Command { std: "docker" "inspect" "cbd3a5c2b6dde5b44465cfcf882d16276a7157837beefc2be2b18be465ae8b67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbd3a5c2b6dde5b44465cfcf882d16276a7157837beefc2be2b18be465ae8b67", kill_on_drop: false }` [INFO] [stdout] cbd3a5c2b6dde5b44465cfcf882d16276a7157837beefc2be2b18be465ae8b67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 332fc0544c3cc85d437ee96b7d07a151e4c37ea9d9094eaef93434979e63719d [INFO] running `Command { std: "docker" "start" "-a" "332fc0544c3cc85d437ee96b7d07a151e4c37ea9d9094eaef93434979e63719d", kill_on_drop: false }` [INFO] [stderr] Compiling crystal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::Q` [INFO] [stdout] --> src/params/mode768.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::Q; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `params::*` [INFO] [stdout] --> src/ntt.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{params::*, utils::*}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `packing::*` [INFO] [stdout] --> src/sample.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{params::*, poly::*, utils::*, packing::*}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `packing::*` and `poly::*` [INFO] [stdout] --> src/ccakem.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{params::*, sample::*, poly::*, packing::*}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut t = a; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sample.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut res = hasher.finalize(); [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/cpapke.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut A = get_matrix(&mut rho); [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/cpapke.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let mut tmp = Compress(&u, Du as i16); [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/cpapke.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let mut tmp = compress(&v, Dv as i16); [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/ccakem.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | let (mut shk, r) = res.split_at(SEEDBYTES); [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/ccakem.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | let (mut shkp, r) = res.split_at(SEEDBYTES); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Du` should have an upper case name [INFO] [stdout] --> src/params/mode768.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const Du: usize = 10; [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `DU` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Dv` should have an upper case name [INFO] [stdout] --> src/params/mode768.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const Dv: usize = 4; [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `DV` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `l` should have an upper case name [INFO] [stdout] --> src/poly.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct VecPoly [INFO] [stdout] | ^ help: convert the identifier to upper case: `L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `l` should have an upper case name [INFO] [stdout] --> src/poly.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | impl Default for VecPoly<{l}> [INFO] [stdout] | ^ help: convert the identifier to upper case: `L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:162:23 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn inf_norm(p: &VecPoly<{k}>) -> i16 [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct Mat [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `l` should have an upper case name [INFO] [stdout] --> src/poly.rs:177:38 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct Mat [INFO] [stdout] | ^ help: convert the identifier to upper case: `L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | impl Default for Mat<{k}, {l}> [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `l` should have an upper case name [INFO] [stdout] --> src/poly.rs:183:28 [INFO] [stdout] | [INFO] [stdout] 183 | impl Default for Mat<{k}, {l}> [INFO] [stdout] | ^ help: convert the identifier to upper case: `L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn transp(A: &Mat<{k}, {l}>) -> Mat<{l}, {k}> [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `l` should have an upper case name [INFO] [stdout] --> src/poly.rs:191:37 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn transp(A: &Mat<{k}, {l}>) -> Mat<{l}, {k}> [INFO] [stdout] | ^ help: convert the identifier to upper case: `L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/poly.rs:191:47 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn transp(A: &Mat<{k}, {l}>) -> Mat<{l}, {k}> [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:212:24 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn vb_reduce(a: &mut VecPoly<{k}>) [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Ntt` should have a snake case name [INFO] [stdout] --> src/poly.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn Ntt(a: &VecPoly<{k}>) -> VecPoly<{k}> [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ntt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:221:18 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn Ntt(a: &VecPoly<{k}>) -> VecPoly<{k}> [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inv_Ntt` should have a snake case name [INFO] [stdout] --> src/poly.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn inv_Ntt(a: &VecPoly<{k}>) -> VecPoly<{k}> [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `inv_ntt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:233:22 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn inv_Ntt(a: &VecPoly<{k}>) -> VecPoly<{k}> [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Neg` should have a snake case name [INFO] [stdout] --> src/poly.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn Neg(a: &VecPoly<{k}>) -> VecPoly<{k}> [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `neg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:244:18 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn Neg(a: &VecPoly<{k}>) -> VecPoly<{k}> [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sMult` should have a snake case name [INFO] [stdout] --> src/poly.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn sMult(s: i16, a: &VecPoly<{k}>) -> VecPoly<{k}> [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `s_mult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:254:20 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn sMult(s: i16, a: &VecPoly<{k}>) -> VecPoly<{k}> [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:265:20 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn v_add(a: &VecPoly, b: &VecPoly) -> VecPoly [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:277:20 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn v_sub(a: &VecPoly, b: &VecPoly) -> VecPoly [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:289:23 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn p_mult_v(p: &Poly, v: &VecPoly<{k}>) -> VecPoly<{k}> [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:303:23 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn v_mult_v(v: &VecPoly<{k}>, u: &VecPoly<{k}>) -> Poly [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:317:23 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn m_mult_v(A: &Mat<{k}, {l}>, s: &VecPoly<{l}>) -> VecPoly<{k}> [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `l` should have an upper case name [INFO] [stdout] --> src/poly.rs:317:38 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn m_mult_v(A: &Mat<{k}, {l}>, s: &VecPoly<{l}>) -> VecPoly<{k}> [INFO] [stdout] | ^ help: convert the identifier to upper case: `L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/poly.rs:317:47 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn m_mult_v(A: &Mat<{k}, {l}>, s: &VecPoly<{l}>) -> VecPoly<{k}> [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:328:23 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn v_mult_m(s: &VecPoly<{k}>, A: &Mat<{k}, {l}>) -> VecPoly<{l}> [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `l` should have an upper case name [INFO] [stdout] --> src/poly.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn v_mult_m(s: &VecPoly<{k}>, A: &Mat<{k}, {l}>) -> VecPoly<{l}> [INFO] [stdout] | ^ help: convert the identifier to upper case: `L` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/poly.rs:328:65 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn v_mult_m(s: &VecPoly<{k}>, A: &Mat<{k}, {l}>) -> VecPoly<{l}> [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Caddq` should have a snake case name [INFO] [stdout] --> src/poly.rs:365:8 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn Caddq(a: &VecPoly) -> VecPoly [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `caddq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:365:20 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn Caddq(a: &VecPoly) -> VecPoly [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `k` should have an upper case name [INFO] [stdout] --> src/poly.rs:375:19 [INFO] [stdout] | [INFO] [stdout] 375 | pub fn modq(a: &VecPoly) -> VecPoly [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Compress` should have a snake case name [INFO] [stdout] --> src/poly.rs:409:8 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn Compress(r: &VecPoly, d: i16) -> VecPoly [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `compress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Decompress` should have a snake case name [INFO] [stdout] --> src/poly.rs:420:8 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn Decompress(r: &VecPoly, d: i16) -> VecPoly [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `decompress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `H` should have a snake case name [INFO] [stdout] --> src/sample.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn H(seed: &[u8], out: &mut [u8]) [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `G` should have a snake case name [INFO] [stdout] --> src/sample.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn G(seed: &[u8], out: &mut [u8]) [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load32_LE` should have a snake case name [INFO] [stdout] --> src/sample.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn load32_LE(x: &[u8]) -> u32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `load32_le` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load24_LE` should have a snake case name [INFO] [stdout] --> src/sample.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn load24_LE(x: &[u8]) -> u32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `load24_le` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CBD` should have a snake case name [INFO] [stdout] --> src/sample.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn CBD(b: &[u8], ETA: usize) -> Poly [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `cbd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ETA` should have a snake case name [INFO] [stdout] --> src/sample.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn CBD(b: &[u8], ETA: usize) -> Poly [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `eta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/sample.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let mut A: Mat = Mat::::default(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Encode` should have a snake case name [INFO] [stdout] --> src/packing.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn Encode(r: &mut [u8], a: &VecPoly, d: usize) [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Decode` should have a snake case name [INFO] [stdout] --> src/packing.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn Decode(r: &mut VecPoly, a: &[u8], d: usize) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `keyGen` should have a snake case name [INFO] [stdout] --> src/cpapke.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn keyGen() -> ([u8; PK_BYTES], [u8; SK_BYTES]) [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `key_gen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/cpapke.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let A = get_matrix(&rho); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/cpapke.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut A = get_matrix(&mut rho); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `keyGen` should have a snake case name [INFO] [stdout] --> src/ccakem.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn keyGen() -> ([u8; KEMPK_BYTES], [u8; KEMSK_BYTES]) [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `key_gen` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "332fc0544c3cc85d437ee96b7d07a151e4c37ea9d9094eaef93434979e63719d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "332fc0544c3cc85d437ee96b7d07a151e4c37ea9d9094eaef93434979e63719d", kill_on_drop: false }` [INFO] [stdout] 332fc0544c3cc85d437ee96b7d07a151e4c37ea9d9094eaef93434979e63719d