[INFO] fetching crate crypt_guard_kyber 0.1.2...
[INFO] testing crypt_guard_kyber-0.1.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate crypt_guard_kyber 0.1.2 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate crypt_guard_kyber 0.1.2
[INFO] finished tweaking crates.io crate crypt_guard_kyber 0.1.2
[INFO] tweaked toml for crates.io crate crypt_guard_kyber 0.1.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate crypt_guard_kyber 0.1.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 105 packages to latest compatible versions
[INFO] [stderr]       Adding colored v2.2.0 (available: v3.0.0)
[INFO] [stderr]       Adding env v0.0.0 (available: v1.0.1)
[INFO] [stderr]       Adding indicatif v0.17.11 (available: v0.18.2)
[INFO] [stderr]       Adding pqcrypto-falcon v0.3.0 (available: v0.4.1)
[INFO] [stderr]       Adding rand v0.8.5 (available: v0.9.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3349a5cd25b4210448e91abf91186109644748dd472bfbd26c071db590c99d5e
[INFO] running `Command { std: "docker" "start" "-a" "3349a5cd25b4210448e91abf91186109644748dd472bfbd26c071db590c99d5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3349a5cd25b4210448e91abf91186109644748dd472bfbd26c071db590c99d5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3349a5cd25b4210448e91abf91186109644748dd472bfbd26c071db590c99d5e", kill_on_drop: false }`
[INFO] [stdout] 3349a5cd25b4210448e91abf91186109644748dd472bfbd26c071db590c99d5e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cb0f29720f62c32e1f5d7081c40a88b1ca7bf25ab45df5043f3ccb6fdc12f39a
[INFO] running `Command { std: "docker" "start" "-a" "cb0f29720f62c32e1f5d7081c40a88b1ca7bf25ab45df5043f3ccb6fdc12f39a", kill_on_drop: false }`
[INFO] [stderr]    Compiling portable-atomic v1.11.1
[INFO] [stderr]    Compiling pqcrypto-traits v0.3.5
[INFO] [stderr]    Compiling unicode-width v0.2.2
[INFO] [stderr]    Compiling cc v1.2.45
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]    Compiling env v0.0.0
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling console v0.15.11
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling indicatif v0.17.11
[INFO] [stderr]    Compiling pqcrypto-internals v0.2.11
[INFO] [stderr]    Compiling pqcrypto-falcon v0.3.0
[INFO] [stderr]    Compiling pqcrypto-kyber v0.8.1
[INFO] [stderr]    Compiling crypt_guard_sign v0.1.2
[INFO] [stderr]    Compiling crypt_guard_kyber v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `dilithium`
[INFO] [stdout]   --> src/decrypt.rs:41:7
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[cfg(feature = "dilithium")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `pqcrypto-dilithium`, and `xchacha20`
[INFO] [stdout]    = help: consider adding `dilithium` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pqcrypto_kyber::kyber1024`
[INFO] [stdout]  --> src/decrypt.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use pqcrypto_kyber::kyber1024;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `*`
[INFO] [stdout]  --> src/decrypt.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | use pqcrypto_falcon::falcon1024::{self, *};
[INFO] [stdout]   |                                         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `File`, `Path`, `Read`, `env::current_dir`, and `self`
[INFO] [stdout]   --> src/decrypt.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fs::{self, File}, 
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 11 |     path::{PathBuf, Path},
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout] 12 |     io::{self, Cursor, Read, Write},
[INFO] [stdout]    |          ^^^^          ^^^^
[INFO] [stdout] 13 |     env::current_dir
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::repeat`
[INFO] [stdout]   --> src/decrypt.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use std::iter::repeat;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/decrypt.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         self,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pqcrypto_kyber::kyber1024::*`
[INFO] [stdout]  --> src/encrypt.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pqcrypto_kyber::kyber1024::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `File`, `Path`, `Read`, `Write`, and `env::current_dir`
[INFO] [stdout]   --> src/encrypt.rs:9:16
[INFO] [stdout]    |
[INFO] [stdout]  9 |     fs::{self, File}, 
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 10 |     path::{PathBuf, Path},
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout] 11 |     io::{self, Read, Write},
[INFO] [stdout]    |                ^^^^  ^^^^^
[INFO] [stdout] 12 |     env::current_dir
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RngCore` and `rngs::OsRng`
[INFO] [stdout]   --> src/encrypt.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | use rand::{rngs::OsRng, RngCore};
[INFO] [stdout]    |            ^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `*`
[INFO] [stdout]   --> src/encrypt.rs:25:31
[INFO] [stdout]    |
[INFO] [stdout] 25 |  use crypt_guard_sign::{self, *};
[INFO] [stdout]    |                               ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::repeat`
[INFO] [stdout]   --> src/encrypt.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use std::iter::repeat;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BlockCipher`, `BlockDecrypt`, `BlockEncrypt`, and `generic_array::GenericArray`
[INFO] [stdout]  --> src/keychain.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use aes::cipher::{BlockCipher, BlockEncrypt, BlockDecrypt, KeyInit, generic_array::GenericArray};
[INFO] [stdout]   |                   ^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sha2::Sha256`
[INFO] [stdout]  --> src/keychain.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sha2::Sha256;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Hmac`
[INFO] [stdout]  --> src/keychain.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | use hmac::{Hmac, Mac};
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `env`
[INFO] [stdout]  --> src/keychain.rs:6:89
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::{error::Error, ffi::OsStr, fmt, fs, path::Path, path::PathBuf, result::Result, env};
[INFO] [stdout]   |                                                                                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `*`
[INFO] [stdout]  --> src/keychain.rs:9:30
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crypt_guard_sign::{self, *};
[INFO] [stdout]   |                              ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pqcrypto_falcon::falcon1024`
[INFO] [stdout]   --> src/keychain.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use pqcrypto_falcon::falcon1024;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `*`
[INFO] [stdout]  --> src/lib.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crypt_guard_sign::{self, *};
[INFO] [stdout]   |                              ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `*` and `self`
[INFO] [stdout]  --> src/lib.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 | use pqcrypto_falcon::falcon1024::{self, *};
[INFO] [stdout]   |                                   ^^^^  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `*`
[INFO] [stdout]  --> src/lib.rs:7:39
[INFO] [stdout]   |
[INFO] [stdout] 7 | use pqcrypto_kyber::kyber1024::{self, *};
[INFO] [stdout]   |                                       ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `*`, `error::Error`, `io`, and `self`
[INFO] [stdout]   --> src/lib.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  9 |     error::Error,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 10 |     fmt::{self, *},
[INFO] [stdout]    |           ^^^^  ^
[INFO] [stdout] 11 |     io,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `kyber` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct kyber {
[INFO] [stdout]    |        ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Kyber`
[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: use of deprecated struct `hmac::digest::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/decrypt.rs:35:24
[INFO] [stdout]    |
[INFO] [stdout] 35 |         generic_array::GenericArray,
[INFO] [stdout]    |                        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::digest::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/decrypt.rs:188:34
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let cipher = Aes256::new(GenericArray::from_slice(key));
[INFO] [stdout]     |                                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::digest::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/decrypt.rs:190:29
[INFO] [stdout]     |
[INFO] [stdout] 190 |             let mut block = GenericArray::clone_from_slice(chunk); // Create a mutable copy
[INFO] [stdout]     |                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::digest::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/encrypt.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |         generic_array::GenericArray,
[INFO] [stdout]    |                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::digest::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/encrypt.rs:153:34
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let cipher = Aes256::new(GenericArray::from_slice(key));
[INFO] [stdout]     |                                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::digest::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/encrypt.rs:155:29
[INFO] [stdout]     |
[INFO] [stdout] 155 |             let mut block = GenericArray::clone_from_slice(chunk);
[INFO] [stdout]     |                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::digest::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/keychain.rs:3:84
[INFO] [stdout]   |
[INFO] [stdout] 3 | use aes::cipher::{BlockCipher, BlockEncrypt, BlockDecrypt, KeyInit, generic_array::GenericArray};
[INFO] [stdout]   |                                                                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/decrypt.rs:178:13
[INFO] [stdout]     |
[INFO] [stdout] 178 |             _ => Err(CryptError::InvalidParameters),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/decrypt.rs:178:13
[INFO] [stdout]     |
[INFO] [stdout] 157 |             ActionType::FileAction => {
[INFO] [stdout]     |             ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 168 |             ActionType::MessageAction => {
[INFO] [stdout]     |             ------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 178 |             _ => Err(CryptError::InvalidParameters),
[INFO] [stdout]     |             ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `hmac::digest::generic_array::GenericArray::<T, N>::from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/decrypt.rs:188:48
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let cipher = Aes256::new(GenericArray::from_slice(key));
[INFO] [stdout]     |                                                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `hmac::digest::generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/decrypt.rs:190:43
[INFO] [stdout]     |
[INFO] [stdout] 190 |             let mut block = GenericArray::clone_from_slice(chunk); // Create a mutable copy
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/encrypt.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 132 |             _ => Err(CryptError::InvalidParameters),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/encrypt.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |             ActionType::FileAction => {
[INFO] [stdout]     |             ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 118 |             ActionType::MessageAction => {
[INFO] [stdout]     |             ------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 132 |             _ => Err(CryptError::InvalidParameters),
[INFO] [stdout]     |             ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `hmac::digest::generic_array::GenericArray::<T, N>::from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/encrypt.rs:153:48
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let cipher = Aes256::new(GenericArray::from_slice(key));
[INFO] [stdout]     |                                                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `hmac::digest::generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/encrypt.rs:155:43
[INFO] [stdout]     |
[INFO] [stdout] 155 |             let mut block = GenericArray::clone_from_slice(chunk);
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/encrypt.rs:170:13
[INFO] [stdout]     |
[INFO] [stdout] 170 |         let mut encrypted_file_path = file_path.clone();
[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: unused import: `PublicKey`
[INFO] [stdout]   --> src/encrypt.rs:21:49
[INFO] [stdout]    |
[INFO] [stdout] 21 |     DetachedSignature as DetachedSignatureSign, PublicKey as PublicKeySign,
[INFO] [stdout]    |                                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `KeyInit`
[INFO] [stdout]  --> src/keychain.rs:3:60
[INFO] [stdout]   |
[INFO] [stdout] 3 | use aes::cipher::{BlockCipher, BlockEncrypt, BlockDecrypt, KeyInit, generic_array::GenericArray};
[INFO] [stdout]   |                                                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]   --> src/encrypt.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     SecretKey as SecretKeySign, SignedMessage as SignedMessageSign,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]   --> src/decrypt.rs:17:49
[INFO] [stdout]    |
[INFO] [stdout] 17 |     DetachedSignature as DetachedSignatureSign, PublicKey as PublicKeySign,
[INFO] [stdout]    |                                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]   --> src/decrypt.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     SecretKey as SecretKeySign, SignedMessage as SignedMessageSign,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SignedMessage`
[INFO] [stdout]   --> src/decrypt.rs:18:33
[INFO] [stdout]    |
[INFO] [stdout] 18 |     SecretKey as SecretKeySign, SignedMessage as SignedMessageSign,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mac`
[INFO] [stdout]  --> src/keychain.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use hmac::{Hmac, Mac};
[INFO] [stdout]   |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]  --> src/encrypt.rs:5:28
[INFO] [stdout]   |
[INFO] [stdout] 5 | use pqcrypto_traits::kem::{PublicKey as PublicKeyKem, SecretKey as SecKeyKem, SharedSecret as SharedSecretKem, Ciphertext as Cipherte...
[INFO] [stdout]   |                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]  --> src/encrypt.rs:5:55
[INFO] [stdout]   |
[INFO] [stdout] 5 | use pqcrypto_traits::kem::{PublicKey as PublicKeyKem, SecretKey as SecKeyKem, SharedSecret as SharedSecretKem, Ciphertext as Cipherte...
[INFO] [stdout]   |                                                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SignedMessage`
[INFO] [stdout]   --> src/encrypt.rs:22:33
[INFO] [stdout]    |
[INFO] [stdout] 22 |     SecretKey as SecretKeySign, SignedMessage as SignedMessageSign,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ciphertext`
[INFO] [stdout]  --> src/encrypt.rs:5:112
[INFO] [stdout]   |
[INFO] [stdout] 5 | use pqcrypto_traits::kem::{PublicKey as PublicKeyKem, SecretKey as SecKeyKem, SharedSecret as SharedSecretKem, Ciphertext as Cipherte...
[INFO] [stdout]   |                                                                                                                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nonce`
[INFO] [stdout]    --> src/decrypt.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 145 |         nonce: Option<&[u8; 24]>,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_nonce`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/encrypt.rs:77:64
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub async fn save_encrypted_message(&self, message: &[u8], path: PathBuf) -> Result<(), CryptError> {
[INFO] [stdout]    |                                                                ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nonce`
[INFO] [stdout]   --> src/encrypt.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |         nonce: Option<&[u8; 24]>,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_nonce`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ciphertext`
[INFO] [stdout]    --> src/encrypt.rs:102:29
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let (shared_secret, ciphertext) = kyber1024::encapsulate(&public_key);
[INFO] [stdout]     |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ciphertext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `kyber` is never constructed
[INFO] [stdout]   --> src/lib.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct kyber {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `decrypt`, `encrypt`, and `keychain` are never used
[INFO] [stdout]   --> src/lib.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl kyber {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 22 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn decrypt(&self) -> &Decrypt {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn encrypt(&self) -> &Encrypt {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn keychain(&self) -> &Keychain {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_subarray` is never used
[INFO] [stdout]   --> src/decrypt.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn find_subarray(haystack: &[u8], needle: &[u8]) -> Option<usize> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/keychain.rs:130:13
[INFO] [stdout]     |
[INFO] [stdout] 130 |             keys.save_keys(path, name).await;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 130 |             let _ = keys.save_keys(path, name).await;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.21s
[INFO] running `Command { std: "docker" "inspect" "cb0f29720f62c32e1f5d7081c40a88b1ca7bf25ab45df5043f3ccb6fdc12f39a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb0f29720f62c32e1f5d7081c40a88b1ca7bf25ab45df5043f3ccb6fdc12f39a", kill_on_drop: false }`
[INFO] [stdout] cb0f29720f62c32e1f5d7081c40a88b1ca7bf25ab45df5043f3ccb6fdc12f39a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7926be4f05410e8a09f6403495e5ae67d16296f32394aeab082ece2c06ab9593
[INFO] running `Command { std: "docker" "start" "-a" "7926be4f05410e8a09f6403495e5ae67d16296f32394aeab082ece2c06ab9593", kill_on_drop: false }`
[INFO] [stdout] warning: unexpected `cfg` condition value: `dilithium`
[INFO] [stdout]   --> src/decrypt.rs:41:7
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[cfg(feature = "dilithium")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `pqcrypto-dilithium`, and `xchacha20`
[INFO] [stdout]    = help: consider adding `dilithium` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pqcrypto_kyber::kyber1024`
[INFO] [stdout]  --> src/decrypt.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use pqcrypto_kyber::kyber1024;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `*`
[INFO] [stdout]  --> src/decrypt.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | use pqcrypto_falcon::falcon1024::{self, *};
[INFO] [stdout]   |                                         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `File`, `Path`, `Read`, `env::current_dir`, and `self`
[INFO] [stdout]   --> src/decrypt.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fs::{self, File}, 
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 11 |     path::{PathBuf, Path},
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout] 12 |     io::{self, Cursor, Read, Write},
[INFO] [stdout]    |          ^^^^          ^^^^
[INFO] [stdout] 13 |     env::current_dir
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::repeat`
[INFO] [stdout]   --> src/decrypt.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use std::iter::repeat;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/decrypt.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         self,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pqcrypto_kyber::kyber1024::*`
[INFO] [stdout]  --> src/encrypt.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pqcrypto_kyber::kyber1024::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `File`, `Path`, `Read`, `Write`, and `env::current_dir`
[INFO] [stdout]   --> src/encrypt.rs:9:16
[INFO] [stdout]    |
[INFO] [stdout]  9 |     fs::{self, File}, 
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 10 |     path::{PathBuf, Path},
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout] 11 |     io::{self, Read, Write},
[INFO] [stdout]    |                ^^^^  ^^^^^
[INFO] [stdout] 12 |     env::current_dir
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RngCore` and `rngs::OsRng`
[INFO] [stdout]   --> src/encrypt.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | use rand::{rngs::OsRng, RngCore};
[INFO] [stdout]    |            ^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `*`
[INFO] [stdout]   --> src/encrypt.rs:25:31
[INFO] [stdout]    |
[INFO] [stdout] 25 |  use crypt_guard_sign::{self, *};
[INFO] [stdout]    |                               ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::repeat`
[INFO] [stdout]   --> src/encrypt.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use std::iter::repeat;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BlockCipher`, `BlockDecrypt`, `BlockEncrypt`, and `generic_array::GenericArray`
[INFO] [stdout]  --> src/keychain.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use aes::cipher::{BlockCipher, BlockEncrypt, BlockDecrypt, KeyInit, generic_array::GenericArray};
[INFO] [stdout]   |                   ^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sha2::Sha256`
[INFO] [stdout]  --> src/keychain.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sha2::Sha256;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Hmac`
[INFO] [stdout]  --> src/keychain.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | use hmac::{Hmac, Mac};
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `env`
[INFO] [stdout]  --> src/keychain.rs:6:89
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::{error::Error, ffi::OsStr, fmt, fs, path::Path, path::PathBuf, result::Result, env};
[INFO] [stdout]   |                                                                                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `*`
[INFO] [stdout]  --> src/keychain.rs:9:30
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crypt_guard_sign::{self, *};
[INFO] [stdout]   |                              ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pqcrypto_falcon::falcon1024`
[INFO] [stdout]   --> src/keychain.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use pqcrypto_falcon::falcon1024;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `*`
[INFO] [stdout]  --> src/lib.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crypt_guard_sign::{self, *};
[INFO] [stdout]   |                              ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `*` and `self`
[INFO] [stdout]  --> src/lib.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 | use pqcrypto_falcon::falcon1024::{self, *};
[INFO] [stdout]   |                                   ^^^^  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `*`
[INFO] [stdout]  --> src/lib.rs:7:39
[INFO] [stdout]   |
[INFO] [stdout] 7 | use pqcrypto_kyber::kyber1024::{self, *};
[INFO] [stdout]   |                                       ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `*`, `error::Error`, `io`, and `self`
[INFO] [stdout]   --> src/lib.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  9 |     error::Error,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 10 |     fmt::{self, *},
[INFO] [stdout]    |           ^^^^  ^
[INFO] [stdout] 11 |     io,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `kyber` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct kyber {
[INFO] [stdout]    |        ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Kyber`
[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: use of deprecated struct `hmac::digest::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/decrypt.rs:35:24
[INFO] [stdout]    |
[INFO] [stdout] 35 |         generic_array::GenericArray,
[INFO] [stdout]    |                        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::digest::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/decrypt.rs:188:34
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let cipher = Aes256::new(GenericArray::from_slice(key));
[INFO] [stdout]     |                                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::digest::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/decrypt.rs:190:29
[INFO] [stdout]     |
[INFO] [stdout] 190 |             let mut block = GenericArray::clone_from_slice(chunk); // Create a mutable copy
[INFO] [stdout]     |                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::digest::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/encrypt.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |         generic_array::GenericArray,
[INFO] [stdout]    |                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::digest::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/encrypt.rs:153:34
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let cipher = Aes256::new(GenericArray::from_slice(key));
[INFO] [stdout]     |                                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::digest::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/encrypt.rs:155:29
[INFO] [stdout]     |
[INFO] [stdout] 155 |             let mut block = GenericArray::clone_from_slice(chunk);
[INFO] [stdout]     |                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::digest::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/keychain.rs:3:84
[INFO] [stdout]   |
[INFO] [stdout] 3 | use aes::cipher::{BlockCipher, BlockEncrypt, BlockDecrypt, KeyInit, generic_array::GenericArray};
[INFO] [stdout]   |                                                                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/decrypt.rs:178:13
[INFO] [stdout]     |
[INFO] [stdout] 178 |             _ => Err(CryptError::InvalidParameters),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/decrypt.rs:178:13
[INFO] [stdout]     |
[INFO] [stdout] 157 |             ActionType::FileAction => {
[INFO] [stdout]     |             ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 168 |             ActionType::MessageAction => {
[INFO] [stdout]     |             ------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 178 |             _ => Err(CryptError::InvalidParameters),
[INFO] [stdout]     |             ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `hmac::digest::generic_array::GenericArray::<T, N>::from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/decrypt.rs:188:48
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let cipher = Aes256::new(GenericArray::from_slice(key));
[INFO] [stdout]     |                                                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `hmac::digest::generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/decrypt.rs:190:43
[INFO] [stdout]     |
[INFO] [stdout] 190 |             let mut block = GenericArray::clone_from_slice(chunk); // Create a mutable copy
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/encrypt.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 132 |             _ => Err(CryptError::InvalidParameters),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/encrypt.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |             ActionType::FileAction => {
[INFO] [stdout]     |             ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 118 |             ActionType::MessageAction => {
[INFO] [stdout]     |             ------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 132 |             _ => Err(CryptError::InvalidParameters),
[INFO] [stdout]     |             ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `hmac::digest::generic_array::GenericArray::<T, N>::from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/encrypt.rs:153:48
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let cipher = Aes256::new(GenericArray::from_slice(key));
[INFO] [stdout]     |                                                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `hmac::digest::generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/encrypt.rs:155:43
[INFO] [stdout]     |
[INFO] [stdout] 155 |             let mut block = GenericArray::clone_from_slice(chunk);
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/encrypt.rs:170:13
[INFO] [stdout]     |
[INFO] [stdout] 170 |         let mut encrypted_file_path = file_path.clone();
[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: unused import: `PublicKey`
[INFO] [stdout]   --> src/encrypt.rs:21:49
[INFO] [stdout]    |
[INFO] [stdout] 21 |     DetachedSignature as DetachedSignatureSign, PublicKey as PublicKeySign,
[INFO] [stdout]    |                                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `KeyInit`
[INFO] [stdout]  --> src/keychain.rs:3:60
[INFO] [stdout]   |
[INFO] [stdout] 3 | use aes::cipher::{BlockCipher, BlockEncrypt, BlockDecrypt, KeyInit, generic_array::GenericArray};
[INFO] [stdout]   |                                                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]   --> src/encrypt.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     SecretKey as SecretKeySign, SignedMessage as SignedMessageSign,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]   --> src/decrypt.rs:17:49
[INFO] [stdout]    |
[INFO] [stdout] 17 |     DetachedSignature as DetachedSignatureSign, PublicKey as PublicKeySign,
[INFO] [stdout]    |                                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]   --> src/decrypt.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     SecretKey as SecretKeySign, SignedMessage as SignedMessageSign,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling crypt_guard_kyber v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `SignedMessage`
[INFO] [stdout]   --> src/decrypt.rs:18:33
[INFO] [stdout]    |
[INFO] [stdout] 18 |     SecretKey as SecretKeySign, SignedMessage as SignedMessageSign,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mac`
[INFO] [stdout]  --> src/keychain.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use hmac::{Hmac, Mac};
[INFO] [stdout]   |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]  --> src/encrypt.rs:5:28
[INFO] [stdout]   |
[INFO] [stdout] 5 | use pqcrypto_traits::kem::{PublicKey as PublicKeyKem, SecretKey as SecKeyKem, SharedSecret as SharedSecretKem, Ciphertext as Cipherte...
[INFO] [stdout]   |                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]  --> src/encrypt.rs:5:55
[INFO] [stdout]   |
[INFO] [stdout] 5 | use pqcrypto_traits::kem::{PublicKey as PublicKeyKem, SecretKey as SecKeyKem, SharedSecret as SharedSecretKem, Ciphertext as Cipherte...
[INFO] [stdout]   |                                                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SignedMessage`
[INFO] [stdout]   --> src/encrypt.rs:22:33
[INFO] [stdout]    |
[INFO] [stdout] 22 |     SecretKey as SecretKeySign, SignedMessage as SignedMessageSign,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ciphertext`
[INFO] [stdout]  --> src/encrypt.rs:5:112
[INFO] [stdout]   |
[INFO] [stdout] 5 | use pqcrypto_traits::kem::{PublicKey as PublicKeyKem, SecretKey as SecKeyKem, SharedSecret as SharedSecretKem, Ciphertext as Cipherte...
[INFO] [stdout]   |                                                                                                                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nonce`
[INFO] [stdout]    --> src/decrypt.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 145 |         nonce: Option<&[u8; 24]>,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_nonce`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/encrypt.rs:77:64
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub async fn save_encrypted_message(&self, message: &[u8], path: PathBuf) -> Result<(), CryptError> {
[INFO] [stdout]    |                                                                ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nonce`
[INFO] [stdout]   --> src/encrypt.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |         nonce: Option<&[u8; 24]>,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_nonce`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ciphertext`
[INFO] [stdout]    --> src/encrypt.rs:102:29
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let (shared_secret, ciphertext) = kyber1024::encapsulate(&public_key);
[INFO] [stdout]     |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ciphertext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `kyber` is never constructed
[INFO] [stdout]   --> src/lib.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct kyber {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `decrypt`, `encrypt`, and `keychain` are never used
[INFO] [stdout]   --> src/lib.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl kyber {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 22 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn decrypt(&self) -> &Decrypt {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn encrypt(&self) -> &Encrypt {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn keychain(&self) -> &Keychain {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_subarray` is never used
[INFO] [stdout]   --> src/decrypt.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn find_subarray(haystack: &[u8], needle: &[u8]) -> Option<usize> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/keychain.rs:130:13
[INFO] [stdout]     |
[INFO] [stdout] 130 |             keys.save_keys(path, name).await;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 130 |             let _ = keys.save_keys(path, name).await;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]   --> src/lib.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 97 |         fs::write(&unique_path, "Test content").unwrap();
[INFO] [stdout]    |         ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]    |
[INFO] [stdout] 73 +     use std::fs;
[INFO] [stdout]    |
[INFO] [stdout] 73 +     use tokio::fs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/lib.rs:99:17
[INFO] [stdout]    |
[INFO] [stdout] 99 |         assert!(Path::new(&unique_path).is_file());
[INFO] [stdout]    |                 ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 73 +     use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]    --> src/lib.rs:101:20
[INFO] [stdout]     |
[INFO] [stdout] 101 |         assert_eq!(Path::new(&unique_path).extension().unwrap().to_str().unwrap(), extension);
[INFO] [stdout]     |                    ^^^^ use of undeclared type `Path`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  73 +     use std::path::Path;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    --> src/lib.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |         fs::remove_file(unique_path).unwrap();
[INFO] [stdout]     |         ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]  73 +     use std::fs;
[INFO] [stdout]     |
[INFO] [stdout]  73 +     use tokio::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `tempdir` in this scope
[INFO] [stdout]    --> src/lib.rs:155:19
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let dir = tempdir().unwrap();
[INFO] [stdout]     |                   ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  73 +     use tempfile::tempdir;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    --> src/lib.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |         fs::write(&file_path, message_bytes).expect("Failed to write test file");
[INFO] [stdout]     |         ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]  73 +     use std::fs;
[INFO] [stdout]     |
[INFO] [stdout]  73 +     use tokio::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    --> src/lib.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 173 |         fs::write(&encrypted_file_path, &encrypted_data).expect("Failed to write encrypted file");
[INFO] [stdout]     |         ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]  73 +     use std::fs;
[INFO] [stdout]     |
[INFO] [stdout]  73 +     use tokio::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    --> src/lib.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 183 |         fs::write(&decrypted_file_path, &decrypted_data).expect("Failed to write decrypted file");
[INFO] [stdout]     |         ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]  73 +     use std::fs;
[INFO] [stdout]     |
[INFO] [stdout]  73 +     use tokio::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf`
[INFO] [stdout]    --> src/lib.rs:220:22
[INFO] [stdout]     |
[INFO] [stdout] 220 |         let pubkey = PathBuf::from("./keychain/key/key.pub");
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `PathBuf`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  73 +     use std::path::PathBuf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf`
[INFO] [stdout]    --> src/lib.rs:221:26
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let secret_key = PathBuf::from("./keychain/key/key.sec");
[INFO] [stdout]     |                          ^^^^^^^ use of undeclared type `PathBuf`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  73 +     use std::path::PathBuf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf`
[INFO] [stdout]    --> src/lib.rs:222:26
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let ciphertext = PathBuf::from("./keychain/cipher/cipher.ct");
[INFO] [stdout]     |                          ^^^^^^^ use of undeclared type `PathBuf`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  73 +     use std::path::PathBuf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `tempdir` in this scope
[INFO] [stdout]    --> src/lib.rs:225:19
[INFO] [stdout]     |
[INFO] [stdout] 225 |         let dir = tempdir().unwrap();
[INFO] [stdout]     |                   ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]  73 +     use tempfile::tempdir;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    --> src/lib.rs:231:9
[INFO] [stdout]     |
[INFO] [stdout] 231 |         fs::write(&original_file_path, original_file_contents).expect("Failed to write original file");
[INFO] [stdout]     |         ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]  73 +     use std::fs;
[INFO] [stdout]     |
[INFO] [stdout]  73 +     use tokio::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    --> src/lib.rs:240:39
[INFO] [stdout]     |
[INFO] [stdout] 240 |         let decrypted_file_contents = fs::read_to_string(&original_file_path).expect("Failed to read decrypted file");
[INFO] [stdout]     |                                       ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]  73 +     use std::fs;
[INFO] [stdout]     |
[INFO] [stdout]  73 +     use tokio::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    --> src/lib.rs:247:9
[INFO] [stdout]     |
[INFO] [stdout] 247 |         fs::remove_file("./keychain/cipher/cipher.ct");
[INFO] [stdout]     |         ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]  73 +     use std::fs;
[INFO] [stdout]     |
[INFO] [stdout]  73 +     use tokio::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf`
[INFO] [stdout]    --> src/lib.rs:296:25
[INFO] [stdout]     |
[INFO] [stdout] 296 |         let file_path = PathBuf::from("./README.md");
[INFO] [stdout]     |                         ^^^^^^^ use of undeclared type `PathBuf`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  73 +     use std::path::PathBuf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    --> src/lib.rs:301:28
[INFO] [stdout]     |
[INFO] [stdout] 301 |         let file_content = fs::read(&file_path).expect("Failed to read the file");
[INFO] [stdout]     |                            ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]  73 +     use std::fs;
[INFO] [stdout]     |
[INFO] [stdout]  73 +     use tokio::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dilithium`
[INFO] [stdout]   --> src/decrypt.rs:41:7
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[cfg(feature = "dilithium")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `pqcrypto-dilithium`, and `xchacha20`
[INFO] [stdout]    = help: consider adding `dilithium` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pqcrypto_kyber::kyber1024`
[INFO] [stdout]  --> src/decrypt.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use pqcrypto_kyber::kyber1024;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `*`
[INFO] [stdout]  --> src/decrypt.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | use pqcrypto_falcon::falcon1024::{self, *};
[INFO] [stdout]   |                                         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `File`, `Path`, `Read`, `env::current_dir`, and `self`
[INFO] [stdout]   --> src/decrypt.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fs::{self, File}, 
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 11 |     path::{PathBuf, Path},
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout] 12 |     io::{self, Cursor, Read, Write},
[INFO] [stdout]    |          ^^^^          ^^^^
[INFO] [stdout] 13 |     env::current_dir
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::repeat`
[INFO] [stdout]   --> src/decrypt.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use std::iter::repeat;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/decrypt.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         self,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pqcrypto_kyber::kyber1024::*`
[INFO] [stdout]  --> src/encrypt.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pqcrypto_kyber::kyber1024::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `File`, `Path`, `Read`, `Write`, and `env::current_dir`
[INFO] [stdout]   --> src/encrypt.rs:9:16
[INFO] [stdout]    |
[INFO] [stdout]  9 |     fs::{self, File}, 
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 10 |     path::{PathBuf, Path},
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout] 11 |     io::{self, Read, Write},
[INFO] [stdout]    |                ^^^^  ^^^^^
[INFO] [stdout] 12 |     env::current_dir
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RngCore` and `rngs::OsRng`
[INFO] [stdout]   --> src/encrypt.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | use rand::{rngs::OsRng, RngCore};
[INFO] [stdout]    |            ^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `*`
[INFO] [stdout]   --> src/encrypt.rs:25:31
[INFO] [stdout]    |
[INFO] [stdout] 25 |  use crypt_guard_sign::{self, *};
[INFO] [stdout]    |                               ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::repeat`
[INFO] [stdout]   --> src/encrypt.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use std::iter::repeat;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BlockCipher`, `BlockDecrypt`, `BlockEncrypt`, and `generic_array::GenericArray`
[INFO] [stdout]  --> src/keychain.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use aes::cipher::{BlockCipher, BlockEncrypt, BlockDecrypt, KeyInit, generic_array::GenericArray};
[INFO] [stdout]   |                   ^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sha2::Sha256`
[INFO] [stdout]  --> src/keychain.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sha2::Sha256;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Hmac`
[INFO] [stdout]  --> src/keychain.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | use hmac::{Hmac, Mac};
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `env`
[INFO] [stdout]  --> src/keychain.rs:6:89
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::{error::Error, ffi::OsStr, fmt, fs, path::Path, path::PathBuf, result::Result, env};
[INFO] [stdout]   |                                                                                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `*`
[INFO] [stdout]  --> src/keychain.rs:9:30
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crypt_guard_sign::{self, *};
[INFO] [stdout]   |                              ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pqcrypto_falcon::falcon1024`
[INFO] [stdout]   --> src/keychain.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use pqcrypto_falcon::falcon1024;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `*`
[INFO] [stdout]  --> src/lib.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crypt_guard_sign::{self, *};
[INFO] [stdout]   |                              ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `*` and `self`
[INFO] [stdout]  --> src/lib.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 | use pqcrypto_falcon::falcon1024::{self, *};
[INFO] [stdout]   |                                   ^^^^  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error::Error`, `io`, and `self`
[INFO] [stdout]   --> src/lib.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  9 |     error::Error,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 10 |     fmt::{self, *},
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 11 |     io,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `kyber` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct kyber {
[INFO] [stdout]    |        ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Kyber`
[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: unexpected `cfg` condition value: `dilithium`
[INFO] [stdout]    --> src/lib.rs:324:11
[INFO] [stdout]     |
[INFO] [stdout] 324 |     #[cfg(feature = "dilithium")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `pqcrypto-dilithium`, and `xchacha20`
[INFO] [stdout]     = help: consider adding `dilithium` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dilithium`
[INFO] [stdout]    --> src/lib.rs:335:11
[INFO] [stdout]     |
[INFO] [stdout] 335 |     #[cfg(feature = "dilithium")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `pqcrypto-dilithium`, and `xchacha20`
[INFO] [stdout]     = help: consider adding `dilithium` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dilithium`
[INFO] [stdout]    --> src/lib.rs:344:11
[INFO] [stdout]     |
[INFO] [stdout] 344 |     #[cfg(feature = "dilithium")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `pqcrypto-dilithium`, and `xchacha20`
[INFO] [stdout]     = help: consider adding `dilithium` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dilithium`
[INFO] [stdout]    --> src/lib.rs:355:11
[INFO] [stdout]     |
[INFO] [stdout] 355 |     #[cfg(feature = "dilithium")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `pqcrypto-dilithium`, and `xchacha20`
[INFO] [stdout]     = help: consider adding `dilithium` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dilithium`
[INFO] [stdout]    --> src/lib.rs:366:11
[INFO] [stdout]     |
[INFO] [stdout] 366 |     #[cfg(feature = "dilithium")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `pqcrypto-dilithium`, and `xchacha20`
[INFO] [stdout]     = help: consider adding `dilithium` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dilithium`
[INFO] [stdout]    --> src/lib.rs:387:11
[INFO] [stdout]     |
[INFO] [stdout] 387 |     #[cfg(feature = "dilithium")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `pqcrypto-dilithium`, and `xchacha20`
[INFO] [stdout]     = help: consider adding `dilithium` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::digest::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/decrypt.rs:35:24
[INFO] [stdout]    |
[INFO] [stdout] 35 |         generic_array::GenericArray,
[INFO] [stdout]    |                        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::digest::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/decrypt.rs:188:34
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let cipher = Aes256::new(GenericArray::from_slice(key));
[INFO] [stdout]     |                                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::digest::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/decrypt.rs:190:29
[INFO] [stdout]     |
[INFO] [stdout] 190 |             let mut block = GenericArray::clone_from_slice(chunk); // Create a mutable copy
[INFO] [stdout]     |                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::digest::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/encrypt.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |         generic_array::GenericArray,
[INFO] [stdout]    |                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::digest::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/encrypt.rs:153:34
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let cipher = Aes256::new(GenericArray::from_slice(key));
[INFO] [stdout]     |                                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::digest::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/encrypt.rs:155:29
[INFO] [stdout]     |
[INFO] [stdout] 155 |             let mut block = GenericArray::clone_from_slice(chunk);
[INFO] [stdout]     |                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::digest::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/keychain.rs:3:84
[INFO] [stdout]   |
[INFO] [stdout] 3 | use aes::cipher::{BlockCipher, BlockEncrypt, BlockDecrypt, KeyInit, generic_array::GenericArray};
[INFO] [stdout]   |                                                                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `formatting_options`
[INFO] [stdout]    --> src/lib.rs:252:24
[INFO] [stdout]     |
[INFO] [stdout] 252 |         let mut sign = Sign::new().unwrap();
[INFO] [stdout]     |                        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #118117 <https://github.com/rust-lang/rust/issues/118117> for more information
[INFO] [stdout]     = help: add `#![feature(formatting_options)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `formatting_options`
[INFO] [stdout]    --> src/lib.rs:262:24
[INFO] [stdout]     |
[INFO] [stdout] 262 |         let mut sign = Sign::new().unwrap();
[INFO] [stdout]     |                        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #118117 <https://github.com/rust-lang/rust/issues/118117> for more information
[INFO] [stdout]     = help: add `#![feature(formatting_options)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `formatting_options`
[INFO] [stdout]    --> src/lib.rs:270:24
[INFO] [stdout]     |
[INFO] [stdout] 270 |         let mut sign = Sign::new().unwrap();
[INFO] [stdout]     |                        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #118117 <https://github.com/rust-lang/rust/issues/118117> for more information
[INFO] [stdout]     = help: add `#![feature(formatting_options)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `formatting_options`
[INFO] [stdout]    --> src/lib.rs:280:24
[INFO] [stdout]     |
[INFO] [stdout] 280 |         let mut sign = Sign::new().unwrap();
[INFO] [stdout]     |                        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #118117 <https://github.com/rust-lang/rust/issues/118117> for more information
[INFO] [stdout]     = help: add `#![feature(formatting_options)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `formatting_options`
[INFO] [stdout]    --> src/lib.rs:292:24
[INFO] [stdout]     |
[INFO] [stdout] 292 |         let mut sign = Sign::new().unwrap();
[INFO] [stdout]     |                        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #118117 <https://github.com/rust-lang/rust/issues/118117> for more information
[INFO] [stdout]     = help: add `#![feature(formatting_options)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `formatting_options`
[INFO] [stdout]    --> src/lib.rs:311:24
[INFO] [stdout]     |
[INFO] [stdout] 311 |         let mut sign = Sign::new().unwrap();
[INFO] [stdout]     |                        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #118117 <https://github.com/rust-lang/rust/issues/118117> for more information
[INFO] [stdout]     = help: add `#![feature(formatting_options)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `formatting_options`
[INFO] [stdout]    --> src/lib.rs:404:20
[INFO] [stdout]     |
[INFO] [stdout] 404 |         let sign = Sign::new().unwrap();
[INFO] [stdout]     |                    ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #118117 <https://github.com/rust-lang/rust/issues/118117> for more information
[INFO] [stdout]     = help: add `#![feature(formatting_options)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/decrypt.rs:178:13
[INFO] [stdout]     |
[INFO] [stdout] 178 |             _ => Err(CryptError::InvalidParameters),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/decrypt.rs:178:13
[INFO] [stdout]     |
[INFO] [stdout] 157 |             ActionType::FileAction => {
[INFO] [stdout]     |             ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 168 |             ActionType::MessageAction => {
[INFO] [stdout]     |             ------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 178 |             _ => Err(CryptError::InvalidParameters),
[INFO] [stdout]     |             ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `hmac::digest::generic_array::GenericArray::<T, N>::from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/decrypt.rs:188:48
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let cipher = Aes256::new(GenericArray::from_slice(key));
[INFO] [stdout]     |                                                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `hmac::digest::generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/decrypt.rs:190:43
[INFO] [stdout]     |
[INFO] [stdout] 190 |             let mut block = GenericArray::clone_from_slice(chunk); // Create a mutable copy
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/encrypt.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 132 |             _ => Err(CryptError::InvalidParameters),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/encrypt.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |             ActionType::FileAction => {
[INFO] [stdout]     |             ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 118 |             ActionType::MessageAction => {
[INFO] [stdout]     |             ------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 132 |             _ => Err(CryptError::InvalidParameters),
[INFO] [stdout]     |             ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `hmac::digest::generic_array::GenericArray::<T, N>::from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/encrypt.rs:153:48
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let cipher = Aes256::new(GenericArray::from_slice(key));
[INFO] [stdout]     |                                                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `hmac::digest::generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/encrypt.rs:155:43
[INFO] [stdout]     |
[INFO] [stdout] 155 |             let mut block = GenericArray::clone_from_slice(chunk);
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/encrypt.rs:170:13
[INFO] [stdout]     |
[INFO] [stdout] 170 |         let mut encrypted_file_path = file_path.clone();
[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] error[E0599]: no method named `as_bytes` found for reference `&pqcrypto_kyber::kyber1024::SharedSecret` in the current scope
[INFO] [stdout]   --> src/lib.rs:86:65
[INFO] [stdout]    |
[INFO] [stdout] 86 |             assert_eq!(keychain.shared_secret.as_ref().unwrap().as_bytes(), ss.as_bytes());
[INFO] [stdout]    |                                                                 ^^^^^^^^ method not found in `&pqcrypto_kyber::kyber1024::SharedSecret`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SharedSecret` which provides `as_bytes` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 73 +     use pqcrypto_traits::kem::SharedSecret;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_bytes` found for struct `pqcrypto_kyber::kyber1024::SharedSecret` in the current scope
[INFO] [stdout]   --> src/lib.rs:86:80
[INFO] [stdout]    |
[INFO] [stdout] 86 |             assert_eq!(keychain.shared_secret.as_ref().unwrap().as_bytes(), ss.as_bytes());
[INFO] [stdout]    |                                                                                ^^^^^^^^ method not found in `pqcrypto_kyber::kyber1024::SharedSecret`
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pqcrypto-traits-0.3.5/src/kem.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn as_bytes(&self) -> &[u8];
[INFO] [stdout]    |        -------- the method is available for `pqcrypto_kyber::kyber1024::SharedSecret` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SharedSecret` which provides `as_bytes` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 73 +     use pqcrypto_traits::kem::SharedSecret;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `new` found for enum `std::fmt::Sign` in the current scope
[INFO] [stdout]    --> src/lib.rs:252:30
[INFO] [stdout]     |
[INFO] [stdout] 252 |         let mut sign = Sign::new().unwrap();
[INFO] [stdout]     |                              ^^^ variant or associated item not found in `std::fmt::Sign`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/cmp.rs:264:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:254:13
[INFO] [stdout]     |
[INFO] [stdout] 254 |         let result = sign.sign_msg(message).await;
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout] 255 |         println!("{:?}", result);
[INFO] [stdout] 256 |         assert!(result.is_ok());
[INFO] [stdout]     |                 ------ type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `result` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 254 |         let result: /* Type */ = sign.sign_msg(message).await;
[INFO] [stdout]     |                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `new` found for enum `std::fmt::Sign` in the current scope
[INFO] [stdout]    --> src/lib.rs:262:30
[INFO] [stdout]     |
[INFO] [stdout] 262 |         let mut sign = Sign::new().unwrap();
[INFO] [stdout]     |                              ^^^ variant or associated item not found in `std::fmt::Sign`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/cmp.rs:264:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:264:13
[INFO] [stdout]     |
[INFO] [stdout] 264 |         let result = sign.signing_detached(message).await;
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout] 265 |         assert!(result.is_ok());
[INFO] [stdout]     |                 ------ type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `result` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 264 |         let result: /* Type */ = sign.signing_detached(message).await;
[INFO] [stdout]     |                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `new` found for enum `std::fmt::Sign` in the current scope
[INFO] [stdout]    --> src/lib.rs:270:30
[INFO] [stdout]     |
[INFO] [stdout] 270 |         let mut sign = Sign::new().unwrap();
[INFO] [stdout]     |                              ^^^ variant or associated item not found in `std::fmt::Sign`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/cmp.rs:264:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:272:9
[INFO] [stdout]     |
[INFO] [stdout] 272 |         sign.sign_msg(message).await.unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:273:13
[INFO] [stdout]     |
[INFO] [stdout] 273 |         let result = sign.verify_msg(message).await;
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout] 274 |         println!("{:?}", result);
[INFO] [stdout] 275 |         assert!(result.is_ok());
[INFO] [stdout]     |                 ------ type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `result` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 273 |         let result: /* Type */ = sign.verify_msg(message).await;
[INFO] [stdout]     |                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `new` found for enum `std::fmt::Sign` in the current scope
[INFO] [stdout]    --> src/lib.rs:280:30
[INFO] [stdout]     |
[INFO] [stdout] 280 |         let mut sign = Sign::new().unwrap();
[INFO] [stdout]     |                              ^^^ variant or associated item not found in `std::fmt::Sign`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/cmp.rs:264:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:282:34
[INFO] [stdout]     |
[INFO] [stdout] 282 |         let detached_signature = sign.signing_detached(message).await.unwrap();
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `new` found for enum `std::fmt::Sign` in the current scope
[INFO] [stdout]    --> src/lib.rs:292:30
[INFO] [stdout]     |
[INFO] [stdout] 292 |         let mut sign = Sign::new().unwrap();
[INFO] [stdout]     |                              ^^^ variant or associated item not found in `std::fmt::Sign`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/cmp.rs:264:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:297:13
[INFO] [stdout]     |
[INFO] [stdout] 297 |         let sign_result = sign.sign_file(file_path.clone()).await;
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout] 298 |         assert!(sign_result.is_ok(), "Signing the file failed");
[INFO] [stdout]     |                 ----------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `sign_result` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 297 |         let sign_result: /* Type */ = sign.sign_file(file_path.clone()).await;
[INFO] [stdout]     |                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:304:13
[INFO] [stdout]     |
[INFO] [stdout] 304 |         let verify_result = sign.verify_detached(&file_content).await;
[INFO] [stdout]     |             ^^^^^^^^^^^^^
[INFO] [stdout] 305 |         assert!(verify_result.is_ok(), "Signature verification failed");
[INFO] [stdout]     |                 ------------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `verify_result` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 304 |         let verify_result: /* Type */ = sign.verify_detached(&file_content).await;
[INFO] [stdout]     |                          ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `new` found for enum `std::fmt::Sign` in the current scope
[INFO] [stdout]    --> src/lib.rs:311:30
[INFO] [stdout]     |
[INFO] [stdout] 311 |         let mut sign = Sign::new().unwrap();
[INFO] [stdout]     |                              ^^^ variant or associated item not found in `std::fmt::Sign`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/cmp.rs:264:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:315:25
[INFO] [stdout]     |
[INFO] [stdout] 315 |         let signature = sign.signing_detached(message).await.expect("Signing failed");
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:318:35
[INFO] [stdout]     |
[INFO] [stdout] 318 |         let verification_result = sign.verify_detached(message).await.expect("Verification failed");
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `new` found for enum `std::fmt::Sign` in the current scope
[INFO] [stdout]    --> src/lib.rs:404:26
[INFO] [stdout]     |
[INFO] [stdout] 404 |         let sign = Sign::new().unwrap();
[INFO] [stdout]     |                          ^^^ variant or associated item not found in `std::fmt::Sign`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments
[INFO] [stdout]    --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/cmp.rs:264:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:410:26
[INFO] [stdout]     |
[INFO] [stdout] 410 |         let secret_key = sign.secret_key().await.unwrap();
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:411:13
[INFO] [stdout]     |
[INFO] [stdout] 411 | ...   let public_key = sign.public_key().await;
[INFO] [stdout]     |           ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 428 | ...   let is_signature_valid = decrypt.verify_signature(extracted_signature, encrypted_message.as_slice(), &public_key.unwrap()).ex...
[INFO] [stdout]     |                                                                                                             ---------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `public_key` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 411 |         let public_key: /* Type */ = sign.public_key().await;
[INFO] [stdout]     |                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DetachedSignatureSign`
[INFO] [stdout]    --> src/lib.rs:438:32
[INFO] [stdout]     |
[INFO] [stdout] 438 | ...   assert_eq!(&signature, DetachedSignatureSign::as_bytes(&extracted_signature), "Original signature does not match extracted si...
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              use of undeclared type `DetachedSignatureSign`
[INFO] [stdout]     |                              help: a struct with a similar name exists: `DetachedSignature`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]   --> src/encrypt.rs:21:49
[INFO] [stdout]    |
[INFO] [stdout] 21 |     DetachedSignature as DetachedSignatureSign, PublicKey as PublicKeySign,
[INFO] [stdout]    |                                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `KeyInit`
[INFO] [stdout]  --> src/keychain.rs:3:60
[INFO] [stdout]   |
[INFO] [stdout] 3 | use aes::cipher::{BlockCipher, BlockEncrypt, BlockDecrypt, KeyInit, generic_array::GenericArray};
[INFO] [stdout]   |                                                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]   --> src/encrypt.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     SecretKey as SecretKeySign, SignedMessage as SignedMessageSign,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]   --> src/decrypt.rs:17:49
[INFO] [stdout]    |
[INFO] [stdout] 17 |     DetachedSignature as DetachedSignatureSign, PublicKey as PublicKeySign,
[INFO] [stdout]    |                                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]   --> src/decrypt.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     SecretKey as SecretKeySign, SignedMessage as SignedMessageSign,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SignedMessage`
[INFO] [stdout]   --> src/decrypt.rs:18:33
[INFO] [stdout]    |
[INFO] [stdout] 18 |     SecretKey as SecretKeySign, SignedMessage as SignedMessageSign,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mac`
[INFO] [stdout]  --> src/keychain.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use hmac::{Hmac, Mac};
[INFO] [stdout]   |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]  --> src/encrypt.rs:5:28
[INFO] [stdout]   |
[INFO] [stdout] 5 | use pqcrypto_traits::kem::{PublicKey as PublicKeyKem, SecretKey as SecKeyKem, SharedSecret as SharedSecretKem, Ciphertext as Cipherte...
[INFO] [stdout]   |                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]  --> src/encrypt.rs:5:55
[INFO] [stdout]   |
[INFO] [stdout] 5 | use pqcrypto_traits::kem::{PublicKey as PublicKeyKem, SecretKey as SecKeyKem, SharedSecret as SharedSecretKem, Ciphertext as Cipherte...
[INFO] [stdout]   |                                                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SignedMessage`
[INFO] [stdout]   --> src/encrypt.rs:22:33
[INFO] [stdout]    |
[INFO] [stdout] 22 |     SecretKey as SecretKeySign, SignedMessage as SignedMessageSign,
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ciphertext`
[INFO] [stdout]  --> src/encrypt.rs:5:112
[INFO] [stdout]   |
[INFO] [stdout] 5 | use pqcrypto_traits::kem::{PublicKey as PublicKeyKem, SecretKey as SecKeyKem, SharedSecret as SharedSecretKem, Ciphertext as Cipherte...
[INFO] [stdout]   |                                                                                                                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nonce`
[INFO] [stdout]    --> src/decrypt.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 145 |         nonce: Option<&[u8; 24]>,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_nonce`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/encrypt.rs:77:64
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub async fn save_encrypted_message(&self, message: &[u8], path: PathBuf) -> Result<(), CryptError> {
[INFO] [stdout]    |                                                                ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nonce`
[INFO] [stdout]   --> src/encrypt.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |         nonce: Option<&[u8; 24]>,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_nonce`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ciphertext`
[INFO] [stdout]    --> src/encrypt.rs:102:29
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let (shared_secret, ciphertext) = kyber1024::encapsulate(&public_key);
[INFO] [stdout]     |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ciphertext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `encrypt`
[INFO] [stdout]    --> src/lib.rs:113:13
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let encrypt: Encrypt = Encrypt::new();
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named struct `Encrypt`
[INFO] [stdout]     |
[INFO] [stdout] 113 -         let encrypt: Encrypt = Encrypt::new();
[INFO] [stdout] 113 +         let Encrypt: Encrypt = Encrypt::new();
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let _encrypt: Encrypt = Encrypt::new();
[INFO] [stdout]     |             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `encrypt`
[INFO] [stdout]    --> src/lib.rs:124:13
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let encrypt: Encrypt = Encrypt::new();
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named struct `Encrypt`
[INFO] [stdout]     |
[INFO] [stdout] 124 -         let encrypt: Encrypt = Encrypt::new();
[INFO] [stdout] 124 +         let Encrypt: Encrypt = Encrypt::new();
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let _encrypt: Encrypt = Encrypt::new();
[INFO] [stdout]     |             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0433, E0599, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `crypt_guard_kyber` (lib test) due to 45 previous errors; 58 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7926be4f05410e8a09f6403495e5ae67d16296f32394aeab082ece2c06ab9593", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7926be4f05410e8a09f6403495e5ae67d16296f32394aeab082ece2c06ab9593", kill_on_drop: false }`
[INFO] [stdout] 7926be4f05410e8a09f6403495e5ae67d16296f32394aeab082ece2c06ab9593
