[INFO] cloning repository https://github.com/KryptoPass/KryptoPass-CLI [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KryptoPass/KryptoPass-CLI" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKryptoPass%2FKryptoPass-CLI", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKryptoPass%2FKryptoPass-CLI'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f5cb06a4e7f6642b92844942e5e892c3fb59151a [INFO] testing KryptoPass/KryptoPass-CLI against master#9e297bf54d31eb3b30067208ff9af4416945a2ed for pr-125507 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKryptoPass%2FKryptoPass-CLI" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KryptoPass/KryptoPass-CLI on toolchain 9e297bf54d31eb3b30067208ff9af4416945a2ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KryptoPass/KryptoPass-CLI [INFO] finished tweaking git repo https://github.com/KryptoPass/KryptoPass-CLI [INFO] tweaked toml for git repo https://github.com/KryptoPass/KryptoPass-CLI written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/KryptoPass/KryptoPass-CLI already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing KryptoPass/KryptoPass-CLI against try#61a9ac64344e91d62f5496627ff363d177f9daab for pr-125507 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKryptoPass%2FKryptoPass-CLI" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KryptoPass/KryptoPass-CLI on toolchain 61a9ac64344e91d62f5496627ff363d177f9daab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KryptoPass/KryptoPass-CLI [INFO] finished tweaking git repo https://github.com/KryptoPass/KryptoPass-CLI [INFO] tweaked toml for git repo https://github.com/KryptoPass/KryptoPass-CLI written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KryptoPass/KryptoPass-CLI already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 288b69b96d6bda22d363dcc6f94f1b92fdea5b414f0e3760898b24c91a4514d5 [INFO] running `Command { std: "docker" "start" "-a" "288b69b96d6bda22d363dcc6f94f1b92fdea5b414f0e3760898b24c91a4514d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "288b69b96d6bda22d363dcc6f94f1b92fdea5b414f0e3760898b24c91a4514d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "288b69b96d6bda22d363dcc6f94f1b92fdea5b414f0e3760898b24c91a4514d5", kill_on_drop: false }` [INFO] [stdout] 288b69b96d6bda22d363dcc6f94f1b92fdea5b414f0e3760898b24c91a4514d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e252ccc44abd48e0d4928b62e1190958e2d52062e0a60c120162f2226e2a8f02 [INFO] running `Command { std: "docker" "start" "-a" "e252ccc44abd48e0d4928b62e1190958e2d52062e0a60c120162f2226e2a8f02", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling winnow v0.6.5 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling base64 v0.22.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.3 [INFO] [stderr] Compiling clap v4.5.3 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_edit v0.22.8 [INFO] [stderr] Compiling toml v0.8.12 [INFO] [stderr] Compiling kryptopass-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `PasswordEngine` and `Rules` [INFO] [stdout] --> src/cli/commands/generate.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::modules::core::generators::password::{PasswordEngine, Rules}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_systems` is never used [INFO] [stdout] --> src/modules/core/crypto/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn test_systems() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Random` is never constructed [INFO] [stdout] --> src/modules/core/crypto/random.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Random {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/modules/core/crypto/random.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Random { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 11 | /// Generate a random byte string. [INFO] [stdout] 12 | pub fn rand_bytes(n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn rand_priv_bytes(n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn token_urlsafe(n: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn token_hex(n: usize) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn token_bytes(n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn choice(items: &[T]) -> Option<&T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn shuffle(items: &mut [T]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn rand_range(min: i32, max: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PasswordEngine` is never constructed [INFO] [stdout] --> src/modules/core/generators/password.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PasswordEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_LENGTH` is never used [INFO] [stdout] --> src/modules/core/generators/password.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const DEFAULT_LENGTH: u8 = 14; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_rules`, `generate`, `check_requirements`, and `get_length` are never used [INFO] [stdout] --> src/modules/core/generators/password.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl PasswordEngine { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn from_rules(rules: Rules) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn generate(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn check_requirements(&self, length: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn get_length(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MinMax` is never constructed [INFO] [stdout] --> src/modules/core/generators/rules.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct MinMax { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinMax` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Requirement` is never used [INFO] [stdout] --> src/modules/core/generators/rules.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Requirement { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Requirement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rules` is never constructed [INFO] [stdout] --> src/modules/core/generators/rules.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Rules { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_file`, `default`, `saturate_to_u8`, `get_charset`, and `normalize_charset` are never used [INFO] [stdout] --> src/modules/core/generators/rules.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Rules { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 45 | pub fn from_file(file_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn saturate_to_u8(v: i64) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | fn get_charset(charset_table: &Map) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn normalize_charset(charset: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.89s [INFO] running `Command { std: "docker" "inspect" "e252ccc44abd48e0d4928b62e1190958e2d52062e0a60c120162f2226e2a8f02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e252ccc44abd48e0d4928b62e1190958e2d52062e0a60c120162f2226e2a8f02", kill_on_drop: false }` [INFO] [stdout] e252ccc44abd48e0d4928b62e1190958e2d52062e0a60c120162f2226e2a8f02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bf21ff0e0b1699e85989d9a51f73c37d0b332a1cdbae7dff88f598ddaec2d0d [INFO] running `Command { std: "docker" "start" "-a" "9bf21ff0e0b1699e85989d9a51f73c37d0b332a1cdbae7dff88f598ddaec2d0d", kill_on_drop: false }` [INFO] [stderr] Compiling kryptopass-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `PasswordEngine` and `Rules` [INFO] [stdout] --> src/cli/commands/generate.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::modules::core::generators::password::{PasswordEngine, Rules}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_systems` is never used [INFO] [stdout] --> src/modules/core/crypto/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn test_systems() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Random` is never constructed [INFO] [stdout] --> src/modules/core/crypto/random.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Random {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/modules/core/crypto/random.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Random { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 11 | /// Generate a random byte string. [INFO] [stdout] 12 | pub fn rand_bytes(n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn rand_priv_bytes(n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn token_urlsafe(n: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn token_hex(n: usize) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn token_bytes(n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn choice(items: &[T]) -> Option<&T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn shuffle(items: &mut [T]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn rand_range(min: i32, max: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PasswordEngine` is never constructed [INFO] [stdout] --> src/modules/core/generators/password.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PasswordEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_LENGTH` is never used [INFO] [stdout] --> src/modules/core/generators/password.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const DEFAULT_LENGTH: u8 = 14; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_rules`, `generate`, `check_requirements`, and `get_length` are never used [INFO] [stdout] --> src/modules/core/generators/password.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl PasswordEngine { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn from_rules(rules: Rules) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn generate(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn check_requirements(&self, length: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn get_length(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MinMax` is never constructed [INFO] [stdout] --> src/modules/core/generators/rules.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct MinMax { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinMax` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Requirement` is never used [INFO] [stdout] --> src/modules/core/generators/rules.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Requirement { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Requirement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rules` is never constructed [INFO] [stdout] --> src/modules/core/generators/rules.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Rules { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_file`, `default`, `saturate_to_u8`, `get_charset`, and `normalize_charset` are never used [INFO] [stdout] --> src/modules/core/generators/rules.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Rules { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 45 | pub fn from_file(file_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn saturate_to_u8(v: i64) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | fn get_charset(charset_table: &Map) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn normalize_charset(charset: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "9bf21ff0e0b1699e85989d9a51f73c37d0b332a1cdbae7dff88f598ddaec2d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bf21ff0e0b1699e85989d9a51f73c37d0b332a1cdbae7dff88f598ddaec2d0d", kill_on_drop: false }` [INFO] [stdout] 9bf21ff0e0b1699e85989d9a51f73c37d0b332a1cdbae7dff88f598ddaec2d0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 78037cf52ed4fc63fb870eca0159006f52b98337de79b632ea468e5edf43842c [INFO] running `Command { std: "docker" "start" "-a" "78037cf52ed4fc63fb870eca0159006f52b98337de79b632ea468e5edf43842c", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `PasswordEngine` and `Rules` [INFO] [stderr] --> src/cli/commands/generate.rs:4:50 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::modules::core::generators::password::{PasswordEngine, Rules}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `test_systems` is never used [INFO] [stderr] --> src/modules/core/crypto/mod.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn test_systems() {} [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Random` is never constructed [INFO] [stderr] --> src/modules/core/crypto/random.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Random {} [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated functions are never used [INFO] [stderr] --> src/modules/core/crypto/random.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl Random { [INFO] [stderr] | ----------- associated functions in this implementation [INFO] [stderr] 11 | /// Generate a random byte string. [INFO] [stderr] 12 | pub fn rand_bytes(n: usize) -> Vec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 19 | pub fn rand_priv_bytes(n: usize) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn token_urlsafe(n: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub fn token_hex(n: usize) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | pub fn token_bytes(n: usize) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | pub fn choice(items: &[T]) -> Option<&T> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn shuffle(items: &mut [T]) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 63 | pub fn rand_range(min: i32, max: i32) -> Option { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PasswordEngine` is never constructed [INFO] [stderr] --> src/modules/core/generators/password.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct PasswordEngine { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DEFAULT_LENGTH` is never used [INFO] [stderr] --> src/modules/core/generators/password.rs:8:7 [INFO] [stderr] | [INFO] [stderr] 8 | const DEFAULT_LENGTH: u8 = 14; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `from_rules`, `generate`, `check_requirements`, and `get_length` are never used [INFO] [stderr] --> src/modules/core/generators/password.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl PasswordEngine { [INFO] [stderr] | ------------------- associated items in this implementation [INFO] [stderr] 11 | pub fn from_rules(rules: Rules) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | pub fn generate(&self) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 73 | fn check_requirements(&self, length: u8) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 109 | fn get_length(&self) -> u8 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MinMax` is never constructed [INFO] [stderr] --> src/modules/core/generators/rules.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct MinMax { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MinMax` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: enum `Requirement` is never used [INFO] [stderr] --> src/modules/core/generators/rules.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | pub enum Requirement { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Requirement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Rules` is never constructed [INFO] [stderr] --> src/modules/core/generators/rules.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 38 | pub struct Rules { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `from_file`, `default`, `saturate_to_u8`, `get_charset`, and `normalize_charset` are never used [INFO] [stderr] --> src/modules/core/generators/rules.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 44 | impl Rules { [INFO] [stderr] | ---------- associated functions in this implementation [INFO] [stderr] 45 | pub fn from_file(file_path: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 98 | pub fn default() -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 128 | pub fn saturate_to_u8(v: i64) -> u8 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 138 | fn get_charset(charset_table: &Map) -> HashMap { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 163 | fn normalize_charset(charset: &Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `kryptopass-cli` (bin "kryptopass-cli" test) generated 11 warnings (run `cargo fix --bin "kryptopass-cli" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/kryptopass_cli-20bb8c1dcde94adb) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "78037cf52ed4fc63fb870eca0159006f52b98337de79b632ea468e5edf43842c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78037cf52ed4fc63fb870eca0159006f52b98337de79b632ea468e5edf43842c", kill_on_drop: false }` [INFO] [stdout] 78037cf52ed4fc63fb870eca0159006f52b98337de79b632ea468e5edf43842c