[INFO] cloning repository https://github.com/TomBriar/compressed_transactions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TomBriar/compressed_transactions" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomBriar%2Fcompressed_transactions", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomBriar%2Fcompressed_transactions'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ea22922b75e6e77257fbe2fc4ce2cea4ccf34f56 [INFO] checking TomBriar/compressed_transactions against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomBriar%2Fcompressed_transactions" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TomBriar/compressed_transactions on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TomBriar/compressed_transactions [INFO] finished tweaking git repo https://github.com/TomBriar/compressed_transactions [INFO] tweaked toml for git repo https://github.com/TomBriar/compressed_transactions written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/TomBriar/compressed_transactions 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitcoin-internals v0.2.0 [INFO] [stderr] Downloaded bitcoin_hashes v0.13.0 [INFO] [stderr] Downloaded bitcoincore-rpc-json v0.18.0 [INFO] [stderr] Downloaded hex-conservative v0.1.1 [INFO] [stderr] Downloaded bitcoincore-rpc v0.18.0 [INFO] [stderr] Downloaded bech32 v0.10.0-beta [INFO] [stderr] Downloaded bitcoin v0.31.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea223ef88316ae7073aa135c1fbccbbec74472a1fa1659f970adc0c0cafe5292 [INFO] running `Command { std: "docker" "start" "-a" "ea223ef88316ae7073aa135c1fbccbbec74472a1fa1659f970adc0c0cafe5292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea223ef88316ae7073aa135c1fbccbbec74472a1fa1659f970adc0c0cafe5292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea223ef88316ae7073aa135c1fbccbbec74472a1fa1659f970adc0c0cafe5292", kill_on_drop: false }` [INFO] [stdout] ea223ef88316ae7073aa135c1fbccbbec74472a1fa1659f970adc0c0cafe5292 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fc93aaedaefd798dc5c12c231b124de2d4c646c333ec9c008b6e9d6b937523c [INFO] running `Command { std: "docker" "start" "-a" "7fc93aaedaefd798dc5c12c231b124de2d4c646c333ec9c008b6e9d6b937523c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking hex-conservative v0.1.1 [INFO] [stderr] Compiling bitcoin v0.31.1 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking bitcoin_hashes v0.12.0 [INFO] [stderr] Checking bech32 v0.10.0-beta [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking jsonrpc v0.14.1 [INFO] [stderr] Checking bitcoincore-rpc-json v0.18.0 [INFO] [stderr] Checking bitcoincore-rpc v0.18.0 [INFO] [stderr] Checking compressed_transactions v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RpcApi` [INFO] [stdout] --> src/main.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use bitcoincore_rpc::{Auth, Client, RpcApi}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Txid` [INFO] [stdout] --> src/compressed_transaction.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use bitcoin::{Txid, TxIn, ScriptBuf, OutPoint, Transaction, TxOut, Amount, VarInt, Sequence, Witness}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DecompressOutPoints` [INFO] [stdout] --> src/main.rs:12:52 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::compress_outpoints::{CompressOutPoints, DecompressOutPoints}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RpcApi` [INFO] [stdout] --> src/main.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use bitcoincore_rpc::{Auth, Client, RpcApi}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Txid` [INFO] [stdout] --> src/compressed_transaction.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use bitcoin::{Txid, TxIn, ScriptBuf, OutPoint, Transaction, TxOut, Amount, VarInt, Sequence, Witness}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DecompressOutPoints` [INFO] [stdout] --> src/main.rs:12:52 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::compress_outpoints::{CompressOutPoints, DecompressOutPoints}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compressed_transaction.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut pubkey_hash: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `script_pubkey` is never read [INFO] [stdout] --> src/compressed_transaction.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | let mut script_pubkey: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compressed_transaction.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut pubkey_hash: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `script_pubkey` is never read [INFO] [stdout] --> src/compressed_transaction.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | let mut script_pubkey: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compressed_transaction.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let mut lock_time: LockTime = LockTime::Blocks(Height::from_consensus(lock_time_u32)?); [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/compressed_transaction.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | let mut script_sig: ScriptBuf = ScriptBuf::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compress` [INFO] [stdout] --> src/compress_outpoints.rs:7:58 [INFO] [stdout] | [INFO] [stdout] 7 | ...&Client, tx: &Transaction, compress: bool, warnings: &mut Vec) -> Result<(u32, Vec), Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compress` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compressed_transaction.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let mut lock_time: LockTime = LockTime::Blocks(Height::from_consensus(lock_time_u32)?); [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/compressed_transaction.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | let mut script_sig: ScriptBuf = ScriptBuf::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compress` [INFO] [stdout] --> src/compress_outpoints.rs:7:58 [INFO] [stdout] | [INFO] [stdout] 7 | ...&Client, tx: &Transaction, compress: bool, warnings: &mut Vec) -> Result<(u32, Vec), Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compress` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_index` is never read [INFO] [stdout] --> src/compressed_transaction.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CompressedOutPoint { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 12 | pub block_height: u32, [INFO] [stdout] 13 | pub block_index: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompressedOutPoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/compressed_transaction.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct CompressedTxIn { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 58 | pub compressed_outpoint: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | pub outpoint: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 60 | [INFO] [stdout] 61 | pub signature: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 62 | pub pubkey_hash: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 63 | [INFO] [stdout] 64 | pub hash_type: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 65 | pub is_hash_standard: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | pub compressed_signature: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | [INFO] [stdout] 68 | pub sequence: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompressedTxIn` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `outpoint_is_compressed` is never used [INFO] [stdout] --> src/compressed_transaction.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl CompressedTxIn { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 72 | pub fn outpoint_is_compressed(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `script_type`, `script_pubkey`, and `value` are never read [INFO] [stdout] --> src/compressed_transaction.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct CompressedTxOut { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 147 | pub script_type: ScriptType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 148 | pub script_pubkey: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 149 | pub value: u64 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompressedTxOut` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `decompress` is never used [INFO] [stdout] --> src/compressed_transaction.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 152 | impl CompressedTxOut{ [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn decompress(ctxout: &CompressedTxOut) -> TxOut { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `decompress` is never used [INFO] [stdout] --> src/compressed_transaction.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 206 | impl CompressedTransaction { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn decompress(ctx: &CompressedTransaction, prevouts: &Vec, outs: &Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DecompressOutPoints` is never used [INFO] [stdout] --> src/compress_outpoints.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn DecompressOutPoints(rpc: &Client, minimum_height: u32, txins: &Vec) -> Result<(Vec, Vec), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotCompressed`, `NotUncompressed`, and `InputsMissing` are never constructed [INFO] [stdout] --> src/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | NotCompressed(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | #[error("Attempted to access uncompressed object that was compressed.")] [INFO] [stdout] 15 | NotUncompressed(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | #[error("Could not decompress input(s), input(s) missing or spent.")] [INFO] [stdout] 17 | InputsMissing(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CompressOutPoints` should have a snake case name [INFO] [stdout] --> src/compress_outpoints.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn CompressOutPoints(rpc: &Client, tx: &Transaction, compress: bool, warnings: &mut Vec) -> Result<(u32, Vec... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `compress_out_points` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DecompressOutPoints` should have a snake case name [INFO] [stdout] --> src/compress_outpoints.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn DecompressOutPoints(rpc: &Client, minimum_height: u32, txins: &Vec) -> Result<(Vec, Vec), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decompress_out_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_index` is never read [INFO] [stdout] --> src/compressed_transaction.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CompressedOutPoint { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 12 | pub block_height: u32, [INFO] [stdout] 13 | pub block_index: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompressedOutPoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/compressed_transaction.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct CompressedTxIn { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 58 | pub compressed_outpoint: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | pub outpoint: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 60 | [INFO] [stdout] 61 | pub signature: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 62 | pub pubkey_hash: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 63 | [INFO] [stdout] 64 | pub hash_type: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 65 | pub is_hash_standard: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | pub compressed_signature: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | [INFO] [stdout] 68 | pub sequence: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompressedTxIn` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `outpoint_is_compressed` is never used [INFO] [stdout] --> src/compressed_transaction.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl CompressedTxIn { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 72 | pub fn outpoint_is_compressed(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `script_type`, `script_pubkey`, and `value` are never read [INFO] [stdout] --> src/compressed_transaction.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct CompressedTxOut { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 147 | pub script_type: ScriptType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 148 | pub script_pubkey: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 149 | pub value: u64 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompressedTxOut` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `decompress` is never used [INFO] [stdout] --> src/compressed_transaction.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 152 | impl CompressedTxOut{ [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn decompress(ctxout: &CompressedTxOut) -> TxOut { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `decompress` is never used [INFO] [stdout] --> src/compressed_transaction.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 206 | impl CompressedTransaction { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn decompress(ctx: &CompressedTransaction, prevouts: &Vec, outs: &Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DecompressOutPoints` is never used [INFO] [stdout] --> src/compress_outpoints.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn DecompressOutPoints(rpc: &Client, minimum_height: u32, txins: &Vec) -> Result<(Vec, Vec), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotCompressed`, `NotUncompressed`, and `InputsMissing` are never constructed [INFO] [stdout] --> src/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | NotCompressed(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | #[error("Attempted to access uncompressed object that was compressed.")] [INFO] [stdout] 15 | NotUncompressed(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | #[error("Could not decompress input(s), input(s) missing or spent.")] [INFO] [stdout] 17 | InputsMissing(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CompressOutPoints` should have a snake case name [INFO] [stdout] --> src/compress_outpoints.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn CompressOutPoints(rpc: &Client, tx: &Transaction, compress: bool, warnings: &mut Vec) -> Result<(u32, Vec... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `compress_out_points` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DecompressOutPoints` should have a snake case name [INFO] [stdout] --> src/compress_outpoints.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn DecompressOutPoints(rpc: &Client, minimum_height: u32, txins: &Vec) -> Result<(Vec, Vec), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decompress_out_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.05s [INFO] running `Command { std: "docker" "inspect" "7fc93aaedaefd798dc5c12c231b124de2d4c646c333ec9c008b6e9d6b937523c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fc93aaedaefd798dc5c12c231b124de2d4c646c333ec9c008b6e9d6b937523c", kill_on_drop: false }` [INFO] [stdout] 7fc93aaedaefd798dc5c12c231b124de2d4c646c333ec9c008b6e9d6b937523c