[INFO] fetching crate bitbox-api 0.10.0... [INFO] checking bitbox-api-0.10.0 against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] extracting crate bitbox-api 0.10.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate bitbox-api 0.10.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate bitbox-api 0.10.0 [INFO] tweaked toml for crates.io crate bitbox-api 0.10.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bitbox-api 0.10.0 on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bitbox-api 0.10.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded noise-protocol v0.2.0 [INFO] [stderr] Downloaded noise-rust-crypto v0.6.2 [INFO] [stderr] Downloaded prost v0.13.1 [INFO] [stderr] Downloaded prettyplease v0.1.25 [INFO] [stderr] Downloaded bitcoin-internals v0.3.0 [INFO] [stderr] Downloaded base32 v0.4.0 [INFO] [stderr] Downloaded bitcoin-units v0.1.2 [INFO] [stderr] Downloaded prost-types v0.11.9 [INFO] [stderr] Downloaded enum-assoc v1.1.0 [INFO] [stderr] Downloaded hex-conservative v0.2.1 [INFO] [stderr] Downloaded bitcoin_hashes v0.14.0 [INFO] [stderr] Downloaded bech32 v0.11.0 [INFO] [stderr] Downloaded cc v1.0.104 [INFO] [stderr] Downloaded prost-derive v0.13.1 [INFO] [stderr] Downloaded hidapi v2.6.1 [INFO] [stderr] Downloaded base58ck v0.1.0 [INFO] [stderr] Downloaded bitcoin-io v0.1.2 [INFO] [stderr] Downloaded hex_lit v0.1.1 [INFO] [stderr] Downloaded prost-build v0.11.9 [INFO] [stderr] Downloaded object v0.36.1 [INFO] [stderr] Downloaded bitcoin v0.32.2 [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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1669aa0b1e16ea9377d9fc27693eb23d6d75733c4b7959b092efeeebd76dd50 [INFO] running `Command { std: "docker" "start" "-a" "e1669aa0b1e16ea9377d9fc27693eb23d6d75733c4b7959b092efeeebd76dd50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1669aa0b1e16ea9377d9fc27693eb23d6d75733c4b7959b092efeeebd76dd50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1669aa0b1e16ea9377d9fc27693eb23d6d75733c4b7959b092efeeebd76dd50", kill_on_drop: false }` [INFO] [stdout] e1669aa0b1e16ea9377d9fc27693eb23d6d75733c4b7959b092efeeebd76dd50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a3df737f1214f6e1456db5f33c625b4cb6ec029b4a6e6195bb2f5e248b73e1a [INFO] running `Command { std: "docker" "start" "-a" "5a3df737f1214f6e1456db5f33c625b4cb6ec029b4a6e6195bb2f5e248b73e1a", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Checking hex-conservative v0.2.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Checking bitcoin-io v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Compiling bitcoin v0.32.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking bech32 v0.11.0 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking noise-protocol v0.2.0 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking bitcoin-units v0.1.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking base58ck v0.1.0 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling secp256k1-sys v0.10.0 [INFO] [stderr] Compiling bitcoinconsensus v0.106.0+26.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Compiling prost-derive v0.13.1 [INFO] [stderr] Checking noise-rust-crypto v0.6.2 [INFO] [stderr] Checking wasm-bindgen v0.2.92 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking serde v1.0.203 [INFO] [stderr] Checking prost v0.13.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking secp256k1 v0.29.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.42 [INFO] [stderr] Checking wasm-bindgen-test v0.3.42 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.120 [INFO] [stderr] Checking hyper v1.4.0 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking miniscript v12.0.0 [INFO] [stderr] Checking bitbox-api v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking 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 `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] [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 `dev` profile [unoptimized + debuginfo] target(s) in 41.62s [INFO] running `Command { std: "docker" "inspect" "5a3df737f1214f6e1456db5f33c625b4cb6ec029b4a6e6195bb2f5e248b73e1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a3df737f1214f6e1456db5f33c625b4cb6ec029b4a6e6195bb2f5e248b73e1a", kill_on_drop: false }` [INFO] [stdout] 5a3df737f1214f6e1456db5f33c625b4cb6ec029b4a6e6195bb2f5e248b73e1a