[INFO] cloning repository https://github.com/junhuang-ho/bitcoin-wallet-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/junhuang-ho/bitcoin-wallet-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjunhuang-ho%2Fbitcoin-wallet-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjunhuang-ho%2Fbitcoin-wallet-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b27ef442cf09dbab1729ddb7140cf9523672ffde [INFO] building junhuang-ho/bitcoin-wallet-rust against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjunhuang-ho%2Fbitcoin-wallet-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/junhuang-ho/bitcoin-wallet-rust on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/junhuang-ho/bitcoin-wallet-rust [INFO] finished tweaking git repo https://github.com/junhuang-ho/bitcoin-wallet-rust [INFO] tweaked toml for git repo https://github.com/junhuang-ho/bitcoin-wallet-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/junhuang-ho/bitcoin-wallet-rust 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded electrum-client v0.12.1 [INFO] [stderr] Downloaded bdk-macros v0.6.0 [INFO] [stderr] Downloaded bdk v0.28.0 [INFO] [stderr] Downloaded miniscript v9.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ff41489d30c70abfd754ee251592e00c88907a75e2ce2ec4840361f3c90b2e4 [INFO] running `Command { std: "docker" "start" "-a" "2ff41489d30c70abfd754ee251592e00c88907a75e2ce2ec4840361f3c90b2e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ff41489d30c70abfd754ee251592e00c88907a75e2ce2ec4840361f3c90b2e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ff41489d30c70abfd754ee251592e00c88907a75e2ce2ec4840361f3c90b2e4", kill_on_drop: false }` [INFO] [stdout] 2ff41489d30c70abfd754ee251592e00c88907a75e2ce2ec4840361f3c90b2e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6022e8e1f4c3698d5d6a31e8cc82ecf0a83a3ee0dbb2db9e6fb4e0c150cba938 [INFO] running `Command { std: "docker" "start" "-a" "6022e8e1f4c3698d5d6a31e8cc82ecf0a83a3ee0dbb2db9e6fb4e0c150cba938", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.18 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling matchit v0.7.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bdk-macros v0.6.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Compiling axum-macros v0.3.7 [INFO] [stderr] Compiling pin-project v1.1.0 [INFO] [stderr] Compiling hyper v0.14.26 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling bitcoin_hashes v0.11.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.11 [INFO] [stderr] Compiling secp256k1 v0.24.3 [INFO] [stderr] Compiling bitcoin v0.29.2 [INFO] [stderr] Compiling electrum-client v0.12.1 [INFO] [stderr] Compiling miniscript v9.0.1 [INFO] [stderr] Compiling bdk v0.28.0 [INFO] [stderr] Compiling bitcoin-wallet-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/main.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{env, ffi::OsStr, net::SocketAddr, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance` [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let balance = wallet.get_balance(); [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: `address` [INFO] [stdout] --> src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let address = wallet.get_address(AddressIndex::New); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddressResponse` is never constructed [INFO] [stdout] --> src/main.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct AddressResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.62s [INFO] running `Command { std: "docker" "inspect" "6022e8e1f4c3698d5d6a31e8cc82ecf0a83a3ee0dbb2db9e6fb4e0c150cba938", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6022e8e1f4c3698d5d6a31e8cc82ecf0a83a3ee0dbb2db9e6fb4e0c150cba938", kill_on_drop: false }` [INFO] [stdout] 6022e8e1f4c3698d5d6a31e8cc82ecf0a83a3ee0dbb2db9e6fb4e0c150cba938 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5480fa97049eeca4ba98106741e4dac979bf4626f6652716a3135ab4820ab9b [INFO] running `Command { std: "docker" "start" "-a" "c5480fa97049eeca4ba98106741e4dac979bf4626f6652716a3135ab4820ab9b", kill_on_drop: false }` [INFO] [stderr] Compiling bitcoin-wallet-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/main.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{env, ffi::OsStr, net::SocketAddr, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance` [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let balance = wallet.get_balance(); [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: `address` [INFO] [stdout] --> src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let address = wallet.get_address(AddressIndex::New); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddressResponse` is never constructed [INFO] [stdout] --> src/main.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct AddressResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "c5480fa97049eeca4ba98106741e4dac979bf4626f6652716a3135ab4820ab9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5480fa97049eeca4ba98106741e4dac979bf4626f6652716a3135ab4820ab9b", kill_on_drop: false }` [INFO] [stdout] c5480fa97049eeca4ba98106741e4dac979bf4626f6652716a3135ab4820ab9b