[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] 7abaa32aafbea466f4330a8859b318ade4f536c1 [INFO] checking digitalbitbox/bitbox-api-rs/7abaa32aafbea466f4330a8859b318ade4f536c1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdigitalbitbox%2Fbitbox-api-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/digitalbitbox/bitbox-api-rs on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enum-assoc v1.1.0 [INFO] [stderr] Downloaded hex-conservative v0.2.1 [INFO] [stderr] Downloaded bitcoin-units v0.1.2 [INFO] [stderr] Downloaded hidapi v2.6.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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c03d82747e3c3ded37b40eb7b04664c6b06fa3bbb4989fd1e775db2c23dfc613 [INFO] running `Command { std: "docker" "start" "-a" "c03d82747e3c3ded37b40eb7b04664c6b06fa3bbb4989fd1e775db2c23dfc613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c03d82747e3c3ded37b40eb7b04664c6b06fa3bbb4989fd1e775db2c23dfc613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c03d82747e3c3ded37b40eb7b04664c6b06fa3bbb4989fd1e775db2c23dfc613", kill_on_drop: false }` [INFO] [stdout] c03d82747e3c3ded37b40eb7b04664c6b06fa3bbb4989fd1e775db2c23dfc613 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d20c726767df4879a62174e97d25818542c39b701720b06dc7fc75b1f19fde74 [INFO] running `Command { std: "docker" "start" "-a" "d20c726767df4879a62174e97d25818542c39b701720b06dc7fc75b1f19fde74", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking hex-conservative v0.2.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking bitcoin-io v0.1.2 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling secp256k1-sys v0.10.0 [INFO] [stderr] Checking bitcoin_hashes v0.14.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking tinyvec v1.6.1 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bitcoin v0.32.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking base58ck v0.1.0 [INFO] [stderr] Checking bitcoin-units v0.1.2 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking bech32 v0.11.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling bitcoinconsensus v0.106.0+26.0 [INFO] [stderr] Checking noise-protocol v0.2.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Checking secp256k1 v0.29.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling prost-derive v0.13.1 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking prost v0.13.1 [INFO] [stderr] Checking noise-rust-crypto v0.6.2 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking miniscript v12.0.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.5 [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 hyper v1.4.0 [INFO] [stderr] Checking bitbox-api v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/lib.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 74 | impl BitBox { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 75 | async fn from( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | 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:218:18 [INFO] [stdout] | [INFO] [stdout] 217 | impl HwwCommunication { [INFO] [stdout] | ------------------------------------ associated function in this implementation [INFO] [stdout] 218 | pub async fn from(communication: Box) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/lib.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 74 | impl BitBox { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 75 | async fn from( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | 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:218:18 [INFO] [stdout] | [INFO] [stdout] 217 | impl HwwCommunication { [INFO] [stdout] | ------------------------------------ associated function in this implementation [INFO] [stdout] 218 | pub async fn from(communication: Box) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "d20c726767df4879a62174e97d25818542c39b701720b06dc7fc75b1f19fde74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d20c726767df4879a62174e97d25818542c39b701720b06dc7fc75b1f19fde74", kill_on_drop: false }` [INFO] [stdout] d20c726767df4879a62174e97d25818542c39b701720b06dc7fc75b1f19fde74