[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] building nemolc/inscript against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnemolc%2Finscript" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nemolc/inscript on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 41ed9cc2890ca80213c712e9588e27eeb8913c644567d28a1ac4cf1dfb8a9400
[INFO] running `Command { std: "docker" "start" "-a" "41ed9cc2890ca80213c712e9588e27eeb8913c644567d28a1ac4cf1dfb8a9400", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "41ed9cc2890ca80213c712e9588e27eeb8913c644567d28a1ac4cf1dfb8a9400", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41ed9cc2890ca80213c712e9588e27eeb8913c644567d28a1ac4cf1dfb8a9400", kill_on_drop: false }`
[INFO] [stdout] 41ed9cc2890ca80213c712e9588e27eeb8913c644567d28a1ac4cf1dfb8a9400
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dcd17ac859824c0ef5c4e62c9f8d3da04642528282c9d9bfe1d607cd2c7856a7
[INFO] running `Command { std: "docker" "start" "-a" "dcd17ac859824c0ef5c4e62c9f8d3da04642528282c9d9bfe1d607cd2c7856a7", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling cc v1.1.18
[INFO] [stderr]    Compiling bytes v1.7.1
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]    Compiling hex_lit v0.1.1
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling bitcoin-internals v0.3.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling hex-conservative v0.2.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling bitcoin-io v0.1.2
[INFO] [stderr]    Compiling bitcoin-internals v0.2.0
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling secp256k1-sys v0.10.1
[INFO] [stderr]    Compiling secp256k1-sys v0.9.2
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling indexmap v2.5.0
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling minreq v2.12.0
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling hex-conservative v0.1.2
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling bitcoin v0.32.2
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling half v2.4.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling data-encoding v2.6.0
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling ipnet v2.10.0
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling bech32 v0.11.0
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling bitcoin v0.31.2
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling tokio v1.40.0
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling async-trait v0.1.82
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling serde_with_macros v3.9.0
[INFO] [stderr]    Compiling regex v1.10.6
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling resolv-conf v0.7.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling bech32 v0.10.0-beta
[INFO] [stderr]    Compiling anyhow v1.0.88
[INFO] [stderr]    Compiling clap_builder v4.5.17
[INFO] [stderr]    Compiling env_filter v0.1.2
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling env_logger v0.11.5
[INFO] [stderr]    Compiling clap v4.5.17
[INFO] [stderr]    Compiling argh_shared v0.1.12
[INFO] [stderr]    Compiling bitcoin_hashes v0.14.0
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling bitcoin-units v0.1.2
[INFO] [stderr]    Compiling bitcoin_hashes v0.13.0
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling hickory-proto v0.24.1
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling secp256k1 v0.29.1
[INFO] [stderr]    Compiling base58ck v0.1.0
[INFO] [stderr]    Compiling secp256k1 v0.28.2
[INFO] [stderr]    Compiling jsonrpc v0.18.0
[INFO] [stderr]    Compiling argh_derive v0.1.12
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling serde_with v3.9.0
[INFO] [stderr]    Compiling argh v0.1.12
[INFO] [stderr]    Compiling hickory-resolver v0.24.1
[INFO] [stderr]    Compiling hyper v0.14.30
[INFO] [stderr]    Compiling ord-rs v0.2.2 (https://github.com/bitfinity-network/ord-rs#ac49a3c7)
[INFO] [stderr]    Compiling hyper-rustls v0.24.2
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling bitcoincore-rpc-json v0.19.0
[INFO] [stderr]    Compiling bitcoincore-rpc v0.19.0
[INFO] [stderr]    Compiling 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: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]     = 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: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] 
[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]     = 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: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] 
[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: 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: 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]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[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] 
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 04s
[INFO] running `Command { std: "docker" "inspect" "dcd17ac859824c0ef5c4e62c9f8d3da04642528282c9d9bfe1d607cd2c7856a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dcd17ac859824c0ef5c4e62c9f8d3da04642528282c9d9bfe1d607cd2c7856a7", kill_on_drop: false }`
[INFO] [stdout] dcd17ac859824c0ef5c4e62c9f8d3da04642528282c9d9bfe1d607cd2c7856a7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 055ce7bf9988978e40d8b295d77185bd1d8bfcac33f48cd435e8d00b33fc874e
[INFO] running `Command { std: "docker" "start" "-a" "055ce7bf9988978e40d8b295d77185bd1d8bfcac33f48cd435e8d00b33fc874e", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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: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]     = 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: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] 
[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]     = note: `#[warn(unused_variables)]` (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: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: `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] 
[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: 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: 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]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[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] 
[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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.28s
[INFO] running `Command { std: "docker" "inspect" "055ce7bf9988978e40d8b295d77185bd1d8bfcac33f48cd435e8d00b33fc874e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "055ce7bf9988978e40d8b295d77185bd1d8bfcac33f48cd435e8d00b33fc874e", kill_on_drop: false }`
[INFO] [stdout] 055ce7bf9988978e40d8b295d77185bd1d8bfcac33f48cd435e8d00b33fc874e
