[INFO] cloning repository https://github.com/digitalbitbox/bitbox-api-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/digitalbitbox/bitbox-api-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdigitalbitbox%2Fbitbox-api-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdigitalbitbox%2Fbitbox-api-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8bf6464ca65f3b0b6ea413e4404b209a9a249fe [INFO] building digitalbitbox/bitbox-api-rs against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdigitalbitbox%2Fbitbox-api-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/digitalbitbox/bitbox-api-rs [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/digitalbitbox/bitbox-api-rs [INFO] tweaked toml for git repo https://github.com/digitalbitbox/bitbox-api-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/digitalbitbox/bitbox-api-rs on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/digitalbitbox/bitbox-api-rs 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.42 [INFO] [stderr] Downloaded tinyvec v1.6.1 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Downloaded tokio-macros v2.3.0 [INFO] [stderr] Downloaded thiserror v1.0.61 [INFO] [stderr] Downloaded prost v0.11.9 [INFO] [stderr] Downloaded prost-types v0.11.9 [INFO] [stderr] Downloaded rustls-pemfile v2.1.2 [INFO] [stderr] Downloaded base32 v0.4.0 [INFO] [stderr] Downloaded bitcoin-units v0.1.2 [INFO] [stderr] Downloaded hex_lit v0.1.1 [INFO] [stderr] Downloaded serde_derive v1.0.203 [INFO] [stderr] Downloaded prost-derive v0.11.9 [INFO] [stderr] Downloaded async-trait v0.1.80 [INFO] [stderr] Downloaded hyper-util v0.1.6 [INFO] [stderr] Downloaded hyper v1.4.0 [INFO] [stderr] Downloaded tokio v1.38.0 [INFO] [stderr] Downloaded rustls v0.23.10 [INFO] [stderr] Downloaded rustls-webpki v0.102.5 [INFO] [stderr] Downloaded serde v1.0.203 [INFO] [stderr] Downloaded regex v1.10.5 [INFO] [stderr] Downloaded cc v1.0.104 [INFO] [stderr] Downloaded hidapi v2.6.1 [INFO] [stderr] Downloaded bech32 v0.11.0 [INFO] [stderr] Downloaded bitcoin v0.32.2 [INFO] [stderr] Downloaded prost-derive v0.13.1 [INFO] [stderr] Downloaded object v0.36.1 [INFO] [stderr] Downloaded prost-build v0.11.9 [INFO] [stderr] Downloaded http-body v1.0.0 [INFO] [stderr] Downloaded security-framework-sys v2.11.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.61 [INFO] [stderr] Downloaded enum-assoc v1.1.0 [INFO] [stderr] Downloaded base58ck v0.1.0 [INFO] [stderr] Downloaded bitcoin-internals v0.3.0 [INFO] [stderr] Downloaded bitcoin-io v0.1.2 [INFO] [stderr] Downloaded noise-protocol v0.2.0 [INFO] [stderr] Downloaded noise-rust-crypto v0.6.2 [INFO] [stderr] Downloaded security-framework v2.11.0 [INFO] [stderr] Downloaded prost v0.13.1 [INFO] [stderr] Downloaded syn v2.0.68 [INFO] [stderr] Downloaded miniscript v12.0.0 [INFO] [stderr] Downloaded bitcoinconsensus v0.106.0+26.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fcd67db184ae03e2417ab2931002bdce96010907e7d7ff88a2df161a9774580 [INFO] running `Command { std: "docker" "start" "-a" "5fcd67db184ae03e2417ab2931002bdce96010907e7d7ff88a2df161a9774580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fcd67db184ae03e2417ab2931002bdce96010907e7d7ff88a2df161a9774580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fcd67db184ae03e2417ab2931002bdce96010907e7d7ff88a2df161a9774580", kill_on_drop: false }` [INFO] [stdout] 5fcd67db184ae03e2417ab2931002bdce96010907e7d7ff88a2df161a9774580 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4471fca021b30582cd91f899059fdd10aed96641ebe7bb0654eb998ca3fa9215 [INFO] running `Command { std: "docker" "start" "-a" "4471fca021b30582cd91f899059fdd10aed96641ebe7bb0654eb998ca3fa9215", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling bitcoin-io v0.1.2 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling bitcoin v0.32.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling noise-protocol v0.2.0 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling secp256k1-sys v0.10.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling secp256k1 v0.29.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling prost-derive v0.13.1 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling noise-rust-crypto v0.6.2 [INFO] [stderr] Compiling prost v0.13.1 [INFO] [stderr] Compiling bitbox-api v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/lib.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 75 | impl BitBox { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 76 | async fn from( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `U2fHidCommunication` is never constructed [INFO] [stdout] --> src/communication.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct U2fHidCommunication { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/communication.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl U2fHidCommunication { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 46 | pub fn from(read_write: Box, cmd: u8) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HWW_INFO` is never used [INFO] [stdout] --> src/communication.rs:136:7 [INFO] [stdout] | [INFO] [stdout] 136 | const HWW_INFO: u8 = b'i'; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_info` is never used [INFO] [stdout] --> src/communication.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | async fn get_info(communication: &dyn ReadWrite) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/communication.rs:223:18 [INFO] [stdout] | [INFO] [stdout] 222 | impl HwwCommunication { [INFO] [stdout] | ------------------------------------ associated function in this implementation [INFO] [stdout] 223 | pub async fn from(communication: Box) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEADER_INIT_LEN` is never used [INFO] [stdout] --> src/u2fframing.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const HEADER_INIT_LEN: usize = 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEADER_CONT_LEN` is never used [INFO] [stdout] --> src/u2fframing.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const HEADER_CONT_LEN: usize = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_LEN` is never used [INFO] [stdout] --> src/u2fframing.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const MAX_LEN: usize = 129 * 64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `U2FFraming` is never used [INFO] [stdout] --> src/u2fframing.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait U2FFraming { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_header` is never used [INFO] [stdout] --> src/u2fframing.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn parse_header(buf: &[u8]) -> io::Result<(u32, u8, u16)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_header_init` is never used [INFO] [stdout] --> src/u2fframing.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn encode_header_init(cid: u32, cmd: u8, len: u16, mut buf: &mut [u8]) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_header_cont` is never used [INFO] [stdout] --> src/u2fframing.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn encode_header_cont(cid: u32, seq: u8, mut buf: &mut [u8]) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_cid` is never used [INFO] [stdout] --> src/u2fframing.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn generate_cid() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `U2fHid` is never constructed [INFO] [stdout] --> src/u2fframing.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct U2fHid { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `get_encoded_len` are never used [INFO] [stdout] --> src/u2fframing.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 162 | impl U2fHid { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 163 | pub fn new(cmd: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn get_encoded_len(len: u16) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.60s [INFO] running `Command { std: "docker" "inspect" "4471fca021b30582cd91f899059fdd10aed96641ebe7bb0654eb998ca3fa9215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4471fca021b30582cd91f899059fdd10aed96641ebe7bb0654eb998ca3fa9215", kill_on_drop: false }` [INFO] [stdout] 4471fca021b30582cd91f899059fdd10aed96641ebe7bb0654eb998ca3fa9215 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a94b17c430e3b043db9005a322b7483baee6859aad3816ac8dd001f1d04b2116 [INFO] running `Command { std: "docker" "start" "-a" "a94b17c430e3b043db9005a322b7483baee6859aad3816ac8dd001f1d04b2116", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tinyvec v1.6.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling bitcoinconsensus v0.106.0+26.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling prost v0.13.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling miniscript v12.0.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling noise-rust-crypto v0.6.2 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling bitbox-api v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling js-sys v0.3.69 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/lib.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 75 | impl BitBox { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 76 | async fn from( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `U2fHidCommunication` is never constructed [INFO] [stdout] --> src/communication.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct U2fHidCommunication { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/communication.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl U2fHidCommunication { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 46 | pub fn from(read_write: Box, cmd: u8) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HWW_INFO` is never used [INFO] [stdout] --> src/communication.rs:136:7 [INFO] [stdout] | [INFO] [stdout] 136 | const HWW_INFO: u8 = b'i'; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_info` is never used [INFO] [stdout] --> src/communication.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | async fn get_info(communication: &dyn ReadWrite) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/communication.rs:223:18 [INFO] [stdout] | [INFO] [stdout] 222 | impl HwwCommunication { [INFO] [stdout] | ------------------------------------ associated function in this implementation [INFO] [stdout] 223 | pub async fn from(communication: Box) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEADER_INIT_LEN` is never used [INFO] [stdout] --> src/u2fframing.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const HEADER_INIT_LEN: usize = 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEADER_CONT_LEN` is never used [INFO] [stdout] --> src/u2fframing.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const HEADER_CONT_LEN: usize = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_LEN` is never used [INFO] [stdout] --> src/u2fframing.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const MAX_LEN: usize = 129 * 64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `U2FFraming` is never used [INFO] [stdout] --> src/u2fframing.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait U2FFraming { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_header` is never used [INFO] [stdout] --> src/u2fframing.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn parse_header(buf: &[u8]) -> io::Result<(u32, u8, u16)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_header_init` is never used [INFO] [stdout] --> src/u2fframing.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn encode_header_init(cid: u32, cmd: u8, len: u16, mut buf: &mut [u8]) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_header_cont` is never used [INFO] [stdout] --> src/u2fframing.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn encode_header_cont(cid: u32, seq: u8, mut buf: &mut [u8]) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_cid` is never used [INFO] [stdout] --> src/u2fframing.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn generate_cid() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `U2fHid` is never constructed [INFO] [stdout] --> src/u2fframing.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct U2fHid { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `get_encoded_len` are never used [INFO] [stdout] --> src/u2fframing.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 162 | impl U2fHid { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 163 | pub fn new(cmd: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn get_encoded_len(len: u16) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.42 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.42 [INFO] [stderr] Compiling hyper v1.4.0 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/lib.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 75 | impl BitBox { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 76 | async fn from( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `U2fHidCommunication` is never constructed [INFO] [stdout] --> src/communication.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct U2fHidCommunication { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/communication.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl U2fHidCommunication { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 46 | pub fn from(read_write: Box, cmd: u8) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HWW_INFO` is never used [INFO] [stdout] --> src/communication.rs:136:7 [INFO] [stdout] | [INFO] [stdout] 136 | const HWW_INFO: u8 = b'i'; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_info` is never used [INFO] [stdout] --> src/communication.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | async fn get_info(communication: &dyn ReadWrite) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/communication.rs:223:18 [INFO] [stdout] | [INFO] [stdout] 222 | impl HwwCommunication { [INFO] [stdout] | ------------------------------------ associated function in this implementation [INFO] [stdout] 223 | pub async fn from(communication: Box) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_LEN` is never used [INFO] [stdout] --> src/u2fframing.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const MAX_LEN: usize = 129 * 64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "a94b17c430e3b043db9005a322b7483baee6859aad3816ac8dd001f1d04b2116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a94b17c430e3b043db9005a322b7483baee6859aad3816ac8dd001f1d04b2116", kill_on_drop: false }` [INFO] [stdout] a94b17c430e3b043db9005a322b7483baee6859aad3816ac8dd001f1d04b2116