[INFO] cloning repository https://github.com/senaxor/Bitcoin-Wallet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/senaxor/Bitcoin-Wallet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsenaxor%2FBitcoin-Wallet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsenaxor%2FBitcoin-Wallet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a95bedf363cf74e222ff849a55cfcd7402710b5 [INFO] testing senaxor/Bitcoin-Wallet against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsenaxor%2FBitcoin-Wallet" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/senaxor/Bitcoin-Wallet [INFO] finished tweaking git repo https://github.com/senaxor/Bitcoin-Wallet [INFO] tweaked toml for git repo https://github.com/senaxor/Bitcoin-Wallet written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/senaxor/Bitcoin-Wallet on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/senaxor/Bitcoin-Wallet 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustyline v10.1.1 [INFO] [stderr] Downloaded bitcoin v0.30.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d8b5f8be8b488e387acb84b5845635b1016c2515b07cd594504f81d94afc2c2 [INFO] running `Command { std: "docker" "start" "-a" "4d8b5f8be8b488e387acb84b5845635b1016c2515b07cd594504f81d94afc2c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d8b5f8be8b488e387acb84b5845635b1016c2515b07cd594504f81d94afc2c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d8b5f8be8b488e387acb84b5845635b1016c2515b07cd594504f81d94afc2c2", kill_on_drop: false }` [INFO] [stdout] 4d8b5f8be8b488e387acb84b5845635b1016c2515b07cd594504f81d94afc2c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc2bff5a4b4cb77fcbeb908cf6e2567d08eb5a4dfb70f85482d64ce55c3bd0aa [INFO] running `Command { std: "docker" "start" "-a" "bc2bff5a4b4cb77fcbeb908cf6e2567d08eb5a4dfb70f85482d64ce55c3bd0aa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling bitcoin v0.30.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling clap_builder v4.5.34 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling iana-time-zone v0.1.62 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling fd-lock v3.0.13 [INFO] [stderr] Compiling postgres-protocol v0.6.8 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling postgres-types v0.2.9 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling rustyline v10.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling clap v4.5.34 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling bitcoin_hashes v0.12.0 [INFO] [stderr] Compiling serde_with v2.3.3 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-socks v0.5.2 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling secp256k1 v0.27.0 [INFO] [stderr] Compiling bitcoin_wallet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/crypto.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{Result, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_socks::tcp::Socks5Stream` [INFO] [stdout] --> src/tor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio_socks::tcp::Socks5Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoin::Network` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use bitcoin::Network; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance` [INFO] [stdout] --> src/cli.rs:172:25 [INFO] [stdout] | [INFO] [stdout] 172 | let balance = db_client.query_one( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tweaked_pubkey` [INFO] [stdout] --> src/transaction.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | tweaked_pubkey: &TweakedPublicKey, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tweaked_pubkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `NetworkType` is more private than the item `Commands::Generate::network` [INFO] [stdout] --> src/cli.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | network: NetworkType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `Commands::Generate::network` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `NetworkType` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cli.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum NetworkType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tables` is never used [INFO] [stdout] --> src/db.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn create_tables(client: &Client) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_key` is never used [INFO] [stdout] --> src/crypto.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn decrypt_key(key: &[u8], ciphertext: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransactionBuilder` is never constructed [INFO] [stdout] --> src/transaction.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TransactionBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_transaction`, and `sign_taproot_transaction` are never used [INFO] [stdout] --> src/transaction.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl TransactionBuilder { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(network: bitcoin::Network) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn create_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn sign_taproot_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tor_connection` is never used [INFO] [stdout] --> src/tor.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn create_tor_connection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `broadcast_via_tor` is never used [INFO] [stdout] --> src/tor.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn broadcast_via_tor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.29s [INFO] running `Command { std: "docker" "inspect" "bc2bff5a4b4cb77fcbeb908cf6e2567d08eb5a4dfb70f85482d64ce55c3bd0aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc2bff5a4b4cb77fcbeb908cf6e2567d08eb5a4dfb70f85482d64ce55c3bd0aa", kill_on_drop: false }` [INFO] [stdout] bc2bff5a4b4cb77fcbeb908cf6e2567d08eb5a4dfb70f85482d64ce55c3bd0aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d24f025504b45e942428f4ecd34d8d8218556078c5c25444cd13a2d80d7b459 [INFO] running `Command { std: "docker" "start" "-a" "3d24f025504b45e942428f4ecd34d8d8218556078c5c25444cd13a2d80d7b459", kill_on_drop: false }` [INFO] [stderr] Compiling bitcoin_wallet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/crypto.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{Result, Context}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_socks::tcp::Socks5Stream` [INFO] [stdout] --> src/tor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio_socks::tcp::Socks5Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoin::Network` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use bitcoin::Network; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance` [INFO] [stdout] --> src/cli.rs:172:25 [INFO] [stdout] | [INFO] [stdout] 172 | let balance = db_client.query_one( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tweaked_pubkey` [INFO] [stdout] --> src/transaction.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | tweaked_pubkey: &TweakedPublicKey, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tweaked_pubkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `NetworkType` is more private than the item `Commands::Generate::network` [INFO] [stdout] --> src/cli.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | network: NetworkType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field `Commands::Generate::network` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `NetworkType` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cli.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum NetworkType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tables` is never used [INFO] [stdout] --> src/db.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn create_tables(client: &Client) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_key` is never used [INFO] [stdout] --> src/crypto.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn decrypt_key(key: &[u8], ciphertext: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransactionBuilder` is never constructed [INFO] [stdout] --> src/transaction.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TransactionBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_transaction`, and `sign_taproot_transaction` are never used [INFO] [stdout] --> src/transaction.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl TransactionBuilder { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(network: bitcoin::Network) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn create_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn sign_taproot_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tor_connection` is never used [INFO] [stdout] --> src/tor.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn create_tor_connection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `broadcast_via_tor` is never used [INFO] [stdout] --> src/tor.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn broadcast_via_tor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `Command { std: "docker" "inspect" "3d24f025504b45e942428f4ecd34d8d8218556078c5c25444cd13a2d80d7b459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d24f025504b45e942428f4ecd34d8d8218556078c5c25444cd13a2d80d7b459", kill_on_drop: false }` [INFO] [stdout] 3d24f025504b45e942428f4ecd34d8d8218556078c5c25444cd13a2d80d7b459 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5c68ae573fbb572f3202e3f2b6ab3aa0e1bb06eef40085954c64bac3bab435bf [INFO] running `Command { std: "docker" "start" "-a" "5c68ae573fbb572f3202e3f2b6ab3aa0e1bb06eef40085954c64bac3bab435bf", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> src/crypto.rs:2:22 [INFO] [stderr] | [INFO] [stderr] 2 | use anyhow::{Result, Context}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio_socks::tcp::Socks5Stream` [INFO] [stderr] --> src/tor.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use tokio_socks::tcp::Socks5Stream; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bitcoin::Network` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use bitcoin::Network; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `balance` [INFO] [stderr] --> src/cli.rs:172:25 [INFO] [stderr] | [INFO] [stderr] 172 | let balance = db_client.query_one( [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tweaked_pubkey` [INFO] [stderr] --> src/transaction.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 68 | tweaked_pubkey: &TweakedPublicKey, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tweaked_pubkey` [INFO] [stderr] [INFO] [stderr] warning: type `NetworkType` is more private than the item `Commands::Generate::network` [INFO] [stderr] --> src/cli.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | network: NetworkType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ field `Commands::Generate::network` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `NetworkType` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/cli.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | enum NetworkType { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `create_tables` is never used [INFO] [stderr] --> src/db.rs:28:14 [INFO] [stderr] | [INFO] [stderr] 28 | pub async fn create_tables(client: &Client) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `decrypt_key` is never used [INFO] [stderr] --> src/crypto.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn decrypt_key(key: &[u8], ciphertext: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TransactionBuilder` is never constructed [INFO] [stderr] --> src/transaction.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct TransactionBuilder { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `create_transaction`, and `sign_taproot_transaction` are never used [INFO] [stderr] --> src/transaction.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl TransactionBuilder { [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] 14 | pub fn new(network: bitcoin::Network) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 21 | pub fn create_transaction( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 63 | pub fn sign_taproot_transaction( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_tor_connection` is never used [INFO] [stderr] --> src/tor.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | pub async fn create_tor_connection( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `broadcast_via_tor` is never used [INFO] [stderr] --> src/tor.rs:13:14 [INFO] [stderr] | [INFO] [stderr] 13 | pub async fn broadcast_via_tor( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `bitcoin_wallet` (bin "bitcoin-wallet" test) generated 12 warnings (run `cargo fix --bin "bitcoin-wallet" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bitcoin_wallet-c88ef668e74b2e8e) [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" "5c68ae573fbb572f3202e3f2b6ab3aa0e1bb06eef40085954c64bac3bab435bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c68ae573fbb572f3202e3f2b6ab3aa0e1bb06eef40085954c64bac3bab435bf", kill_on_drop: false }` [INFO] [stdout] 5c68ae573fbb572f3202e3f2b6ab3aa0e1bb06eef40085954c64bac3bab435bf