[INFO] fetching crate qasa 0.0.3... [INFO] building qasa-0.0.3 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate qasa 0.0.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate qasa 0.0.3 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate qasa 0.0.3 [INFO] tweaked toml for crates.io crate qasa 0.0.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate qasa 0.0.3 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate qasa 0.0.3 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc506393389b6ec90a57feed2568b53e93d3900d4b4d9c30e8ac99f20ec1bf1d [INFO] running `Command { std: "docker" "start" "-a" "fc506393389b6ec90a57feed2568b53e93d3900d4b4d9c30e8ac99f20ec1bf1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc506393389b6ec90a57feed2568b53e93d3900d4b4d9c30e8ac99f20ec1bf1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc506393389b6ec90a57feed2568b53e93d3900d4b4d9c30e8ac99f20ec1bf1d", kill_on_drop: false }` [INFO] [stdout] fc506393389b6ec90a57feed2568b53e93d3900d4b4d9c30e8ac99f20ec1bf1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5fca9707b69cc52771b4271d2615484e36543ac8282e88fec32c36e74dcb859 [INFO] running `Command { std: "docker" "start" "-a" "c5fca9707b69cc52771b4271d2615484e36543ac8282e88fec32c36e74dcb859", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling prettyplease v0.2.33 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling oqs v0.8.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling cstr_core v0.2.6 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling build-deps v0.1.4 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling oqs-sys v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling qasa v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Kyber768_Dilithium3_AES256GCM` should have an upper camel case name [INFO] [stdout] --> src/protocols.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | Kyber768_Dilithium3_AES256GCM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Kyber768Dilithium3Aes256gcm` [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: variant `Kyber1024_Dilithium5_AES256GCM` should have an upper camel case name [INFO] [stdout] --> src/protocols.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | Kyber1024_Dilithium5_AES256GCM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Kyber1024Dilithium5Aes256gcm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Kyber512_Dilithium2_AES256GCM` should have an upper camel case name [INFO] [stdout] --> src/protocols.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | Kyber512_Dilithium2_AES256GCM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Kyber512Dilithium2Aes256gcm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CryptoError` and `CryptoResult` [INFO] [stdout] --> src/security/audit.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::{CryptoError, CryptoResult}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CryptoError` [INFO] [stdout] --> src/security/policy.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::{CryptoError, CryptoResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/security/side_channel.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::aes::AesGcm` [INFO] [stdout] --> src/simple.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::aes::AesGcm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CryptoError` [INFO] [stdout] --> src/simple.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{CryptoError, CryptoResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_code` [INFO] [stdout] --> src/error.rs:526:34 [INFO] [stdout] | [INFO] [stdout] 526 | pub fn io_error(cause: &str, error_code: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 526 | pub fn io_error(cause: &str, _error_code: u32) -> Self { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PROTOCOL_VERSION_MISMATCH` [INFO] [stdout] | [INFO] [stdout] 526 - pub fn io_error(cause: &str, error_code: u32) -> Self { [INFO] [stdout] 526 + pub fn io_error(cause: &str, error::error_codes::PROTOCOL_VERSION_MISMATCH: u32) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ephemeral_key` [INFO] [stdout] --> src/protocols.rs:474:13 [INFO] [stdout] | [INFO] [stdout] 474 | let ephemeral_key = self.get_or_create_ephemeral_key(recipient)?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ephemeral_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `overall_score` [INFO] [stdout] --> src/security/side_channel.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let overall_score = self.calculate_overall_score(&tests); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overall_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recommendations` [INFO] [stdout] --> src/security/side_channel.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let recommendations = self.generate_recommendations(&tests); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recommendations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root_of_unity` is never read [INFO] [stdout] --> src/simd/x86_simd.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct SimdNTT { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 194 | modulus: i32, [INFO] [stdout] 195 | root_of_unity: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `created_at`, and `last_used` are never read [INFO] [stdout] --> src/protocols.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct SessionKey { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 102 | id: SessionId, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 105 | created_at: SystemTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 106 | last_used: SystemTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 38s [INFO] running `Command { std: "docker" "inspect" "c5fca9707b69cc52771b4271d2615484e36543ac8282e88fec32c36e74dcb859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5fca9707b69cc52771b4271d2615484e36543ac8282e88fec32c36e74dcb859", kill_on_drop: false }` [INFO] [stdout] c5fca9707b69cc52771b4271d2615484e36543ac8282e88fec32c36e74dcb859 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3384d3f3b850e5adcc8adb5295cbe0721f955b994e2864144d5374a45a80f90d [INFO] running `Command { std: "docker" "start" "-a" "3384d3f3b850e5adcc8adb5295cbe0721f955b994e2864144d5374a45a80f90d", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling oqs-sys v0.8.0 [INFO] [stderr] Compiling oqs v0.8.0 [INFO] [stderr] Compiling qasa v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Kyber768_Dilithium3_AES256GCM` should have an upper camel case name [INFO] [stdout] --> src/protocols.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | Kyber768_Dilithium3_AES256GCM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Kyber768Dilithium3Aes256gcm` [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: variant `Kyber1024_Dilithium5_AES256GCM` should have an upper camel case name [INFO] [stdout] --> src/protocols.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | Kyber1024_Dilithium5_AES256GCM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Kyber1024Dilithium5Aes256gcm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Kyber512_Dilithium2_AES256GCM` should have an upper camel case name [INFO] [stdout] --> src/protocols.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | Kyber512_Dilithium2_AES256GCM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Kyber512Dilithium2Aes256gcm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CryptoError` and `CryptoResult` [INFO] [stdout] --> src/security/audit.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::{CryptoError, CryptoResult}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CryptoError` [INFO] [stdout] --> src/security/policy.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::{CryptoError, CryptoResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/security/side_channel.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::aes::AesGcm` [INFO] [stdout] --> src/simple.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::aes::AesGcm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CryptoError` [INFO] [stdout] --> src/simple.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{CryptoError, CryptoResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Kyber768_Dilithium3_AES256GCM` should have an upper camel case name [INFO] [stdout] --> src/protocols.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | Kyber768_Dilithium3_AES256GCM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Kyber768Dilithium3Aes256gcm` [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: variant `Kyber1024_Dilithium5_AES256GCM` should have an upper camel case name [INFO] [stdout] --> src/protocols.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | Kyber1024_Dilithium5_AES256GCM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Kyber1024Dilithium5Aes256gcm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Kyber512_Dilithium2_AES256GCM` should have an upper camel case name [INFO] [stdout] --> src/protocols.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | Kyber512_Dilithium2_AES256GCM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Kyber512Dilithium2Aes256gcm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CryptoError` and `CryptoResult` [INFO] [stdout] --> src/security/audit.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::{CryptoError, CryptoResult}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CryptoError` [INFO] [stdout] --> src/security/policy.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::{CryptoError, CryptoResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/security/side_channel.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::aes::AesGcm` [INFO] [stdout] --> src/simple.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::aes::AesGcm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CryptoError` [INFO] [stdout] --> src/simple.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{CryptoError, CryptoResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_code` [INFO] [stdout] --> src/error.rs:526:34 [INFO] [stdout] | [INFO] [stdout] 526 | pub fn io_error(cause: &str, error_code: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 526 | pub fn io_error(cause: &str, _error_code: u32) -> Self { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PROTOCOL_VERSION_MISMATCH` [INFO] [stdout] | [INFO] [stdout] 526 - pub fn io_error(cause: &str, error_code: u32) -> Self { [INFO] [stdout] 526 + pub fn io_error(cause: &str, error::error_codes::PROTOCOL_VERSION_MISMATCH: u32) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/security/constant_time.rs:379:26 [INFO] [stdout] | [INFO] [stdout] 379 | let operation = |data: &Vec| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `overall_score` [INFO] [stdout] --> src/security/side_channel.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let overall_score = self.calculate_overall_score(&tests); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overall_score` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recommendations` [INFO] [stdout] --> src/security/side_channel.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let recommendations = self.generate_recommendations(&tests); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recommendations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `overall_score` [INFO] [stdout] --> src/security/side_channel.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let overall_score = self.calculate_overall_score(&tests); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overall_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recommendations` [INFO] [stdout] --> src/security/side_channel.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let recommendations = self.generate_recommendations(&tests); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recommendations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_code` [INFO] [stdout] --> src/error.rs:526:34 [INFO] [stdout] | [INFO] [stdout] 526 | pub fn io_error(cause: &str, error_code: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 526 | pub fn io_error(cause: &str, _error_code: u32) -> Self { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PROTOCOL_VERSION_MISMATCH` [INFO] [stdout] | [INFO] [stdout] 526 - pub fn io_error(cause: &str, error_code: u32) -> Self { [INFO] [stdout] 526 + pub fn io_error(cause: &str, error::error_codes::PROTOCOL_VERSION_MISMATCH: u32) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ephemeral_key` [INFO] [stdout] --> src/protocols.rs:474:13 [INFO] [stdout] | [INFO] [stdout] 474 | let ephemeral_key = self.get_or_create_ephemeral_key(recipient)?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ephemeral_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ephemeral_key` [INFO] [stdout] --> src/protocols.rs:474:13 [INFO] [stdout] | [INFO] [stdout] 474 | let ephemeral_key = self.get_or_create_ephemeral_key(recipient)?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ephemeral_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root_of_unity` is never read [INFO] [stdout] --> src/simd/x86_simd.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct SimdNTT { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 194 | modulus: i32, [INFO] [stdout] 195 | root_of_unity: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `created_at`, and `last_used` are never read [INFO] [stdout] --> src/protocols.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct SessionKey { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 102 | id: SessionId, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 105 | created_at: SystemTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 106 | last_used: SystemTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols.rs:746:13 [INFO] [stdout] | [INFO] [stdout] 746 | let mut tls = QuantumSafeTLS::new(config).unwrap(); [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: fields `id`, `created_at`, and `last_used` are never read [INFO] [stdout] --> src/protocols.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct SessionKey { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 102 | id: SessionId, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 105 | created_at: SystemTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 106 | last_used: SystemTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root_of_unity` is never read [INFO] [stdout] --> src/simd/x86_simd.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct SimdNTT { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 194 | modulus: i32, [INFO] [stdout] 195 | root_of_unity: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3m 25s [INFO] running `Command { std: "docker" "inspect" "3384d3f3b850e5adcc8adb5295cbe0721f955b994e2864144d5374a45a80f90d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3384d3f3b850e5adcc8adb5295cbe0721f955b994e2864144d5374a45a80f90d", kill_on_drop: false }` [INFO] [stdout] 3384d3f3b850e5adcc8adb5295cbe0721f955b994e2864144d5374a45a80f90d