[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#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdigitalbitbox%2Fbitbox-api-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/digitalbitbox/bitbox-api-rs on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.42 [INFO] [stderr] Downloaded rlp v0.5.2 [INFO] [stderr] Downloaded tinyvec v1.6.1 [INFO] [stderr] Downloaded prost-derive v0.11.9 [INFO] [stderr] Downloaded hex_lit v0.1.1 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Downloaded base58ck v0.1.0 [INFO] [stderr] Downloaded prettyplease v0.1.25 [INFO] [stderr] Downloaded enum-assoc v1.1.0 [INFO] [stderr] Downloaded bitcoin-internals v0.3.0 [INFO] [stderr] Downloaded prost-derive v0.13.1 [INFO] [stderr] Downloaded prost v0.11.9 [INFO] [stderr] Downloaded hidapi v2.6.1 [INFO] [stderr] Downloaded prost v0.13.1 [INFO] [stderr] Downloaded rustls v0.23.10 [INFO] [stderr] Downloaded bitcoin-units v0.1.2 [INFO] [stderr] Downloaded secp256k1 v0.29.0 [INFO] [stderr] Downloaded hex-conservative v0.2.1 [INFO] [stderr] Downloaded noise-protocol v0.2.0 [INFO] [stderr] Downloaded noise-rust-crypto v0.6.2 [INFO] [stderr] Downloaded rustls-webpki v0.102.5 [INFO] [stderr] Downloaded prost-types v0.11.9 [INFO] [stderr] Downloaded prost-build v0.11.9 [INFO] [stderr] Downloaded bech32 v0.11.0 [INFO] [stderr] Downloaded bitcoin v0.32.2 [INFO] [stderr] Downloaded security-framework v2.11.0 [INFO] [stderr] Downloaded cc v1.0.104 [INFO] [stderr] Downloaded bitcoin_hashes v0.14.0 [INFO] [stderr] Downloaded bitcoin-io v0.1.2 [INFO] [stderr] Downloaded security-framework-sys v2.11.0 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.6.5 [INFO] [stderr] Downloaded miniscript v12.0.0 [INFO] [stderr] Downloaded secp256k1-sys v0.10.0 [INFO] [stderr] Downloaded bitcoinconsensus v0.106.0+26.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15cae43780e5fbbccf0116f3003d110e07782c3d97b2360c39ee43948b12b9c8 [INFO] running `Command { std: "docker" "start" "-a" "15cae43780e5fbbccf0116f3003d110e07782c3d97b2360c39ee43948b12b9c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15cae43780e5fbbccf0116f3003d110e07782c3d97b2360c39ee43948b12b9c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15cae43780e5fbbccf0116f3003d110e07782c3d97b2360c39ee43948b12b9c8", kill_on_drop: false }` [INFO] [stdout] 15cae43780e5fbbccf0116f3003d110e07782c3d97b2360c39ee43948b12b9c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fd14ef59a4a7cfca83dc82895bbc0a90ffb477ead92a9ff8509ac50fd3a8fba [INFO] running `Command { std: "docker" "start" "-a" "2fd14ef59a4a7cfca83dc82895bbc0a90ffb477ead92a9ff8509ac50fd3a8fba", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling bitcoin-io v0.1.2 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling bitcoin v0.32.2 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling noise-protocol v0.2.0 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling secp256k1-sys v0.10.0 [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 prost-derive v0.13.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [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 aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling prost v0.13.1 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling noise-rust-crypto v0.6.2 [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 35.58s [INFO] running `Command { std: "docker" "inspect" "2fd14ef59a4a7cfca83dc82895bbc0a90ffb477ead92a9ff8509ac50fd3a8fba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fd14ef59a4a7cfca83dc82895bbc0a90ffb477ead92a9ff8509ac50fd3a8fba", kill_on_drop: false }` [INFO] [stdout] 2fd14ef59a4a7cfca83dc82895bbc0a90ffb477ead92a9ff8509ac50fd3a8fba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df49a62aa81fcf0fe61f07b6e0403496a5c10b0f21d0f9fc51e885e7b81c4bd0 [INFO] running `Command { std: "docker" "start" "-a" "df49a62aa81fcf0fe61f07b6e0403496a5c10b0f21d0f9fc51e885e7b81c4bd0", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling tinyvec v1.6.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling bitcoinconsensus v0.106.0+26.0 [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 miniscript v12.0.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling noise-rust-crypto v0.6.2 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling bitbox-api v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [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 tokio-native-tls v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.42 [INFO] [stderr] Compiling h2 v0.4.5 [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 52.70s [INFO] running `Command { std: "docker" "inspect" "df49a62aa81fcf0fe61f07b6e0403496a5c10b0f21d0f9fc51e885e7b81c4bd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df49a62aa81fcf0fe61f07b6e0403496a5c10b0f21d0f9fc51e885e7b81c4bd0", kill_on_drop: false }` [INFO] [stdout] df49a62aa81fcf0fe61f07b6e0403496a5c10b0f21d0f9fc51e885e7b81c4bd0