[INFO] cloning repository https://github.com/ZhenQian-keystone/psbt_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZhenQian-keystone/psbt_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhenQian-keystone%2Fpsbt_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhenQian-keystone%2Fpsbt_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 08078699155f72d7cea034782281656b3d4942d6 [INFO] checking ZhenQian-keystone/psbt_test/08078699155f72d7cea034782281656b3d4942d6 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhenQian-keystone%2Fpsbt_test" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZhenQian-keystone/psbt_test on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ZhenQian-keystone/psbt_test [INFO] finished tweaking git repo https://github.com/ZhenQian-keystone/psbt_test [INFO] tweaked toml for git repo https://github.com/ZhenQian-keystone/psbt_test written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ZhenQian-keystone/psbt_test 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 027a095cedacccc68aee1fb28ba3af31da984e146a11730ed8338ce826667c86 [INFO] running `Command { std: "docker" "start" "-a" "027a095cedacccc68aee1fb28ba3af31da984e146a11730ed8338ce826667c86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "027a095cedacccc68aee1fb28ba3af31da984e146a11730ed8338ce826667c86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "027a095cedacccc68aee1fb28ba3af31da984e146a11730ed8338ce826667c86", kill_on_drop: false }` [INFO] [stdout] 027a095cedacccc68aee1fb28ba3af31da984e146a11730ed8338ce826667c86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e87c8d2642cf08b50ac5412e6201d0cb368f558d9b2b3363740b60252f066ea9 [INFO] running `Command { std: "docker" "start" "-a" "e87c8d2642cf08b50ac5412e6201d0cb368f558d9b2b3363740b60252f066ea9", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Checking bitcoin-io v0.1.2 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling bitcoin v0.32.2 [INFO] [stderr] Checking hex-conservative v0.2.1 [INFO] [stderr] Checking bech32 v0.11.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Compiling secp256k1-sys v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Checking bitcoin_hashes v0.14.0 [INFO] [stderr] Checking bitcoin-units v0.1.1 [INFO] [stderr] Checking base58ck v0.1.0 [INFO] [stderr] Checking secp256k1 v0.29.0 [INFO] [stderr] Checking psbt_test v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/psbt_creator.rs (7 fixes) [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Transaction` in this scope [INFO] [stdout] --> src/psbt_creator.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | let unsigned_tx = Transaction{ [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::Transaction; [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::p2p::message_blockdata::Inventory::Transaction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TxIn` in this scope [INFO] [stdout] --> src/psbt_creator.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | TxIn{ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::TxIn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `OutPoint` in this scope [INFO] [stdout] --> src/psbt_creator.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | previous_output: OutPoint{ [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::OutPoint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Txid` [INFO] [stdout] --> src/psbt_creator.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | txid: Txid::from_str("4240b666b1ef8e22ad4a1cd6d0a312e71fc3d5b6ceb4a70df099635b5b5f88de").unwrap(), [INFO] [stdout] | ^^^^ use of undeclared type `Txid` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::Txid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScriptBuf` [INFO] [stdout] --> src/psbt_creator.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | script_sig: ScriptBuf::new(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ScriptBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::ScriptBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Sequence` [INFO] [stdout] --> src/psbt_creator.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | sequence:Sequence::MAX, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Sequence` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::Sequence; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Witness` [INFO] [stdout] --> src/psbt_creator.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | witness: Witness::default(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Witness` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::Witness; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TxOut` in this scope [INFO] [stdout] --> src/psbt_creator.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | TxOut { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::TxOut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Amount` [INFO] [stdout] --> src/psbt_creator.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | value: Amount::from_sat(51123), // (0.00051123 BTC == 51123 sats) [INFO] [stdout] | ^^^^^^ use of undeclared type `Amount` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::Amount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScriptBuf` [INFO] [stdout] --> src/psbt_creator.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | script_pubkey: ScriptBuf::from_hex("00147e30ec724ceb5670917b3e6b0849938cb0661936").unwrap(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ScriptBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::ScriptBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TxOut` in this scope [INFO] [stdout] --> src/psbt_creator.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | TxOut { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::TxOut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Amount` [INFO] [stdout] --> src/psbt_creator.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | value: Amount::from_sat(126298), // 0.00126298 BTC == 126298 sats [INFO] [stdout] | ^^^^^^ use of undeclared type `Amount` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::Amount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScriptBuf` [INFO] [stdout] --> src/psbt_creator.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | script_pubkey: ScriptBuf::from_hex("0014b0006f6789046ab2265fb640b1f7c5961bc99f21").unwrap(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ScriptBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::ScriptBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Psbt` [INFO] [stdout] --> src/psbt_creator.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | let mut psbt = Psbt::from_unsigned_tx(unsigned_tx).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `Psbt` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::Psbt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Input` in this scope [INFO] [stdout] --> src/psbt_creator.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | let mut input = Input { witness_utxo: Some( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::psbt::Input; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TxOut` in this scope [INFO] [stdout] --> src/psbt_creator.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | ... TxOut { value: Amount::from_sat(178443), script_pubkey: ScriptBuf::from_hex("001473aef83067037c4b8bdf35cb6abdfb281234552d").unwrap... [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::TxOut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Amount` [INFO] [stdout] --> src/psbt_creator.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | ... TxOut { value: Amount::from_sat(178443), script_pubkey: ScriptBuf::from_hex("001473aef83067037c4b8bdf35cb6abdfb281234552d").unwrap... [INFO] [stdout] | ^^^^^^ use of undeclared type `Amount` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::Amount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScriptBuf` [INFO] [stdout] --> src/psbt_creator.rs:43:70 [INFO] [stdout] | [INFO] [stdout] 43 | ... TxOut { value: Amount::from_sat(178443), script_pubkey: ScriptBuf::from_hex("001473aef83067037c4b8bdf35cb6abdfb281234552d").unwrap... [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ScriptBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::ScriptBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PublicKey` [INFO] [stdout] --> src/psbt_creator.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | let public_key = PublicKey::from_str( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PublicKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fingerprint` [INFO] [stdout] --> src/psbt_creator.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | let fingerprint = Fingerprint::from_str("52744703").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Fingerprint` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::bip32::Fingerprint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DerivationPath` [INFO] [stdout] --> src/psbt_creator.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | let path = DerivationPath::from_str("m/84'/0'/0'/1/8").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DerivationPath` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::bip32::DerivationPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BTreeMap` [INFO] [stdout] --> src/psbt_creator.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | let mut map = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `BTreeMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Output` in this scope [INFO] [stdout] --> src/psbt_creator.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | let output = Output { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 4 + use std::process::Output; [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::psbt::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PublicKey` [INFO] [stdout] --> src/psbt_creator.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | let public_key = PublicKey::from_str(output_public_key).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PublicKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fingerprint` [INFO] [stdout] --> src/psbt_creator.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | let fingerprint = Fingerprint::from_str(master_finger_print).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Fingerprint` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::bip32::Fingerprint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DerivationPath` [INFO] [stdout] --> src/psbt_creator.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | let path = DerivationPath::from_str(path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DerivationPath` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::bip32::DerivationPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BTreeMap` [INFO] [stdout] --> src/psbt_creator.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | let mut map = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `BTreeMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Output` in this scope [INFO] [stdout] --> src/psbt_creator.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | let mut output2 = Output { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 4 + use std::process::Output; [INFO] [stdout] | [INFO] [stdout] 4 + use bitcoin::psbt::Output; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/psbt_creator.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | /// Creates the PSBT, in BIP174 parlance this is the 'Creator'. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | / let unsigned_tx = Transaction{ [INFO] [stdout] 8 | | version:bitcoin::transaction::Version::TWO, [INFO] [stdout] 9 | | lock_time: bitcoin::blockdata::locktime::absolute::LockTime::ZERO, [INFO] [stdout] 10 | | input: vec![ [INFO] [stdout] ... | [INFO] [stdout] 30 | | ], [INFO] [stdout] 31 | | }; [INFO] [stdout] | |__________- rustdoc does not generate documentation for statements [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] error: aborting due to 28 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `psbt_test` (lib test) due to 29 previous errors; 1 warning emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "e87c8d2642cf08b50ac5412e6201d0cb368f558d9b2b3363740b60252f066ea9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e87c8d2642cf08b50ac5412e6201d0cb368f558d9b2b3363740b60252f066ea9", kill_on_drop: false }` [INFO] [stdout] e87c8d2642cf08b50ac5412e6201d0cb368f558d9b2b3363740b60252f066ea9