[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] building SurajNaidu0/bitcoin_order_protocol against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSurajNaidu0%2Fbitcoin_order_protocol" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SurajNaidu0/bitcoin_order_protocol on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_bytes v0.11.15 [INFO] [stderr] Downloaded thiserror-impl v1.0.45 [INFO] [stderr] Downloaded anyhow v1.0.73 [INFO] [stderr] Downloaded pretty v0.12.1 [INFO] [stderr] Downloaded hex_lit v0.1.1 [INFO] [stderr] Downloaded base58ck v0.1.0 [INFO] [stderr] Downloaded thiserror v1.0.45 [INFO] [stderr] Downloaded bitcoin-internals v0.3.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.18.0 [INFO] [stderr] Downloaded bitcoin-units v0.1.2 [INFO] [stderr] Downloaded hex-conservative v0.2.1 [INFO] [stderr] Downloaded bitcoin_hashes v0.14.0 [INFO] [stderr] Downloaded ic-error-types v0.1.0 [INFO] [stderr] Downloaded num-bigint v0.4.3 [INFO] [stderr] Downloaded secp256k1 v0.29.1 [INFO] [stderr] Downloaded ic-cdk v0.18.0 [INFO] [stderr] Downloaded bitcoin-io v0.1.3 [INFO] [stderr] Downloaded ic-management-canister-types v0.3.0 [INFO] [stderr] Downloaded ic0 v0.24.0 [INFO] [stderr] Downloaded bech32 v0.11.0 [INFO] [stderr] Downloaded bitcoin v0.32.5 [INFO] [stderr] Downloaded secp256k1-sys v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04626826f19758a8a1375cfdf3306ab382002954ce4e4e9342e9ca177a7c187b [INFO] running `Command { std: "docker" "start" "-a" "04626826f19758a8a1375cfdf3306ab382002954ce4e4e9342e9ca177a7c187b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04626826f19758a8a1375cfdf3306ab382002954ce4e4e9342e9ca177a7c187b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04626826f19758a8a1375cfdf3306ab382002954ce4e4e9342e9ca177a7c187b", kill_on_drop: false }` [INFO] [stdout] 04626826f19758a8a1375cfdf3306ab382002954ce4e4e9342e9ca177a7c187b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 4cd4d1ef5611d830356f6c1bf8d6145a1d7b1f6c085066520b1aeb68d87e270f [INFO] running `Command { std: "docker" "start" "-a" "4cd4d1ef5611d830356f6c1bf8d6145a1d7b1f6c085066520b1aeb68d87e270f", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling thiserror v1.0.45 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.73 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling pretty v0.12.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling bitcoin v0.32.5 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling ic0 v0.24.0 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [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 digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling secp256k1 v0.29.1 [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] Compiling binread v2.2.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Compiling ic-error-types v0.1.0 [INFO] [stderr] Compiling candid v0.10.13 [INFO] [stderr] Compiling ic-management-canister-types v0.3.0 [INFO] [stderr] Compiling ic-cdk-macros v0.18.0 [INFO] [stderr] Compiling ic-cdk v0.18.0 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.09s [INFO] running `Command { std: "docker" "inspect" "4cd4d1ef5611d830356f6c1bf8d6145a1d7b1f6c085066520b1aeb68d87e270f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cd4d1ef5611d830356f6c1bf8d6145a1d7b1f6c085066520b1aeb68d87e270f", kill_on_drop: false }` [INFO] [stdout] 4cd4d1ef5611d830356f6c1bf8d6145a1d7b1f6c085066520b1aeb68d87e270f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 199156408c14d7fe896ce69dc65746486573245e81adb95b83034f85adae2db2 [INFO] running `Command { std: "docker" "start" "-a" "199156408c14d7fe896ce69dc65746486573245e81adb95b83034f85adae2db2", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.55s [INFO] running `Command { std: "docker" "inspect" "199156408c14d7fe896ce69dc65746486573245e81adb95b83034f85adae2db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "199156408c14d7fe896ce69dc65746486573245e81adb95b83034f85adae2db2", kill_on_drop: false }` [INFO] [stdout] 199156408c14d7fe896ce69dc65746486573245e81adb95b83034f85adae2db2