[INFO] fetching crate bc_yubikey_git_helper 0.1.0... [INFO] checking bc_yubikey_git_helper-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate bc_yubikey_git_helper 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate bc_yubikey_git_helper 0.1.0 [INFO] finished tweaking crates.io crate bc_yubikey_git_helper 0.1.0 [INFO] tweaked toml for crates.io crate bc_yubikey_git_helper 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bc_yubikey_git_helper 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bc_yubikey_git_helper 0.1.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pem-rfc7468 v1.0.0-rc.1 [INFO] [stderr] Downloaded block-buffer v0.11.0-rc.1 [INFO] [stderr] Downloaded hybrid-array v0.2.0-rc.9 [INFO] [stderr] Downloaded rfc6979 v0.5.0-pre.4 [INFO] [stderr] Downloaded spki v0.8.0-rc.0 [INFO] [stderr] Downloaded smawk v0.3.2 [INFO] [stderr] Downloaded clap v4.5.16 [INFO] [stderr] Downloaded cc v1.1.15 [INFO] [stderr] Downloaded clap_builder v4.5.15 [INFO] [stderr] Downloaded cliclack v0.3.4 [INFO] [stderr] Downloaded p384 v0.14.0-pre.1 [INFO] [stderr] Downloaded rsa v0.10.0-pre.2 [INFO] [stderr] Downloaded elliptic-curve v0.14.0-pre.6 [INFO] [stderr] Downloaded der v0.8.0-rc.0 [INFO] [stderr] Downloaded hmac v0.13.0-pre.4 [INFO] [stderr] Downloaded pkcs1 v0.8.0-rc.1 [INFO] [stderr] Downloaded pkcs8 v0.11.0-rc.1 [INFO] [stderr] Downloaded sha2 v0.11.0-pre.4 [INFO] [stderr] Downloaded inout v0.2.0-rc.0 [INFO] [stderr] Downloaded ecdsa v0.17.0-pre.7 [INFO] [stderr] Downloaded signature v2.3.0-pre.4 [INFO] [stderr] Downloaded cipher v0.5.0-pre.6 [INFO] [stderr] Downloaded const-oid v0.10.0-rc.0 [INFO] [stderr] Downloaded ssh-key v0.7.0-pre.1 [INFO] [stderr] Downloaded crypto-common v0.2.0-rc.1 [INFO] [stderr] Downloaded digest v0.11.0-pre.9 [INFO] [stderr] Downloaded primefield v0.14.0-pre.0 [INFO] [stderr] Downloaded ssh-encoding v0.3.0-pre.1 [INFO] [stderr] Downloaded sec1 v0.8.0-rc.1 [INFO] [stderr] Downloaded ssh-cipher v0.3.0-pre.1 [INFO] [stderr] Downloaded primeorder v0.14.0-pre.1 [INFO] [stderr] Downloaded p256 v0.14.0-pre.1 [INFO] [stderr] Downloaded p521 v0.14.0-pre.1 [INFO] [stderr] Downloaded crypto-bigint v0.6.0-rc.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbdd02e923e34097d2c82781ace8a7fa7558afd4d4d568dea0e17941776d83f4 [INFO] running `Command { std: "docker" "start" "-a" "cbdd02e923e34097d2c82781ace8a7fa7558afd4d4d568dea0e17941776d83f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbdd02e923e34097d2c82781ace8a7fa7558afd4d4d568dea0e17941776d83f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbdd02e923e34097d2c82781ace8a7fa7558afd4d4d568dea0e17941776d83f4", kill_on_drop: false }` [INFO] [stdout] cbdd02e923e34097d2c82781ace8a7fa7558afd4d4d568dea0e17941776d83f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3d0d307ef7553853d281d298cc124696830655103612eb06a928917d761e506 [INFO] running `Command { std: "docker" "start" "-a" "a3d0d307ef7553853d281d298cc124696830655103612eb06a928917d761e506", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling portable-atomic v1.7.0 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking pem-rfc7468 v1.0.0-rc.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking signature v2.3.0-pre.4 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking hybrid-array v0.2.0-rc.9 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking crypto-common v0.2.0-rc.1 [INFO] [stderr] Checking inout v0.2.0-rc.0 [INFO] [stderr] Checking sec1 v0.8.0-rc.1 [INFO] [stderr] Checking block-buffer v0.11.0-rc.1 [INFO] [stderr] Checking cipher v0.5.0-pre.6 [INFO] [stderr] Checking digest v0.11.0-pre.9 [INFO] [stderr] Checking ssh-encoding v0.3.0-pre.1 [INFO] [stderr] Checking sha2 v0.11.0-pre.4 [INFO] [stderr] Checking ssh-cipher v0.3.0-pre.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking cliclack v0.3.4 [INFO] [stderr] Checking ssh-key v0.7.0-pre.1 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking bc_yubikey_git_helper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:238:17 [INFO] [stdout] | [INFO] [stdout] 238 | ) -> Result<(&Fido2AutofindConfig), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 238 - ) -> Result<(&Fido2AutofindConfig), Box> { [INFO] [stdout] 238 + ) -> Result<&Fido2AutofindConfig, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:238:17 [INFO] [stdout] | [INFO] [stdout] 238 | ) -> Result<(&Fido2AutofindConfig), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 238 - ) -> Result<(&Fido2AutofindConfig), Box> { [INFO] [stdout] 238 + ) -> Result<&Fido2AutofindConfig, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/lib.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 263 | let out = self.config_set(key, value)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/lib.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 263 | let out = self.config_set(key, value)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fido2_autofind` [INFO] [stdout] --> src/lib.rs:700:13 [INFO] [stdout] | [INFO] [stdout] 700 | let fido2_autofind = self [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fido2_autofind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fido2_autofind` [INFO] [stdout] --> src/lib.rs:860:13 [INFO] [stdout] | [INFO] [stdout] 860 | let fido2_autofind = self [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fido2_autofind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fido2_autofind` [INFO] [stdout] --> src/lib.rs:700:13 [INFO] [stdout] | [INFO] [stdout] 700 | let fido2_autofind = self [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fido2_autofind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fido2_autofind` [INFO] [stdout] --> src/lib.rs:860:13 [INFO] [stdout] | [INFO] [stdout] 860 | let fido2_autofind = self [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fido2_autofind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Signer` [INFO] [stdout] --> src/main.rs:3:106 [INFO] [stdout] | [INFO] [stdout] 3 | use lib::{Fido2AutofindConfig, GitConfig, GitConfigScope, KeyInteractivityFilter, KeyOptions, Principal, Signer}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:238:17 [INFO] [stdout] | [INFO] [stdout] 238 | ) -> Result<(&Fido2AutofindConfig), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 238 - ) -> Result<(&Fido2AutofindConfig), Box> { [INFO] [stdout] 238 + ) -> Result<&Fido2AutofindConfig, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Signer` [INFO] [stdout] --> src/signers.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lib::{GitConfig, Principal, Signer, SignerLine}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `PathBuf`, `Write`, `collections::HashMap`, `fs::File`, and `str::FromStr` [INFO] [stdout] --> src/signers.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | hash::Hash, [INFO] [stdout] 10 | io::{BufRead, BufReader, Write}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] 11 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | process::Command, [INFO] [stdout] 13 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Empty` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Empty; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Signer` [INFO] [stdout] --> src/main.rs:3:106 [INFO] [stdout] | [INFO] [stdout] 3 | use lib::{Fido2AutofindConfig, GitConfig, GitConfigScope, KeyInteractivityFilter, KeyOptions, Principal, Signer}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:238:17 [INFO] [stdout] | [INFO] [stdout] 238 | ) -> Result<(&Fido2AutofindConfig), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 238 - ) -> Result<(&Fido2AutofindConfig), Box> { [INFO] [stdout] 238 + ) -> Result<&Fido2AutofindConfig, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Signer` [INFO] [stdout] --> src/signers.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lib::{GitConfig, Principal, Signer, SignerLine}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `PathBuf`, `Write`, `collections::HashMap`, `fs::File`, and `str::FromStr` [INFO] [stdout] --> src/signers.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | hash::Hash, [INFO] [stdout] 10 | io::{BufRead, BufReader, Write}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] 11 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | process::Command, [INFO] [stdout] 13 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Empty` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Empty; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/signers.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | io::{BufRead, BufReader, Write}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/lib.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 263 | let out = self.config_set(key, value)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fido2_autofind` [INFO] [stdout] --> src/lib.rs:700:13 [INFO] [stdout] | [INFO] [stdout] 700 | let fido2_autofind = self [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fido2_autofind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fido2_autofind` [INFO] [stdout] --> src/lib.rs:860:13 [INFO] [stdout] | [INFO] [stdout] 860 | let fido2_autofind = self [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fido2_autofind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allowed_signers_file` [INFO] [stdout] --> src/signers.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | allowed_signers_file: &Path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allowed_signers_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_email` [INFO] [stdout] --> src/signers.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let current_email = git_config.user.email.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/signers.rs:176:45 [INFO] [stdout] | [INFO] [stdout] 176 | .filter_map(|(selected, principal, _)| match selected { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/signers.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let mut principal_options: Vec<(ClackSelectionOption, String, String)> = all_principals [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: unused variable: `custom` [INFO] [stdout] --> src/main.rs:282:41 [INFO] [stdout] | [INFO] [stdout] 282 | .item(if let GpgProgram::Custom(custom) = &selected_program { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_custom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 489 | Commands::Generate => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 493 | Commands::ModifySigner => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 497 | Commands::ListKeys => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 524 | Commands::ListPrincipals => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 554 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `directory_copy` [INFO] [stdout] --> src/main.rs:622:13 [INFO] [stdout] | [INFO] [stdout] 622 | let directory_copy = directory.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_directory_copy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_principals_from_gpg` is never used [INFO] [stdout] --> src/main.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn extract_principals_from_gpg() -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enabled` is never read [INFO] [stdout] --> src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Fido2AutofindConfig { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 60 | pub enabled: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fido2AutofindConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Local` is never constructed [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub enum GitConfigScope { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 77 | All, [INFO] [stdout] 78 | Local, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitConfigScope` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NonInteractive` is never constructed [INFO] [stdout] --> src/lib.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum KeyInteractivityFilter { [INFO] [stdout] | ---------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 94 | NonInteractive, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/lib.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl GitConfig { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn config_get(&self, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn set_user_signing_key(&self, key: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | pub fn read_local() -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 719 | pub fn get_keys_with_principals( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 729 | pub fn test_noninteractive_key( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 770 | pub fn get_noninteractive_from_interactive( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 855 | pub fn find_signer_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/signers.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | io::{BufRead, BufReader, Write}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/lib.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 263 | let out = self.config_set(key, value)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fido2_autofind` [INFO] [stdout] --> src/lib.rs:700:13 [INFO] [stdout] | [INFO] [stdout] 700 | let fido2_autofind = self [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fido2_autofind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fido2_autofind` [INFO] [stdout] --> src/lib.rs:860:13 [INFO] [stdout] | [INFO] [stdout] 860 | let fido2_autofind = self [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fido2_autofind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allowed_signers_file` [INFO] [stdout] --> src/signers.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | allowed_signers_file: &Path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allowed_signers_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_email` [INFO] [stdout] --> src/signers.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let current_email = git_config.user.email.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `principal` [INFO] [stdout] --> src/signers.rs:176:45 [INFO] [stdout] | [INFO] [stdout] 176 | .filter_map(|(selected, principal, _)| match selected { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_principal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/signers.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let mut principal_options: Vec<(ClackSelectionOption, String, String)> = all_principals [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: unused variable: `custom` [INFO] [stdout] --> src/main.rs:282:41 [INFO] [stdout] | [INFO] [stdout] 282 | .item(if let GpgProgram::Custom(custom) = &selected_program { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_custom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 489 | Commands::Generate => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 493 | Commands::ModifySigner => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 497 | Commands::ListKeys => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 524 | Commands::ListPrincipals => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 554 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `directory_copy` [INFO] [stdout] --> src/main.rs:622:13 [INFO] [stdout] | [INFO] [stdout] 622 | let directory_copy = directory.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_directory_copy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_principals_from_gpg` is never used [INFO] [stdout] --> src/main.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn extract_principals_from_gpg() -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enabled` is never read [INFO] [stdout] --> src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Fido2AutofindConfig { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 60 | pub enabled: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fido2AutofindConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Local` is never constructed [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub enum GitConfigScope { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 77 | All, [INFO] [stdout] 78 | Local, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitConfigScope` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NonInteractive` is never constructed [INFO] [stdout] --> src/lib.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum KeyInteractivityFilter { [INFO] [stdout] | ---------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 94 | NonInteractive, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/lib.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl GitConfig { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn config_get(&self, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn set_user_signing_key(&self, key: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | pub fn read_local() -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 719 | pub fn get_keys_with_principals( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 729 | pub fn test_noninteractive_key( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 770 | pub fn get_noninteractive_from_interactive( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 855 | pub fn find_signer_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.84s [INFO] running `Command { std: "docker" "inspect" "a3d0d307ef7553853d281d298cc124696830655103612eb06a928917d761e506", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3d0d307ef7553853d281d298cc124696830655103612eb06a928917d761e506", kill_on_drop: false }` [INFO] [stdout] a3d0d307ef7553853d281d298cc124696830655103612eb06a928917d761e506