[INFO] cloning repository https://github.com/nemolc/inscript
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nemolc/inscript" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnemolc%2Finscript", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnemolc%2Finscript'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f37b3f7a19481080f1f16c6e1aa760bc50b45357
[INFO] checking nemolc/inscript against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnemolc%2Finscript" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/nemolc/inscript
[INFO] finished tweaking git repo https://github.com/nemolc/inscript
[INFO] tweaked toml for git repo https://github.com/nemolc/inscript written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nemolc/inscript on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nemolc/inscript 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/bitfinity-network/ord-rs`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bitcoin-io v0.1.2
[INFO] [stderr]   Downloaded serde_with_macros v3.9.0
[INFO] [stderr]   Downloaded hickory-resolver v0.24.1
[INFO] [stderr]   Downloaded minreq v2.12.0
[INFO] [stderr]   Downloaded hickory-proto v0.24.1
[INFO] [stderr]   Downloaded serde_with v3.9.0
[INFO] [stderr]   Downloaded bitcoin v0.32.2
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 56812fe342d194408f20647ebfc8353e601a350d255936676fb0bd66675a606b
[INFO] running `Command { std: "docker" "start" "-a" "56812fe342d194408f20647ebfc8353e601a350d255936676fb0bd66675a606b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "56812fe342d194408f20647ebfc8353e601a350d255936676fb0bd66675a606b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56812fe342d194408f20647ebfc8353e601a350d255936676fb0bd66675a606b", kill_on_drop: false }`
[INFO] [stdout] 56812fe342d194408f20647ebfc8353e601a350d255936676fb0bd66675a606b
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b215be0d8eb9d7abf3a28dabf84bf2732649e948e356b3facc51db2d9429123e
[INFO] running `Command { std: "docker" "start" "-a" "b215be0d8eb9d7abf3a28dabf84bf2732649e948e356b3facc51db2d9429123e", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]     Checking tokio v1.40.0
[INFO] [stderr]    Compiling hex_lit v0.1.1
[INFO] [stderr]    Compiling bitcoin-internals v0.3.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking hex-conservative v0.2.1
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling secp256k1-sys v0.10.1
[INFO] [stderr]    Compiling bitcoin-internals v0.2.0
[INFO] [stderr]     Checking bitcoin-io v0.1.2
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling secp256k1-sys v0.9.2
[INFO] [stderr]     Checking thiserror v1.0.63
[INFO] [stderr]    Compiling async-trait v0.1.82
[INFO] [stderr]     Checking hex-conservative v0.1.2
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling minreq v2.12.0
[INFO] [stderr]    Compiling bitcoin v0.32.2
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]     Checking hostname v0.3.1
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking half v2.4.1
[INFO] [stderr]    Compiling bitcoin v0.31.2
[INFO] [stderr]     Checking bech32 v0.11.0
[INFO] [stderr]     Checking tokio-util v0.7.12
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]     Checking hickory-proto v0.24.1
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking resolv-conf v0.7.0
[INFO] [stderr]    Compiling serde_with_macros v3.9.0
[INFO] [stderr]     Checking regex v1.10.6
[INFO] [stderr]     Checking bech32 v0.10.0-beta
[INFO] [stderr]    Compiling anyhow v1.0.88
[INFO] [stderr]     Checking clap_builder v4.5.17
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking env_filter v0.1.2
[INFO] [stderr]     Checking env_logger v0.11.5
[INFO] [stderr]     Checking serde_json v1.0.128
[INFO] [stderr]     Checking bitcoin_hashes v0.14.0
[INFO] [stderr]     Checking bitcoin-units v0.1.2
[INFO] [stderr]     Checking bitcoin_hashes v0.13.0
[INFO] [stderr]    Compiling argh_shared v0.1.12
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]    Compiling argh_derive v0.1.12
[INFO] [stderr]     Checking hickory-resolver v0.24.1
[INFO] [stderr]     Checking secp256k1 v0.29.1
[INFO] [stderr]     Checking base58ck v0.1.0
[INFO] [stderr]     Checking serde_with v3.9.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper v0.14.30
[INFO] [stderr]     Checking jsonrpc v0.18.0
[INFO] [stderr]     Checking secp256k1 v0.28.2
[INFO] [stderr]     Checking clap v4.5.17
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking argh v0.1.12
[INFO] [stderr]     Checking hyper-rustls v0.24.2
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking bitcoincore-rpc-json v0.19.0
[INFO] [stderr]     Checking ord-rs v0.2.2 (https://github.com/bitfinity-network/ord-rs#ac49a3c7)
[INFO] [stderr]     Checking bitcoincore-rpc v0.19.0
[INFO] [stderr]     Checking inscript v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `format`
[INFO] [stdout]  --> src/client.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fmt::{format, Debug, Display, Formatter};
[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: `std::os::unix::fs::chown`
[INFO] [stdout]  --> src/client.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::os::unix::fs::chown;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bitcoin::p2p::message::NetworkMessage::Tx`
[INFO] [stdout]   --> src/client.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use bitcoin::p2p::message::NetworkMessage::Tx;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bitcoincore_rpc::jsonrpc::minreq::head`
[INFO] [stdout]   --> src/client.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use bitcoincore_rpc::jsonrpc::minreq::head;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap::builder::Str`
[INFO] [stdout]   --> src/client.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use clap::builder::Str;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/client.rs:97:50
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub fn get_max_brc20_tx_fee(network: Network) -> (Brc20Fee) {
[INFO] [stdout]    |                                                  ^        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 97 - pub fn get_max_brc20_tx_fee(network: Network) -> (Brc20Fee) {
[INFO] [stdout] 97 + pub fn get_max_brc20_tx_fee(network: Network) -> Brc20Fee {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/client.rs:198:9
[INFO] [stdout]     |
[INFO] [stdout] 198 |         ;
[INFO] [stdout]     |         ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::anyhow`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use anyhow::anyhow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `argh::FromArgs`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use argh::FromArgs;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bitcoin::key::UntweakedPublicKey`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use bitcoin::key::UntweakedPublicKey;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MAX_COMMIT_FEE`, `MAX_REVEAL_FEE`, and `get_max_brc20_tx_fee`
[INFO] [stdout]   --> src/main.rs:21:37
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::client::{get_cur_tx_fee, get_max_brc20_tx_fee, RpcClient, Timeout, API_KEY, MAX_COMMIT_FEE, MAX_REVEAL_FEE};
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^                               ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ArgAction` and `arg`
[INFO] [stdout]   --> src/main.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | use clap::{arg, value_parser, Arg, ArgAction, ArgMatches, Command};
[INFO] [stdout]    |            ^^^                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::de::Unexpected::Str`
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use serde::de::Unexpected::Str;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `async_closure` has been stable since 1.85.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(async_closure)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(error_in_core)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/client.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 146 |         let mut result = reqwest::Client::new()
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/client.rs:188:13
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let mut result = reqwest::Client::new()
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `format`
[INFO] [stdout]  --> src/client.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fmt::{format, Debug, Display, Formatter};
[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: `std::os::unix::fs::chown`
[INFO] [stdout]  --> src/client.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::os::unix::fs::chown;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bitcoin::p2p::message::NetworkMessage::Tx`
[INFO] [stdout]   --> src/client.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use bitcoin::p2p::message::NetworkMessage::Tx;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bitcoincore_rpc::jsonrpc::minreq::head`
[INFO] [stdout]   --> src/client.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use bitcoincore_rpc::jsonrpc::minreq::head;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap::builder::Str`
[INFO] [stdout]   --> src/client.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use clap::builder::Str;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/client.rs:97:50
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub fn get_max_brc20_tx_fee(network: Network) -> (Brc20Fee) {
[INFO] [stdout]    |                                                  ^        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 97 - pub fn get_max_brc20_tx_fee(network: Network) -> (Brc20Fee) {
[INFO] [stdout] 97 + pub fn get_max_brc20_tx_fee(network: Network) -> Brc20Fee {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/client.rs:198:9
[INFO] [stdout]     |
[INFO] [stdout] 198 |         ;
[INFO] [stdout]     |         ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::anyhow`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use anyhow::anyhow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `argh::FromArgs`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use argh::FromArgs;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bitcoin::key::UntweakedPublicKey`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use bitcoin::key::UntweakedPublicKey;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MAX_COMMIT_FEE`, `MAX_REVEAL_FEE`, and `get_max_brc20_tx_fee`
[INFO] [stdout]   --> src/main.rs:21:37
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::client::{get_cur_tx_fee, get_max_brc20_tx_fee, RpcClient, Timeout, API_KEY, MAX_COMMIT_FEE, MAX_REVEAL_FEE};
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^                               ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ArgAction` and `arg`
[INFO] [stdout]   --> src/main.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | use clap::{arg, value_parser, Arg, ArgAction, ArgMatches, Command};
[INFO] [stdout]    |            ^^^                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::de::Unexpected::Str`
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use serde::de::Unexpected::Str;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `network`
[INFO] [stdout]   --> src/client.rs:97:29
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub fn get_max_brc20_tx_fee(network: Network) -> (Brc20Fee) {
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `network`
[INFO] [stdout]    --> src/client.rs:110:24
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn get_api_key(network: Network) -> String {
[INFO] [stdout]     |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `async_closure` has been stable since 1.85.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(async_closure)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `error_in_core` has been stable since 1.81.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(error_in_core)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/client.rs:334:13
[INFO] [stdout]     |
[INFO] [stdout] 334 |         let mut rt = tokio::runtime::Runtime::new().unwrap();
[INFO] [stdout]     |             ----^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/client.rs:349:13
[INFO] [stdout]     |
[INFO] [stdout] 349 |         let mut rt = tokio::runtime::Runtime::new().unwrap();
[INFO] [stdout]     |             ----^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `utxo`
[INFO] [stdout]    --> src/main.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let utxo = utxos.get(0).unwrap();
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_utxo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `MAX_COMMIT_FEE` is never used
[INFO] [stdout]   --> src/client.rs:23:16
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub static mut MAX_COMMIT_FEE: u64 = 0;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `MAX_REVEAL_FEE` is never used
[INFO] [stdout]   --> src/client.rs:24:16
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub static mut MAX_REVEAL_FEE: u64 = 0;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Brc20Fee` is never constructed
[INFO] [stdout]   --> src/client.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub struct Brc20Fee {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_max_brc20_tx_fee` is never used
[INFO] [stdout]   --> src/client.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub fn get_max_brc20_tx_fee(network: Network) -> (Brc20Fee) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `must` is never used
[INFO] [stdout]  --> src/util.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn must<F: Fn() -> Result<T>, T>(f: F) -> T {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 |     unsafe { API_KEY.set(api_key.to_string()); }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 69 |     unsafe { let _ = API_KEY.set(api_key.to_string()); }
[INFO] [stdout]    |              +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 |     unsafe { API_KEY.set(api_key.to_string()); }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `script_type` should have an upper case name
[INFO] [stdout]    --> src/main.rs:218:11
[INFO] [stdout]     |
[INFO] [stdout] 218 |     const script_type: &str = "p2tr";
[INFO] [stdout]     |           ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]     |
[INFO] [stdout] 218 -     const script_type: &str = "p2tr";
[INFO] [stdout] 218 +     const SCRIPT_TYPE: &str = "p2tr";
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oneBtc` should have a snake case name
[INFO] [stdout]    --> src/main.rs:225:9
[INFO] [stdout]     |
[INFO] [stdout] 225 |     let oneBtc = Amount::from_sat(2500);
[INFO] [stdout]     |         ^^^^^^ help: convert the identifier to snake case: `one_btc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/client.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 112 |             API_KEY.get().unwrap().to_string()
[INFO] [stdout]     |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/client.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 146 |         let mut result = reqwest::Client::new()
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/client.rs:188:13
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let mut result = reqwest::Client::new()
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `network`
[INFO] [stdout]   --> src/client.rs:97:29
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub fn get_max_brc20_tx_fee(network: Network) -> (Brc20Fee) {
[INFO] [stdout]    |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `network`
[INFO] [stdout]    --> src/client.rs:110:24
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn get_api_key(network: Network) -> String {
[INFO] [stdout]     |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `utxo`
[INFO] [stdout]    --> src/main.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let utxo = utxos.get(0).unwrap();
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_utxo`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `MAX_COMMIT_FEE` is never used
[INFO] [stdout]   --> src/client.rs:23:16
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub static mut MAX_COMMIT_FEE: u64 = 0;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `MAX_REVEAL_FEE` is never used
[INFO] [stdout]   --> src/client.rs:24:16
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub static mut MAX_REVEAL_FEE: u64 = 0;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Brc20Fee` is never constructed
[INFO] [stdout]   --> src/client.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub struct Brc20Fee {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_max_brc20_tx_fee` is never used
[INFO] [stdout]   --> src/client.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub fn get_max_brc20_tx_fee(network: Network) -> (Brc20Fee) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `must` is never used
[INFO] [stdout]  --> src/util.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn must<F: Fn() -> Result<T>, T>(f: F) -> T {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 |     unsafe { API_KEY.set(api_key.to_string()); }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 69 |     unsafe { let _ = API_KEY.set(api_key.to_string()); }
[INFO] [stdout]    |              +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 |     unsafe { API_KEY.set(api_key.to_string()); }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `script_type` should have an upper case name
[INFO] [stdout]    --> src/main.rs:218:11
[INFO] [stdout]     |
[INFO] [stdout] 218 |     const script_type: &str = "p2tr";
[INFO] [stdout]     |           ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]     |
[INFO] [stdout] 218 -     const script_type: &str = "p2tr";
[INFO] [stdout] 218 +     const SCRIPT_TYPE: &str = "p2tr";
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oneBtc` should have a snake case name
[INFO] [stdout]    --> src/main.rs:225:9
[INFO] [stdout]     |
[INFO] [stdout] 225 |     let oneBtc = Amount::from_sat(2500);
[INFO] [stdout]     |         ^^^^^^ help: convert the identifier to snake case: `one_btc`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/client.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 112 |             API_KEY.get().unwrap().to_string()
[INFO] [stdout]     |             ^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s
[INFO] running `Command { std: "docker" "inspect" "b215be0d8eb9d7abf3a28dabf84bf2732649e948e356b3facc51db2d9429123e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b215be0d8eb9d7abf3a28dabf84bf2732649e948e356b3facc51db2d9429123e", kill_on_drop: false }`
[INFO] [stdout] b215be0d8eb9d7abf3a28dabf84bf2732649e948e356b3facc51db2d9429123e
