[INFO] cloning repository https://github.com/1500256797/btc_app
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/1500256797/btc_app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1500256797%2Fbtc_app", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1500256797%2Fbtc_app'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a37e6b99dea31d83a4e62b4245a34be085058209
[INFO] testing 1500256797/btc_app against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1500256797%2Fbtc_app" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/1500256797/btc_app
[INFO] finished tweaking git repo https://github.com/1500256797/btc_app
[INFO] tweaked toml for git repo https://github.com/1500256797/btc_app written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/1500256797/btc_app on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/1500256797/btc_app 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3c8af205ec1d85ee27f8e486db2633f210ee8cbbe3f442055b89630d07628651
[INFO] running `Command { std: "docker" "start" "-a" "3c8af205ec1d85ee27f8e486db2633f210ee8cbbe3f442055b89630d07628651", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3c8af205ec1d85ee27f8e486db2633f210ee8cbbe3f442055b89630d07628651", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c8af205ec1d85ee27f8e486db2633f210ee8cbbe3f442055b89630d07628651", kill_on_drop: false }`
[INFO] [stdout] 3c8af205ec1d85ee27f8e486db2633f210ee8cbbe3f442055b89630d07628651
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] edab2eeeaafa5fdca3d23e97d47784b6ca5b3d191811e6a40c08510c879498fd
[INFO] running `Command { std: "docker" "start" "-a" "edab2eeeaafa5fdca3d23e97d47784b6ca5b3d191811e6a40c08510c879498fd", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.85
[INFO] [stderr]    Compiling bitcoin-internals v0.3.0
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling cc v1.0.99
[INFO] [stderr]    Compiling bitcoin-io v0.1.2
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling hex_lit v0.1.1
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling bitcoin v0.32.2
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling bech32 v0.11.0
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling bitcoin_hashes v0.11.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling hex-conservative v0.2.1
[INFO] [stderr]    Compiling bitcoin-units v0.1.1
[INFO] [stderr]    Compiling bitcoin_hashes v0.14.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling getrandom v0.2.14
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling base58ck v0.1.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling secp256k1-sys v0.10.0
[INFO] [stderr]    Compiling bip39 v2.0.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling secp256k1 v0.29.0
[INFO] [stderr]    Compiling btc_app v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `P2SH_P2WPKH` should have an upper camel case name
[INFO] [stdout]   --> src/account/address_type.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     P2SH_P2WPKH,
[INFO] [stdout]    |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `P2shP2wpkh`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Psbt` and `secp256k1::Secp256k1`
[INFO] [stdout]  --> src/psbt.rs:4:32
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Address, Amount, OutPoint, Psbt, PublicKey, ScriptBuf, secp256k1::Secp256k1, Transaction, TxIn,
[INFO] [stdout]   |                                ^^^^                        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::account::account::Account`
[INFO] [stdout]   --> src/psbt.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::account::account::Account;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/psbt.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |               /// The reference to the previous output that is being used as an input.
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 38 | /             previous_output: OutPoint {
[INFO] [stdout] 39 | |                 txid: prev_tx_id,
[INFO] [stdout] 40 | |                 vout,
[INFO] [stdout] 41 | |             },
[INFO] [stdout]    | |_____________- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/psbt.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |             /// The script which pushes values on the stack which will cause the referenced output’s script to be accepted.
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 43 |             script_sig: ScriptBuf::new(),
[INFO] [stdout]    |             ---------------------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/psbt.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...   /// The sequence number, which suggests to miners which of two conflicting transactions should be preferred, or 0xFFFFFFFF to ignore this feature. This is generally never used since the miner behavior cannot be enforced.
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 45 | ...   sequence: bitcoin::Sequence::from_consensus(0xffffffff),
[INFO] [stdout]    |       ------------------------------------------------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/psbt.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 | ...   /// Witness data: an array of byte-arrays. Note that this field is not (de)serialized with the rest of the TxIn in Encodable/Decodable, as it is (de)serialized at the end of the full Transaction. It is (de)serialized with the rest of the TxIn in other (de)serialization routines.
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 47 | ...   witness: Witness::new(),
[INFO] [stdout]    |       ----------------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::account::account::Account`
[INFO] [stdout]  --> src/utils.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::account::account::Account;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bitcoin::hashes::Hash`
[INFO] [stdout]  --> src/psbt.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use bitcoin::hashes::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/account/account.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 97 |             _ => Address::p2pkh(&public_key, network),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/account/account.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |             AddressType::P2PKH => Address::p2pkh(&public_key, network),
[INFO] [stdout]    |             ------------------ matches some of the same values
[INFO] [stdout] 80 |             AddressType::P2SH_P2WPKH => {
[INFO] [stdout]    |             ------------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 84 |             AddressType::P2WPKH => {
[INFO] [stdout]    |             ------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 88 |             AddressType::P2TR => {
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 97 |             _ => Address::p2pkh(&public_key, network),
[INFO] [stdout]    |             ^ collectively making this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/utils.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct UnspentOutput {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 10 |     tx_id:String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 11 |     vout:u32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 12 |     satoshis:i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 13 |     script_publkey:String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     public_key: PublicKey,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 15 |     address_type: AddressType,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 16 |     inscriptions: Vec<Inscriptions>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 17 |     runes: Option<Vec<Runes>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     raw_tx:Option<String>
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `inscription_id`, `inscription_number`, `inscription_type`, and `ticker` are never read
[INFO] [stdout]   --> src/utils.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct Inscriptions {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 23 |     inscription_id:String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 24 |     inscription_number:u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 25 |     inscription_type: InscriptionType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     ticker:Option<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NFT` and `FT` are never constructed
[INFO] [stdout]   --> src/utils.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | enum InscriptionType {
[INFO] [stdout]    |      --------------- variants in this enum
[INFO] [stdout] 30 |     NFT,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 31 |     FT
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `rune_id` and `amount` are never read
[INFO] [stdout]   --> src/utils.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Runes {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 36 |     rune_id:String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 37 |     amount:String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `inscriptions`, `runes`, `tx_id`, and `vout` are never read
[INFO] [stdout]   --> src/utils.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct Assets {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 42 |     inscriptions: Option<Vec<Inscriptions>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 43 |     runes: Option<Vec<Runes>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 44 |     tx_id:Option<String>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 45 |     vout:Option<u32>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.13s
[INFO] running `Command { std: "docker" "inspect" "edab2eeeaafa5fdca3d23e97d47784b6ca5b3d191811e6a40c08510c879498fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "edab2eeeaafa5fdca3d23e97d47784b6ca5b3d191811e6a40c08510c879498fd", kill_on_drop: false }`
[INFO] [stdout] edab2eeeaafa5fdca3d23e97d47784b6ca5b3d191811e6a40c08510c879498fd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0e0f21b3d3ca88473437f14c3610516b11b3308fc129def98888b38760e2d238
[INFO] running `Command { std: "docker" "start" "-a" "0e0f21b3d3ca88473437f14c3610516b11b3308fc129def98888b38760e2d238", kill_on_drop: false }`
[INFO] [stdout] warning: variant `P2SH_P2WPKH` should have an upper camel case name
[INFO] [stdout]   --> src/account/address_type.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     P2SH_P2WPKH,
[INFO] [stdout]    |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `P2shP2wpkh`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Psbt` and `secp256k1::Secp256k1`
[INFO] [stdout]  --> src/psbt.rs:4:32
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Address, Amount, OutPoint, Psbt, PublicKey, ScriptBuf, secp256k1::Secp256k1, Transaction, TxIn,
[INFO] [stdout]   |                                ^^^^                        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::account::account::Account`
[INFO] [stdout]   --> src/psbt.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::account::account::Account;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/psbt.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |               /// The reference to the previous output that is being used as an input.
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 38 | /             previous_output: OutPoint {
[INFO] [stdout] 39 | |                 txid: prev_tx_id,
[INFO] [stdout] 40 | |                 vout,
[INFO] [stdout] 41 | |             },
[INFO] [stdout]    | |_____________- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/psbt.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |             /// The script which pushes values on the stack which will cause the referenced output’s script to be accepted.
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 43 |             script_sig: ScriptBuf::new(),
[INFO] [stdout]    |             ---------------------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/psbt.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...   /// The sequence number, which suggests to miners which of two conflicting transactions should be preferred, or 0xFFFFFFFF to ignore this feature. This is generally never used since the miner behavior cannot be enforced.
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 45 | ...   sequence: bitcoin::Sequence::from_consensus(0xffffffff),
[INFO] [stdout]    |       ------------------------------------------------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/psbt.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 | ...   /// Witness data: an array of byte-arrays. Note that this field is not (de)serialized with the rest of the TxIn in Encodable/Decodable, as it is (de)serialized at the end of the full Transaction. It is (de)serialized with the rest of the TxIn in other (de)serialization routines.
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 47 | ...   witness: Witness::new(),
[INFO] [stdout]    |       ----------------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::account::account::Account`
[INFO] [stdout]  --> src/utils.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::account::account::Account;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling btc_app v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `bitcoin::hashes::Hash`
[INFO] [stdout]  --> src/psbt.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use bitcoin::hashes::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/account/account.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 97 |             _ => Address::p2pkh(&public_key, network),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/account/account.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |             AddressType::P2PKH => Address::p2pkh(&public_key, network),
[INFO] [stdout]    |             ------------------ matches some of the same values
[INFO] [stdout] 80 |             AddressType::P2SH_P2WPKH => {
[INFO] [stdout]    |             ------------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 84 |             AddressType::P2WPKH => {
[INFO] [stdout]    |             ------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 88 |             AddressType::P2TR => {
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 97 |             _ => Address::p2pkh(&public_key, network),
[INFO] [stdout]    |             ^ collectively making this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/utils.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct UnspentOutput {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 10 |     tx_id:String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 11 |     vout:u32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 12 |     satoshis:i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 13 |     script_publkey:String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     public_key: PublicKey,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 15 |     address_type: AddressType,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 16 |     inscriptions: Vec<Inscriptions>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 17 |     runes: Option<Vec<Runes>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     raw_tx:Option<String>
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `inscription_id`, `inscription_number`, `inscription_type`, and `ticker` are never read
[INFO] [stdout]   --> src/utils.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct Inscriptions {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 23 |     inscription_id:String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 24 |     inscription_number:u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 25 |     inscription_type: InscriptionType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     ticker:Option<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NFT` and `FT` are never constructed
[INFO] [stdout]   --> src/utils.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | enum InscriptionType {
[INFO] [stdout]    |      --------------- variants in this enum
[INFO] [stdout] 30 |     NFT,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 31 |     FT
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `rune_id` and `amount` are never read
[INFO] [stdout]   --> src/utils.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Runes {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 36 |     rune_id:String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 37 |     amount:String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `inscriptions`, `runes`, `tx_id`, and `vout` are never read
[INFO] [stdout]   --> src/utils.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct Assets {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 42 |     inscriptions: Option<Vec<Inscriptions>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 43 |     runes: Option<Vec<Runes>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 44 |     tx_id:Option<String>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 45 |     vout:Option<u32>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `P2SH_P2WPKH` should have an upper camel case name
[INFO] [stdout]   --> src/account/address_type.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     P2SH_P2WPKH,
[INFO] [stdout]    |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `P2shP2wpkh`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Psbt` and `secp256k1::Secp256k1`
[INFO] [stdout]  --> src/psbt.rs:4:32
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Address, Amount, OutPoint, Psbt, PublicKey, ScriptBuf, secp256k1::Secp256k1, Transaction, TxIn,
[INFO] [stdout]   |                                ^^^^                        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::account::account::Account`
[INFO] [stdout]   --> src/psbt.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::account::account::Account;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/psbt.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |               /// The reference to the previous output that is being used as an input.
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 38 | /             previous_output: OutPoint {
[INFO] [stdout] 39 | |                 txid: prev_tx_id,
[INFO] [stdout] 40 | |                 vout,
[INFO] [stdout] 41 | |             },
[INFO] [stdout]    | |_____________- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/psbt.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |             /// The script which pushes values on the stack which will cause the referenced output’s script to be accepted.
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 43 |             script_sig: ScriptBuf::new(),
[INFO] [stdout]    |             ---------------------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/psbt.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...   /// The sequence number, which suggests to miners which of two conflicting transactions should be preferred, or 0xFFFFFFFF to ignore this feature. This is generally never used since the miner behavior cannot be enforced.
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 45 | ...   sequence: bitcoin::Sequence::from_consensus(0xffffffff),
[INFO] [stdout]    |       ------------------------------------------------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/psbt.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 | ...   /// Witness data: an array of byte-arrays. Note that this field is not (de)serialized with the rest of the TxIn in Encodable/Decodable, as it is (de)serialized at the end of the full Transaction. It is (de)serialized with the rest of the TxIn in other (de)serialization routines.
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 47 | ...   witness: Witness::new(),
[INFO] [stdout]    |       ----------------------- rustdoc does not generate documentation for expression fields
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::account::account::Account`
[INFO] [stdout]  --> src/utils.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::account::account::Account;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bitcoin::hashes::Hash`
[INFO] [stdout]  --> src/psbt.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use bitcoin::hashes::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/account/account.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 97 |             _ => Address::p2pkh(&public_key, network),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/account/account.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |             AddressType::P2PKH => Address::p2pkh(&public_key, network),
[INFO] [stdout]    |             ------------------ matches some of the same values
[INFO] [stdout] 80 |             AddressType::P2SH_P2WPKH => {
[INFO] [stdout]    |             ------------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 84 |             AddressType::P2WPKH => {
[INFO] [stdout]    |             ------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 88 |             AddressType::P2TR => {
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 97 |             _ => Address::p2pkh(&public_key, network),
[INFO] [stdout]    |             ^ collectively making this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `unsigned_psbt`
[INFO] [stdout]    --> src/psbt.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 112 |         let unsigned_psbt = UnSignedPsbt::new()
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unsigned_psbt`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/utils.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct UnspentOutput {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 10 |     tx_id:String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 11 |     vout:u32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 12 |     satoshis:i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 13 |     script_publkey:String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     public_key: PublicKey,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 15 |     address_type: AddressType,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 16 |     inscriptions: Vec<Inscriptions>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 17 |     runes: Option<Vec<Runes>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     raw_tx:Option<String>
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `inscription_id`, `inscription_number`, `inscription_type`, and `ticker` are never read
[INFO] [stdout]   --> src/utils.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct Inscriptions {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 23 |     inscription_id:String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 24 |     inscription_number:u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 25 |     inscription_type: InscriptionType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     ticker:Option<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NFT` and `FT` are never constructed
[INFO] [stdout]   --> src/utils.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | enum InscriptionType {
[INFO] [stdout]    |      --------------- variants in this enum
[INFO] [stdout] 30 |     NFT,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 31 |     FT
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `rune_id` and `amount` are never read
[INFO] [stdout]   --> src/utils.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct Runes {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 36 |     rune_id:String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 37 |     amount:String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `inscriptions`, `runes`, `tx_id`, and `vout` are never read
[INFO] [stdout]   --> src/utils.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct Assets {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 42 |     inscriptions: Option<Vec<Inscriptions>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 43 |     runes: Option<Vec<Runes>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 44 |     tx_id:Option<String>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 45 |     vout:Option<u32>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.84s
[INFO] running `Command { std: "docker" "inspect" "0e0f21b3d3ca88473437f14c3610516b11b3308fc129def98888b38760e2d238", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e0f21b3d3ca88473437f14c3610516b11b3308fc129def98888b38760e2d238", kill_on_drop: false }`
[INFO] [stdout] 0e0f21b3d3ca88473437f14c3610516b11b3308fc129def98888b38760e2d238
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 537191f71bf61fe5038abf7e65dd5f0a2064e4be47fae2a6a84dcfad040d1052
[INFO] running `Command { std: "docker" "start" "-a" "537191f71bf61fe5038abf7e65dd5f0a2064e4be47fae2a6a84dcfad040d1052", kill_on_drop: false }`
[INFO] [stderr] warning: variant `P2SH_P2WPKH` should have an upper camel case name
[INFO] [stderr]   --> src/account/address_type.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 |     P2SH_P2WPKH,
[INFO] [stderr]    |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `P2shP2wpkh`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Psbt` and `secp256k1::Secp256k1`
[INFO] [stderr]  --> src/psbt.rs:4:32
[INFO] [stderr]   |
[INFO] [stderr] 4 |     Address, Amount, OutPoint, Psbt, PublicKey, ScriptBuf, secp256k1::Secp256k1, Transaction, TxIn,
[INFO] [stderr]   |                                ^^^^                        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::account::account::Account`
[INFO] [stderr]   --> src/psbt.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use crate::account::account::Account;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/psbt.rs:37:13
[INFO] [stderr]    |
[INFO] [stderr] 37 |               /// The reference to the previous output that is being used as an input.
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 38 | /             previous_output: OutPoint {
[INFO] [stderr] 39 | |                 txid: prev_tx_id,
[INFO] [stderr] 40 | |                 vout,
[INFO] [stderr] 41 | |             },
[INFO] [stderr]    | |_____________- rustdoc does not generate documentation for expression fields
[INFO] [stderr]    |
[INFO] [stderr]    = help: use `//` for a plain comment
[INFO] [stderr]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/psbt.rs:42:13
[INFO] [stderr]    |
[INFO] [stderr] 42 |             /// The script which pushes values on the stack which will cause the referenced output’s script to be accepted.
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 43 |             script_sig: ScriptBuf::new(),
[INFO] [stderr]    |             ---------------------------- rustdoc does not generate documentation for expression fields
[INFO] [stderr]    |
[INFO] [stderr]    = help: use `//` for a plain comment
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/psbt.rs:44:13
[INFO] [stderr]    |
[INFO] [stderr] 44 | ...   /// The sequence number, which suggests to miners which of two conflicting transactions should be preferred, or 0xFFFFFFFF to ignore this feature. This is generally never used since the miner behavior cannot be enforced.
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 45 | ...   sequence: bitcoin::Sequence::from_consensus(0xffffffff),
[INFO] [stderr]    |       ------------------------------------------------------- rustdoc does not generate documentation for expression fields
[INFO] [stderr]    |
[INFO] [stderr]    = help: use `//` for a plain comment
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/psbt.rs:46:13
[INFO] [stderr]    |
[INFO] [stderr] 46 | ...   /// Witness data: an array of byte-arrays. Note that this field is not (de)serialized with the rest of the TxIn in Encodable/Decodable, as it is (de)serialized at the end of the full Transaction. It is (de)serialized with the rest of the TxIn in other (de)serialization routines.
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 47 | ...   witness: Witness::new(),
[INFO] [stderr]    |       ----------------------- rustdoc does not generate documentation for expression fields
[INFO] [stderr]    |
[INFO] [stderr]    = help: use `//` for a plain comment
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::account::account::Account`
[INFO] [stderr]  --> src/utils.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::account::account::Account;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `bitcoin::hashes::Hash`
[INFO] [stderr]  --> src/psbt.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use bitcoin::hashes::Hash;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/account/account.rs:97:13
[INFO] [stderr]    |
[INFO] [stderr] 97 |             _ => Address::p2pkh(&public_key, network),
[INFO] [stderr]    |             ^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]   --> src/account/account.rs:97:13
[INFO] [stderr]    |
[INFO] [stderr] 79 |             AddressType::P2PKH => Address::p2pkh(&public_key, network),
[INFO] [stderr]    |             ------------------ matches some of the same values
[INFO] [stderr] 80 |             AddressType::P2SH_P2WPKH => {
[INFO] [stderr]    |             ------------------------ matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 84 |             AddressType::P2WPKH => {
[INFO] [stderr]    |             ------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 88 |             AddressType::P2TR => {
[INFO] [stderr]    |             ----------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 97 |             _ => Address::p2pkh(&public_key, network),
[INFO] [stderr]    |             ^ collectively making this unreachable
[INFO] [stderr]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: multiple fields are never read
[INFO] [stderr]   --> src/utils.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 9  | pub struct UnspentOutput {
[INFO] [stderr]    |            ------------- fields in this struct
[INFO] [stderr] 10 |     tx_id:String,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 11 |     vout:u32,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 12 |     satoshis:i32,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 13 |     script_publkey:String,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 14 |     public_key: PublicKey,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 15 |     address_type: AddressType,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 16 |     inscriptions: Vec<Inscriptions>,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 17 |     runes: Option<Vec<Runes>>,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 18 |     raw_tx:Option<String>
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `inscription_id`, `inscription_number`, `inscription_type`, and `ticker` are never read
[INFO] [stderr]   --> src/utils.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub struct Inscriptions {
[INFO] [stderr]    |            ------------ fields in this struct
[INFO] [stderr] 23 |     inscription_id:String,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 24 |     inscription_number:u32,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 25 |     inscription_type: InscriptionType,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 26 |     ticker:Option<String>,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `NFT` and `FT` are never constructed
[INFO] [stderr]   --> src/utils.rs:30:5
[INFO] [stderr]    |
[INFO] [stderr] 29 | enum InscriptionType {
[INFO] [stderr]    |      --------------- variants in this enum
[INFO] [stderr] 30 |     NFT,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 31 |     FT
[INFO] [stderr]    |     ^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `rune_id` and `amount` are never read
[INFO] [stderr]   --> src/utils.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub struct Runes {
[INFO] [stderr]    |            ----- fields in this struct
[INFO] [stderr] 36 |     rune_id:String,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 37 |     amount:String,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `inscriptions`, `runes`, `tx_id`, and `vout` are never read
[INFO] [stderr]   --> src/utils.rs:42:5
[INFO] [stderr]    |
[INFO] [stderr] 41 | pub struct Assets {
[INFO] [stderr]    |            ------ fields in this struct
[INFO] [stderr] 42 |     inscriptions: Option<Vec<Inscriptions>>,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 43 |     runes: Option<Vec<Runes>>,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 44 |     tx_id:Option<String>,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 45 |     vout:Option<u32>,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `unsigned_psbt`
[INFO] [stderr]    --> src/psbt.rs:112:13
[INFO] [stderr]     |
[INFO] [stderr] 112 |         let unsigned_psbt = UnSignedPsbt::new()
[INFO] [stderr]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unsigned_psbt`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `btc_app` (lib) generated 15 warnings (run `cargo fix --lib -p btc_app` to apply 3 suggestions)
[INFO] [stderr] warning: `btc_app` (lib test) generated 16 warnings (15 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/btc_app-f72ec6016be96dd4)
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test account::xyz_pub::tests::err_when_too_few_bytes ... ok
[INFO] [stdout] test account::xyz_pub::tests::err_when_too_short ... ok
[INFO] [stdout] test account::xyz_pub::tests::xpub_not_valid ... ok
[INFO] [stdout] test errors::tests::test_account_type_error ... ok
[INFO] [stdout] test account::xyz_pub::tests::xpub_to_tpub ... ok
[INFO] [stdout] test account::xyz_pub::tests::xpub_to_zpub ... ok
[INFO] [stdout] test account::xyz_pub::tests::xpub_to_ypub ... ok
[INFO] [stdout] test account::xyz_pub::tests::zpub_to_xpub ... ok
[INFO] [stdout] test psbt::tests::test_build_unsigned_psbt ... ok
[INFO] [stdout] test account::account::tests::test_derive_account_from_mnemonic ... ok
[INFO] [stdout] test account::account::tests::test_from_random ... ok
[INFO] [stdout] test account::account::tests::test_derive_account_from_mnemonic_bip84 ... ok
[INFO] [stdout] test account::account::tests::test_derive_account_from_mnemonic_taproot ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests btc_app
[INFO] [stderr] warning: variant `P2SH_P2WPKH` should have an upper camel case name
[INFO] [stderr]   --> src/account/address_type.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 |     P2SH_P2WPKH,
[INFO] [stderr]    |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `P2shP2wpkh`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[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" "537191f71bf61fe5038abf7e65dd5f0a2064e4be47fae2a6a84dcfad040d1052", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "537191f71bf61fe5038abf7e65dd5f0a2064e4be47fae2a6a84dcfad040d1052", kill_on_drop: false }`
[INFO] [stdout] 537191f71bf61fe5038abf7e65dd5f0a2064e4be47fae2a6a84dcfad040d1052
