[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] bc83a6ffadada5738310cb9ebfef6dba607c9645 [INFO] testing digitalbitbox/bitbox-api-rs against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdigitalbitbox%2Fbitbox-api-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-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] Downloading crates ... [INFO] [stderr] Downloaded prost v0.13.1 [INFO] [stderr] Downloaded bitcoin-io v0.1.2 [INFO] [stderr] Downloaded prost-derive v0.13.1 [INFO] [stderr] Downloaded noise-rust-crypto v0.6.2 [INFO] [stderr] Downloaded noise-protocol v0.2.0 [INFO] [stderr] Downloaded enum-assoc v1.1.0 [INFO] [stderr] Downloaded secp256k1 v0.29.0 [INFO] [stderr] Downloaded hidapi v2.6.1 [INFO] [stderr] Downloaded bitcoin v0.32.2 [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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c953b8ffc078a3f110cda5fa10bc0b7f5a0dddacd748d36befcf0cbdeec9a366 [INFO] running `Command { std: "docker" "start" "-a" "c953b8ffc078a3f110cda5fa10bc0b7f5a0dddacd748d36befcf0cbdeec9a366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c953b8ffc078a3f110cda5fa10bc0b7f5a0dddacd748d36befcf0cbdeec9a366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c953b8ffc078a3f110cda5fa10bc0b7f5a0dddacd748d36befcf0cbdeec9a366", kill_on_drop: false }` [INFO] [stdout] c953b8ffc078a3f110cda5fa10bc0b7f5a0dddacd748d36befcf0cbdeec9a366 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cd39d17e58e46a0a277c4afda0fb1301ca92139cc1163cf28b5477d9f45984d [INFO] running `Command { std: "docker" "start" "-a" "7cd39d17e58e46a0a277c4afda0fb1301ca92139cc1163cf28b5477d9f45984d", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling bitcoin-io v0.1.2 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bitcoin v0.32.2 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling serde_json v1.0.120 [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 hex-conservative v0.2.1 [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 bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling noise-protocol v0.2.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [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 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 secp256k1 v0.29.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling prost v0.13.1 [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 serde v1.0.203 [INFO] [stderr] Compiling bitbox-api v0.9.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 21.95s [INFO] running `Command { std: "docker" "inspect" "7cd39d17e58e46a0a277c4afda0fb1301ca92139cc1163cf28b5477d9f45984d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cd39d17e58e46a0a277c4afda0fb1301ca92139cc1163cf28b5477d9f45984d", kill_on_drop: false }` [INFO] [stdout] 7cd39d17e58e46a0a277c4afda0fb1301ca92139cc1163cf28b5477d9f45984d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 187af760fdedcbf3cabb62701880b8ef6d00c305a9e43576a173abe6d0c11d42 [INFO] running `Command { std: "docker" "start" "-a" "187af760fdedcbf3cabb62701880b8ef6d00c305a9e43576a173abe6d0c11d42", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling slab v0.4.9 [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 socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling indexmap v2.2.6 [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 getrandom v0.2.15 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bitcoinconsensus v0.106.0+26.0 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling prost v0.13.1 [INFO] [stderr] Compiling noise-rust-crypto v0.6.2 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling miniscript v12.0.0 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling bitbox-api v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling http-body-util v0.1.2 [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 js-sys v0.3.69 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [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 wasm-bindgen-test v0.3.42 [INFO] [stderr] Compiling h2 v0.4.5 [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 32.48s [INFO] running `Command { std: "docker" "inspect" "187af760fdedcbf3cabb62701880b8ef6d00c305a9e43576a173abe6d0c11d42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "187af760fdedcbf3cabb62701880b8ef6d00c305a9e43576a173abe6d0c11d42", kill_on_drop: false }` [INFO] [stdout] 187af760fdedcbf3cabb62701880b8ef6d00c305a9e43576a173abe6d0c11d42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 56ffd7419956a06bdc37b91f017085d2989c961517e636ac452d5f6907084d74 [INFO] running `Command { std: "docker" "start" "-a" "56ffd7419956a06bdc37b91f017085d2989c961517e636ac452d5f6907084d74", kill_on_drop: false }` [INFO] [stderr] warning: associated function `from` is never used [INFO] [stderr] --> src/lib.rs:76:14 [INFO] [stderr] | [INFO] [stderr] 75 | impl BitBox { [INFO] [stderr] | -------------------------- associated function in this implementation [INFO] [stderr] 76 | async fn from( [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `U2fHidCommunication` is never constructed [INFO] [stderr] --> src/communication.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 38 | pub struct U2fHidCommunication { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from` is never used [INFO] [stderr] --> src/communication.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 45 | impl U2fHidCommunication { [INFO] [stderr] | ------------------------ associated function in this implementation [INFO] [stderr] 46 | pub fn from(read_write: Box, cmd: u8) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `HWW_INFO` is never used [INFO] [stderr] --> src/communication.rs:136:7 [INFO] [stderr] | [INFO] [stderr] 136 | const HWW_INFO: u8 = b'i'; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_info` is never used [INFO] [stderr] --> src/communication.rs:175:10 [INFO] [stderr] | [INFO] [stderr] 175 | async fn get_info(communication: &dyn ReadWrite) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from` is never used [INFO] [stderr] --> src/communication.rs:223:18 [INFO] [stderr] | [INFO] [stderr] 222 | impl HwwCommunication { [INFO] [stderr] | ------------------------------------ associated function in this implementation [INFO] [stderr] 223 | pub async fn from(communication: Box) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `HEADER_INIT_LEN` is never used [INFO] [stderr] --> src/u2fframing.rs:21:7 [INFO] [stderr] | [INFO] [stderr] 21 | const HEADER_INIT_LEN: usize = 7; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `HEADER_CONT_LEN` is never used [INFO] [stderr] --> src/u2fframing.rs:22:7 [INFO] [stderr] | [INFO] [stderr] 22 | const HEADER_CONT_LEN: usize = 5; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MAX_LEN` is never used [INFO] [stderr] --> src/u2fframing.rs:31:11 [INFO] [stderr] | [INFO] [stderr] 31 | pub const MAX_LEN: usize = 129 * 64; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `U2FFraming` is never used [INFO] [stderr] --> src/u2fframing.rs:33:11 [INFO] [stderr] | [INFO] [stderr] 33 | pub trait U2FFraming { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_header` is never used [INFO] [stderr] --> src/u2fframing.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn parse_header(buf: &[u8]) -> io::Result<(u32, u8, u16)> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `encode_header_init` is never used [INFO] [stderr] --> src/u2fframing.rs:54:8 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn encode_header_init(cid: u32, cmd: u8, len: u16, mut buf: &mut [u8]) -> io::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `encode_header_cont` is never used [INFO] [stderr] --> src/u2fframing.rs:67:8 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn encode_header_cont(cid: u32, seq: u8, mut buf: &mut [u8]) -> io::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `generate_cid` is never used [INFO] [stderr] --> src/u2fframing.rs:80:8 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn generate_cid() -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `U2fHid` is never constructed [INFO] [stderr] --> src/u2fframing.rs:157:12 [INFO] [stderr] | [INFO] [stderr] 157 | pub struct U2fHid { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `new` and `get_encoded_len` are never used [INFO] [stderr] --> src/u2fframing.rs:163:12 [INFO] [stderr] | [INFO] [stderr] 162 | impl U2fHid { [INFO] [stderr] | ----------- associated functions in this implementation [INFO] [stderr] 163 | pub fn new(cmd: u8) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 175 | fn get_encoded_len(len: u16) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `bitbox-api` (lib) generated 16 warnings [INFO] [stderr] warning: `bitbox-api` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bitbox_api-637c557590b06c6e) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test antiklepto::tests::test_host_commit ... ok [INFO] [stdout] test btc::tests::test_payload_from_pkscript ... ok [INFO] [stdout] test u2fframing::tests::test_u2fhid_decode_single ... ok [INFO] [stdout] test eth::tests::test_encode_value ... ok [INFO] [stdout] test eth::tests::test_deserialize_eip713_message ... ok [INFO] [stdout] test eth::tests::test_eth_identify_case ... ok [INFO] [stdout] test btc::tests::test_transaction_from_psbt_p2wpkh ... ok [INFO] [stdout] test eth::tests::test_get_value ... ok [INFO] [stdout] test u2fframing::tests::test_u2fhid_encode_multi ... ok [INFO] [stdout] test u2fframing::tests::test_u2fhid_encode_single ... ok [INFO] [stdout] test keypath::tests::test_from_derivation_path ... ok [INFO] [stdout] test keypath::tests::test_parse_bip32_keypath ... ok [INFO] [stdout] test u2fframing::tests::test_u2fhid_decode_multi ... ok [INFO] [stdout] test util::tests::test_remove_leading_zeroes ... ok [INFO] [stdout] test eth::tests::test_parse_type ... ok [INFO] [stdout] test antiklepto::tests::test_tagged_sha256 ... ok [INFO] [stdout] test antiklepto::tests::test_verify_ecdsa ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/test_btc.rs (/opt/rustwide/target/debug/deps/test_btc-b6aba77b10c2de34) [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] [stderr] Running tests/test_btc_psbt.rs (/opt/rustwide/target/debug/deps/test_btc_psbt-019bc0d1adb3bb51) [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] [stderr] Running tests/test_cardano.rs (/opt/rustwide/target/debug/deps/test_cardano-eeea3ffbbc51e306) [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] [stderr] Running tests/test_device.rs (/opt/rustwide/target/debug/deps/test_device-90776033743c0f0f) [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] [stderr] Doc-tests bitbox_api [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" "56ffd7419956a06bdc37b91f017085d2989c961517e636ac452d5f6907084d74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56ffd7419956a06bdc37b91f017085d2989c961517e636ac452d5f6907084d74", kill_on_drop: false }` [INFO] [stdout] 56ffd7419956a06bdc37b91f017085d2989c961517e636ac452d5f6907084d74