[INFO] cloning repository https://github.com/sb-child/passchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sb-child/passchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsb-child%2Fpasschain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsb-child%2Fpasschain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0598cd888a367f29f65dbc83139d3d51d78ad26d [INFO] testing sb-child/passchain against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsb-child%2Fpasschain" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sb-child/passchain [INFO] finished tweaking git repo https://github.com/sb-child/passchain [INFO] tweaked toml for git repo https://github.com/sb-child/passchain written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sb-child/passchain on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sb-child/passchain 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 444c1ec08d352b1477f30937091364ae1baaee20af894030ffeea610ce69b2a7 [INFO] running `Command { std: "docker" "start" "-a" "444c1ec08d352b1477f30937091364ae1baaee20af894030ffeea610ce69b2a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "444c1ec08d352b1477f30937091364ae1baaee20af894030ffeea610ce69b2a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "444c1ec08d352b1477f30937091364ae1baaee20af894030ffeea610ce69b2a7", kill_on_drop: false }` [INFO] [stdout] 444c1ec08d352b1477f30937091364ae1baaee20af894030ffeea610ce69b2a7 [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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 283eeecf0dbb15bc911492cca61196a345b91d04332ae25e70116dbfd990299e [INFO] running `Command { std: "docker" "start" "-a" "283eeecf0dbb15bc911492cca61196a345b91d04332ae25e70116dbfd990299e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling oid-registry v0.8.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling hidapi v2.6.3 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling vte v0.11.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling vt100 v0.15.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling winnow v0.7.8 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling papergrid v0.15.0 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling inotify v0.11.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling asn1-rs-derive v0.6.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling asn1-rs v0.7.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling argonautica v0.2.4 (https://github.com/sb-child/argonautica?rev=217eca60f1f41c41652e23883f4e653f0f9cacf9#217eca60) [INFO] [stderr] Compiling der-parser v10.0.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling x509-parser v0.17.0 [INFO] [stderr] Compiling tabled_derive v0.11.0 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling newline-converter v0.3.0 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling strum v0.27.1 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling testing_table v0.3.0 [INFO] [stderr] Compiling pad v0.1.6 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling result v1.0.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling notify-types v2.0.0 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling serde_ini v0.2.0 [INFO] [stderr] Compiling ctap-hid-fido2 v3.5.3 (https://github.com/sb-child/ctap-hid-fido2?rev=f05589b3e842a47c9df3080cf4fe2248a2e44821#f05589b3) [INFO] [stderr] Compiling notify v8.0.0 [INFO] [stderr] Compiling inquire v0.7.5 [INFO] [stderr] Compiling tabled v0.19.0 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling tracing-indicatif v0.3.9 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling convert-base v1.1.2 [INFO] [stderr] Compiling reed-solomon v0.2.1 (https://github.com/sb-child/reed-solomon-rs?rev=2a81f2df243403a3a4675344f1440804fb539b3b#2a81f2df) [INFO] [stderr] Compiling entropy v0.4.2 [INFO] [stderr] Compiling passchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DefaultTerminal`, `Paragraph`, and `self` [INFO] [stdout] --> src/cli/keyscript.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | self, disable_raw_mode, enable_raw_mode, EnterAlternateScreen, LeaveAlternateScreen, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | widgets::{Block, Paragraph}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | DefaultTerminal, Terminal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/config/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead` and `BufReader` [INFO] [stdout] --> src/config/mod.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{BufRead, BufReader}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `notify::EventKind` [INFO] [stdout] --> src/config/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use notify::EventKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/factor/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::oneshot` [INFO] [stdout] --> src/factor/fidokey.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QuestionResponseType` [INFO] [stdout] --> src/factor/fidokey.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | QuestionResponseType, RespChan, macros::MaybeMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::oneshot` [INFO] [stdout] --> src/factor/password.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/utils/keyscript.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/utils/systemd.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | fs, io, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> src/cli/keyscript.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | style::{Color, Style, Stylize}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crypttab_key` [INFO] [stdout] --> src/cli/keyscript.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let crypttab_key = env::var("CRYPTTAB_KEY").unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_crypttab_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crypttab_options` [INFO] [stdout] --> src/cli/keyscript.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let crypttab_options = env::var("CRYPTTAB_OPTIONS").unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_crypttab_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/cli/keyscript.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | let inner = block.inner(frame.area()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/factor/fidokey.rs:142:60 [INFO] [stdout] | [INFO] [stdout] 142 | FidoKeyFactorCreateStatement::RequestPIN(chan, device) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pin` [INFO] [stdout] --> src/factor/fidokey.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | let pin = match resp { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpid` [INFO] [stdout] --> src/factor/fidokey.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | let rpid = "passchain-xxxxxxxxxxxxxxxxxxxx"; // max 32 bytes [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rpid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password` [INFO] [stdout] --> src/factor/fidokey.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | let password = self [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_size` [INFO] [stdout] --> src/model/slot.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(max_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/model/slot.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn put(&mut self, item: impl Factor) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cfg` is never read [INFO] [stdout] --> src/cli/keyscript.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Executor { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 25 | cfg: Cfg, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mode` and `block` are never read [INFO] [stdout] --> src/factor/fidokey.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct FidoKeyFactor { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 20 | mode: Mode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | block: Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_devices` is never used [INFO] [stdout] --> src/factor/fidokey.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn list_devices() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_deivce` is never used [INFO] [stdout] --> src/factor/fidokey.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn open_deivce(dev: &FidoDevice) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next_question_create` is never used [INFO] [stdout] --> src/factor/fidokey.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl FidoKeyFactor { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 41 | fn next_question_create(&mut self) -> Result, QuestionResponseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/modules/fido.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Device { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 15 | name: String, [INFO] [stdout] 16 | id: ctap_hid_fido2::HidInfo, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `open` is never used [INFO] [stdout] --> src/modules/fido.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Device { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 20 | fn open(&self) -> anyhow::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_onetime` is never used [INFO] [stdout] --> src/modules/fido.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn new_onetime() -> Onetime { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CommandPipeTx` is never used [INFO] [stdout] --> src/modules/fido.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | type CommandPipeTx = MultTx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CommandPipeRx` is never used [INFO] [stdout] --> src/modules/fido.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | type CommandPipeRx = MultRx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Onetime` is never used [INFO] [stdout] --> src/modules/fido.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | type Onetime = (OnetimeTx, OnetimeRx); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `event_handler` is never used [INFO] [stdout] --> src/modules/fido.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn event_handler(mut pipe: CommandPipeRx) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_device` is never used [INFO] [stdout] --> src/modules/fido.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn list_device(tx: MultTx) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wink` is never used [INFO] [stdout] --> src/modules/fido.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn wink(device: Device, tx: OnetimeTx) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/fido.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | resp.send(ListDevicesResponse { list: rx }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 76 | let _ = resp.send(ListDevicesResponse { list: rx }); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/fido.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | resp.send(rx); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | let _ = resp.send(rx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/fido.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | / tx.blocking_send(Device { [INFO] [stdout] 108 | | name: n, [INFO] [stdout] 109 | | id: current_info, [INFO] [stdout] 110 | | }); [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 107 | let _ = tx.blocking_send(Device { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/fido.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | tx.send(false); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 125 | let _ = tx.send(false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/fido.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | tx.send(true); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 132 | let _ = tx.send(true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/fido.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | tx.send(false); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 136 | let _ = tx.send(false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `builder::Str` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use clap::{builder::Str, Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `config` [INFO] [stdout] --> src/main.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use passchain::{cli, config, errors, utils}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument::WithSubscriber` [INFO] [stdout] --> src/main.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::{error, instrument::WithSubscriber, level_filters::LevelFilter, Level}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11m 19s [INFO] running `Command { std: "docker" "inspect" "283eeecf0dbb15bc911492cca61196a345b91d04332ae25e70116dbfd990299e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "283eeecf0dbb15bc911492cca61196a345b91d04332ae25e70116dbfd990299e", kill_on_drop: false }` [INFO] [stdout] 283eeecf0dbb15bc911492cca61196a345b91d04332ae25e70116dbfd990299e [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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66a82edf83d04c3d1be3da45d0b447e76b58ca04c29463d2ac932c5563124e8d [INFO] running `Command { std: "docker" "start" "-a" "66a82edf83d04c3d1be3da45d0b447e76b58ca04c29463d2ac932c5563124e8d", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `DefaultTerminal`, `Paragraph`, and `self` [INFO] [stdout] --> src/cli/keyscript.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | self, disable_raw_mode, enable_raw_mode, EnterAlternateScreen, LeaveAlternateScreen, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | widgets::{Block, Paragraph}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | DefaultTerminal, Terminal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/config/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead` and `BufReader` [INFO] [stdout] --> src/config/mod.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{BufRead, BufReader}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `notify::EventKind` [INFO] [stdout] --> src/config/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use notify::EventKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/factor/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::oneshot` [INFO] [stdout] --> src/factor/fidokey.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QuestionResponseType` [INFO] [stdout] --> src/factor/fidokey.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | QuestionResponseType, RespChan, macros::MaybeMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::oneshot` [INFO] [stdout] --> src/factor/password.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/utils/keyscript.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/utils/systemd.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | fs, io, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> src/cli/keyscript.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | style::{Color, Style, Stylize}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crypttab_key` [INFO] [stdout] --> src/cli/keyscript.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let crypttab_key = env::var("CRYPTTAB_KEY").unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_crypttab_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crypttab_options` [INFO] [stdout] --> src/cli/keyscript.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let crypttab_options = env::var("CRYPTTAB_OPTIONS").unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_crypttab_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/cli/keyscript.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | let inner = block.inner(frame.area()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/factor/fidokey.rs:142:60 [INFO] [stdout] | [INFO] [stdout] 142 | FidoKeyFactorCreateStatement::RequestPIN(chan, device) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pin` [INFO] [stdout] --> src/factor/fidokey.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | let pin = match resp { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpid` [INFO] [stdout] --> src/factor/fidokey.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | let rpid = "passchain-xxxxxxxxxxxxxxxxxxxx"; // max 32 bytes [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rpid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password` [INFO] [stdout] --> src/factor/fidokey.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | let password = self [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_size` [INFO] [stdout] --> src/model/slot.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(max_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/model/slot.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn put(&mut self, item: impl Factor) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cfg` is never read [INFO] [stdout] --> src/cli/keyscript.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Executor { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 25 | cfg: Cfg, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mode` and `block` are never read [INFO] [stdout] --> src/factor/fidokey.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct FidoKeyFactor { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 20 | mode: Mode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | block: Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_devices` is never used [INFO] [stdout] --> src/factor/fidokey.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn list_devices() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_deivce` is never used [INFO] [stdout] --> src/factor/fidokey.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn open_deivce(dev: &FidoDevice) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next_question_create` is never used [INFO] [stdout] --> src/factor/fidokey.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl FidoKeyFactor { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 41 | fn next_question_create(&mut self) -> Result, QuestionResponseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/modules/fido.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Device { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 15 | name: String, [INFO] [stdout] 16 | id: ctap_hid_fido2::HidInfo, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `open` is never used [INFO] [stdout] --> src/modules/fido.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Device { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 20 | fn open(&self) -> anyhow::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_onetime` is never used [INFO] [stdout] --> src/modules/fido.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn new_onetime() -> Onetime { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CommandPipeTx` is never used [INFO] [stdout] --> src/modules/fido.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | type CommandPipeTx = MultTx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CommandPipeRx` is never used [INFO] [stdout] --> src/modules/fido.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | type CommandPipeRx = MultRx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Onetime` is never used [INFO] [stdout] --> src/modules/fido.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | type Onetime = (OnetimeTx, OnetimeRx); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `event_handler` is never used [INFO] [stdout] --> src/modules/fido.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn event_handler(mut pipe: CommandPipeRx) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_device` is never used [INFO] [stdout] --> src/modules/fido.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn list_device(tx: MultTx) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wink` is never used [INFO] [stdout] --> src/modules/fido.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn wink(device: Device, tx: OnetimeTx) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/fido.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | resp.send(ListDevicesResponse { list: rx }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 76 | let _ = resp.send(ListDevicesResponse { list: rx }); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/fido.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | resp.send(rx); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | let _ = resp.send(rx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/fido.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | / tx.blocking_send(Device { [INFO] [stdout] 108 | | name: n, [INFO] [stdout] 109 | | id: current_info, [INFO] [stdout] 110 | | }); [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 107 | let _ = tx.blocking_send(Device { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/fido.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | tx.send(false); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 125 | let _ = tx.send(false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/fido.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | tx.send(true); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 132 | let _ = tx.send(true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling passchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/fido.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | tx.send(false); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 136 | let _ = tx.send(false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DefaultTerminal`, `Paragraph`, and `self` [INFO] [stdout] --> src/cli/keyscript.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | self, disable_raw_mode, enable_raw_mode, EnterAlternateScreen, LeaveAlternateScreen, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | widgets::{Block, Paragraph}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | DefaultTerminal, Terminal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/config/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead` and `BufReader` [INFO] [stdout] --> src/config/mod.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{BufRead, BufReader}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `notify::EventKind` [INFO] [stdout] --> src/config/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use notify::EventKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/factor/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::oneshot` [INFO] [stdout] --> src/factor/fidokey.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QuestionResponseType` [INFO] [stdout] --> src/factor/fidokey.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | QuestionResponseType, RespChan, macros::MaybeMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::oneshot` [INFO] [stdout] --> src/factor/password.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/utils/keyscript.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/utils/systemd.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | fs, io, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `builder::Str` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use clap::{builder::Str, Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `config` [INFO] [stdout] --> src/main.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use passchain::{cli, config, errors, utils}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument::WithSubscriber` [INFO] [stdout] --> src/main.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::{error, instrument::WithSubscriber, level_filters::LevelFilter, Level}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> src/cli/keyscript.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | style::{Color, Style, Stylize}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crypttab_key` [INFO] [stdout] --> src/cli/keyscript.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let crypttab_key = env::var("CRYPTTAB_KEY").unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_crypttab_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crypttab_options` [INFO] [stdout] --> src/cli/keyscript.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let crypttab_options = env::var("CRYPTTAB_OPTIONS").unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_crypttab_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/cli/keyscript.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | let inner = block.inner(frame.area()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> src/factor/fidokey.rs:142:60 [INFO] [stdout] | [INFO] [stdout] 142 | FidoKeyFactorCreateStatement::RequestPIN(chan, device) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pin` [INFO] [stdout] --> src/factor/fidokey.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | let pin = match resp { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpid` [INFO] [stdout] --> src/factor/fidokey.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | let rpid = "passchain-xxxxxxxxxxxxxxxxxxxx"; // max 32 bytes [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rpid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password` [INFO] [stdout] --> src/factor/fidokey.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | let password = self [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_size` [INFO] [stdout] --> src/model/slot.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(max_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/model/slot.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn put(&mut self, item: impl Factor) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cfg` is never read [INFO] [stdout] --> src/cli/keyscript.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Executor { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 25 | cfg: Cfg, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mode` and `block` are never read [INFO] [stdout] --> src/factor/fidokey.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct FidoKeyFactor { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 20 | mode: Mode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | block: Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_devices` is never used [INFO] [stdout] --> src/factor/fidokey.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn list_devices() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_deivce` is never used [INFO] [stdout] --> src/factor/fidokey.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn open_deivce(dev: &FidoDevice) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next_question_create` is never used [INFO] [stdout] --> src/factor/fidokey.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl FidoKeyFactor { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 41 | fn next_question_create(&mut self) -> Result, QuestionResponseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/modules/fido.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Device { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 15 | name: String, [INFO] [stdout] 16 | id: ctap_hid_fido2::HidInfo, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `open` is never used [INFO] [stdout] --> src/modules/fido.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Device { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 20 | fn open(&self) -> anyhow::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_onetime` is never used [INFO] [stdout] --> src/modules/fido.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn new_onetime() -> Onetime { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CommandPipeTx` is never used [INFO] [stdout] --> src/modules/fido.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | type CommandPipeTx = MultTx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CommandPipeRx` is never used [INFO] [stdout] --> src/modules/fido.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | type CommandPipeRx = MultRx; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Onetime` is never used [INFO] [stdout] --> src/modules/fido.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | type Onetime = (OnetimeTx, OnetimeRx); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `event_handler` is never used [INFO] [stdout] --> src/modules/fido.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn event_handler(mut pipe: CommandPipeRx) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_device` is never used [INFO] [stdout] --> src/modules/fido.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn list_device(tx: MultTx) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wink` is never used [INFO] [stdout] --> src/modules/fido.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn wink(device: Device, tx: OnetimeTx) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/fido.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | resp.send(ListDevicesResponse { list: rx }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 76 | let _ = resp.send(ListDevicesResponse { list: rx }); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/fido.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | resp.send(rx); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | let _ = resp.send(rx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/fido.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | / tx.blocking_send(Device { [INFO] [stdout] 108 | | name: n, [INFO] [stdout] 109 | | id: current_info, [INFO] [stdout] 110 | | }); [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 107 | let _ = tx.blocking_send(Device { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/fido.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | tx.send(false); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 125 | let _ = tx.send(false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/fido.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | tx.send(true); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 132 | let _ = tx.send(true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/modules/fido.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | tx.send(false); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 136 | let _ = tx.send(false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.04s [INFO] running `Command { std: "docker" "inspect" "66a82edf83d04c3d1be3da45d0b447e76b58ca04c29463d2ac932c5563124e8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66a82edf83d04c3d1be3da45d0b447e76b58ca04c29463d2ac932c5563124e8d", kill_on_drop: false }` [INFO] [stdout] 66a82edf83d04c3d1be3da45d0b447e76b58ca04c29463d2ac932c5563124e8d [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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e57fefb55be1c52f89a3471e9498a24361f2446774d1a2597efe34bd22bb3bc5 [INFO] running `Command { std: "docker" "start" "-a" "e57fefb55be1c52f89a3471e9498a24361f2446774d1a2597efe34bd22bb3bc5", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `DefaultTerminal`, `Paragraph`, and `self` [INFO] [stderr] --> src/cli/keyscript.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | self, disable_raw_mode, enable_raw_mode, EnterAlternateScreen, LeaveAlternateScreen, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 18 | widgets::{Block, Paragraph}, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 19 | DefaultTerminal, Terminal, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `File` [INFO] [stderr] --> src/config/mod.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | use std::fs::{self, File}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BufRead` and `BufReader` [INFO] [stderr] --> src/config/mod.rs:6:15 [INFO] [stderr] | [INFO] [stderr] 6 | use std::io::{BufRead, BufReader}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `notify::EventKind` [INFO] [stderr] --> src/config/mod.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use notify::EventKind; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt::Display` [INFO] [stderr] --> src/factor/mod.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::fmt::Display; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::sync::oneshot` [INFO] [stderr] --> src/factor/fidokey.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use tokio::sync::oneshot; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `QuestionResponseType` [INFO] [stderr] --> src/factor/fidokey.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | QuestionResponseType, RespChan, macros::MaybeMut, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::sync::oneshot` [INFO] [stderr] --> src/factor/password.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio::sync::oneshot; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `info` [INFO] [stderr] --> src/utils/keyscript.rs:6:15 [INFO] [stderr] | [INFO] [stderr] 6 | use tracing::{info, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `fs` [INFO] [stderr] --> src/utils/systemd.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | fs, io, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Stylize` [INFO] [stderr] --> src/cli/keyscript.rs:16:27 [INFO] [stderr] | [INFO] [stderr] 16 | style::{Color, Style, Stylize}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `crypttab_key` [INFO] [stderr] --> src/cli/keyscript.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | let crypttab_key = env::var("CRYPTTAB_KEY").unwrap_or_default(); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_crypttab_key` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `crypttab_options` [INFO] [stderr] --> src/cli/keyscript.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | let crypttab_options = env::var("CRYPTTAB_OPTIONS").unwrap_or_default(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_crypttab_options` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inner` [INFO] [stderr] --> src/cli/keyscript.rs:163:25 [INFO] [stderr] | [INFO] [stderr] 163 | let inner = block.inner(frame.area()); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `device` [INFO] [stderr] --> src/factor/fidokey.rs:142:60 [INFO] [stderr] | [INFO] [stderr] 142 | FidoKeyFactorCreateStatement::RequestPIN(chan, device) => { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pin` [INFO] [stderr] --> src/factor/fidokey.rs:145:21 [INFO] [stderr] | [INFO] [stderr] 145 | let pin = match resp { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_pin` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rpid` [INFO] [stderr] --> src/factor/fidokey.rs:149:21 [INFO] [stderr] | [INFO] [stderr] 149 | let rpid = "passchain-xxxxxxxxxxxxxxxxxxxx"; // max 32 bytes [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rpid` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `password` [INFO] [stderr] --> src/factor/fidokey.rs:208:13 [INFO] [stderr] | [INFO] [stderr] 208 | let password = self [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `max_size` [INFO] [stderr] --> src/model/slot.rs:10:16 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn new(max_size: usize) -> Self { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `item` [INFO] [stderr] --> src/model/slot.rs:14:27 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn put(&mut self, item: impl Factor) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stderr] [INFO] [stderr] warning: field `cfg` is never read [INFO] [stderr] --> src/cli/keyscript.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct Executor { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 25 | cfg: Cfg, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `mode` and `block` are never read [INFO] [stderr] --> src/factor/fidokey.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct FidoKeyFactor { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 20 | mode: Mode, [INFO] [stderr] | ^^^^ [INFO] [stderr] 21 | block: Block, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `list_devices` is never used [INFO] [stderr] --> src/factor/fidokey.rs:25:4 [INFO] [stderr] | [INFO] [stderr] 25 | fn list_devices() -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `open_deivce` is never used [INFO] [stderr] --> src/factor/fidokey.rs:33:4 [INFO] [stderr] | [INFO] [stderr] 33 | fn open_deivce(dev: &FidoDevice) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `next_question_create` is never used [INFO] [stderr] --> src/factor/fidokey.rs:41:8 [INFO] [stderr] | [INFO] [stderr] 40 | impl FidoKeyFactor { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] 41 | fn next_question_create(&mut self) -> Result, QuestionResponseError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/modules/fido.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct Device { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 15 | name: String, [INFO] [stderr] 16 | id: ctap_hid_fido2::HidInfo, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: method `open` is never used [INFO] [stderr] --> src/modules/fido.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 19 | impl Device { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] 20 | fn open(&self) -> anyhow::Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `new_onetime` is never used [INFO] [stderr] --> src/modules/fido.rs:44:4 [INFO] [stderr] | [INFO] [stderr] 44 | fn new_onetime() -> Onetime { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `CommandPipeTx` is never used [INFO] [stderr] --> src/modules/fido.rs:48:6 [INFO] [stderr] | [INFO] [stderr] 48 | type CommandPipeTx = MultTx; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `CommandPipeRx` is never used [INFO] [stderr] --> src/modules/fido.rs:49:6 [INFO] [stderr] | [INFO] [stderr] 49 | type CommandPipeRx = MultRx; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Onetime` is never used [INFO] [stderr] --> src/modules/fido.rs:51:6 [INFO] [stderr] | [INFO] [stderr] 51 | type Onetime = (OnetimeTx, OnetimeRx); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `event_handler` is never used [INFO] [stderr] --> src/modules/fido.rs:68:4 [INFO] [stderr] | [INFO] [stderr] 68 | fn event_handler(mut pipe: CommandPipeRx) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `list_device` is never used [INFO] [stderr] --> src/modules/fido.rs:87:4 [INFO] [stderr] | [INFO] [stderr] 87 | fn list_device(tx: MultTx) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `wink` is never used [INFO] [stderr] --> src/modules/fido.rs:119:4 [INFO] [stderr] | [INFO] [stderr] 119 | fn wink(device: Device, tx: OnetimeTx) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/modules/fido.rs:76:17 [INFO] [stderr] | [INFO] [stderr] 76 | resp.send(ListDevicesResponse { list: rx }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 76 | let _ = resp.send(ListDevicesResponse { list: rx }); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/modules/fido.rs:81:17 [INFO] [stderr] | [INFO] [stderr] 81 | resp.send(rx); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 81 | let _ = resp.send(rx); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/modules/fido.rs:107:17 [INFO] [stderr] | [INFO] [stderr] 107 | / tx.blocking_send(Device { [INFO] [stderr] 108 | | name: n, [INFO] [stderr] 109 | | id: current_info, [INFO] [stderr] 110 | | }); [INFO] [stderr] | |__________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 107 | let _ = tx.blocking_send(Device { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/modules/fido.rs:125:13 [INFO] [stderr] | [INFO] [stderr] 125 | tx.send(false); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 125 | let _ = tx.send(false); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/modules/fido.rs:132:13 [INFO] [stderr] | [INFO] [stderr] 132 | tx.send(true); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 132 | let _ = tx.send(true); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/modules/fido.rs:136:13 [INFO] [stderr] | [INFO] [stderr] 136 | tx.send(false); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 136 | let _ = tx.send(false); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `passchain` (lib) generated 40 warnings (run `cargo fix --lib -p passchain` to apply 10 suggestions) [INFO] [stderr] warning: `passchain` (lib test) generated 40 warnings (40 duplicates) [INFO] [stderr] warning: unused import: `builder::Str` [INFO] [stderr] --> src/main.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | use clap::{builder::Str, Parser, Subcommand}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `config` [INFO] [stderr] --> src/main.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | use passchain::{cli, config, errors, utils}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `instrument::WithSubscriber` [INFO] [stderr] --> src/main.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | use tracing::{error, instrument::WithSubscriber, level_filters::LevelFilter, Level}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `passchain` (bin "passchain" test) generated 3 warnings (run `cargo fix --bin "passchain" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/passchain-d95a2b1447f1ea31) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test::test_b32 ... ok [INFO] [stdout] test test::test_block128_to_password ... ok [INFO] [stdout] test test::test_block64_to_password ... ok [INFO] [stdout] test test::test_recovery_code ... ok [INFO] [stdout] test test::test_entropy ... ok [INFO] [stdout] test test::benchmark_sha3_512_hash ... ok [INFO] [stdout] test test::benchmark_blake3_hash ... ok [INFO] [stdout] test test::benchmark_argon2id_hash has been running for over 60 seconds [INFO] [stdout] test test::benchmark_argon2id_hash ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/passchain-8925417b1bc867b6) [INFO] [stdout] [INFO] [stderr] Doc-tests passchain [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 85.34s [INFO] [stdout] [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] [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" "e57fefb55be1c52f89a3471e9498a24361f2446774d1a2597efe34bd22bb3bc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e57fefb55be1c52f89a3471e9498a24361f2446774d1a2597efe34bd22bb3bc5", kill_on_drop: false }` [INFO] [stdout] e57fefb55be1c52f89a3471e9498a24361f2446774d1a2597efe34bd22bb3bc5