[INFO] cloning repository https://github.com/Sumit240803/Stablecoin-In-form-of-Runes-BTC [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sumit240803/Stablecoin-In-form-of-Runes-BTC" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSumit240803%2FStablecoin-In-form-of-Runes-BTC", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSumit240803%2FStablecoin-In-form-of-Runes-BTC'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c17fc0986b1b22813af252a063430d3b391c49b3 [INFO] testing Sumit240803/Stablecoin-In-form-of-Runes-BTC against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSumit240803%2FStablecoin-In-form-of-Runes-BTC" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Sumit240803/Stablecoin-In-form-of-Runes-BTC [INFO] finished tweaking git repo https://github.com/Sumit240803/Stablecoin-In-form-of-Runes-BTC [INFO] tweaked toml for git repo https://github.com/Sumit240803/Stablecoin-In-form-of-Runes-BTC written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Sumit240803/Stablecoin-In-form-of-Runes-BTC on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Sumit240803/Stablecoin-In-form-of-Runes-BTC 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" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96c7e69ca4244ca31b35a378818e97eee63c67cfa6a0e00fdb24595b8557fa8b [INFO] running `Command { std: "docker" "start" "-a" "96c7e69ca4244ca31b35a378818e97eee63c67cfa6a0e00fdb24595b8557fa8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96c7e69ca4244ca31b35a378818e97eee63c67cfa6a0e00fdb24595b8557fa8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96c7e69ca4244ca31b35a378818e97eee63c67cfa6a0e00fdb24595b8557fa8b", kill_on_drop: false }` [INFO] [stdout] 96c7e69ca4244ca31b35a378818e97eee63c67cfa6a0e00fdb24595b8557fa8b [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff914172133eafe3fdefe6bfb24f77d3703859845f16780053854305048fb0c1 [INFO] running `Command { std: "docker" "start" "-a" "ff914172133eafe3fdefe6bfb24f77d3703859845f16780053854305048fb0c1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling bitcoin v0.32.6 [INFO] [stderr] Compiling ic-cdk-executor v1.0.0 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling ic0 v1.0.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [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 derive_more-impl v1.0.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling ic-error-types v0.2.0 [INFO] [stderr] Compiling candid v0.10.14 [INFO] [stderr] Compiling ordinals v0.0.15 [INFO] [stderr] Compiling ic-management-canister-types v0.3.1 [INFO] [stderr] Compiling ic-cdk-macros v0.18.5 [INFO] [stderr] Compiling ic-cdk v0.18.5 [INFO] [stderr] Compiling btc-tx v0.1.0 (/opt/rustwide/workdir/src/btc-tx) [INFO] [stdout] warning: variant `P2PKH` is never constructed [INFO] [stdout] --> src/btc-tx/src/common.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Purpose { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 22 | P2PKH, // BIP-44 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `p2pkh` is never used [INFO] [stdout] --> src/btc-tx/src/common.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl DerivationPath { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn p2pkh(account: u32, address_index: u32) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_derivation_path` is never used [INFO] [stdout] --> src/btc-tx/src/common.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn generate_derivation_path(principal: &Principal) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Address` is never constructed [INFO] [stdout] --> src/btc-tx/src/common.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 136 | pub enum PrimaryOutput { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 137 | /// Pay someone (spendable output). [INFO] [stdout] 138 | Address(Address, u64), // destination address, amount in satoshis [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_with_ecdsa_fn` is never used [INFO] [stdout] --> src/btc-tx/src/ecdsa.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | pub async fn sign_with_ecdsa_fn( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mock_sign_with_ecdsa` is never used [INFO] [stdout] --> src/btc-tx/src/ecdsa.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn mock_sign_with_ecdsa( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_taproot_spend_info` is never used [INFO] [stdout] --> src/btc-tx/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/btc-tx/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: variant `Greedy` is never constructed [INFO] [stdout] --> src/btc-tx/src/p2tr.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub enum SelectUtxosMode { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 65 | Greedy, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_transaction_script_spend` is never used [INFO] [stdout] --> src/btc-tx/src/p2tr.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | pub async fn sign_transaction_script_spend( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 36s [INFO] running `Command { std: "docker" "inspect" "ff914172133eafe3fdefe6bfb24f77d3703859845f16780053854305048fb0c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff914172133eafe3fdefe6bfb24f77d3703859845f16780053854305048fb0c1", kill_on_drop: false }` [INFO] [stdout] ff914172133eafe3fdefe6bfb24f77d3703859845f16780053854305048fb0c1 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2250d8c00740b840f9faf293a5d910406b88b493b435ad7f01eefc830b910e9a [INFO] running `Command { std: "docker" "start" "-a" "2250d8c00740b840f9faf293a5d910406b88b493b435ad7f01eefc830b910e9a", kill_on_drop: false }` [INFO] [stderr] Compiling btc-tx v0.1.0 (/opt/rustwide/workdir/src/btc-tx) [INFO] [stdout] warning: variant `P2PKH` is never constructed [INFO] [stdout] --> src/btc-tx/src/common.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Purpose { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 22 | P2PKH, // BIP-44 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `p2pkh` is never used [INFO] [stdout] --> src/btc-tx/src/common.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl DerivationPath { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn p2pkh(account: u32, address_index: u32) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_derivation_path` is never used [INFO] [stdout] --> src/btc-tx/src/common.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn generate_derivation_path(principal: &Principal) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Address` is never constructed [INFO] [stdout] --> src/btc-tx/src/common.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 136 | pub enum PrimaryOutput { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 137 | /// Pay someone (spendable output). [INFO] [stdout] 138 | Address(Address, u64), // destination address, amount in satoshis [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_with_ecdsa_fn` is never used [INFO] [stdout] --> src/btc-tx/src/ecdsa.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | pub async fn sign_with_ecdsa_fn( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mock_sign_with_ecdsa` is never used [INFO] [stdout] --> src/btc-tx/src/ecdsa.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn mock_sign_with_ecdsa( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_taproot_spend_info` is never used [INFO] [stdout] --> src/btc-tx/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/btc-tx/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: variant `Greedy` is never constructed [INFO] [stdout] --> src/btc-tx/src/p2tr.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub enum SelectUtxosMode { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 65 | Greedy, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign_transaction_script_spend` is never used [INFO] [stdout] --> src/btc-tx/src/p2tr.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | pub async fn sign_transaction_script_spend( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.15s [INFO] running `Command { std: "docker" "inspect" "2250d8c00740b840f9faf293a5d910406b88b493b435ad7f01eefc830b910e9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2250d8c00740b840f9faf293a5d910406b88b493b435ad7f01eefc830b910e9a", kill_on_drop: false }` [INFO] [stdout] 2250d8c00740b840f9faf293a5d910406b88b493b435ad7f01eefc830b910e9a [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e7773379efebc557099a3210a7826f29a0c268788bc7de0a0a73c10fd3ef0657 [INFO] running `Command { std: "docker" "start" "-a" "e7773379efebc557099a3210a7826f29a0c268788bc7de0a0a73c10fd3ef0657", kill_on_drop: false }` [INFO] [stderr] warning: variant `P2PKH` is never constructed [INFO] [stderr] --> src/btc-tx/src/common.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub enum Purpose { [INFO] [stderr] | ------- variant in this enum [INFO] [stderr] 22 | P2PKH, // BIP-44 [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `p2pkh` is never used [INFO] [stderr] --> src/btc-tx/src/common.rs:79:12 [INFO] [stderr] | [INFO] [stderr] 60 | impl DerivationPath { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 79 | pub fn p2pkh(account: u32, address_index: u32) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `generate_derivation_path` is never used [INFO] [stderr] --> src/btc-tx/src/common.rs:128:8 [INFO] [stderr] | [INFO] [stderr] 128 | pub fn generate_derivation_path(principal: &Principal) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Address` is never constructed [INFO] [stderr] --> src/btc-tx/src/common.rs:138:5 [INFO] [stderr] | [INFO] [stderr] 136 | pub enum PrimaryOutput { [INFO] [stderr] | ------------- variant in this enum [INFO] [stderr] 137 | /// Pay someone (spendable output). [INFO] [stderr] 138 | Address(Address, u64), // destination address, amount in satoshis [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sign_with_ecdsa_fn` is never used [INFO] [stderr] --> src/btc-tx/src/ecdsa.rs:42:14 [INFO] [stderr] | [INFO] [stderr] 42 | pub async fn sign_with_ecdsa_fn( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `mock_sign_with_ecdsa` is never used [INFO] [stderr] --> src/btc-tx/src/ecdsa.rs:63:14 [INFO] [stderr] | [INFO] [stderr] 63 | pub async fn mock_sign_with_ecdsa( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_taproot_spend_info` is never used [INFO] [stderr] --> src/btc-tx/src/p2tr.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn create_taproot_spend_info( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_spend_script` is never used [INFO] [stderr] --> src/btc-tx/src/p2tr.rs:55:8 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn create_spend_script(script_key_bytes: &[u8]) -> ScriptBuf { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Greedy` is never constructed [INFO] [stderr] --> src/btc-tx/src/p2tr.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 64 | pub enum SelectUtxosMode { [INFO] [stderr] | --------------- variant in this enum [INFO] [stderr] 65 | Greedy, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sign_transaction_script_spend` is never used [INFO] [stderr] --> src/btc-tx/src/p2tr.rs:137:14 [INFO] [stderr] | [INFO] [stderr] 137 | pub async fn sign_transaction_script_spend( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `btc-tx` (lib test) generated 10 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/btc_tx-04ff9436df4c45bf) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e7773379efebc557099a3210a7826f29a0c268788bc7de0a0a73c10fd3ef0657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7773379efebc557099a3210a7826f29a0c268788bc7de0a0a73c10fd3ef0657", kill_on_drop: false }` [INFO] [stdout] e7773379efebc557099a3210a7826f29a0c268788bc7de0a0a73c10fd3ef0657