[INFO] fetching crate emerald-wallet-state 0.1.0...
[INFO] testing emerald-wallet-state-0.1.0 against beta-2025-09-21 for beta-1.91-3
[INFO] extracting crate emerald-wallet-state 0.1.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate emerald-wallet-state 0.1.0
[INFO] finished tweaking crates.io crate emerald-wallet-state 0.1.0
[INFO] tweaked toml for crates.io crate emerald-wallet-state 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate emerald-wallet-state 0.1.0 on toolchain beta-2025-09-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 183 packages to latest compatible versions
[INFO] [stderr]       Adding base64ct v1.0.1 (available: v1.8.0)
[INFO] [stderr]       Adding bitcoin v0.29.2 (available: v0.32.7)
[INFO] [stderr]       Adding emerald-vault v0.32.0 (available: v0.36.0)
[INFO] [stderr]       Adding protobuf v2.25.2 (available: v2.28.0)
[INFO] [stderr]       Adding subtle v2.4.1 (available: v2.6.1)
[INFO] [stderr]       Adding uuid v0.8.2 (available: v1.18.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 699b6f498637f92168a95a147aac4f0c58a08c3d8c602b62cd27f4ef9e8bc1d0
[INFO] running `Command { std: "docker" "start" "-a" "699b6f498637f92168a95a147aac4f0c58a08c3d8c602b62cd27f4ef9e8bc1d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "699b6f498637f92168a95a147aac4f0c58a08c3d8c602b62cd27f4ef9e8bc1d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "699b6f498637f92168a95a147aac4f0c58a08c3d8c602b62cd27f4ef9e8bc1d0", kill_on_drop: false }`
[INFO] [stdout] 699b6f498637f92168a95a147aac4f0c58a08c3d8c602b62cd27f4ef9e8bc1d0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d6cfe35769260806dcf525861aa111e22ed99e3d9a5a18bc892ec1be3a26df1a
[INFO] running `Command { std: "docker" "start" "-a" "d6cfe35769260806dcf525861aa111e22ed99e3d9a5a18bc892ec1be3a26df1a", kill_on_drop: false }`
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling bitcoin-io v0.1.3
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling bitcoin-internals v0.3.0
[INFO] [stderr]    Compiling secp256k1-sys v0.6.1
[INFO] [stderr]    Compiling hex-conservative v0.2.1
[INFO] [stderr]    Compiling secp256k1-sys v0.10.1
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling hidapi v1.5.0
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling num-bigint v0.3.3
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling hex_lit v0.1.1
[INFO] [stderr]    Compiling bitcoin_hashes v0.11.0
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling cipher v0.2.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling crypto-mac v0.9.1
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling base64ct v1.0.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling bitcoin v0.32.7
[INFO] [stderr]    Compiling bech32 v0.9.1
[INFO] [stderr]    Compiling password-hash v0.3.2
[INFO] [stderr]    Compiling bitcoin_hashes v0.14.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling bitcoin-units v0.1.2
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling bech32 v0.11.0
[INFO] [stderr]    Compiling emerald-hwkey v0.4.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling protobuf v2.25.2
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling deranged v0.5.4
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling tiny-keccak v1.5.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling ctr v0.6.0
[INFO] [stderr]    Compiling aes-soft v0.6.4
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling hmac v0.9.0
[INFO] [stderr]    Compiling pbkdf2 v0.5.0
[INFO] [stderr]    Compiling ripemd160 v0.9.1
[INFO] [stderr]    Compiling num-complex v0.3.1
[INFO] [stderr]    Compiling csv-core v0.1.12
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling keccak v0.1.5
[INFO] [stderr]    Compiling rustc-hex v1.0.0
[INFO] [stderr]    Compiling rustc-hex v2.1.0
[INFO] [stderr]    Compiling emerald-vault v0.32.0
[INFO] [stderr]    Compiling base58ck v0.1.0
[INFO] [stderr]    Compiling regex-automata v0.4.11
[INFO] [stderr]    Compiling rlp v0.5.2
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling byte-array-struct v0.2.0
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling scrypt v0.4.1
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling csv v1.3.1
[INFO] [stderr]    Compiling num v0.3.1
[INFO] [stderr]    Compiling pbkdf2 v0.10.1
[INFO] [stderr]    Compiling argon2 v0.3.4
[INFO] [stderr]    Compiling aes-ctr v0.6.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling zip v0.6.6
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling sled v0.34.7
[INFO] [stderr]    Compiling enum-display-derive v0.1.1
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling secp256k1 v0.29.1
[INFO] [stderr]    Compiling secp256k1 v0.24.3
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling bitcoin v0.29.2
[INFO] [stderr]    Compiling regex v1.11.3
[INFO] [stderr]    Compiling ethabi v2.0.1
[INFO] [stderr]    Compiling hdpath v0.6.3
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stdout] error[E0433]: failed to resolve: could not find `util` in `bitcoin`
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emerald-hwkey-0.4.0/src/ledger/traits.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use bitcoin::util::bip32::{ExtendedPubKey, Fingerprint, ChildNumber, ChainCode};
[INFO] [stdout]   |              ^^^^ could not find `util` in `bitcoin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `util` in `bitcoin`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emerald-hwkey-0.4.0/src/ledger/app_ethereum.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | use bitcoin::util::bip32::ChainCode;
[INFO] [stdout]    |              ^^^^ could not find `util` in `bitcoin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `util` in `bitcoin`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emerald-hwkey-0.4.0/src/ledger/app_bitcoin.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     util::psbt::serialize::Serialize
[INFO] [stdout]    |     ^^^^ could not find `util` in `bitcoin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `util` in `bitcoin`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emerald-hwkey-0.4.0/src/ledger/app_bitcoin.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 | use bitcoin::util::bip32::{ChainCode};
[INFO] [stdout]    |              ^^^^ could not find `util` in `bitcoin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bitcoin::SigHashType`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emerald-hwkey-0.4.0/src/ledger/app_bitcoin.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     SigHashType,
[INFO] [stdout]    |     ^^^^^^^^^^^ no `SigHashType` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emerald-hwkey-0.4.0/src/ledger/app_bitcoin.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |     redeem: Script,
[INFO] [stdout]     |             ^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `bitcoin::Script`, the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout] note: required because it appears within the type `bitcoin::Script`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-0.32.7/src/blockdata/script/borrowed.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub struct Script(pub(in crate::blockdata::script) [u8]);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout]     = note: only the last field of a struct may have a dynamically sized type
[INFO] [stdout]     = help: change the field's type to have a statically known size
[INFO] [stdout] help: borrowed types always have a statically known size
[INFO] [stdout]     |
[INFO] [stdout] 215 |     redeem: &Script,
[INFO] [stdout]     |             +
[INFO] [stdout] help: the `Box` type always has a statically known size and allocates its contents in the heap
[INFO] [stdout]     |
[INFO] [stdout] 215 |     redeem: Box<Script>,
[INFO] [stdout]     |             ++++      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emerald-hwkey-0.4.0/src/ledger/app_bitcoin.rs:245:64
[INFO] [stdout]     |
[INFO] [stdout] 245 |     fn witness_redeem(pubkey: &PublicKey, network: Network) -> Script {
[INFO] [stdout]     |                                                                ^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `bitcoin::Script`, the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout] note: required because it appears within the type `bitcoin::Script`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-0.32.7/src/blockdata/script/borrowed.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub struct Script(pub(in crate::blockdata::script) [u8]);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout]     = note: the return type of a function must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emerald-hwkey-0.4.0/src/ledger/app_bitcoin.rs:155:53
[INFO] [stdout]     |
[INFO] [stdout] 155 |             AddressType::Bench32 => Address::p2wpkh(&pubkey_comp, opts.network)
[INFO] [stdout]     |                                     --------------- ^^^^^^^^^^^^ expected `&CompressedPublicKey`, found `&PublicKey`
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&CompressedPublicKey`
[INFO] [stdout]                found reference `&bitcoin::PublicKey`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-0.32.7/src/address/mod.rs:431:12
[INFO] [stdout]     |
[INFO] [stdout] 431 |     pub fn p2wpkh(pk: &CompressedPublicKey, hrp: impl Into<KnownHrp>) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `map_err` found for struct `bitcoin::Address<V>` in the current scope
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emerald-hwkey-0.4.0/src/ledger/app_bitcoin.rs:156:18
[INFO] [stdout]     |
[INFO] [stdout] 155 |               AddressType::Bench32 => Address::p2wpkh(&pubkey_comp, opts.network)
[INFO] [stdout]     |  _____________________________________-
[INFO] [stdout] 156 | |                 .map_err(|_| HWKeyError::CryptoError("Invalid Pubkey".to_string()))?,
[INFO] [stdout]     | |                 -^^^^^^^ method not found in `bitcoin::Address`
[INFO] [stdout]     | |_________________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `serialize` found for struct `bitcoin::PublicKey` in the current scope
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emerald-hwkey-0.4.0/src/ledger/app_bitcoin.rs:160:53
[INFO] [stdout]     |
[INFO] [stdout] 160 |                     .push_slice(hash160(pubkey_comp.serialize().as_slice()).as_slice())
[INFO] [stdout]     |                                                     ^^^^^^^^^ method not found in `bitcoin::PublicKey`
[INFO] [stdout]     |
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 160 |                     .push_slice(hash160(pubkey_comp.inner.serialize().as_slice()).as_slice())
[INFO] [stdout]     |                                                     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `[u8]: AsRef<bitcoin::script::PushBytes>` is not satisfied
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emerald-hwkey-0.4.0/src/ledger/app_bitcoin.rs:160:33
[INFO] [stdout]     |
[INFO] [stdout] 160 |                     .push_slice(hash160(pubkey_comp.serialize().as_slice()).as_slice())
[INFO] [stdout]     |                      ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsRef<bitcoin::script::PushBytes>` is not implemented for `[u8]`
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `AsRef<T>`:
[INFO] [stdout]               `[T]` implements `AsRef<[T]>`
[INFO] [stdout]               `[u8; 0]` implements `AsRef<bitcoin::script::PushBytes>`
[INFO] [stdout]               `[u8; 1]` implements `AsRef<bitcoin::script::PushBytes>`
[INFO] [stdout]               `[u8; 2]` implements `AsRef<bitcoin::script::PushBytes>`
[INFO] [stdout]               `[u8; 3]` implements `AsRef<bitcoin::script::PushBytes>`
[INFO] [stdout]               `[u8; 4]` implements `AsRef<bitcoin::script::PushBytes>`
[INFO] [stdout]               `[u8; 5]` implements `AsRef<bitcoin::script::PushBytes>`
[INFO] [stdout]               `[u8; 6]` implements `AsRef<bitcoin::script::PushBytes>`
[INFO] [stdout]             and 71 others
[INFO] [stdout]     = note: required for `&[u8]` to implement `AsRef<bitcoin::script::PushBytes>`
[INFO] [stdout] note: required by a bound in `bitcoin::script::Builder::push_slice`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-0.32.7/src/blockdata/script/builder.rs:60:26
[INFO] [stdout]     |
[INFO] [stdout]  60 |     pub fn push_slice<T: AsRef<PushBytes>>(mut self, data: T) -> Builder {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^ required by this bound in `Builder::push_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `bitcoin::Script: Clone` is not satisfied
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emerald-hwkey-0.4.0/src/ledger/app_bitcoin.rs:215:5
[INFO] [stdout]     |
[INFO] [stdout] 210 | #[derive(Clone)]
[INFO] [stdout]     |          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 215 |     redeem: Script,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `bitcoin::Script`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emerald-hwkey-0.4.0/src/ledger/app_bitcoin.rs:215:5
[INFO] [stdout]     |
[INFO] [stdout] 210 | #[derive(Clone)]
[INFO] [stdout]     |          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 215 |     redeem: Script,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `bitcoin::Script`, the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout] note: required because it appears within the type `bitcoin::Script`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-0.32.7/src/blockdata/script/borrowed.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub struct Script(pub(in crate::blockdata::script) [u8]);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] note: required by a bound in `clone`
[INFO] [stdout]    --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/clone.rs:236:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emerald-hwkey-0.4.0/src/ledger/app_bitcoin.rs:246:39
[INFO] [stdout]     |
[INFO] [stdout] 246 |         let address = Address::p2wpkh(&PublicKey::from_slice(&pubkey.inner.serialize()).unwrap(), network).unwrap();
[INFO] [stdout]     |                       --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&CompressedPublicKey`, found `&PublicKey`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&CompressedPublicKey`
[INFO] [stdout]                found reference `&bitcoin::PublicKey`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-0.32.7/src/address/mod.rs:431:12
[INFO] [stdout]     |
[INFO] [stdout] 431 |     pub fn p2wpkh(pk: &CompressedPublicKey, hrp: impl Into<KnownHrp>) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `bitcoin::Address<V>` in the current scope
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emerald-hwkey-0.4.0/src/ledger/app_bitcoin.rs:246:108
[INFO] [stdout]     |
[INFO] [stdout] 246 |         let address = Address::p2wpkh(&PublicKey::from_slice(&pubkey.inner.serialize()).unwrap(), network).unwrap();
[INFO] [stdout]     |                                                                                                            ^^^^^^ method not found in `bitcoin::Address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_u32` found for enum `bitcoin::absolute::LockTime` in the current scope
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emerald-hwkey-0.4.0/src/ledger/app_bitcoin.rs:295:91
[INFO] [stdout]     |
[INFO] [stdout] 295 |             let mut signature = self.untrusted_hash_sign(&mut device, input, tx.lock_time.to_u32())?;
[INFO] [stdout]     |                                                                                           ^^^^^^ method not found in `bitcoin::absolute::LockTime`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_vec` found for struct `bitcoin::Witness` in the current scope
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emerald-hwkey-0.4.0/src/ledger/app_bitcoin.rs:298:44
[INFO] [stdout]     |
[INFO] [stdout] 298 |             tx.input[i].witness = Witness::from_vec(vec![
[INFO] [stdout]     |                                            ^^^^^^^^ function or associated item not found in `bitcoin::Witness`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `bitcoin::Witness` consider using one of the following associated functions:
[INFO] [stdout]       bitcoin::Witness::new
[INFO] [stdout]       bitcoin::Witness::p2wpkh
[INFO] [stdout]       bitcoin::Witness::p2tr_key_spend
[INFO] [stdout]       bitcoin::Witness::from_slice
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-0.32.7/src/blockdata/witness.rs:237:5
[INFO] [stdout]     |
[INFO] [stdout] 237 |     pub const fn new() -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 247 |     pub fn p2wpkh(signature: &ecdsa::Signature, pubkey: &secp256k1::PublicKey) -> Witness {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 255 |     pub fn p2tr_key_spend(signature: &taproot::Signature) -> Witness {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 262 |     pub fn from_slice<T: AsRef<[u8]>>(slice: &[T]) -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 298 -             tx.input[i].witness = Witness::from_vec(vec![
[INFO] [stdout] 298 +             tx.input[i].witness = Witness::from(vec![
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `serialize` found for struct `bitcoin::PublicKey` in the current scope
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emerald-hwkey-0.4.0/src/ledger/app_bitcoin.rs:299:62
[INFO] [stdout]     |
[INFO] [stdout] 299 |                 signature.clone(), input.from_address.pubkey.serialize().to_vec()
[INFO] [stdout]     |                                                              ^^^^^^^^^ method not found in `bitcoin::PublicKey`
[INFO] [stdout]     |
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]     |
[INFO] [stdout] 299 |                 signature.clone(), input.from_address.pubkey.inner.serialize().to_vec()
[INFO] [stdout]     |                                                              ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emerald-hwkey-0.4.0/src/ledger/app_bitcoin.rs:281:25
[INFO] [stdout]     |
[INFO] [stdout] 281 |                 redeem: BitcoinApp::witness_redeem(&address.pubkey, config.network)
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `bitcoin::Script`, the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout] note: required because it appears within the type `bitcoin::Script`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bitcoin-0.32.7/src/blockdata/script/borrowed.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | pub struct Script(pub(in crate::blockdata::script) [u8]);
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout]     = note: the return type of a function must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0605]: non-primitive cast: `bitcoin::transaction::Version` as `u32`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emerald-hwkey-0.4.0/src/ledger/app_bitcoin.rs:311:40
[INFO] [stdout]     |
[INFO] [stdout] 311 |         data.write_u32::<LittleEndian>(tx.version as u32)
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/emerald-hwkey-0.4.0/src/ledger/app_bitcoin.rs:400:44
[INFO] [stdout]      |
[INFO] [stdout]  400 |             data.write_u64::<LittleEndian>(output.value)
[INFO] [stdout]      |                  ------------------------- ^^^^^^^^^^^^ expected `u64`, found `Amount`
[INFO] [stdout]      |                  |
[INFO] [stdout]      |                  arguments to this method are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/byteorder-1.5.0/src/io.rs:1367:8
[INFO] [stdout]      |
[INFO] [stdout] 1367 |     fn write_u64<T: ByteOrder>(&mut self, n: u64) -> Result<()> {
[INFO] [stdout]      |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0433, E0599, E0605.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `emerald-hwkey` (lib) due to 21 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "d6cfe35769260806dcf525861aa111e22ed99e3d9a5a18bc892ec1be3a26df1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6cfe35769260806dcf525861aa111e22ed99e3d9a5a18bc892ec1be3a26df1a", kill_on_drop: false }`
[INFO] [stdout] d6cfe35769260806dcf525861aa111e22ed99e3d9a5a18bc892ec1be3a26df1a
