[INFO] cloning repository https://github.com/mark-jardine/falcon_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mark-jardine/falcon_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmark-jardine%2Ffalcon_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmark-jardine%2Ffalcon_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d2fc1a59ac6a3edde21bf7db4c0c345aabbd917d
[INFO] checking mark-jardine/falcon_rs against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmark-jardine%2Ffalcon_rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mark-jardine/falcon_rs
[INFO] finished tweaking git repo https://github.com/mark-jardine/falcon_rs
[INFO] tweaked toml for git repo https://github.com/mark-jardine/falcon_rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mark-jardine/falcon_rs on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mark-jardine/falcon_rs 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e80d9409981fd81b6d1d73ca783fcb19934aa9081737df6aad6300cac08a7324
[INFO] running `Command { std: "docker" "start" "-a" "e80d9409981fd81b6d1d73ca783fcb19934aa9081737df6aad6300cac08a7324", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e80d9409981fd81b6d1d73ca783fcb19934aa9081737df6aad6300cac08a7324", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e80d9409981fd81b6d1d73ca783fcb19934aa9081737df6aad6300cac08a7324", kill_on_drop: false }`
[INFO] [stdout] e80d9409981fd81b6d1d73ca783fcb19934aa9081737df6aad6300cac08a7324
[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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3ebf750512816d878637bd022c662c93f56d2d90bca4901eb76338dd994a0149
[INFO] running `Command { std: "docker" "start" "-a" "3ebf750512816d878637bd022c662c93f56d2d90bca4901eb76338dd994a0149", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]     Checking either v1.10.0
[INFO] [stderr]    Compiling hex-literal v0.3.4
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.4.5
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking rand_distr v0.4.3
[INFO] [stderr]     Checking falcon_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]    --> src/falcon/falcon.rs:604:9
[INFO] [stdout]     |
[INFO] [stdout] 604 |     use std::io::Read;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Signature_KAT` should have an upper camel case name
[INFO] [stdout]  --> src/falcon/sign_KAT.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub(crate) struct Signature_KAT {
[INFO] [stdout]   |                   ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SignatureKat`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Signature_KAT` should have an upper camel case name
[INFO] [stdout]  --> src/falcon/sign_KAT.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub(crate) struct Signature_KAT {
[INFO] [stdout]   |                   ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SignatureKat`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/falcon/falcon.rs:285:14
[INFO] [stdout]     |
[INFO] [stdout] 285 |         let (mut f, mut g, mut capf, mut capg): (
[INFO] [stdout]     |              ----^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/falcon/falcon.rs:285:21
[INFO] [stdout]     |
[INFO] [stdout] 285 |         let (mut f, mut g, mut capf, mut capg): (
[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/falcon/falcon.rs:285:28
[INFO] [stdout]     |
[INFO] [stdout] 285 |         let (mut f, mut g, mut capf, mut capg): (
[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/falcon/falcon.rs:285:38
[INFO] [stdout]     |
[INFO] [stdout] 285 |         let (mut f, mut g, mut capf, mut capg): (
[INFO] [stdout]     |                                      ----^^^^
[INFO] [stdout]     |                                      |
[INFO] [stdout]     |                                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `deg`
[INFO] [stdout]    --> src/falcon/polynomial.rs:260:13
[INFO] [stdout]     |
[INFO] [stdout] 260 |         let deg = f_ntt.coefficients.len();
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_deg`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `EncodingError` is never used
[INFO] [stdout]   --> src/falcon/encoding.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub(crate) enum EncodingError {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compress` is never used
[INFO] [stdout]   --> src/falcon/encoding.rs:58:15
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub(crate) fn compress(v: &[i32], slen: usize) -> Option<Vec<u8>> {
[INFO] [stdout]    |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decompress` is never used
[INFO] [stdout]   --> src/falcon/encoding.rs:87:15
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub(crate) fn decompress(x: &[u8], slen: usize, n: usize) -> Option<Vec<i32>> {
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FalconParams` is never constructed
[INFO] [stdout]   --> src/falcon/falcon.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct FalconParams {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `key_gen` is never used
[INFO] [stdout]   --> src/falcon/falcon.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn key_gen(params: FalconParams) -> Result<(PublicKey, SecretKey), Box<dyn Error>> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sign` is never used
[INFO] [stdout]   --> src/falcon/falcon.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn sign(message: &[u8], sk: &SecretKey) -> Result<FalconSignature, Box<dyn Error>> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify` is never used
[INFO] [stdout]   --> src/falcon/falcon.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn verify(
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HEAD_LEN` is never used
[INFO] [stdout]   --> src/falcon/falcon.rs:76:7
[INFO] [stdout]    |
[INFO] [stdout] 76 | const HEAD_LEN: usize = 1;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SALT_LEN` is never used
[INFO] [stdout]   --> src/falcon/falcon.rs:77:7
[INFO] [stdout]    |
[INFO] [stdout] 77 | const SALT_LEN: usize = 40;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SEED_LEN` is never used
[INFO] [stdout]   --> src/falcon/falcon.rs:78:7
[INFO] [stdout]    |
[INFO] [stdout] 78 | const SEED_LEN: usize = 56;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `normalise_tree` is never used
[INFO] [stdout]    --> src/falcon/falcon.rs:132:4
[INFO] [stdout]     |
[INFO] [stdout] 132 | fn normalise_tree(tree: &mut Tree, sigma: f64) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FalconSignature` is never constructed
[INFO] [stdout]    --> src/falcon/falcon.rs:149:12
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub struct FalconSignature {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_bytes` is never used
[INFO] [stdout]    --> src/falcon/falcon.rs:155:12
[INFO] [stdout]     |
[INFO] [stdout] 154 | impl FalconSignature {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] 155 |     pub fn to_bytes(&self) -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SecurityLevel` is never used
[INFO] [stdout]    --> src/falcon/falcon.rs:165:10
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub enum SecurityLevel {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_degree` is never used
[INFO] [stdout]    --> src/falcon/falcon.rs:170:12
[INFO] [stdout]     |
[INFO] [stdout] 169 | impl SecurityLevel {
[INFO] [stdout]     | ------------------ associated function in this implementation
[INFO] [stdout] 170 |     pub fn from_degree(n: usize) -> FalconParams {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PublicKey` is never constructed
[INFO] [stdout]    --> src/falcon/falcon.rs:185:12
[INFO] [stdout]     |
[INFO] [stdout] 185 | pub struct PublicKey {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `verify` are never used
[INFO] [stdout]    --> src/falcon/falcon.rs:192:12
[INFO] [stdout]     |
[INFO] [stdout] 191 | impl PublicKey {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 192 |     pub fn new(sk: &SecretKey) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 208 |     pub(crate) fn verify(
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SecretKey` is never constructed
[INFO] [stdout]    --> src/falcon/falcon.rs:264:12
[INFO] [stdout]     |
[INFO] [stdout] 264 | pub struct SecretKey {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `sample_preimage`, `hash_to_point`, and `sign` are never used
[INFO] [stdout]    --> src/falcon/falcon.rs:276:19
[INFO] [stdout]     |
[INFO] [stdout] 275 | impl SecretKey {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 276 |     pub(crate) fn new(
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 416 |     fn sample_preimage(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 498 |     pub(crate) fn hash_to_point(
[INFO] [stdout]     |                   ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 532 |     pub(crate) fn sign<R: RngCore>(
[INFO] [stdout]     |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Tree` is never used
[INFO] [stdout]   --> src/falcon/ffsampling.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub(crate) enum Tree {
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `print_tree` is never used
[INFO] [stdout]   --> src/falcon/ffsampling.rs:50:19
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl Tree {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 50 |     pub(crate) fn print_tree(tree: &Tree, depth: usize) {
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gram` is never used
[INFO] [stdout]   --> src/falcon/ffsampling.rs:74:15
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub(crate) fn gram(b: &[Polynomial<Complex64>; 4]) -> Result<[Polynomial<Complex64>; 4], FftError> {
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ldl` is never used
[INFO] [stdout]    --> src/falcon/ffsampling.rs:116:4
[INFO] [stdout]     |
[INFO] [stdout] 116 | fn ldl(
[INFO] [stdout]     |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ldl_fft` is never used
[INFO] [stdout]    --> src/falcon/ffsampling.rs:162:4
[INFO] [stdout]     |
[INFO] [stdout] 162 | fn ldl_fft(
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ffldl` is never used
[INFO] [stdout]    --> src/falcon/ffsampling.rs:201:15
[INFO] [stdout]     |
[INFO] [stdout] 201 | pub(crate) fn ffldl(g: &[Polynomial<Complex64>; 4]) -> Result<Tree, FftError> {
[INFO] [stdout]     |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ffldl_fft` is never used
[INFO] [stdout]    --> src/falcon/ffsampling.rs:259:15
[INFO] [stdout]     |
[INFO] [stdout] 259 | pub(crate) fn ffldl_fft(g: &[Polynomial<Complex64>; 4]) -> Result<Tree, FftError> {
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ffnp` is never used
[INFO] [stdout]    --> src/falcon/ffsampling.rs:311:4
[INFO] [stdout]     |
[INFO] [stdout] 311 | fn ffnp(
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ffnp_fft` is never used
[INFO] [stdout]    --> src/falcon/ffsampling.rs:363:4
[INFO] [stdout]     |
[INFO] [stdout] 363 | fn ffnp_fft(
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ffsampling_fft` is never used
[INFO] [stdout]    --> src/falcon/ffsampling.rs:419:15
[INFO] [stdout]     |
[INFO] [stdout] 419 | pub(crate) fn ffsampling_fft<R: RngCore>(
[INFO] [stdout]     |               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `FftError` is never used
[INFO] [stdout]   --> src/falcon/fft.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub(crate) enum FftError {
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `split_fft` is never used
[INFO] [stdout]   --> src/falcon/fft.rs:53:15
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub(crate) fn split_fft(
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `merge_fft` is never used
[INFO] [stdout]   --> src/falcon/fft.rs:83:15
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub(crate) fn merge_fft(
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fft` is never used
[INFO] [stdout]    --> src/falcon/fft.rs:116:15
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub(crate) fn fft(f: Polynomial<Complex64>) -> Result<Polynomial<Complex64>, FftError> {
[INFO] [stdout]     |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inv_fft` is never used
[INFO] [stdout]    --> src/falcon/fft.rs:135:15
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub(crate) fn inv_fft(f_fft: Polynomial<Complex64>) -> Result<Polynomial<f64>, FftError> {
[INFO] [stdout]     |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHI4_ROOTS` is never used
[INFO] [stdout]   --> src/falcon/fft_consts.rs:51:7
[INFO] [stdout]    |
[INFO] [stdout] 51 | const PHI4_ROOTS: [Complex64; 1] = [Complex::new(1.00000000000000, -1.00000000000000)];
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHI8_ROOTS` is never used
[INFO] [stdout]   --> src/falcon/fft_consts.rs:58:7
[INFO] [stdout]    |
[INFO] [stdout] 58 | const PHI8_ROOTS: [Complex64; 4] = [
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHI16_ROOTS` is never used
[INFO] [stdout]   --> src/falcon/fft_consts.rs:70:7
[INFO] [stdout]    |
[INFO] [stdout] 70 | const PHI16_ROOTS: [Complex64; 8] = [
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/falcon/falcon.rs:285:14
[INFO] [stdout]     |
[INFO] [stdout] 285 |         let (mut f, mut g, mut capf, mut capg): (
[INFO] [stdout]     |              ----^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHI32_ROOTS` is never used
[INFO] [stdout]   --> src/falcon/fft_consts.rs:86:7
[INFO] [stdout]    |
[INFO] [stdout] 86 | const PHI32_ROOTS: [Complex64; 16] = [
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/falcon/falcon.rs:285:21
[INFO] [stdout]     |
[INFO] [stdout] 285 |         let (mut f, mut g, mut capf, mut capg): (
[INFO] [stdout]     |                     ----^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHI64_ROOTS` is never used
[INFO] [stdout]    --> src/falcon/fft_consts.rs:110:7
[INFO] [stdout]     |
[INFO] [stdout] 110 | const PHI64_ROOTS: [Complex64; 32] = [
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHI128_ROOTS` is never used
[INFO] [stdout]    --> src/falcon/fft_consts.rs:150:7
[INFO] [stdout]     |
[INFO] [stdout] 150 | const PHI128_ROOTS: [Complex64; 64] = [
[INFO] [stdout]     |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/falcon/falcon.rs:285:28
[INFO] [stdout]     |
[INFO] [stdout] 285 |         let (mut f, mut g, mut capf, mut capg): (
[INFO] [stdout]     |                            ----^^^^
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHI256_ROOTS` is never used
[INFO] [stdout]    --> src/falcon/fft_consts.rs:222:7
[INFO] [stdout]     |
[INFO] [stdout] 222 | const PHI256_ROOTS: [Complex64; 128] = [
[INFO] [stdout]     |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/falcon/falcon.rs:285:38
[INFO] [stdout]     |
[INFO] [stdout] 285 |         let (mut f, mut g, mut capf, mut capg): (
[INFO] [stdout]     |                                      ----^^^^
[INFO] [stdout]     |                                      |
[INFO] [stdout]     |                                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHI512_ROOTS` is never used
[INFO] [stdout]    --> src/falcon/fft_consts.rs:358:7
[INFO] [stdout]     |
[INFO] [stdout] 358 | const PHI512_ROOTS: [Complex64; 256] = [
[INFO] [stdout]     |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHI1024_ROOTS` is never used
[INFO] [stdout]    --> src/falcon/fft_consts.rs:621:7
[INFO] [stdout]     |
[INFO] [stdout] 621 | const PHI1024_ROOTS: [Complex64; 512] = [
[INFO] [stdout]     |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHI2048_ROOTS` is never used
[INFO] [stdout]     --> src/falcon/fft_consts.rs:1141:7
[INFO] [stdout]      |
[INFO] [stdout] 1141 | const PHI2048_ROOTS: [Complex64; 1024] = [
[INFO] [stdout]      |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `Q` is never used
[INFO] [stdout]   --> src/falcon/finite_field_element.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub(crate) const Q: u16 = 12289;
[INFO] [stdout]    |                  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FiniteFieldElem` is never constructed
[INFO] [stdout]   --> src/falcon/finite_field_element.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub(crate) struct FiniteFieldElem {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/falcon/finite_field_element.rs:97:19
[INFO] [stdout]    |
[INFO] [stdout] 96 | impl FiniteFieldElem {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] 97 |     pub(crate) fn new(val: u32) -> Self {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `NtruError` is never used
[INFO] [stdout]   --> src/falcon/ntrugen.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub(crate) enum NtruError {
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bitsize` is never used
[INFO] [stdout]   --> src/falcon/ntrugen.rs:53:15
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub(crate) fn bitsize(a: BigInt) -> u64 {
[INFO] [stdout]    |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xgcd` is never used
[INFO] [stdout]   --> src/falcon/ntrugen.rs:78:15
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub(crate) fn xgcd(mut b: BigInt, mut n: BigInt) -> (BigInt, BigInt, BigInt) {
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ntru_solve` is never used
[INFO] [stdout]    --> src/falcon/ntrugen.rs:115:4
[INFO] [stdout]     |
[INFO] [stdout] 115 | fn ntru_solve(
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gs_norm` is never used
[INFO] [stdout]    --> src/falcon/ntrugen.rs:159:4
[INFO] [stdout]     |
[INFO] [stdout] 159 | fn gs_norm(f: &Polynomial<f64>, g: &Polynomial<f64>, q: i32) -> Result<f64, FftError> {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gen_polynomial_parallel` is never used
[INFO] [stdout]    --> src/falcon/ntrugen.rs:200:4
[INFO] [stdout]     |
[INFO] [stdout] 200 | fn gen_polynomial_parallel(n: i32) -> Polynomial<i16> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gen_polynomial` is never used
[INFO] [stdout]    --> src/falcon/ntrugen.rs:225:4
[INFO] [stdout]     |
[INFO] [stdout] 225 | fn gen_polynomial(n: i32) -> Polynomial<i16> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ntru_gen` is never used
[INFO] [stdout]    --> src/falcon/ntrugen.rs:252:15
[INFO] [stdout]     |
[INFO] [stdout] 252 | pub(crate) fn ntru_gen(
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `NttError` is never used
[INFO] [stdout]   --> src/falcon/ntt.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub(crate) enum NttError {
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `I2` is never used
[INFO] [stdout]   --> src/falcon/ntt.rs:55:7
[INFO] [stdout]    |
[INFO] [stdout] 55 | const I2: u16 = 6145;
[INFO] [stdout]    |       ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SQRT_1` is never used
[INFO] [stdout]   --> src/falcon/ntt.rs:60:7
[INFO] [stdout]    |
[INFO] [stdout] 60 | const SQRT_1: u32 = 1479;
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `split_ntt` is never used
[INFO] [stdout]   --> src/falcon/ntt.rs:72:4
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn split_ntt(
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `merge_ntt` is never used
[INFO] [stdout]    --> src/falcon/ntt.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn merge_ntt(
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ntt` is never used
[INFO] [stdout]    --> src/falcon/ntt.rs:156:15
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub(crate) fn ntt(
[INFO] [stdout]     |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inv_ntt` is never used
[INFO] [stdout]    --> src/falcon/ntt.rs:191:15
[INFO] [stdout]     |
[INFO] [stdout] 191 | pub(crate) fn inv_ntt(
[INFO] [stdout]     |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHI4_ROOTS_ZQ` is never used
[INFO] [stdout]   --> src/falcon/ntt_consts.rs:53:7
[INFO] [stdout]    |
[INFO] [stdout] 53 | const PHI4_ROOTS_ZQ: [i32; 2] = [1479, 10810];
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHI8_ROOTS_ZQ` is never used
[INFO] [stdout]   --> src/falcon/ntt_consts.rs:58:7
[INFO] [stdout]    |
[INFO] [stdout] 58 | const PHI8_ROOTS_ZQ: [i32; 4] = [4043, 8246, 5146, 7143];
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHI16_ROOTS_ZQ` is never used
[INFO] [stdout]   --> src/falcon/ntt_consts.rs:63:7
[INFO] [stdout]    |
[INFO] [stdout] 63 | const PHI16_ROOTS_ZQ: [i32; 8] = [5736, 6553, 4134, 8155, 722, 11567, 1305, 10984];
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHI32_ROOTS_ZQ` is never used
[INFO] [stdout]   --> src/falcon/ntt_consts.rs:68:7
[INFO] [stdout]    |
[INFO] [stdout] 68 | const PHI32_ROOTS_ZQ: [i32; 16] = [
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHI64_ROOTS_ZQ` is never used
[INFO] [stdout]   --> src/falcon/ntt_consts.rs:76:7
[INFO] [stdout]    |
[INFO] [stdout] 76 | const PHI64_ROOTS_ZQ: [i32; 32] = [
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHI128_ROOTS_ZQ` is never used
[INFO] [stdout]   --> src/falcon/ntt_consts.rs:85:7
[INFO] [stdout]    |
[INFO] [stdout] 85 | const PHI128_ROOTS_ZQ: [i32; 64] = [
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHI256_ROOTS_ZQ` is never used
[INFO] [stdout]   --> src/falcon/ntt_consts.rs:96:7
[INFO] [stdout]    |
[INFO] [stdout] 96 | const PHI256_ROOTS_ZQ: [i32; 128] = [
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHI512_ROOTS_ZQ` is never used
[INFO] [stdout]    --> src/falcon/ntt_consts.rs:111:7
[INFO] [stdout]     |
[INFO] [stdout] 111 | const PHI512_ROOTS_ZQ: [i32; 256] = [
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHI1024_ROOTS_ZQ` is never used
[INFO] [stdout]    --> src/falcon/ntt_consts.rs:134:7
[INFO] [stdout]     |
[INFO] [stdout] 134 | const PHI1024_ROOTS_ZQ: [i32; 512] = [
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PHI2048_ROOTS_ZQ` is never used
[INFO] [stdout]    --> src/falcon/ntt_consts.rs:174:7
[INFO] [stdout]     |
[INFO] [stdout] 174 | const PHI2048_ROOTS_ZQ: [i32; 1024] = [
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INV_MOD_Q` is never used
[INFO] [stdout]    --> src/falcon/ntt_consts.rs:248:11
[INFO] [stdout]     |
[INFO] [stdout] 248 | pub const INV_MOD_Q: [i32; 12289] = [
[INFO] [stdout]     |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Polynomial` is never constructed
[INFO] [stdout]   --> src/falcon/polynomial.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub(crate) struct Polynomial<T> {
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/falcon/polynomial.rs:50:19
[INFO] [stdout]    |
[INFO] [stdout] 46 | / impl<T> Polynomial<T>
[INFO] [stdout] 47 | | where
[INFO] [stdout] 48 | |     T: Clone,
[INFO] [stdout]    | |_____________- associated function in this implementation
[INFO] [stdout] 49 |   {
[INFO] [stdout] 50 |       pub(crate) fn new(_coefficients: Vec<T>) -> Self {
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `field_norm`, `sqnorm`, `galois_conjugate`, `lift`, and `neg` are never used
[INFO] [stdout]    --> src/falcon/polynomial.rs:106:19
[INFO] [stdout]     |
[INFO] [stdout]  84 | / impl<T> Polynomial<T>
[INFO] [stdout]  85 | | where
[INFO] [stdout]  86 | |     T: Clone
[INFO] [stdout]  87 | |         + Default
[INFO] [stdout] ...   |
[INFO] [stdout]  93 | |         + AddAssign
[INFO] [stdout]  94 | |         + Debug,
[INFO] [stdout]     | |________________- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 106 |       pub(crate) fn field_norm(&self) -> Self {
[INFO] [stdout]     |                     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |       pub(crate) fn sqnorm(&self) -> T {
[INFO] [stdout]     |                     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 156 |       pub(crate) fn galois_conjugate(&self) -> Self {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |       pub(crate) fn lift(&self) -> Self {
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 194 |       pub(crate) fn neg(&self) -> Polynomial<T> {
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/falcon/polynomial.rs:214:19
[INFO] [stdout]     |
[INFO] [stdout] 204 | impl Polynomial<FiniteFieldElem> {
[INFO] [stdout]     | -------------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 214 |     pub(crate) fn split(
[INFO] [stdout]     |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 238 |     pub(crate) fn merge(f_vec: Vec<Polynomial<FiniteFieldElem>>) -> Polynomial<FiniteFieldElem> {
[INFO] [stdout]     |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub(crate) fn div_ntt(
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 275 |     pub(crate) fn div_zq(
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 285 |     pub(crate) fn mul_zq(
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 301 |     pub(crate) fn neg_zq(&self) -> Self {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 305 |     pub(crate) fn add_zq(&self, other: &Self) -> Self {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 313 |     pub(crate) fn sub_zq(&self, other: &Self) -> Self {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `split_fp`, `map_to_fp`, `adjoint_fft`, and `adjoint` are never used
[INFO] [stdout]    --> src/falcon/polynomial.rs:324:19
[INFO] [stdout]     |
[INFO] [stdout] 318 | impl Polynomial<Complex64> {
[INFO] [stdout]     | -------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 324 |     pub(crate) fn split_fp(
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 341 |     pub(crate) fn map_to_fp(&self) -> Polynomial<f64> {
[INFO] [stdout]     |                   ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 345 |     pub(crate) fn adjoint_fft(&self) -> Self {
[INFO] [stdout]     |                   ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 354 |     pub(crate) fn adjoint(&self) -> Result<Polynomial<f64>, FftError> {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `merge_fp`, `map_to_complex`, `map_to_ffe`, `mul`, and `div` are never used
[INFO] [stdout]    --> src/falcon/polynomial.rs:408:19
[INFO] [stdout]     |
[INFO] [stdout] 402 | impl Polynomial<f64> {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 408 |     pub(crate) fn merge_fp(f0: Polynomial<f64>, f1: Polynomial<f64>) -> Polynomial<f64> {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 420 |     pub(crate) fn map_to_complex(&self) -> Polynomial<Complex64> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 429 |     pub(crate) fn map_to_ffe(&self) -> Polynomial<FiniteFieldElem> {
[INFO] [stdout]     |                   ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 441 |     pub(crate) fn mul(
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 457 |     pub(crate) fn div(
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `karatsuba` is never used
[INFO] [stdout]    --> src/falcon/polynomial.rs:519:15
[INFO] [stdout]     |
[INFO] [stdout] 519 | pub(crate) fn karatsuba<T>(a: &[T], b: &[T]) -> Vec<T>
[INFO] [stdout]     |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `karamul` is never used
[INFO] [stdout]    --> src/falcon/polynomial.rs:588:15
[INFO] [stdout]     |
[INFO] [stdout] 588 | pub(crate) fn karamul<T>(a: &[T], b: &[T]) -> Vec<T>
[INFO] [stdout]     |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `reduce` is never used
[INFO] [stdout]    --> src/falcon/polynomial.rs:617:19
[INFO] [stdout]     |
[INFO] [stdout] 599 | impl Polynomial<BigInt> {
[INFO] [stdout]     | ----------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 617 |     pub(crate) fn reduce(
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_SIGMA` is never used
[INFO] [stdout]   --> src/falcon/samplerz.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | const MAX_SIGMA: f64 = 1.8205;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INV_2SIGMA2` is never used
[INFO] [stdout]   --> src/falcon/samplerz.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | const INV_2SIGMA2: f64 = 1.0 / (2.0 * MAX_SIGMA * MAX_SIGMA);
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LN2` is never used
[INFO] [stdout]   --> src/falcon/samplerz.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 | const LN2: f64 = std::f64::consts::LN_2;
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ILN2` is never used
[INFO] [stdout]   --> src/falcon/samplerz.rs:29:7
[INFO] [stdout]    |
[INFO] [stdout] 29 | const ILN2: f64 = std::f64::consts::LOG2_E;
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RCDT` is never used
[INFO] [stdout]   --> src/falcon/samplerz.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 | const RCDT: [u128; 18] = [
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `C` is never used
[INFO] [stdout]   --> src/falcon/samplerz.rs:63:7
[INFO] [stdout]    |
[INFO] [stdout] 63 | const C: [u64; 13] = [
[INFO] [stdout]    |       ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `base_sampler` is never used
[INFO] [stdout]   --> src/falcon/samplerz.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn base_sampler(bytes: &[u8; 9]) -> i16 {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `approxexp` is never used
[INFO] [stdout]    --> src/falcon/samplerz.rs:107:4
[INFO] [stdout]     |
[INFO] [stdout] 107 | fn approxexp(x: f64, ccs: f64) -> u64 {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `berexp` is never used
[INFO] [stdout]    --> src/falcon/samplerz.rs:129:4
[INFO] [stdout]     |
[INFO] [stdout] 129 | fn berexp(x: f64, ccs: f64, rand_bytes: &[u8; 7]) -> bool {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `samplerz` is never used
[INFO] [stdout]    --> src/falcon/samplerz.rs:169:15
[INFO] [stdout]     |
[INFO] [stdout] 169 | pub(crate) fn samplerz<R: RngCore>(mu: f64, sigmin: f64, sigma: f64, rng: &mut R) -> i64 {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Signature_KAT` is never constructed
[INFO] [stdout]  --> src/falcon/sign_KAT.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub(crate) struct Signature_KAT {
[INFO] [stdout]   |                   ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `sign_KAT512` is never used
[INFO] [stdout]   --> src/falcon/sign_KAT.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub (crate) const sign_KAT512: [Signature_KAT; 12] = [
[INFO] [stdout]    |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `sign_KAT` should have a snake case name
[INFO] [stdout]   --> src/falcon/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | mod sign_KAT;
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `sign_kat`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `sign_KAT512` should have an upper case name
[INFO] [stdout]   --> src/falcon/sign_KAT.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub (crate) const sign_KAT512: [Signature_KAT; 12] = [
[INFO] [stdout]    |                   ^^^^^^^^^^^ help: convert the identifier to upper case: `SIGN_KAT512`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `deg`
[INFO] [stdout]    --> src/falcon/polynomial.rs:260:13
[INFO] [stdout]     |
[INFO] [stdout] 260 |         let deg = f_ntt.coefficients.len();
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_deg`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `key_gen` is never used
[INFO] [stdout]   --> src/falcon/falcon.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn key_gen(params: FalconParams) -> Result<(PublicKey, SecretKey), Box<dyn Error>> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sign` is never used
[INFO] [stdout]   --> src/falcon/falcon.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn sign(message: &[u8], sk: &SecretKey) -> Result<FalconSignature, Box<dyn Error>> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify` is never used
[INFO] [stdout]   --> src/falcon/falcon.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn verify(
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SEED_LEN` is never used
[INFO] [stdout]   --> src/falcon/falcon.rs:78:7
[INFO] [stdout]    |
[INFO] [stdout] 78 | const SEED_LEN: usize = 56;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `header` and `salt` are never read
[INFO] [stdout]    --> src/falcon/falcon.rs:150:5
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub struct FalconSignature {
[INFO] [stdout]     |            --------------- fields in this struct
[INFO] [stdout] 150 |     header: [u8; 8],
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 151 |     salt: [u8; 40],
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_bytes` is never used
[INFO] [stdout]    --> src/falcon/falcon.rs:155:12
[INFO] [stdout]     |
[INFO] [stdout] 154 | impl FalconSignature {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] 155 |     pub fn to_bytes(&self) -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Falcon512` and `Falcon1024` are never constructed
[INFO] [stdout]    --> src/falcon/falcon.rs:166:5
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub enum SecurityLevel {
[INFO] [stdout]     |          ------------- variants in this enum
[INFO] [stdout] 166 |     Falcon512(FalconParams),
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 167 |     Falcon1024(FalconParams),
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `n` and `sig_bound` are never read
[INFO] [stdout]    --> src/falcon/falcon.rs:186:5
[INFO] [stdout]     |
[INFO] [stdout] 185 | pub struct PublicKey {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 186 |     n: usize,
[INFO] [stdout]     |     ^
[INFO] [stdout] 187 |     h: Polynomial<FiniteFieldElem>,
[INFO] [stdout] 188 |     sig_bound: usize,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `f`, `g`, `capf`, and `capg` are never read
[INFO] [stdout]    --> src/falcon/falcon.rs:266:5
[INFO] [stdout]     |
[INFO] [stdout] 264 | pub struct SecretKey {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 265 |     params: FalconParams,
[INFO] [stdout] 266 |     f: Polynomial<i64>,
[INFO] [stdout]     |     ^
[INFO] [stdout] 267 |     g: Polynomial<i64>,
[INFO] [stdout]     |     ^
[INFO] [stdout] 268 |     capf: Polynomial<i64>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 269 |     capg: Polynomial<i64>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `print_tree` is never used
[INFO] [stdout]   --> src/falcon/ffsampling.rs:50:19
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl Tree {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 50 |     pub(crate) fn print_tree(tree: &Tree, depth: usize) {
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ldl` is never used
[INFO] [stdout]    --> src/falcon/ffsampling.rs:116:4
[INFO] [stdout]     |
[INFO] [stdout] 116 | fn ldl(
[INFO] [stdout]     |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ffldl` is never used
[INFO] [stdout]    --> src/falcon/ffsampling.rs:201:15
[INFO] [stdout]     |
[INFO] [stdout] 201 | pub(crate) fn ffldl(g: &[Polynomial<Complex64>; 4]) -> Result<Tree, FftError> {
[INFO] [stdout]     |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ffnp` is never used
[INFO] [stdout]    --> src/falcon/ffsampling.rs:311:4
[INFO] [stdout]     |
[INFO] [stdout] 311 | fn ffnp(
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ffnp_fft` is never used
[INFO] [stdout]    --> src/falcon/ffsampling.rs:363:4
[INFO] [stdout]     |
[INFO] [stdout] 363 | fn ffnp_fft(
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/falcon/fft.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 |     Other(String),
[INFO] [stdout]    |     ----- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FftError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 31 -     Other(String),
[INFO] [stdout] 31 +     Other(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ZeroLengthPolynomial`, `FailedToSplitPolynomial`, and `FailedToMergePolynomial` are never constructed
[INFO] [stdout]   --> src/falcon/fft.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub(crate) enum FftError {
[INFO] [stdout]    |                 -------- variants in this enum
[INFO] [stdout] 27 |     ZeroLengthPolynomial,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 28 |     InvalidRootIndex,
[INFO] [stdout] 29 |     FailedToSplitPolynomial,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 30 |     FailedToMergePolynomial,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FftError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `DivisionError`, `ReductionError`, and `Other` are never constructed
[INFO] [stdout]   --> src/falcon/ntrugen.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub(crate) enum NtruError {
[INFO] [stdout]    |                 --------- variants in this enum
[INFO] [stdout] 34 |     DivisionError,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 35 |     XgcdError,
[INFO] [stdout] 36 |     ReductionError,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 37 |     Other(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NtruError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gen_polynomial` is never used
[INFO] [stdout]    --> src/falcon/ntrugen.rs:225:4
[INFO] [stdout]     |
[INFO] [stdout] 225 | fn gen_polynomial(n: i32) -> Polynomial<i16> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `map_to_ffe` is never used
[INFO] [stdout]    --> src/falcon/polynomial.rs:429:19
[INFO] [stdout]     |
[INFO] [stdout] 402 | impl Polynomial<f64> {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 429 |     pub(crate) fn map_to_ffe(&self) -> Polynomial<FiniteFieldElem> {
[INFO] [stdout]     |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `nonce`, `seed`, `s2`, and `sig` are never read
[INFO] [stdout]   --> src/falcon/sign_KAT.rs:7:16
[INFO] [stdout]    |
[INFO] [stdout]  1 | pub(crate) struct Signature_KAT {
[INFO] [stdout]    |                   ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  7 |     pub(crate) nonce: &'static str,
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]  8 |     pub(crate) seed: &'static str,
[INFO] [stdout]    |                ^^^^
[INFO] [stdout]  9 |     pub(crate) s2: &'static [i16],
[INFO] [stdout]    |                ^^
[INFO] [stdout] 10 |     pub(crate) sig: &'static str,
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `sign_KAT` should have a snake case name
[INFO] [stdout]   --> src/falcon/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | mod sign_KAT;
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `sign_kat`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `sign_KAT512` should have an upper case name
[INFO] [stdout]   --> src/falcon/sign_KAT.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub (crate) const sign_KAT512: [Signature_KAT; 12] = [
[INFO] [stdout]    |                   ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 14 - pub (crate) const sign_KAT512: [Signature_KAT; 12] = [
[INFO] [stdout] 14 + pub (crate) const SIGN_KAT512: [Signature_KAT; 12] = [
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.66s
[INFO] running `Command { std: "docker" "inspect" "3ebf750512816d878637bd022c662c93f56d2d90bca4901eb76338dd994a0149", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ebf750512816d878637bd022c662c93f56d2d90bca4901eb76338dd994a0149", kill_on_drop: false }`
[INFO] [stdout] 3ebf750512816d878637bd022c662c93f56d2d90bca4901eb76338dd994a0149
