[INFO] cloning repository https://github.com/rustamkulenov/keepass-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rustamkulenov/keepass-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustamkulenov%2Fkeepass-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustamkulenov%2Fkeepass-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 31635ba293ad6d36061cb8fcac635fddb0d6ca20 [INFO] testing rustamkulenov/keepass-cli against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustamkulenov%2Fkeepass-cli" "/workspace/builds/worker-97/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-97/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rustamkulenov/keepass-cli on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-97/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/rustamkulenov/keepass-cli [INFO] finished tweaking git repo https://github.com/rustamkulenov/keepass-cli [INFO] tweaked toml for git repo https://github.com/rustamkulenov/keepass-cli written to /workspace/builds/worker-97/source/Cargo.toml [INFO] crate git repo https://github.com/rustamkulenov/keepass-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1acd1d9d8b7708b9fe7131643e2ee88d65c6d89992760f6b40a6e008bc63e391 [INFO] running `Command { std: "docker" "start" "-a" "1acd1d9d8b7708b9fe7131643e2ee88d65c6d89992760f6b40a6e008bc63e391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1acd1d9d8b7708b9fe7131643e2ee88d65c6d89992760f6b40a6e008bc63e391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1acd1d9d8b7708b9fe7131643e2ee88d65c6d89992760f6b40a6e008bc63e391", kill_on_drop: false }` [INFO] [stdout] 1acd1d9d8b7708b9fe7131643e2ee88d65c6d89992760f6b40a6e008bc63e391 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2aa49ddaa563ba086127e28d9157f83f195af51331ce5154f7b33e32a3c8656 [INFO] running `Command { std: "docker" "start" "-a" "b2aa49ddaa563ba086127e28d9157f83f195af51331ce5154f7b33e32a3c8656", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling hex-literal v0.3.3 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling hmac-sha256 v0.1.7 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rust-argon2 v0.8.3 [INFO] [stderr] Compiling quick-xml v0.20.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling minidom v0.13.0 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling twofish v0.6.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling salsa20 v0.8.1 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling chacha20 v0.7.3 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling keepass-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `GZipCompression`, `NoCompression` [INFO] [stdout] --> src/kdbx/kdbx_reader.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | use super::decompress::{GZipCompression, NoCompression}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ByteOrder`, `LittleEndian` [INFO] [stdout] --> src/kdbx/variant_dictionary.rs:249:21 [INFO] [stdout] | [INFO] [stdout] 249 | use byteorder::{ByteOrder, LittleEndian}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/kdbx/variant_dictionary.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KDF_ROUNDS_KEY`, `KDF_SEED_KEY` [INFO] [stdout] --> src/kdbx/variant_dictionary.rs:252:31 [INFO] [stdout] | [INFO] [stdout] 252 | use crate::kdbx::consts::{KDF_ROUNDS_KEY, KDF_SEED_KEY}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `VariantDictionaryValue`, `VariantDictionary` [INFO] [stdout] --> src/kdbx/variant_dictionary.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | use super::{VariantDictionary, VariantDictionaryValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CryptoError`, `DatabaseIntegrityError`, `Error` [INFO] [stdout] --> src/kdbx/crypt/kdf.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::kdbx::result::{CryptoError, DatabaseIntegrityError, Error, Result}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `minidom::ElementBuilder` [INFO] [stdout] --> src/main.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | use minidom::ElementBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | mod test { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::kdbx::crypt::ciphers::AES256Cipher` [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | use crate::kdbx::crypt::ciphers::AES256Cipher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | mod test { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::kdbx::decompress::NoCompression` [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | use crate::kdbx::decompress::NoCompression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | mod test { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::kdbx::kdbx_writer::KdbxWriter` [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | use crate::kdbx::kdbx_writer::KdbxWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | mod test { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::kdbx::kdbx_reader::*` [INFO] [stdout] --> src/main.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | use super::kdbx::kdbx_reader::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | mod test { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | mod test { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | mod test { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/kdbx/kdbx_writer.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | payload: minidom::Element, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher` [INFO] [stdout] --> src/kdbx/kdbx_writer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | cipher: &C, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compression` [INFO] [stdout] --> src/kdbx/kdbx_writer.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | compression: &D, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/kdbx/kdbx_writer.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut uid = [0u8; 16]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ZIPPED_FILE` [INFO] [stdout] --> src/main.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | const ZIPPED_FILE: &str = "testfiles/AES-256-KDF-zip-Q12345.kdbx"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NONZIPPED_FILE` [INFO] [stdout] --> src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | const NONZIPPED_FILE: &str = "testfiles/AES-256-KDF-nonzip-Q12345.kdbx"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PASSWORD` [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | const PASSWORD: &str = "Q12345"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CIPHERSUITE_TWOFISH` [INFO] [stdout] --> src/kdbx/consts.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub const CIPHERSUITE_TWOFISH: [u8; 16] = hex!("ad68f29f576f4bb9a36ad47af965346c"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CIPHERSUITE_CHACHA20` [INFO] [stdout] --> src/kdbx/consts.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub const CIPHERSUITE_CHACHA20: [u8; 16] = hex!("d6038a2b8b6f4cb5a524339a31dbb59a"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `KDF_AES_KDBX4` [INFO] [stdout] --> src/kdbx/consts.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | const KDF_AES_KDBX4: [u8; 16] = hex!("7c02bb8279a74ac0927d114a00648238"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `KDF_ARGON2` [INFO] [stdout] --> src/kdbx/consts.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | const KDF_ARGON2: [u8; 16] = hex!("ef636ddf8c29444b91f7a9a403e30a0c"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AES256` [INFO] [stdout] --> src/kdbx/consts.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | AES256, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OuterCipherSuite` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/consts.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Twofish` [INFO] [stdout] --> src/kdbx/consts.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Twofish, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OuterCipherSuite` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/consts.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ChaCha20` [INFO] [stdout] --> src/kdbx/consts.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | ChaCha20, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OuterCipherSuite` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/consts.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ROUNDS` [INFO] [stdout] --> src/kdbx/kdbx_writer.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const ROUNDS: u64 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SEED_LEN` [INFO] [stdout] --> src/kdbx/kdbx_writer.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const SEED_LEN: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `KdbxWriter` [INFO] [stdout] --> src/kdbx/kdbx_writer.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct KdbxWriter {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/kdbx/kdbx_writer.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn write( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_base_signature` [INFO] [stdout] --> src/kdbx/kdbx_writer.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | fn write_base_signature(buf: &mut [u8], idx: &mut usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_version_signature` [INFO] [stdout] --> src/kdbx/kdbx_writer.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn write_version_signature(buf: &mut [u8], idx: &mut usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_file_version` [INFO] [stdout] --> src/kdbx/kdbx_writer.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn write_file_version(buf: &mut [u8], idx: &mut usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_SHA_HMAC` [INFO] [stdout] --> src/kdbx/kdbx_writer.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | fn write_SHA_HMAC(buf: &mut [u8], idx: &mut usize, key: &impl Key) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_header_field_prefix` [INFO] [stdout] --> src/kdbx/kdbx_writer.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | fn write_header_field_prefix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Compression` [INFO] [stdout] --> src/kdbx/result.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Compression, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HeaderHashMismatch` [INFO] [stdout] --> src/kdbx/result.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | HeaderHashMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidKDBXIdentifier` [INFO] [stdout] --> src/kdbx/result.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | InvalidKDBXIdentifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidKDBXVersion` [INFO] [stdout] --> src/kdbx/result.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / InvalidKDBXVersion { [INFO] [stdout] 38 | | version: u32, [INFO] [stdout] 39 | | file_major_version: u16, [INFO] [stdout] 40 | | file_minor_version: u16, [INFO] [stdout] 41 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidFixedHeader` [INFO] [stdout] --> src/kdbx/result.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / InvalidFixedHeader { [INFO] [stdout] 43 | | size: usize, [INFO] [stdout] 44 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidOuterHeaderEntry` [INFO] [stdout] --> src/kdbx/result.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / InvalidOuterHeaderEntry { [INFO] [stdout] 46 | | entry_type: u8, [INFO] [stdout] 47 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IncompleteOuterHeader` [INFO] [stdout] --> src/kdbx/result.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / IncompleteOuterHeader { [INFO] [stdout] 49 | | missing_field: String, [INFO] [stdout] 50 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidInnerHeaderEntry` [INFO] [stdout] --> src/kdbx/result.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / InvalidInnerHeaderEntry { [INFO] [stdout] 52 | | entry_type: u8, [INFO] [stdout] 53 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IncompleteInnerHeader` [INFO] [stdout] --> src/kdbx/result.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / IncompleteInnerHeader { [INFO] [stdout] 55 | | missing_field: String, [INFO] [stdout] 56 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidKDFVersion` [INFO] [stdout] --> src/kdbx/result.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / InvalidKDFVersion { [INFO] [stdout] 58 | | version: u32, [INFO] [stdout] 59 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidKDFUUID` [INFO] [stdout] --> src/kdbx/result.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / InvalidKDFUUID { [INFO] [stdout] 61 | | uuid: Vec, [INFO] [stdout] 62 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidFixedCipherID` [INFO] [stdout] --> src/kdbx/result.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | / InvalidFixedCipherID { [INFO] [stdout] 70 | | cid: u32, [INFO] [stdout] 71 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidOuterCipherID` [INFO] [stdout] --> src/kdbx/result.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / InvalidOuterCipherID { [INFO] [stdout] 73 | | cid: Vec, [INFO] [stdout] 74 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidInnerCipherID` [INFO] [stdout] --> src/kdbx/result.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / InvalidInnerCipherID { [INFO] [stdout] 76 | | cid: u32, [INFO] [stdout] 77 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidCompressionSuite` [INFO] [stdout] --> src/kdbx/result.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / InvalidCompressionSuite { [INFO] [stdout] 79 | | cid: u32, [INFO] [stdout] 80 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidKDBFieldLength` [INFO] [stdout] --> src/kdbx/result.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | / InvalidKDBFieldLength { [INFO] [stdout] 88 | | field_type: u16, [INFO] [stdout] 89 | | field_size: u32, [INFO] [stdout] 90 | | expected_field_size: u32, [INFO] [stdout] 91 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidKDBGroupFieldType` [INFO] [stdout] --> src/kdbx/result.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / InvalidKDBGroupFieldType { [INFO] [stdout] 93 | | field_type: u16, [INFO] [stdout] 94 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidKDBEntryFieldType` [INFO] [stdout] --> src/kdbx/result.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | / InvalidKDBEntryFieldType { [INFO] [stdout] 96 | | field_type: u16, [INFO] [stdout] 97 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MissingKDBGroupId` [INFO] [stdout] --> src/kdbx/result.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | MissingKDBGroupId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidKDBGroupId` [INFO] [stdout] --> src/kdbx/result.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / InvalidKDBGroupId { [INFO] [stdout] 100 | | group_id: u32, [INFO] [stdout] 101 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MissingKDBGroupLevel` [INFO] [stdout] --> src/kdbx/result.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | MissingKDBGroupLevel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidKDBGroupLevel` [INFO] [stdout] --> src/kdbx/result.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | / InvalidKDBGroupLevel { [INFO] [stdout] 104 | | group_level: u16, [INFO] [stdout] 105 | | current_level: u16, [INFO] [stdout] 106 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IncompleteKDBGroup` [INFO] [stdout] --> src/kdbx/result.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | IncompleteKDBGroup, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IncompleteKDBEntry` [INFO] [stdout] --> src/kdbx/result.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | IncompleteKDBEntry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MissingKDBEntryTitle` [INFO] [stdout] --> src/kdbx/result.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | MissingKDBEntryTitle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IncorrectKey` [INFO] [stdout] --> src/kdbx/result.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | IncorrectKey, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidKeyFile` [INFO] [stdout] --> src/kdbx/result.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | InvalidKeyFile, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/kdbx/variant_dictionary.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn write(&self, buffer: &mut [u8], idx: &mut usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/kdbx/variant_dictionary.rs:138:19 [INFO] [stdout] | [INFO] [stdout] 138 | pub(crate) fn add(&mut self, key: &str, value: VariantDictionaryValue) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/kdbx/crypt/ciphers.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) fn new(key: &[u8], iv: &[u8]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/kdbx/crypt/ciphers.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) fn new(key: &[u8]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/kdbx/crypt/ciphers.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) fn new(key: &[u8]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_key_iv` [INFO] [stdout] --> src/kdbx/crypt/ciphers.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | pub(crate) fn new_key_iv(key: &[u8], iv: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/kdbx/crypt/ciphers.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | pub(crate) fn new(_: &[u8]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_SHA_HMAC` should have a snake case name [INFO] [stdout] --> src/kdbx/kdbx_writer.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | fn write_SHA_HMAC(buf: &mut [u8], idx: &mut usize, key: &impl Key) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_sha_hmac` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 71 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.88s [INFO] running `Command { std: "docker" "inspect" "b2aa49ddaa563ba086127e28d9157f83f195af51331ce5154f7b33e32a3c8656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2aa49ddaa563ba086127e28d9157f83f195af51331ce5154f7b33e32a3c8656", kill_on_drop: false }` [INFO] [stdout] b2aa49ddaa563ba086127e28d9157f83f195af51331ce5154f7b33e32a3c8656 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ba4d49a495c81ac5a013ce2e998a883b007ecd03c7418f8733146812bd55d2b [INFO] running `Command { std: "docker" "start" "-a" "6ba4d49a495c81ac5a013ce2e998a883b007ecd03c7418f8733146812bd55d2b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling keepass-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `GZipCompression`, `NoCompression` [INFO] [stdout] --> src/kdbx/kdbx_reader.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | use super::decompress::{GZipCompression, NoCompression}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ByteOrder`, `LittleEndian` [INFO] [stdout] --> src/kdbx/variant_dictionary.rs:249:21 [INFO] [stdout] | [INFO] [stdout] 249 | use byteorder::{ByteOrder, LittleEndian}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/kdbx/variant_dictionary.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CryptoError`, `DatabaseIntegrityError`, `Error` [INFO] [stdout] --> src/kdbx/crypt/kdf.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::kdbx::result::{CryptoError, DatabaseIntegrityError, Error, Result}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `minidom::ElementBuilder` [INFO] [stdout] --> src/main.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | use minidom::ElementBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | mod test { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | mod test { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/kdbx/kdbx_writer.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | payload: minidom::Element, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher` [INFO] [stdout] --> src/kdbx/kdbx_writer.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | cipher: &C, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compression` [INFO] [stdout] --> src/kdbx/kdbx_writer.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | compression: &D, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/kdbx/kdbx_writer.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut uid = [0u8; 16]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CIPHERSUITE_TWOFISH` [INFO] [stdout] --> src/kdbx/consts.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub const CIPHERSUITE_TWOFISH: [u8; 16] = hex!("ad68f29f576f4bb9a36ad47af965346c"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CIPHERSUITE_CHACHA20` [INFO] [stdout] --> src/kdbx/consts.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub const CIPHERSUITE_CHACHA20: [u8; 16] = hex!("d6038a2b8b6f4cb5a524339a31dbb59a"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `KDF_AES_KDBX4` [INFO] [stdout] --> src/kdbx/consts.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | const KDF_AES_KDBX4: [u8; 16] = hex!("7c02bb8279a74ac0927d114a00648238"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `KDF_ARGON2` [INFO] [stdout] --> src/kdbx/consts.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | const KDF_ARGON2: [u8; 16] = hex!("ef636ddf8c29444b91f7a9a403e30a0c"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AES256` [INFO] [stdout] --> src/kdbx/consts.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | AES256, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OuterCipherSuite` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/consts.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Twofish` [INFO] [stdout] --> src/kdbx/consts.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Twofish, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OuterCipherSuite` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/consts.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ChaCha20` [INFO] [stdout] --> src/kdbx/consts.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | ChaCha20, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OuterCipherSuite` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/consts.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SEED_LEN` [INFO] [stdout] --> src/kdbx/kdbx_writer.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const SEED_LEN: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Compression` [INFO] [stdout] --> src/kdbx/result.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Compression, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HeaderHashMismatch` [INFO] [stdout] --> src/kdbx/result.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | HeaderHashMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidKDBXIdentifier` [INFO] [stdout] --> src/kdbx/result.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | InvalidKDBXIdentifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidKDBXVersion` [INFO] [stdout] --> src/kdbx/result.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / InvalidKDBXVersion { [INFO] [stdout] 38 | | version: u32, [INFO] [stdout] 39 | | file_major_version: u16, [INFO] [stdout] 40 | | file_minor_version: u16, [INFO] [stdout] 41 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidFixedHeader` [INFO] [stdout] --> src/kdbx/result.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / InvalidFixedHeader { [INFO] [stdout] 43 | | size: usize, [INFO] [stdout] 44 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidOuterHeaderEntry` [INFO] [stdout] --> src/kdbx/result.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / InvalidOuterHeaderEntry { [INFO] [stdout] 46 | | entry_type: u8, [INFO] [stdout] 47 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IncompleteOuterHeader` [INFO] [stdout] --> src/kdbx/result.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / IncompleteOuterHeader { [INFO] [stdout] 49 | | missing_field: String, [INFO] [stdout] 50 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidInnerHeaderEntry` [INFO] [stdout] --> src/kdbx/result.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / InvalidInnerHeaderEntry { [INFO] [stdout] 52 | | entry_type: u8, [INFO] [stdout] 53 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IncompleteInnerHeader` [INFO] [stdout] --> src/kdbx/result.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / IncompleteInnerHeader { [INFO] [stdout] 55 | | missing_field: String, [INFO] [stdout] 56 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidKDFVersion` [INFO] [stdout] --> src/kdbx/result.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / InvalidKDFVersion { [INFO] [stdout] 58 | | version: u32, [INFO] [stdout] 59 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidKDFUUID` [INFO] [stdout] --> src/kdbx/result.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / InvalidKDFUUID { [INFO] [stdout] 61 | | uuid: Vec, [INFO] [stdout] 62 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidFixedCipherID` [INFO] [stdout] --> src/kdbx/result.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | / InvalidFixedCipherID { [INFO] [stdout] 70 | | cid: u32, [INFO] [stdout] 71 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidOuterCipherID` [INFO] [stdout] --> src/kdbx/result.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / InvalidOuterCipherID { [INFO] [stdout] 73 | | cid: Vec, [INFO] [stdout] 74 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidInnerCipherID` [INFO] [stdout] --> src/kdbx/result.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / InvalidInnerCipherID { [INFO] [stdout] 76 | | cid: u32, [INFO] [stdout] 77 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidCompressionSuite` [INFO] [stdout] --> src/kdbx/result.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / InvalidCompressionSuite { [INFO] [stdout] 79 | | cid: u32, [INFO] [stdout] 80 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidKDBFieldLength` [INFO] [stdout] --> src/kdbx/result.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | / InvalidKDBFieldLength { [INFO] [stdout] 88 | | field_type: u16, [INFO] [stdout] 89 | | field_size: u32, [INFO] [stdout] 90 | | expected_field_size: u32, [INFO] [stdout] 91 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidKDBGroupFieldType` [INFO] [stdout] --> src/kdbx/result.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / InvalidKDBGroupFieldType { [INFO] [stdout] 93 | | field_type: u16, [INFO] [stdout] 94 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidKDBEntryFieldType` [INFO] [stdout] --> src/kdbx/result.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | / InvalidKDBEntryFieldType { [INFO] [stdout] 96 | | field_type: u16, [INFO] [stdout] 97 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MissingKDBGroupId` [INFO] [stdout] --> src/kdbx/result.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | MissingKDBGroupId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidKDBGroupId` [INFO] [stdout] --> src/kdbx/result.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / InvalidKDBGroupId { [INFO] [stdout] 100 | | group_id: u32, [INFO] [stdout] 101 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MissingKDBGroupLevel` [INFO] [stdout] --> src/kdbx/result.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | MissingKDBGroupLevel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidKDBGroupLevel` [INFO] [stdout] --> src/kdbx/result.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | / InvalidKDBGroupLevel { [INFO] [stdout] 104 | | group_level: u16, [INFO] [stdout] 105 | | current_level: u16, [INFO] [stdout] 106 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IncompleteKDBGroup` [INFO] [stdout] --> src/kdbx/result.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | IncompleteKDBGroup, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IncompleteKDBEntry` [INFO] [stdout] --> src/kdbx/result.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | IncompleteKDBEntry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MissingKDBEntryTitle` [INFO] [stdout] --> src/kdbx/result.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | MissingKDBEntryTitle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IncorrectKey` [INFO] [stdout] --> src/kdbx/result.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | IncorrectKey, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InvalidKeyFile` [INFO] [stdout] --> src/kdbx/result.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | InvalidKeyFile, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/kdbx/result.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/kdbx/crypt/ciphers.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) fn new(key: &[u8], iv: &[u8]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/kdbx/crypt/ciphers.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) fn new(key: &[u8]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/kdbx/crypt/ciphers.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | pub(crate) fn new(key: &[u8]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_key_iv` [INFO] [stdout] --> src/kdbx/crypt/ciphers.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | pub(crate) fn new_key_iv(key: &[u8], iv: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/kdbx/crypt/ciphers.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | pub(crate) fn new(_: &[u8]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_SHA_HMAC` should have a snake case name [INFO] [stdout] --> src/kdbx/kdbx_writer.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | fn write_SHA_HMAC(buf: &mut [u8], idx: &mut usize, key: &impl Key) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_sha_hmac` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 54.72s [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/keepass_cli-a35b3de8b96c9226) [INFO] running `Command { std: "docker" "inspect" "6ba4d49a495c81ac5a013ce2e998a883b007ecd03c7418f8733146812bd55d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ba4d49a495c81ac5a013ce2e998a883b007ecd03c7418f8733146812bd55d2b", kill_on_drop: false }` [INFO] [stdout] 6ba4d49a495c81ac5a013ce2e998a883b007ecd03c7418f8733146812bd55d2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3d467d0fb826010dc7dec9970fb638d8021ea3c229040025553c1e7fb057daad [INFO] running `Command { std: "docker" "start" "-a" "3d467d0fb826010dc7dec9970fb638d8021ea3c229040025553c1e7fb057daad", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `GZipCompression`, `NoCompression` [INFO] [stderr] --> src/kdbx/kdbx_reader.rs:30:25 [INFO] [stderr] | [INFO] [stderr] 30 | use super::decompress::{GZipCompression, NoCompression}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ByteOrder`, `LittleEndian` [INFO] [stderr] --> src/kdbx/variant_dictionary.rs:249:21 [INFO] [stderr] | [INFO] [stderr] 249 | use byteorder::{ByteOrder, LittleEndian}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::Rng` [INFO] [stderr] --> src/kdbx/variant_dictionary.rs:250:9 [INFO] [stderr] | [INFO] [stderr] 250 | use rand::Rng; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CryptoError`, `DatabaseIntegrityError`, `Error` [INFO] [stderr] --> src/kdbx/crypt/kdf.rs:6:27 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::kdbx::result::{CryptoError, DatabaseIntegrityError, Error, Result}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `minidom::ElementBuilder` [INFO] [stderr] --> src/main.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | use minidom::ElementBuilder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stderr] --> src/main.rs:57:1 [INFO] [stderr] | [INFO] [stderr] 57 | mod test { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/main.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stderr] --> src/main.rs:57:1 [INFO] [stderr] | [INFO] [stderr] 57 | mod test { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `payload` [INFO] [stderr] --> src/kdbx/kdbx_writer.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | payload: minidom::Element, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cipher` [INFO] [stderr] --> src/kdbx/kdbx_writer.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | cipher: &C, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `compression` [INFO] [stderr] --> src/kdbx/kdbx_writer.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | compression: &D, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compression` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/kdbx/kdbx_writer.rs:54:13 [INFO] [stderr] | [INFO] [stderr] 54 | let mut uid = [0u8; 16]; [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `CIPHERSUITE_TWOFISH` [INFO] [stderr] --> src/kdbx/consts.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | pub const CIPHERSUITE_TWOFISH: [u8; 16] = hex!("ad68f29f576f4bb9a36ad47af965346c"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `CIPHERSUITE_CHACHA20` [INFO] [stderr] --> src/kdbx/consts.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | pub const CIPHERSUITE_CHACHA20: [u8; 16] = hex!("d6038a2b8b6f4cb5a524339a31dbb59a"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `KDF_AES_KDBX4` [INFO] [stderr] --> src/kdbx/consts.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | const KDF_AES_KDBX4: [u8; 16] = hex!("7c02bb8279a74ac0927d114a00648238"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `KDF_ARGON2` [INFO] [stderr] --> src/kdbx/consts.rs:30:1 [INFO] [stderr] | [INFO] [stderr] 30 | const KDF_ARGON2: [u8; 16] = hex!("ef636ddf8c29444b91f7a9a403e30a0c"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `AES256` [INFO] [stderr] --> src/kdbx/consts.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | AES256, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `OuterCipherSuite` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/consts.rs:54:10 [INFO] [stderr] | [INFO] [stderr] 54 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Twofish` [INFO] [stderr] --> src/kdbx/consts.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | Twofish, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `OuterCipherSuite` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/consts.rs:54:10 [INFO] [stderr] | [INFO] [stderr] 54 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ChaCha20` [INFO] [stderr] --> src/kdbx/consts.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | ChaCha20, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `OuterCipherSuite` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/consts.rs:54:10 [INFO] [stderr] | [INFO] [stderr] 54 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `SEED_LEN` [INFO] [stderr] --> src/kdbx/kdbx_writer.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | const SEED_LEN: usize = 32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Compression` [INFO] [stderr] --> src/kdbx/result.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | Compression, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `HeaderHashMismatch` [INFO] [stderr] --> src/kdbx/result.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | HeaderHashMismatch, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidKDBXIdentifier` [INFO] [stderr] --> src/kdbx/result.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | InvalidKDBXIdentifier, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidKDBXVersion` [INFO] [stderr] --> src/kdbx/result.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | / InvalidKDBXVersion { [INFO] [stderr] 38 | | version: u32, [INFO] [stderr] 39 | | file_major_version: u16, [INFO] [stderr] 40 | | file_minor_version: u16, [INFO] [stderr] 41 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidFixedHeader` [INFO] [stderr] --> src/kdbx/result.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | / InvalidFixedHeader { [INFO] [stderr] 43 | | size: usize, [INFO] [stderr] 44 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidOuterHeaderEntry` [INFO] [stderr] --> src/kdbx/result.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | / InvalidOuterHeaderEntry { [INFO] [stderr] 46 | | entry_type: u8, [INFO] [stderr] 47 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IncompleteOuterHeader` [INFO] [stderr] --> src/kdbx/result.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | / IncompleteOuterHeader { [INFO] [stderr] 49 | | missing_field: String, [INFO] [stderr] 50 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidInnerHeaderEntry` [INFO] [stderr] --> src/kdbx/result.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | / InvalidInnerHeaderEntry { [INFO] [stderr] 52 | | entry_type: u8, [INFO] [stderr] 53 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IncompleteInnerHeader` [INFO] [stderr] --> src/kdbx/result.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | / IncompleteInnerHeader { [INFO] [stderr] 55 | | missing_field: String, [INFO] [stderr] 56 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidKDFVersion` [INFO] [stderr] --> src/kdbx/result.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | / InvalidKDFVersion { [INFO] [stderr] 58 | | version: u32, [INFO] [stderr] 59 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidKDFUUID` [INFO] [stderr] --> src/kdbx/result.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | / InvalidKDFUUID { [INFO] [stderr] 61 | | uuid: Vec, [INFO] [stderr] 62 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidFixedCipherID` [INFO] [stderr] --> src/kdbx/result.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | / InvalidFixedCipherID { [INFO] [stderr] 70 | | cid: u32, [INFO] [stderr] 71 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidOuterCipherID` [INFO] [stderr] --> src/kdbx/result.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 72 | / InvalidOuterCipherID { [INFO] [stderr] 73 | | cid: Vec, [INFO] [stderr] 74 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidInnerCipherID` [INFO] [stderr] --> src/kdbx/result.rs:75:5 [INFO] [stderr] | [INFO] [stderr] 75 | / InvalidInnerCipherID { [INFO] [stderr] 76 | | cid: u32, [INFO] [stderr] 77 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidCompressionSuite` [INFO] [stderr] --> src/kdbx/result.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | / InvalidCompressionSuite { [INFO] [stderr] 79 | | cid: u32, [INFO] [stderr] 80 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidKDBFieldLength` [INFO] [stderr] --> src/kdbx/result.rs:87:5 [INFO] [stderr] | [INFO] [stderr] 87 | / InvalidKDBFieldLength { [INFO] [stderr] 88 | | field_type: u16, [INFO] [stderr] 89 | | field_size: u32, [INFO] [stderr] 90 | | expected_field_size: u32, [INFO] [stderr] 91 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidKDBGroupFieldType` [INFO] [stderr] --> src/kdbx/result.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | / InvalidKDBGroupFieldType { [INFO] [stderr] 93 | | field_type: u16, [INFO] [stderr] 94 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidKDBEntryFieldType` [INFO] [stderr] --> src/kdbx/result.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | / InvalidKDBEntryFieldType { [INFO] [stderr] 96 | | field_type: u16, [INFO] [stderr] 97 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `MissingKDBGroupId` [INFO] [stderr] --> src/kdbx/result.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 98 | MissingKDBGroupId, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidKDBGroupId` [INFO] [stderr] --> src/kdbx/result.rs:99:5 [INFO] [stderr] | [INFO] [stderr] 99 | / InvalidKDBGroupId { [INFO] [stderr] 100 | | group_id: u32, [INFO] [stderr] 101 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `MissingKDBGroupLevel` [INFO] [stderr] --> src/kdbx/result.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | MissingKDBGroupLevel, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidKDBGroupLevel` [INFO] [stderr] --> src/kdbx/result.rs:103:5 [INFO] [stderr] | [INFO] [stderr] 103 | / InvalidKDBGroupLevel { [INFO] [stderr] 104 | | group_level: u16, [INFO] [stderr] 105 | | current_level: u16, [INFO] [stderr] 106 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IncompleteKDBGroup` [INFO] [stderr] --> src/kdbx/result.rs:107:5 [INFO] [stderr] | [INFO] [stderr] 107 | IncompleteKDBGroup, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IncompleteKDBEntry` [INFO] [stderr] --> src/kdbx/result.rs:108:5 [INFO] [stderr] | [INFO] [stderr] 108 | IncompleteKDBEntry, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `MissingKDBEntryTitle` [INFO] [stderr] --> src/kdbx/result.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | MissingKDBEntryTitle, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DatabaseIntegrityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IncorrectKey` [INFO] [stderr] --> src/kdbx/result.rs:125:5 [INFO] [stderr] | [INFO] [stderr] 125 | IncorrectKey, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:121:10 [INFO] [stderr] | [INFO] [stderr] 121 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InvalidKeyFile` [INFO] [stderr] --> src/kdbx/result.rs:126:5 [INFO] [stderr] | [INFO] [stderr] 126 | InvalidKeyFile, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/kdbx/result.rs:121:10 [INFO] [stderr] | [INFO] [stderr] 121 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/kdbx/crypt/ciphers.rs:54:19 [INFO] [stderr] | [INFO] [stderr] 54 | pub(crate) fn new(key: &[u8], iv: &[u8]) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/kdbx/crypt/ciphers.rs:81:19 [INFO] [stderr] | [INFO] [stderr] 81 | pub(crate) fn new(key: &[u8]) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/kdbx/crypt/ciphers.rs:105:19 [INFO] [stderr] | [INFO] [stderr] 105 | pub(crate) fn new(key: &[u8]) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new_key_iv` [INFO] [stderr] --> src/kdbx/crypt/ciphers.rs:117:19 [INFO] [stderr] | [INFO] [stderr] 117 | pub(crate) fn new_key_iv(key: &[u8], iv: &[u8]) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/kdbx/crypt/ciphers.rs:135:19 [INFO] [stderr] | [INFO] [stderr] 135 | pub(crate) fn new(_: &[u8]) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `write_SHA_HMAC` should have a snake case name [INFO] [stderr] --> src/kdbx/kdbx_writer.rs:97:8 [INFO] [stderr] | [INFO] [stderr] 97 | fn write_SHA_HMAC(buf: &mut [u8], idx: &mut usize, key: &impl Key) { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_sha_hmac` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `keepass-cli` (bin "keepass-cli" test) generated 51 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/keepass_cli-a35b3de8b96c9226) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test kdbx::variant_dictionary::test::variant_dictionary_write_read_test ... ok [INFO] [stdout] test kdbx::variant_dictionary::test::variant_dictionary_write_read_u64_field_test ... ok [INFO] [stdout] test test::writer_and_reader_test ... FAILED [INFO] [stdout] test test::reader_aes256_unzipped ... ok [INFO] [stdout] test test::reader_aes256_zipped ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::writer_and_reader_test stdout ---- [INFO] [stdout] Prefix: 9AA2D903 [INFO] [stdout] Version: B54BFB67 [INFO] [stdout] File version: 4.0 [INFO] [stdout] Field: MasterSeed (32B) [INFO] [stdout] Value: [38, a7, 65, df, 63, af, 60, c5, b4, 35, 79, ba, 6b, 8d, 34, 61, 7a, 31, a9, ec, d2, 2f, 40, d7, cc, 81, 70, 2a, 8, 20, a0, a2] [INFO] [stdout] Field: KdfParameters (93B) [INFO] [stdout] Value: [0, 1, 5, 1, 0, 0, 0, 72, 8, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 62, 1, 0, 0, 0, 73, 20, 0, 0, 0, c3, 5b, 1b, e3, 39, 7d, 9a, e5, 6, b8, 8, 1e, 2c, 6c, 7, 16, 30, 1e, cd, 7d, 88, 8c, b7, 77, 78, 6c, ac, 88, 6c, b1, 4, 64, 62, 5, 0, 0, 0, 24, 75, 75, 69, 64, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] [INFO] [stdout] - R (8B) [INFO] [stdout] - S (32B) [INFO] [stdout] - $UUID (16B) [INFO] [stdout] Field: EndOfHeader (4B) [INFO] [stdout] Value: [d, a, d, a] [INFO] [stdout] Hash Diff: ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ [INFO] [stdout] HMAC Diff: ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ [INFO] [stdout] reading hmac payload... [INFO] [stdout] thread 'test::writer_and_reader_test' panicked at 'called `Result::unwrap()` on an `Err` value: DatabaseIntegrity { e: BlockHashMismatch { block_index: 0 } }', src/main.rs:116:65 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x560bbc26ba2d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x560bbc26ba2d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x560bbc26ba2d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x560bbc26ba2d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x560bbc28e4ec - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x560bbc2683e1 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x560bbc26d775 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x560bbc26d775 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x560bbc26d775 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x560bbc26d464 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x560bbc26dcc2 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x560bbc26dba7 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x560bbc26bee4 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x560bbc26d8d9 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x560bbc0d8943 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x560bbc0d8a33 - core::result::unwrap_failed::h6bc7b183ec719494 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/result.rs:1785:5 [INFO] [stdout] 16: 0x560bbc0e30be - core::result::Result::unwrap::haba39de129af2288 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/result.rs:1078:23 [INFO] [stdout] 17: 0x560bbc104cbc - keepass_cli::test::writer_and_reader_test::hfbe87c04ff7e3f80 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:116:9 [INFO] [stdout] 18: 0x560bbc104a4a - keepass_cli::test::writer_and_reader_test::{{closure}}::h6aea0d05b792ef81 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:106:5 [INFO] [stdout] 19: 0x560bbc0f7cee - core::ops::function::FnOnce::call_once::h2cd8cc25fbb8b7cc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x560bbc156b43 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x560bbc156b43 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 22: 0x560bbc1558f9 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 23: 0x560bbc1558f9 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x560bbc1558f9 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x560bbc1558f9 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x560bbc1558f9 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x560bbc1558f9 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 28: 0x560bbc1558f9 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 29: 0x560bbc121aae - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 30: 0x560bbc121aae - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x560bbc127018 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x560bbc127018 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x560bbc127018 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x560bbc127018 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x560bbc127018 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x560bbc127018 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x560bbc127018 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x560bbc2724e3 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 39: 0x560bbc2724e3 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x560bbc2724e3 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7fca4689f609 - start_thread [INFO] [stdout] 42: 0x7fca4666f163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::writer_and_reader_test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.64s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin keepass-cli' [INFO] running `Command { std: "docker" "inspect" "3d467d0fb826010dc7dec9970fb638d8021ea3c229040025553c1e7fb057daad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d467d0fb826010dc7dec9970fb638d8021ea3c229040025553c1e7fb057daad", kill_on_drop: false }` [INFO] [stdout] 3d467d0fb826010dc7dec9970fb638d8021ea3c229040025553c1e7fb057daad