[INFO] cloning repository https://github.com/SurajNaidu0/bitcoin_order_protocol [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SurajNaidu0/bitcoin_order_protocol" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSurajNaidu0%2Fbitcoin_order_protocol", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSurajNaidu0%2Fbitcoin_order_protocol'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c937530b53bda4d304e08cbdeee1714cf46fad4 [INFO] checking SurajNaidu0/bitcoin_order_protocol against try#47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 for pr-149058 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSurajNaidu0%2Fbitcoin_order_protocol" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SurajNaidu0/bitcoin_order_protocol [INFO] finished tweaking git repo https://github.com/SurajNaidu0/bitcoin_order_protocol [INFO] tweaked toml for git repo https://github.com/SurajNaidu0/bitcoin_order_protocol written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SurajNaidu0/bitcoin_order_protocol on toolchain 47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SurajNaidu0/bitcoin_order_protocol 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" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-cdk-macros v0.18.0 [INFO] [stderr] Downloaded ic-error-types v0.1.0 [INFO] [stderr] Downloaded ic-management-canister-types v0.3.0 [INFO] [stderr] Downloaded pretty v0.12.1 [INFO] [stderr] Downloaded base58ck v0.1.0 [INFO] [stderr] Downloaded bitcoin-io v0.1.3 [INFO] [stderr] Downloaded bitcoin-internals v0.3.0 [INFO] [stderr] Downloaded candid v0.10.13 [INFO] [stderr] Downloaded bitcoin-units v0.1.2 [INFO] [stderr] Downloaded bitcoin_hashes v0.14.0 [INFO] [stderr] Downloaded hex-conservative v0.2.1 [INFO] [stderr] Downloaded bech32 v0.11.0 [INFO] [stderr] Downloaded secp256k1 v0.29.1 [INFO] [stderr] Downloaded ic-cdk v0.18.0 [INFO] [stderr] Downloaded bitcoin v0.32.5 [INFO] [stderr] Downloaded secp256k1-sys v0.10.1 [INFO] [stderr] Downloaded ic0 v0.24.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63a90c95b66b6e4fbac344ad12f9e710eb25a3e0df8c0bd192d8387dc9c00c1c [INFO] running `Command { std: "docker" "start" "-a" "63a90c95b66b6e4fbac344ad12f9e710eb25a3e0df8c0bd192d8387dc9c00c1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63a90c95b66b6e4fbac344ad12f9e710eb25a3e0df8c0bd192d8387dc9c00c1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63a90c95b66b6e4fbac344ad12f9e710eb25a3e0df8c0bd192d8387dc9c00c1c", kill_on_drop: false }` [INFO] [stdout] 63a90c95b66b6e4fbac344ad12f9e710eb25a3e0df8c0bd192d8387dc9c00c1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c7b6a71c9e007ac2fe7254b3fe90bfa334e656a827c73487e4f9bf84a24701b [INFO] running `Command { std: "docker" "start" "-a" "6c7b6a71c9e007ac2fe7254b3fe90bfa334e656a827c73487e4f9bf84a24701b", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling thiserror v1.0.45 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.73 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Checking hex-conservative v0.2.1 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Compiling pretty v0.12.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking bitcoin_hashes v0.14.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Compiling bitcoin v0.32.5 [INFO] [stderr] Checking bitcoin-units v0.1.2 [INFO] [stderr] Checking bech32 v0.11.0 [INFO] [stderr] Checking ic0 v0.24.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking base58ck v0.1.0 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Checking secp256k1 v0.29.1 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.45 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking ic-error-types v0.1.0 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Checking candid v0.10.13 [INFO] [stderr] Checking ic-management-canister-types v0.3.0 [INFO] [stderr] Compiling ic-cdk-macros v0.18.0 [INFO] [stderr] Checking ic-cdk v0.18.0 [INFO] [stderr] Checking basic_bitcoin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `build_brc20_reveal_script` is never used [INFO] [stdout] --> src/brc20.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn build_brc20_reveal_script(internal_key: &XOnlyPublicKey, brc20_json: &str) -> ScriptBuf { [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 `select_one_utxo` is never used [INFO] [stdout] --> src/common.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn select_one_utxo(own_utxos: &[Utxo], amount: u64, fee: u64) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OpReturn` is never constructed [INFO] [stdout] --> src/common.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub enum PrimaryOutput { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 78 | OpReturn(ScriptBuf), // script already starts with OP_RETURN [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `P2PKH` and `P2TR` are never constructed [INFO] [stdout] --> src/common.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub enum Purpose { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 219 | P2PKH, // BIP-44 [INFO] [stdout] | ^^^^^ [INFO] [stdout] 220 | P2WPKH, // BIP-84 [INFO] [stdout] 221 | P2TR, // BIP-86 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `p2pkh` and `p2tr` are never used [INFO] [stdout] --> src/common.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 265 | impl DerivationPath { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn p2pkh(account: u32, address_index: u32) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn p2tr(account: u32, address_index: u32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCHNORR_SIGNATURE_PLACEHOLDER` is never used [INFO] [stdout] --> src/ordinals.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const SCHNORR_SIGNATURE_PLACEHOLDER: [u8; 64] = [0u8; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSCRIPTION_OUTPUT_VALUE` is never used [INFO] [stdout] --> src/ordinals.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const INSCRIPTION_OUTPUT_VALUE: u64 = 15_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_reveal_transaction` is never used [INFO] [stdout] --> src/ordinals.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) async fn build_reveal_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_reveal_transaction_with_fee` is never used [INFO] [stdout] --> src/ordinals.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn build_reveal_transaction_with_fee( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_ordinal_reveal_script` is never used [INFO] [stdout] --> src/ordinals.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn build_ordinal_reveal_script( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_script_path_witness` is never used [INFO] [stdout] --> src/ordinals.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | pub async fn create_script_path_witness( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_transaction` is never used [INFO] [stdout] --> src/p2pkh.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn build_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_transaction` is never used [INFO] [stdout] --> src/p2pkh.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | pub async fn sign_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_taproot_spend_info` is never used [INFO] [stdout] --> src/p2tr.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn create_taproot_spend_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_spend_script` is never used [INFO] [stdout] --> src/p2tr.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn create_spend_script(script_key_bytes: &[u8]) -> ScriptBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SelectUtxosMode` is never used [INFO] [stdout] --> src/p2tr.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | pub enum SelectUtxosMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_transaction` is never used [INFO] [stdout] --> src/p2tr.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) async fn build_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_transaction_script_spend` is never used [INFO] [stdout] --> src/p2tr.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | pub async fn sign_transaction_script_spend( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_transaction_key_spend` is never used [INFO] [stdout] --> src/p2tr.rs:208:14 [INFO] [stdout] | [INFO] [stdout] 208 | pub async fn sign_transaction_key_spend( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Tag` is never used [INFO] [stdout] --> src/runes.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum Tag { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Flag` is never used [INFO] [stdout] --> src/runes.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | enum Flag { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mask` is never used [INFO] [stdout] --> src/runes.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl Flag { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 54 | fn mask(self) -> u128 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_leb128` is never used [INFO] [stdout] --> src/runes.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn encode_leb128(value: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_rune_name` is never used [INFO] [stdout] --> src/runes.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn encode_rune_name(name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Etching` is never constructed [INFO] [stdout] --> src/runes.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct Etching { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Terms` is never constructed [INFO] [stdout] --> src/runes.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct Terms { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_etching_script` is never used [INFO] [stdout] --> src/runes.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn build_etching_script(etching: &Etching) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DerivationPath` is never used [INFO] [stdout] --> src/schnorr.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type DerivationPath = Vec>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SchnorrKey` is never used [INFO] [stdout] --> src/schnorr.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | type SchnorrKey = Vec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_schnorr_public_key` is never used [INFO] [stdout] --> src/schnorr.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn get_schnorr_public_key( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_with_schnorr` is never used [INFO] [stdout] --> src/schnorr.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn sign_with_schnorr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mock_sign_with_schnorr` is never used [INFO] [stdout] --> src/schnorr.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | pub async fn mock_sign_with_schnorr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_brc20_reveal_script` is never used [INFO] [stdout] --> src/brc20.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn build_brc20_reveal_script(internal_key: &XOnlyPublicKey, brc20_json: &str) -> ScriptBuf { [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 `select_one_utxo` is never used [INFO] [stdout] --> src/common.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn select_one_utxo(own_utxos: &[Utxo], amount: u64, fee: u64) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OpReturn` is never constructed [INFO] [stdout] --> src/common.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub enum PrimaryOutput { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 78 | OpReturn(ScriptBuf), // script already starts with OP_RETURN [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `P2PKH` and `P2TR` are never constructed [INFO] [stdout] --> src/common.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub enum Purpose { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 219 | P2PKH, // BIP-44 [INFO] [stdout] | ^^^^^ [INFO] [stdout] 220 | P2WPKH, // BIP-84 [INFO] [stdout] 221 | P2TR, // BIP-86 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `p2pkh` and `p2tr` are never used [INFO] [stdout] --> src/common.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 265 | impl DerivationPath { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn p2pkh(account: u32, address_index: u32) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn p2tr(account: u32, address_index: u32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCHNORR_SIGNATURE_PLACEHOLDER` is never used [INFO] [stdout] --> src/ordinals.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const SCHNORR_SIGNATURE_PLACEHOLDER: [u8; 64] = [0u8; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSCRIPTION_OUTPUT_VALUE` is never used [INFO] [stdout] --> src/ordinals.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const INSCRIPTION_OUTPUT_VALUE: u64 = 15_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_reveal_transaction` is never used [INFO] [stdout] --> src/ordinals.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) async fn build_reveal_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_reveal_transaction_with_fee` is never used [INFO] [stdout] --> src/ordinals.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn build_reveal_transaction_with_fee( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_ordinal_reveal_script` is never used [INFO] [stdout] --> src/ordinals.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn build_ordinal_reveal_script( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_script_path_witness` is never used [INFO] [stdout] --> src/ordinals.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | pub async fn create_script_path_witness( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_transaction` is never used [INFO] [stdout] --> src/p2pkh.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn build_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_transaction` is never used [INFO] [stdout] --> src/p2pkh.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | pub async fn sign_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_taproot_spend_info` is never used [INFO] [stdout] --> src/p2tr.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn create_taproot_spend_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_spend_script` is never used [INFO] [stdout] --> src/p2tr.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn create_spend_script(script_key_bytes: &[u8]) -> ScriptBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SelectUtxosMode` is never used [INFO] [stdout] --> src/p2tr.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | pub enum SelectUtxosMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_transaction` is never used [INFO] [stdout] --> src/p2tr.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) async fn build_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_transaction_script_spend` is never used [INFO] [stdout] --> src/p2tr.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | pub async fn sign_transaction_script_spend( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_transaction_key_spend` is never used [INFO] [stdout] --> src/p2tr.rs:208:14 [INFO] [stdout] | [INFO] [stdout] 208 | pub async fn sign_transaction_key_spend( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Tag` is never used [INFO] [stdout] --> src/runes.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum Tag { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Flag` is never used [INFO] [stdout] --> src/runes.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | enum Flag { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mask` is never used [INFO] [stdout] --> src/runes.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl Flag { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 54 | fn mask(self) -> u128 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_leb128` is never used [INFO] [stdout] --> src/runes.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn encode_leb128(value: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_rune_name` is never used [INFO] [stdout] --> src/runes.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn encode_rune_name(name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Etching` is never constructed [INFO] [stdout] --> src/runes.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct Etching { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Terms` is never constructed [INFO] [stdout] --> src/runes.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct Terms { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_etching_script` is never used [INFO] [stdout] --> src/runes.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn build_etching_script(etching: &Etching) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DerivationPath` is never used [INFO] [stdout] --> src/schnorr.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type DerivationPath = Vec>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SchnorrKey` is never used [INFO] [stdout] --> src/schnorr.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | type SchnorrKey = Vec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_schnorr_public_key` is never used [INFO] [stdout] --> src/schnorr.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn get_schnorr_public_key( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_with_schnorr` is never used [INFO] [stdout] --> src/schnorr.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn sign_with_schnorr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mock_sign_with_schnorr` is never used [INFO] [stdout] --> src/schnorr.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | pub async fn mock_sign_with_schnorr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.71s [INFO] running `Command { std: "docker" "inspect" "6c7b6a71c9e007ac2fe7254b3fe90bfa334e656a827c73487e4f9bf84a24701b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c7b6a71c9e007ac2fe7254b3fe90bfa334e656a827c73487e4f9bf84a24701b", kill_on_drop: false }` [INFO] [stdout] 6c7b6a71c9e007ac2fe7254b3fe90bfa334e656a827c73487e4f9bf84a24701b