[INFO] cloning repository https://github.com/0xfinetuned/dex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xfinetuned/dex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xfinetuned%2Fdex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xfinetuned%2Fdex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2157b0889d605d7e4ec36623cd8a159568976ac [INFO] testing 0xfinetuned/dex against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xfinetuned%2Fdex" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/0xfinetuned/dex [INFO] finished tweaking git repo https://github.com/0xfinetuned/dex [INFO] tweaked toml for git repo https://github.com/0xfinetuned/dex written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/0xfinetuned/dex on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/0xfinetuned/dex 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/Arch-Network/bitcoin-arch.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v1.0.59 [INFO] [stderr] Downloaded hex-conservative v0.1.1 [INFO] [stderr] Downloaded thiserror-impl v1.0.59 [INFO] [stderr] Downloaded bitcoincore-rpc v0.18.0 [INFO] [stderr] Downloaded bitcoincore-rpc-json v0.18.0 [INFO] [stderr] Downloaded serde_derive v1.0.199 [INFO] [stderr] Downloaded jsonrpc v0.14.1 [INFO] [stderr] Downloaded cc v1.0.96 [INFO] [stderr] Downloaded ordinals v0.0.6 [INFO] [stderr] Downloaded hashes v0.1.9 [INFO] [stderr] Downloaded serde v1.0.199 [INFO] [stderr] Downloaded bitcoin v0.30.2 [INFO] [stderr] Downloaded libc v0.2.154 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e38621905ae6f9423bd6a25599851a3244afdf4ac64f882951d566bef30ad0c [INFO] running `Command { std: "docker" "start" "-a" "5e38621905ae6f9423bd6a25599851a3244afdf4ac64f882951d566bef30ad0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e38621905ae6f9423bd6a25599851a3244afdf4ac64f882951d566bef30ad0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e38621905ae6f9423bd6a25599851a3244afdf4ac64f882951d566bef30ad0c", kill_on_drop: false }` [INFO] [stdout] 5e38621905ae6f9423bd6a25599851a3244afdf4ac64f882951d566bef30ad0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b69365e046acacd168f2c22c10d5b5a2ed18ab8815bb873b50abe238153dd82c [INFO] running `Command { std: "docker" "start" "-a" "b69365e046acacd168f2c22c10d5b5a2ed18ab8815bb873b50abe238153dd82c", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling hex-conservative v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling borsh v1.5.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling bitcoin v0.31.2 [INFO] [stderr] Compiling bitcoin_hashes v0.12.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling bech32 v0.10.0-beta [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling bitcoin v0.30.2 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling opcodes v0.1.0 (https://github.com/Arch-Network/bitcoin-arch.git#b33f165c) [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling hashes v0.1.9 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling secp256k1 v0.27.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling borsh-derive v1.5.0 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling sha256 v1.5.0 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_with v3.8.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling jsonrpc v0.14.1 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling base58 v0.1.0 (https://github.com/Arch-Network/bitcoin-arch.git#b33f165c) [INFO] [stderr] Compiling bitcoin-arch v0.1.0 (https://github.com/Arch-Network/bitcoin-arch.git#b33f165c) [INFO] [stderr] Compiling ordinals v0.0.6 [INFO] [stderr] Compiling runes v0.1.0 (/opt/rustwide/workdir/runes) [INFO] [stdout] warning: associated constant `STEPS` is never used [INFO] [stdout] --> runes/src/rune.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 13 | impl Rune { [INFO] [stdout] | --------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | const STEPS: &'static [u128] = &[ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling bitcoincore-rpc-json v0.18.0 [INFO] [stderr] Compiling bitcoincore-rpc v0.18.0 [INFO] [stderr] Compiling dex-tests v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `json::AddressType` [INFO] [stdout] --> src/main.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use bitcoincore_rpc::{json::AddressType, Auth, Client, RawTx, RpcApi}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `p2p::address` [INFO] [stdout] --> src/main.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | }, opcodes::all::OP_RETURN, p2p::address, secp256k1::{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Terms` [INFO] [stdout] --> src/main.rs:21:57 [INFO] [stdout] | [INFO] [stdout] 21 | use ordinals::{Edict, Etching, Rune, RuneId, Runestone, Terms}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/main.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | let address = Address::p2tr(&secp, publickey, None, bitcoin::Network::Regtest); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keypair` [INFO] [stdout] --> src/main.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | let (keypair, publickey, address) = get_trader(trader_id); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keypair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `publickey` [INFO] [stdout] --> src/main.rs:172:23 [INFO] [stdout] | [INFO] [stdout] 172 | let (keypair, publickey, address) = get_trader(trader_id); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_publickey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpc` [INFO] [stdout] --> src/main.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | let rpc = Client::new("https://bitcoin-node.dev.aws.archnetwork.xyz:18443/wallet/testwallet", [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `airdropped_rune_tx` [INFO] [stdout] --> src/main.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | let airdropped_rune_tx = airdrop_runes(send_premine_tx()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_airdropped_rune_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_transaction_test` is never used [INFO] [stdout] --> src/main.rs:428:4 [INFO] [stdout] | [INFO] [stdout] 428 | fn send_transaction_test(program_id: Pubkey, txid: String, vout: u32, fee_txid: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_best_block` is never used [INFO] [stdout] --> src/main.rs:561:4 [INFO] [stdout] | [INFO] [stdout] 561 | fn get_best_block() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_address_utxos` is never used [INFO] [stdout] --> src/main.rs:790:4 [INFO] [stdout] | [INFO] [stdout] 790 | fn get_address_utxos(rpc: &Client, address: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "b69365e046acacd168f2c22c10d5b5a2ed18ab8815bb873b50abe238153dd82c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b69365e046acacd168f2c22c10d5b5a2ed18ab8815bb873b50abe238153dd82c", kill_on_drop: false }` [INFO] [stdout] b69365e046acacd168f2c22c10d5b5a2ed18ab8815bb873b50abe238153dd82c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf2feb115a3808ce0c906ea6949c480414320d5706d32690338c6215c0cb8a52 [INFO] running `Command { std: "docker" "start" "-a" "bf2feb115a3808ce0c906ea6949c480414320d5706d32690338c6215c0cb8a52", kill_on_drop: false }` [INFO] [stderr] Compiling dex-tests v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated constant `STEPS` is never used [INFO] [stdout] --> runes/src/rune.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 13 | impl Rune { [INFO] [stdout] | --------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | const STEPS: &'static [u128] = &[ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json::AddressType` [INFO] [stdout] --> src/main.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use bitcoincore_rpc::{json::AddressType, Auth, Client, RawTx, RpcApi}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `p2p::address` [INFO] [stdout] --> src/main.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | }, opcodes::all::OP_RETURN, p2p::address, secp256k1::{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Terms` [INFO] [stdout] --> src/main.rs:21:57 [INFO] [stdout] | [INFO] [stdout] 21 | use ordinals::{Edict, Etching, Rune, RuneId, Runestone, Terms}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/main.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | let address = Address::p2tr(&secp, publickey, None, bitcoin::Network::Regtest); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keypair` [INFO] [stdout] --> src/main.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | let (keypair, publickey, address) = get_trader(trader_id); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keypair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `publickey` [INFO] [stdout] --> src/main.rs:172:23 [INFO] [stdout] | [INFO] [stdout] 172 | let (keypair, publickey, address) = get_trader(trader_id); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_publickey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpc` [INFO] [stdout] --> src/main.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | let rpc = Client::new("https://bitcoin-node.dev.aws.archnetwork.xyz:18443/wallet/testwallet", [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rpc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `airdropped_rune_tx` [INFO] [stdout] --> src/main.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | let airdropped_rune_tx = airdrop_runes(send_premine_tx()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_airdropped_rune_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_transaction_test` is never used [INFO] [stdout] --> src/main.rs:428:4 [INFO] [stdout] | [INFO] [stdout] 428 | fn send_transaction_test(program_id: Pubkey, txid: String, vout: u32, fee_txid: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_best_block` is never used [INFO] [stdout] --> src/main.rs:561:4 [INFO] [stdout] | [INFO] [stdout] 561 | fn get_best_block() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_address_utxos` is never used [INFO] [stdout] --> src/main.rs:790:4 [INFO] [stdout] | [INFO] [stdout] 790 | fn get_address_utxos(rpc: &Client, address: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.79s [INFO] running `Command { std: "docker" "inspect" "bf2feb115a3808ce0c906ea6949c480414320d5706d32690338c6215c0cb8a52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf2feb115a3808ce0c906ea6949c480414320d5706d32690338c6215c0cb8a52", kill_on_drop: false }` [INFO] [stdout] bf2feb115a3808ce0c906ea6949c480414320d5706d32690338c6215c0cb8a52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 956ef96ae7183f10fe218019569d9a713613e5600d1edeaee58e1e1af8d4cebf [INFO] running `Command { std: "docker" "start" "-a" "956ef96ae7183f10fe218019569d9a713613e5600d1edeaee58e1e1af8d4cebf", kill_on_drop: false }` [INFO] [stderr] warning: associated constant `STEPS` is never used [INFO] [stderr] --> runes/src/rune.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 13 | impl Rune { [INFO] [stderr] | --------- associated constant in this implementation [INFO] [stderr] ... [INFO] [stderr] 16 | const STEPS: &'static [u128] = &[ [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `runes` (lib) generated 1 warning [INFO] [stderr] warning: unused import: `json::AddressType` [INFO] [stderr] --> src/main.rs:1:23 [INFO] [stderr] | [INFO] [stderr] 1 | use bitcoincore_rpc::{json::AddressType, Auth, Client, RawTx, RpcApi}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `p2p::address` [INFO] [stderr] --> src/main.rs:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | }, opcodes::all::OP_RETURN, p2p::address, secp256k1::{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Terms` [INFO] [stderr] --> src/main.rs:21:57 [INFO] [stderr] | [INFO] [stderr] 21 | use ordinals::{Edict, Etching, Rune, RuneId, Runestone, Terms}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `address` [INFO] [stderr] --> src/main.rs:156:9 [INFO] [stderr] | [INFO] [stderr] 156 | let address = Address::p2tr(&secp, publickey, None, bitcoin::Network::Regtest); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `keypair` [INFO] [stderr] --> src/main.rs:172:14 [INFO] [stderr] | [INFO] [stderr] 172 | let (keypair, publickey, address) = get_trader(trader_id); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keypair` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `publickey` [INFO] [stderr] --> src/main.rs:172:23 [INFO] [stderr] | [INFO] [stderr] 172 | let (keypair, publickey, address) = get_trader(trader_id); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_publickey` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rpc` [INFO] [stderr] --> src/main.rs:337:9 [INFO] [stderr] | [INFO] [stderr] 337 | let rpc = Client::new("https://bitcoin-node.dev.aws.archnetwork.xyz:18443/wallet/testwallet", [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rpc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `airdropped_rune_tx` [INFO] [stderr] --> src/main.rs:341:9 [INFO] [stderr] | [INFO] [stderr] 341 | let airdropped_rune_tx = airdrop_runes(send_premine_tx()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_airdropped_rune_tx` [INFO] [stderr] [INFO] [stderr] warning: function `send_transaction_test` is never used [INFO] [stderr] --> src/main.rs:428:4 [INFO] [stderr] | [INFO] [stderr] 428 | fn send_transaction_test(program_id: Pubkey, txid: String, vout: u32, fee_txid: String) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_best_block` is never used [INFO] [stderr] --> src/main.rs:561:4 [INFO] [stderr] | [INFO] [stderr] 561 | fn get_best_block() { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_address_utxos` is never used [INFO] [stderr] --> src/main.rs:790:4 [INFO] [stderr] | [INFO] [stderr] 790 | fn get_address_utxos(rpc: &Client, address: String) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `dex-tests` (bin "dex-tests" test) generated 11 warnings (run `cargo fix --bin "dex-tests" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dex_tests-3df037ea1f63fb67) [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" "956ef96ae7183f10fe218019569d9a713613e5600d1edeaee58e1e1af8d4cebf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "956ef96ae7183f10fe218019569d9a713613e5600d1edeaee58e1e1af8d4cebf", kill_on_drop: false }` [INFO] [stdout] 956ef96ae7183f10fe218019569d9a713613e5600d1edeaee58e1e1af8d4cebf