[INFO] cloning repository https://github.com/ChainThemAll/bitcoin_example_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ChainThemAll/bitcoin_example_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChainThemAll%2Fbitcoin_example_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChainThemAll%2Fbitcoin_example_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 726e4dc7234f873eb5fcf47ee3b793aa2b0c0b8f
[INFO] testing ChainThemAll/bitcoin_example_rust against nightly-2025-01-18 for randomize-layout-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChainThemAll%2Fbitcoin_example_rust" "/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/ChainThemAll/bitcoin_example_rust on toolchain nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ChainThemAll/bitcoin_example_rust
[INFO] finished tweaking git repo https://github.com/ChainThemAll/bitcoin_example_rust
[INFO] tweaked toml for git repo https://github.com/ChainThemAll/bitcoin_example_rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/ChainThemAll/bitcoin_example_rust 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" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bs58 v0.5.0
[INFO] [stderr]   Downloaded k256 v0.13.3
[INFO] [stderr]   Downloaded sha256 v1.5.0
[INFO] [stderr]   Downloaded bip32 v0.5.1
[INFO] [stderr]   Downloaded platforms v3.3.0
[INFO] [stderr]   Downloaded clap v4.5.2
[INFO] [stderr]   Downloaded anyhow v1.0.80
[INFO] [stderr]   Downloaded sled v0.34.7
[INFO] [stderr]   Downloaded fiat-crypto v0.2.6
[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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 552c539507223b99dfe038e97da1f5e96c33099d8cd130bba81cf6d0177c26b1
[INFO] running `Command { std: "docker" "start" "-a" "552c539507223b99dfe038e97da1f5e96c33099d8cd130bba81cf6d0177c26b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "552c539507223b99dfe038e97da1f5e96c33099d8cd130bba81cf6d0177c26b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "552c539507223b99dfe038e97da1f5e96c33099d8cd130bba81cf6d0177c26b1", kill_on_drop: false }`
[INFO] [stdout] 552c539507223b99dfe038e97da1f5e96c33099d8cd130bba81cf6d0177c26b1
[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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6476dfcc55f1071e57c44cd7a8ea98c8190c6cc1913004351f4226c5bac7b229
[INFO] running `Command { std: "docker" "start" "-a" "6476dfcc55f1071e57c44cd7a8ea98c8190c6cc1913004351f4226c5bac7b229", kill_on_drop: false }`
[INFO] [stderr]    Compiling zeroize v1.7.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling const-oid v0.9.6
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling semver v1.0.22
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling der v0.7.8
[INFO] [stderr]    Compiling base16ct v0.2.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling platforms v3.3.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling utf8parse v0.2.1
[INFO] [stderr]    Compiling anstyle-parse v0.2.3
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling colorchoice v1.0.0
[INFO] [stderr]    Compiling anstyle-query v1.0.2
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling anstyle v1.0.6
[INFO] [stderr]    Compiling curve25519-dalek v4.1.2
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling anstream v0.6.13
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling sec1 v0.7.3
[INFO] [stderr]    Compiling ff v0.13.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling group v0.13.0
[INFO] [stderr]    Compiling crypto-bigint v0.5.5
[INFO] [stderr]    Compiling rfc6979 v0.4.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling serde_json v1.0.114
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling strsim v0.11.0
[INFO] [stderr]    Compiling anyhow v1.0.80
[INFO] [stderr]    Compiling clap_lex v0.7.0
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling clap_builder v4.5.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling bs58 v0.5.0
[INFO] [stderr]    Compiling pbkdf2 v0.12.2
[INFO] [stderr]    Compiling ed25519 v2.2.3
[INFO] [stderr]    Compiling ripemd v0.1.3
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]    Compiling bitcoin_hashes v0.11.0
[INFO] [stderr]    Compiling keccak v0.1.5
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling sled v0.34.7
[INFO] [stderr]    Compiling elliptic-curve v0.13.8
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling ecdsa v0.16.9
[INFO] [stderr]    Compiling k256 v0.13.3
[INFO] [stderr]    Compiling bip32 v0.5.1
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling clap_derive v4.5.0
[INFO] [stderr]    Compiling tokio v1.36.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling clap v4.5.2
[INFO] [stderr]    Compiling ed25519-dalek v2.1.1
[INFO] [stderr]    Compiling sha256 v1.5.0
[INFO] [stderr]    Compiling bip39 v2.0.0
[INFO] [stderr]    Compiling block_chain_example v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `hash::HashValue`
[INFO] [stdout]  --> src/account.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     hash::HashValue,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/db.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BlockHeader` and `Transaction`
[INFO] [stdout]   --> src/db.rs:9:20
[INFO] [stdout]    |
[INFO] [stdout] 9  |     block::{Block, BlockHeader},
[INFO] [stdout]    |                    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     transaction::{TXOutput, Transaction},
[INFO] [stdout]    |                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `self` and `transaction::Transaction`
[INFO] [stdout]  --> src/wallet.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 |     account::{self, Account},
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 5 |     transaction::Transaction,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/transaction.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let vin = todo!();
[INFO] [stdout]    |                   ------- any code following this expression is unreachable
[INFO] [stdout] 61 |         let vout = todo!();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/db.rs:56:10
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let (key, value) = bitcoin.last().unwrap().unwrap();
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new`
[INFO] [stdout]   --> src/signature.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let mut new: [u8; 64] = [0; 64];
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_new`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/signature.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let mut new: [u8; 64] = [0; 64];
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/transaction.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let mut tx = Self {
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vin`
[INFO] [stdout]   --> src/transaction.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let vin = get_utxo(from)
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_vin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vin`
[INFO] [stdout]   --> src/transaction.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let vin = todo!();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_vin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vout`
[INFO] [stdout]   --> src/transaction.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let vout = todo!();
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_vout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]   --> src/transaction.rs:53:31
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn new(from: Address, to: Address, value: u64) -> Self {
[INFO] [stdout]    |                               ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/transaction.rs:53:44
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn new(from: Address, to: Address, value: u64) -> Self {
[INFO] [stdout]    |                                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx_out`
[INFO] [stdout]   --> src/transaction.rs:58:19
[INFO] [stdout]    |
[INFO] [stdout] 58 |             .map(|tx_out| TXInput::new(hash, 0, signature::Signature::default(), [0; 32]))
[INFO] [stdout]    |                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mnemonic_byte_len` is never used
[INFO] [stdout]  --> src/pbkdf2.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn mnemonic_byte_len<M>(mnemonic: M) -> usize
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mnemonic_write_into` is never used
[INFO] [stdout]   --> src/pbkdf2.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn mnemonic_write_into<M>(mnemonic: M, engine: &mut sha512::HashEngine)
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_hmac_engine` is never used
[INFO] [stdout]   --> src/pbkdf2.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn create_hmac_engine<M>(mnemonic: M) -> hmac::HmacEngine<sha512::Hash>
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `u32_to_array_be` is never used
[INFO] [stdout]   --> src/pbkdf2.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn u32_to_array_be(val: u32) -> [u8; 4] {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xor` is never used
[INFO] [stdout]   --> src/pbkdf2.rs:96:4
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn xor(res: &mut [u8], salt: &[u8]) {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pbkdf2` is never used
[INFO] [stdout]    --> src/pbkdf2.rs:103:15
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub(crate) fn pbkdf2<M>(mnemonic: M, unprefixed_salt: &[u8], c: usize, res: &mut [u8])
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `HDWallet` should have a snake case name
[INFO] [stdout]  --> src/lib.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod HDWallet;
[INFO] [stdout]   |         ^^^^^^^^ help: convert the identifier to snake case: `hdwallet`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s
[INFO] running `Command { std: "docker" "inspect" "6476dfcc55f1071e57c44cd7a8ea98c8190c6cc1913004351f4226c5bac7b229", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6476dfcc55f1071e57c44cd7a8ea98c8190c6cc1913004351f4226c5bac7b229", kill_on_drop: false }`
[INFO] [stdout] 6476dfcc55f1071e57c44cd7a8ea98c8190c6cc1913004351f4226c5bac7b229
[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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2326d4c9206b65578176925a7bcfbb0e2a1cfa783b696396e3f6b2bb70de5db8
[INFO] running `Command { std: "docker" "start" "-a" "2326d4c9206b65578176925a7bcfbb0e2a1cfa783b696396e3f6b2bb70de5db8", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `hash::HashValue`
[INFO] [stdout]  --> src/account.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     hash::HashValue,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/db.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BlockHeader` and `Transaction`
[INFO] [stdout]   --> src/db.rs:9:20
[INFO] [stdout]    |
[INFO] [stdout] 9  |     block::{Block, BlockHeader},
[INFO] [stdout]    |                    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     transaction::{TXOutput, Transaction},
[INFO] [stdout]    |                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `self` and `transaction::Transaction`
[INFO] [stdout]  --> src/wallet.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 |     account::{self, Account},
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 5 |     transaction::Transaction,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/transaction.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let vin = todo!();
[INFO] [stdout]    |                   ------- any code following this expression is unreachable
[INFO] [stdout] 61 |         let vout = todo!();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/db.rs:56:10
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let (key, value) = bitcoin.last().unwrap().unwrap();
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new`
[INFO] [stdout]   --> src/signature.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let mut new: [u8; 64] = [0; 64];
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_new`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/signature.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let mut new: [u8; 64] = [0; 64];
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/transaction.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let mut tx = Self {
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vin`
[INFO] [stdout]   --> src/transaction.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let vin = get_utxo(from)
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_vin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vin`
[INFO] [stdout]   --> src/transaction.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let vin = todo!();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_vin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vout`
[INFO] [stdout]   --> src/transaction.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let vout = todo!();
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_vout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]   --> src/transaction.rs:53:31
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn new(from: Address, to: Address, value: u64) -> Self {
[INFO] [stdout]    |                               ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/transaction.rs:53:44
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn new(from: Address, to: Address, value: u64) -> Self {
[INFO] [stdout]    |                                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx_out`
[INFO] [stdout]   --> src/transaction.rs:58:19
[INFO] [stdout]    |
[INFO] [stdout] 58 |             .map(|tx_out| TXInput::new(hash, 0, signature::Signature::default(), [0; 32]))
[INFO] [stdout]    |                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mnemonic_byte_len` is never used
[INFO] [stdout]  --> src/pbkdf2.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn mnemonic_byte_len<M>(mnemonic: M) -> usize
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mnemonic_write_into` is never used
[INFO] [stdout]   --> src/pbkdf2.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn mnemonic_write_into<M>(mnemonic: M, engine: &mut sha512::HashEngine)
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_hmac_engine` is never used
[INFO] [stdout]   --> src/pbkdf2.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn create_hmac_engine<M>(mnemonic: M) -> hmac::HmacEngine<sha512::Hash>
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling block_chain_example v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `u32_to_array_be` is never used
[INFO] [stdout]   --> src/pbkdf2.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn u32_to_array_be(val: u32) -> [u8; 4] {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xor` is never used
[INFO] [stdout]   --> src/pbkdf2.rs:96:4
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn xor(res: &mut [u8], salt: &[u8]) {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pbkdf2` is never used
[INFO] [stdout]    --> src/pbkdf2.rs:103:15
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub(crate) fn pbkdf2<M>(mnemonic: M, unprefixed_salt: &[u8], c: usize, res: &mut [u8])
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `HDWallet` should have a snake case name
[INFO] [stdout]  --> src/lib.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod HDWallet;
[INFO] [stdout]   |         ^^^^^^^^ help: convert the identifier to snake case: `hdwallet`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/main.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let v = vec![2, 2];
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hash::HashValue`
[INFO] [stdout]  --> src/account.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     hash::HashValue,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/db.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `self` and `transaction::Transaction`
[INFO] [stdout]  --> src/wallet.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 |     account::{self, Account},
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 5 |     transaction::Transaction,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/transaction.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let vin = todo!();
[INFO] [stdout]    |                   ------- any code following this expression is unreachable
[INFO] [stdout] 61 |         let vout = todo!();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/db.rs:56:10
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let (key, value) = bitcoin.last().unwrap().unwrap();
[INFO] [stdout]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new`
[INFO] [stdout]   --> src/signature.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let mut new: [u8; 64] = [0; 64];
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_new`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/signature.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let mut new: [u8; 64] = [0; 64];
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/transaction.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let mut tx = Self {
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vin`
[INFO] [stdout]   --> src/transaction.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let vin = get_utxo(from)
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_vin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vin`
[INFO] [stdout]   --> src/transaction.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let vin = todo!();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_vin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vout`
[INFO] [stdout]   --> src/transaction.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let vout = todo!();
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_vout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]   --> src/transaction.rs:53:31
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn new(from: Address, to: Address, value: u64) -> Self {
[INFO] [stdout]    |                               ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/transaction.rs:53:44
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn new(from: Address, to: Address, value: u64) -> Self {
[INFO] [stdout]    |                                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx_out`
[INFO] [stdout]   --> src/transaction.rs:58:19
[INFO] [stdout]    |
[INFO] [stdout] 58 |             .map(|tx_out| TXInput::new(hash, 0, signature::Signature::default(), [0; 32]))
[INFO] [stdout]    |                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `HDWallet` should have a snake case name
[INFO] [stdout]  --> src/lib.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod HDWallet;
[INFO] [stdout]   |         ^^^^^^^^ help: convert the identifier to snake case: `hdwallet`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.99s
[INFO] running `Command { std: "docker" "inspect" "2326d4c9206b65578176925a7bcfbb0e2a1cfa783b696396e3f6b2bb70de5db8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2326d4c9206b65578176925a7bcfbb0e2a1cfa783b696396e3f6b2bb70de5db8", kill_on_drop: false }`
[INFO] [stdout] 2326d4c9206b65578176925a7bcfbb0e2a1cfa783b696396e3f6b2bb70de5db8
[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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6019245e3870741cf8dcb3415f42f674f9e60f11ca75f51cc760e2867320cd45
[INFO] running `Command { std: "docker" "start" "-a" "6019245e3870741cf8dcb3415f42f674f9e60f11ca75f51cc760e2867320cd45", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `hash::HashValue`
[INFO] [stderr]  --> src/account.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 |     hash::HashValue,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `core::num`
[INFO] [stderr]  --> src/db.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use core::num;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `BlockHeader` and `Transaction`
[INFO] [stderr]   --> src/db.rs:9:20
[INFO] [stderr]    |
[INFO] [stderr] 9  |     block::{Block, BlockHeader},
[INFO] [stderr]    |                    ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 12 |     transaction::{TXOutput, Transaction},
[INFO] [stderr]    |                             ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `self` and `transaction::Transaction`
[INFO] [stderr]  --> src/wallet.rs:2:15
[INFO] [stderr]   |
[INFO] [stderr] 2 |     account::{self, Account},
[INFO] [stderr]   |               ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 5 |     transaction::Transaction,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable statement
[INFO] [stderr]   --> src/transaction.rs:61:9
[INFO] [stderr]    |
[INFO] [stderr] 60 |         let vin = todo!();
[INFO] [stderr]    |                   ------- any code following this expression is unreachable
[INFO] [stderr] 61 |         let vout = todo!();
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `key`
[INFO] [stderr]   --> src/db.rs:56:10
[INFO] [stderr]    |
[INFO] [stderr] 56 |     let (key, value) = bitcoin.last().unwrap().unwrap();
[INFO] [stderr]    |          ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `new`
[INFO] [stderr]   --> src/signature.rs:13:17
[INFO] [stderr]    |
[INFO] [stderr] 13 |         let mut new: [u8; 64] = [0; 64];
[INFO] [stderr]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_new`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/signature.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 |         let mut new: [u8; 64] = [0; 64];
[INFO] [stderr]    |             ----^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/transaction.rs:40:13
[INFO] [stderr]    |
[INFO] [stderr] 40 |         let mut tx = Self {
[INFO] [stderr]    |             ----^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `vin`
[INFO] [stderr]   --> src/transaction.rs:55:13
[INFO] [stderr]    |
[INFO] [stderr] 55 |         let vin = get_utxo(from)
[INFO] [stderr]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_vin`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `vin`
[INFO] [stderr]   --> src/transaction.rs:60:13
[INFO] [stderr]    |
[INFO] [stderr] 60 |         let vin = todo!();
[INFO] [stderr]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_vin`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `vout`
[INFO] [stderr]   --> src/transaction.rs:61:13
[INFO] [stderr]    |
[INFO] [stderr] 61 |         let vout = todo!();
[INFO] [stderr]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_vout`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `to`
[INFO] [stderr]   --> src/transaction.rs:53:31
[INFO] [stderr]    |
[INFO] [stderr] 53 |     pub fn new(from: Address, to: Address, value: u64) -> Self {
[INFO] [stderr]    |                               ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `value`
[INFO] [stderr]   --> src/transaction.rs:53:44
[INFO] [stderr]    |
[INFO] [stderr] 53 |     pub fn new(from: Address, to: Address, value: u64) -> Self {
[INFO] [stderr]    |                                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tx_out`
[INFO] [stderr]   --> src/transaction.rs:58:19
[INFO] [stderr]    |
[INFO] [stderr] 58 |             .map(|tx_out| TXInput::new(hash, 0, signature::Signature::default(), [0; 32]))
[INFO] [stderr]    |                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_out`
[INFO] [stderr] 
[INFO] [stderr] warning: function `mnemonic_byte_len` is never used
[INFO] [stderr]  --> src/pbkdf2.rs:4:4
[INFO] [stderr]   |
[INFO] [stderr] 4 | fn mnemonic_byte_len<M>(mnemonic: M) -> usize
[INFO] [stderr]   |    ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `mnemonic_write_into` is never used
[INFO] [stderr]   --> src/pbkdf2.rs:19:4
[INFO] [stderr]    |
[INFO] [stderr] 19 | fn mnemonic_write_into<M>(mnemonic: M, engine: &mut sha512::HashEngine)
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_hmac_engine` is never used
[INFO] [stderr]   --> src/pbkdf2.rs:34:4
[INFO] [stderr]    |
[INFO] [stderr] 34 | fn create_hmac_engine<M>(mnemonic: M) -> hmac::HmacEngine<sha512::Hash>
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `u32_to_array_be` is never used
[INFO] [stderr]   --> src/pbkdf2.rs:87:4
[INFO] [stderr]    |
[INFO] [stderr] 87 | fn u32_to_array_be(val: u32) -> [u8; 4] {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `xor` is never used
[INFO] [stderr]   --> src/pbkdf2.rs:96:4
[INFO] [stderr]    |
[INFO] [stderr] 96 | fn xor(res: &mut [u8], salt: &[u8]) {
[INFO] [stderr]    |    ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `pbkdf2` is never used
[INFO] [stderr]    --> src/pbkdf2.rs:103:15
[INFO] [stderr]     |
[INFO] [stderr] 103 | pub(crate) fn pbkdf2<M>(mnemonic: M, unprefixed_salt: &[u8], c: usize, res: &mut [u8])
[INFO] [stderr]     |               ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: module `HDWallet` should have a snake case name
[INFO] [stderr]  --> src/lib.rs:1:9
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub mod HDWallet;
[INFO] [stderr]   |         ^^^^^^^^ help: convert the identifier to snake case: `hdwallet`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `block_chain_example` (lib) generated 22 warnings (run `cargo fix --lib -p block_chain_example` to apply 6 suggestions)
[INFO] [stderr] warning: `block_chain_example` (lib test) generated 15 warnings (15 duplicates)
[INFO] [stderr] warning: unused import: `core::num`
[INFO] [stderr]  --> src/main.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use core::num;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `v`
[INFO] [stderr]   --> src/main.rs:19:9
[INFO] [stderr]    |
[INFO] [stderr] 19 |     let v = vec![2, 2];
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `block_chain_example` (bin "block_chain_example" test) generated 2 warnings (run `cargo fix --bin "block_chain_example" --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/block_chain_example-41c9dcd590a23883)
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test db::shaung ... ok
[INFO] [stdout] test account::test ... ok
[INFO] [stdout] test address::test ... ok
[INFO] [stdout] test crypto::test ... ok
[INFO] [stdout] test address::test_gen_eth_address_from_private_key ... ok
[INFO] [stdout] test db::test ... ok
[INFO] [stdout] test block::test ... ok
[INFO] [stdout] test wallet::test ... FAILED
[INFO] [stdout] test transaction::test ... FAILED
[INFO] [stdout] test cli::test ... FAILED
[INFO] [stdout] test db::test_db ... FAILED
[INFO] [stdout] test pbkdf2::test ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- wallet::test stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'wallet::test' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.19.0/src/lib.rs:1311:25:
[INFO] [stdout] Lazy instance has previously been poisoned
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x61cda636f28a - std::backtrace_rs::backtrace::libunwind::trace::hb059275cfc8d6126
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x61cda636f28a - std::backtrace_rs::backtrace::trace_unsynchronized::h2da071e4327ce3ee
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x61cda636f28a - std::sys::backtrace::_print_fmt::h842a1474e6f8d23f
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x61cda636f28a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h71a62eb3b9696b12
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x61cda6398fc3 - core::fmt::rt::Argument::fmt::hdb6b616786b41dc1
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x61cda6398fc3 - core::fmt::write::h2cc1698af7e2d686
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/mod.rs:1440:21
[INFO] [stdout]    6:     0x61cda636b4a3 - std::io::Write::write_fmt::hab1b4cd059a79022
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/io/mod.rs:1887:15
[INFO] [stdout]    7:     0x61cda636f0d2 - std::sys::backtrace::BacktraceLock::print::h147fe35b4ea13b08
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x61cda63706af - std::panicking::default_hook::{{closure}}::hbd44223dbdc0d208
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:298:22
[INFO] [stdout]    9:     0x61cda63704c8 - std::panicking::default_hook::h20f81eb0576efcec
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:322:9
[INFO] [stdout]   10:     0x61cda60f8143 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hdb53814c496a4d34
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9
[INFO] [stdout]   11:     0x61cda60f8143 - test::test_main::{{closure}}::hc0a4963c59427c24
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x61cda63711a3 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h591b2225413a77e9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9
[INFO] [stdout]   13:     0x61cda63711a3 - std::panicking::rust_panic_with_hook::h625eea43051b2edc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:839:13
[INFO] [stdout]   14:     0x61cda6370e26 - std::panicking::begin_panic_handler::{{closure}}::h4f9159cfbc3f6bd3
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:697:13
[INFO] [stdout]   15:     0x61cda636f789 - std::sys::backtrace::__rust_end_short_backtrace::h0390abce48353151
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   16:     0x61cda6370aed - rust_begin_unwind
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:695:5
[INFO] [stdout]   17:     0x61cda63970b0 - core::panicking::panic_fmt::h9e7c637e9e5f29c9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x61cda607e9af - once_cell::sync::Lazy<T,F>::force::{{closure}}::hb4142832fae35fa5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.19.0/src/lib.rs:1311:25
[INFO] [stdout]   19:     0x61cda607ea1d - once_cell::sync::OnceCell<T>::get_or_init::{{closure}}::hdeae87aec5ee005c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.19.0/src/lib.rs:1120:57
[INFO] [stdout]   20:     0x61cda60894f0 - once_cell::imp::OnceCell<T>::initialize::{{closure}}::hfc8c8bee8e28775d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.19.0/src/imp_std.rs:72:23
[INFO] [stdout]   21:     0x61cda6310f86 - core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut::ha56a664dcb09d57b
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:294:13
[INFO] [stdout]   22:     0x61cda6311f91 - once_cell::imp::initialize_or_wait::hc453d4e72606efa5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.19.0/src/imp_std.rs:196:20
[INFO] [stdout]   23:     0x61cda608949e - once_cell::imp::OnceCell<T>::initialize::hbba5edab47a9d900
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.19.0/src/imp_std.rs:68:9
[INFO] [stdout]   24:     0x61cda607eae7 - once_cell::sync::OnceCell<T>::get_or_try_init::h32228843c95f623d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.19.0/src/lib.rs:1161:13
[INFO] [stdout]   25:     0x61cda607e9e3 - once_cell::sync::OnceCell<T>::get_or_init::h1331752ee122aa52
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.19.0/src/lib.rs:1120:19
[INFO] [stdout]   26:     0x61cda607e930 - once_cell::sync::Lazy<T,F>::force::ha839b7b7868eaf54
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.19.0/src/lib.rs:1309:13
[INFO] [stdout]   27:     0x61cda607e0fa - <once_cell::sync::Lazy<T,F> as core::ops::deref::Deref>::deref::h06523c4c4d8596fc
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.19.0/src/lib.rs:1376:13
[INFO] [stdout]   28:     0x61cda6082180 - block_chain_example::db::add_account::h0e6410697dc52807
[INFO] [stdout]                                at /opt/rustwide/workdir/src/db.rs:107:14
[INFO] [stdout]   29:     0x61cda6072fbb - block_chain_example::wallet::Wallet::add_account::hfe7e9e6930f64a5b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/wallet.rs:19:9
[INFO] [stdout]   30:     0x61cda607302d - block_chain_example::wallet::Wallet::add_new_account::h77b1b814ecfbdf8b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/wallet.rs:24:9
[INFO] [stdout]   31:     0x61cda60767eb - block_chain_example::wallet::test::h97870e895bc3c1d7
[INFO] [stdout]                                at /opt/rustwide/workdir/src/wallet.rs:43:16
[INFO] [stdout]   32:     0x61cda60767b7 - block_chain_example::wallet::test::{{closure}}::h2692da042cae083b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/wallet.rs:41:10
[INFO] [stdout]   33:     0x61cda6079976 - core::ops::function::FnOnce::call_once::h1bc579bd30fb59e0
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   34:     0x61cda60fd89b - core::ops::function::FnOnce::call_once::he27718dfdd183f43
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   35:     0x61cda60fd89b - test::__rust_begin_short_backtrace::h4e84902998457a5d
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:632:18
[INFO] [stdout]   36:     0x61cda60fc7d3 - test::run_test_in_process::{{closure}}::h7176fd18fc1feca0
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:60
[INFO] [stdout]   37:     0x61cda60fc7d3 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf79cff2a624d8cf7
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x61cda60fc7d3 - std::panicking::try::do_call::h3da0561d9ab99c25
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   39:     0x61cda60fc7d3 - std::panicking::try::h41c9fa508bc61df6
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   40:     0x61cda60fc7d3 - std::panic::catch_unwind::h6b3ff07bb5afad93
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   41:     0x61cda60fc7d3 - test::run_test_in_process::hc7253dd11b39b9f4
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:27
[INFO] [stdout]   42:     0x61cda60fc7d3 - test::run_test::{{closure}}::hfb2007f8649c30bb
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:576:43
[INFO] [stdout]   43:     0x61cda60bf8b5 - test::run_test::{{closure}}::h56a17aa7a282a9f4
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:606:41
[INFO] [stdout]   44:     0x61cda60bf8b5 - std::sys::backtrace::__rust_begin_short_backtrace::hd2d2d2fb8e8c6aac
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout]   45:     0x61cda60c319a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h4faa3f9db6133423
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   46:     0x61cda60c319a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf2e855a36a4ea846
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   47:     0x61cda60c319a - std::panicking::try::do_call::h2f73af3616c35465
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   48:     0x61cda60c319a - std::panicking::try::hd1660ce9efadef5a
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   49:     0x61cda60c319a - std::panic::catch_unwind::h5ee8d7823b8ca744
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   50:     0x61cda60c319a - std::thread::Builder::spawn_unchecked_::{{closure}}::h53c3a1894dce8407
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   51:     0x61cda60c319a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h048ce291ad4f62bf
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   52:     0x61cda637656b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha52bedf99a3b4981
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9
[INFO] [stdout]   53:     0x61cda637656b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h567748934d80ccf8
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9
[INFO] [stdout]   54:     0x61cda637656b - std::sys::pal::unix::thread::Thread::new::thread_start::h2d970728ae887adc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/pal/unix/thread.rs:106:17
[INFO] [stdout]   55:     0x793a75c3dac3 - <unknown>
[INFO] [stdout]   56:     0x793a75ccea04 - clone
[INFO] [stdout]   57:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- transaction::test stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'transaction::test' panicked at src/transaction.rs:121:39:
[INFO] [stdout] attempt to subtract with overflow
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x61cda636f28a - std::backtrace_rs::backtrace::libunwind::trace::hb059275cfc8d6126
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x61cda636f28a - std::backtrace_rs::backtrace::trace_unsynchronized::h2da071e4327ce3ee
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x61cda636f28a - std::sys::backtrace::_print_fmt::h842a1474e6f8d23f
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x61cda636f28a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h71a62eb3b9696b12
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x61cda6398fc3 - core::fmt::rt::Argument::fmt::hdb6b616786b41dc1
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x61cda6398fc3 - core::fmt::write::h2cc1698af7e2d686
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/mod.rs:1440:21
[INFO] [stdout]    6:     0x61cda636b4a3 - std::io::Write::write_fmt::hab1b4cd059a79022
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/io/mod.rs:1887:15
[INFO] [stdout]    7:     0x61cda636f0d2 - std::sys::backtrace::BacktraceLock::print::h147fe35b4ea13b08
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x61cda63706af - std::panicking::default_hook::{{closure}}::hbd44223dbdc0d208
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:298:22
[INFO] [stdout]    9:     0x61cda63704c8 - std::panicking::default_hook::h20f81eb0576efcec
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:322:9
[INFO] [stdout]   10:     0x61cda60f8143 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hdb53814c496a4d34
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9
[INFO] [stdout]   11:     0x61cda60f8143 - test::test_main::{{closure}}::hc0a4963c59427c24
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x61cda63711a3 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h591b2225413a77e9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9
[INFO] [stdout]   13:     0x61cda63711a3 - std::panicking::rust_panic_with_hook::h625eea43051b2edc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:839:13
[INFO] [stdout]   14:     0x61cda6370e26 - std::panicking::begin_panic_handler::{{closure}}::h4f9159cfbc3f6bd3
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:697:13
[INFO] [stdout]   15:     0x61cda636f789 - std::sys::backtrace::__rust_end_short_backtrace::h0390abce48353151
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   16:     0x61cda6370aed - rust_begin_unwind
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:695:5
[INFO] [stdout]   17:     0x61cda63970b0 - core::panicking::panic_fmt::h9e7c637e9e5f29c9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x61cda639e827 - core::panicking::panic_const::panic_const_sub_overflow::hc936e676af9fcd5b
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:178:21
[INFO] [stdout]   19:     0x61cda605dfeb - block_chain_example::transaction::TXOutput::lock::h1888616c7218b33f
[INFO] [stdout]                                at /opt/rustwide/workdir/src/transaction.rs:121:39
[INFO] [stdout]   20:     0x61cda605dece - block_chain_example::transaction::TXOutput::new::h5bb59e2ec7bcd7a4
[INFO] [stdout]                                at /opt/rustwide/workdir/src/transaction.rs:114:9
[INFO] [stdout]   21:     0x61cda605d79a - block_chain_example::transaction::Transaction::new_coinbase_tx::h7632b75e81b22a3b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/transaction.rs:47:24
[INFO] [stdout]   22:     0x61cda6062145 - block_chain_example::transaction::test::h3be1d5370f243998
[INFO] [stdout]                                at /opt/rustwide/workdir/src/transaction.rs:131:14
[INFO] [stdout]   23:     0x61cda6062107 - block_chain_example::transaction::test::{{closure}}::hf1d934db201bb2b8
[INFO] [stdout]                                at /opt/rustwide/workdir/src/transaction.rs:129:10
[INFO] [stdout]   24:     0x61cda60799b6 - core::ops::function::FnOnce::call_once::h382d5a4b733a1974
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61cda60fd89b - core::ops::function::FnOnce::call_once::he27718dfdd183f43
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61cda60fd89b - test::__rust_begin_short_backtrace::h4e84902998457a5d
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:632:18
[INFO] [stdout]   27:     0x61cda60fc7d3 - test::run_test_in_process::{{closure}}::h7176fd18fc1feca0
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:60
[INFO] [stdout]   28:     0x61cda60fc7d3 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf79cff2a624d8cf7
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x61cda60fc7d3 - std::panicking::try::do_call::h3da0561d9ab99c25
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   30:     0x61cda60fc7d3 - std::panicking::try::h41c9fa508bc61df6
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   31:     0x61cda60fc7d3 - std::panic::catch_unwind::h6b3ff07bb5afad93
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   32:     0x61cda60fc7d3 - test::run_test_in_process::hc7253dd11b39b9f4
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:27
[INFO] [stdout]   33:     0x61cda60fc7d3 - test::run_test::{{closure}}::hfb2007f8649c30bb
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:576:43
[INFO] [stdout]   34:     0x61cda60bf8b5 - test::run_test::{{closure}}::h56a17aa7a282a9f4
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:606:41
[INFO] [stdout]   35:     0x61cda60bf8b5 - std::sys::backtrace::__rust_begin_short_backtrace::hd2d2d2fb8e8c6aac
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout]   36:     0x61cda60c319a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h4faa3f9db6133423
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   37:     0x61cda60c319a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf2e855a36a4ea846
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x61cda60c319a - std::panicking::try::do_call::h2f73af3616c35465
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   39:     0x61cda60c319a - std::panicking::try::hd1660ce9efadef5a
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   40:     0x61cda60c319a - std::panic::catch_unwind::h5ee8d7823b8ca744
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   41:     0x61cda60c319a - std::thread::Builder::spawn_unchecked_::{{closure}}::h53c3a1894dce8407
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   42:     0x61cda60c319a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h048ce291ad4f62bf
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x61cda637656b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha52bedf99a3b4981
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9
[INFO] [stdout]   44:     0x61cda637656b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h567748934d80ccf8
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9
[INFO] [stdout]   45:     0x61cda637656b - std::sys::pal::unix::thread::Thread::new::thread_start::h2d970728ae887adc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/pal/unix/thread.rs:106:17
[INFO] [stdout]   46:     0x793a75c3dac3 - <unknown>
[INFO] [stdout]   47:     0x793a75ccea04 - clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- cli::test stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'cli::test' panicked at src/db.rs:16:34:
[INFO] [stdout] failed to open database: Io(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" })
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x61cda636f28a - std::backtrace_rs::backtrace::libunwind::trace::hb059275cfc8d6126
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x61cda636f28a - std::backtrace_rs::backtrace::trace_unsynchronized::h2da071e4327ce3ee
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x61cda636f28a - std::sys::backtrace::_print_fmt::h842a1474e6f8d23f
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x61cda636f28a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h71a62eb3b9696b12
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x61cda6398fc3 - core::fmt::rt::Argument::fmt::hdb6b616786b41dc1
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x61cda6398fc3 - core::fmt::write::h2cc1698af7e2d686
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/mod.rs:1440:21
[INFO] [stdout]    6:     0x61cda636b4a3 - std::io::Write::write_fmt::hab1b4cd059a79022
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/io/mod.rs:1887:15
[INFO] [stdout]    7:     0x61cda636f0d2 - std::sys::backtrace::BacktraceLock::print::h147fe35b4ea13b08
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x61cda63706af - std::panicking::default_hook::{{closure}}::hbd44223dbdc0d208
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:298:22
[INFO] [stdout]    9:     0x61cda63704c8 - std::panicking::default_hook::h20f81eb0576efcec
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:322:9
[INFO] [stdout]   10:     0x61cda60f8143 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hdb53814c496a4d34
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9
[INFO] [stdout]   11:     0x61cda60f8143 - test::test_main::{{closure}}::hc0a4963c59427c24
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x61cda63711a3 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h591b2225413a77e9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9
[INFO] [stdout]   13:     0x61cda63711a3 - std::panicking::rust_panic_with_hook::h625eea43051b2edc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:839:13
[INFO] [stdout]   14:     0x61cda6370e5a - std::panicking::begin_panic_handler::{{closure}}::h4f9159cfbc3f6bd3
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:704:13
[INFO] [stdout]   15:     0x61cda636f789 - std::sys::backtrace::__rust_end_short_backtrace::h0390abce48353151
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   16:     0x61cda6370aed - rust_begin_unwind
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:695:5
[INFO] [stdout]   17:     0x61cda63970b0 - core::panicking::panic_fmt::h9e7c637e9e5f29c9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x61cda6397586 - core::result::unwrap_failed::h7979f09313fe1849
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/result.rs:1704:5
[INFO] [stdout]   19:     0x61cda6065006 - core::result::Result<T,E>::expect::h21a58e5016275b0b
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/result.rs:1061:23
[INFO] [stdout]   20:     0x61cda6081701 - block_chain_example::db::DB::{{closure}}::h31c833afce005dc9
[INFO] [stdout]                                at /opt/rustwide/workdir/src/db.rs:16:14
[INFO] [stdout]   21:     0x61cda6079c56 - core::ops::function::FnOnce::call_once::h9f2a15f505441a57
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   22:     0x61cda6079b92 - core::ops::function::FnOnce::call_once::h7ce3ae4e4621dc93
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x61cda607e9c3 - once_cell::sync::Lazy<T,F>::force::{{closure}}::hb4142832fae35fa5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.19.0/src/lib.rs:1310:28
[INFO] [stdout]   24:     0x61cda607ea1d - once_cell::sync::OnceCell<T>::get_or_init::{{closure}}::hdeae87aec5ee005c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.19.0/src/lib.rs:1120:57
[INFO] [stdout]   25:     0x61cda60894f0 - once_cell::imp::OnceCell<T>::initialize::{{closure}}::hfc8c8bee8e28775d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.19.0/src/imp_std.rs:72:23
[INFO] [stdout]   26:     0x61cda6310f86 - core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut::ha56a664dcb09d57b
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:294:13
[INFO] [stdout]   27:     0x61cda6311f91 - once_cell::imp::initialize_or_wait::hc453d4e72606efa5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.19.0/src/imp_std.rs:196:20
[INFO] [stdout]   28:     0x61cda608949e - once_cell::imp::OnceCell<T>::initialize::hbba5edab47a9d900
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.19.0/src/imp_std.rs:68:9
[INFO] [stdout]   29:     0x61cda607eae7 - once_cell::sync::OnceCell<T>::get_or_try_init::h32228843c95f623d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.19.0/src/lib.rs:1161:13
[INFO] [stdout]   30:     0x61cda607e9e3 - once_cell::sync::OnceCell<T>::get_or_init::h1331752ee122aa52
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.19.0/src/lib.rs:1120:19
[INFO] [stdout]   31:     0x61cda607e930 - once_cell::sync::Lazy<T,F>::force::ha839b7b7868eaf54
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.19.0/src/lib.rs:1309:13
[INFO] [stdout]   32:     0x61cda607e0fa - <once_cell::sync::Lazy<T,F> as core::ops::deref::Deref>::deref::h06523c4c4d8596fc
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/once_cell-1.19.0/src/lib.rs:1376:13
[INFO] [stdout]   33:     0x61cda6082180 - block_chain_example::db::add_account::h0e6410697dc52807
[INFO] [stdout]                                at /opt/rustwide/workdir/src/db.rs:107:14
[INFO] [stdout]   34:     0x61cda6072fbb - block_chain_example::wallet::Wallet::add_account::hfe7e9e6930f64a5b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/wallet.rs:19:9
[INFO] [stdout]   35:     0x61cda607302d - block_chain_example::wallet::Wallet::add_new_account::h77b1b814ecfbdf8b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/wallet.rs:24:9
[INFO] [stdout]   36:     0x61cda60766d2 - block_chain_example::cli::test::h41d1744a801b3784
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cli.rs:136:13
[INFO] [stdout]   37:     0x61cda6076697 - block_chain_example::cli::test::{{closure}}::h19c7cd0281d15760
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cli.rs:130:10
[INFO] [stdout]   38:     0x61cda6079936 - core::ops::function::FnOnce::call_once::h1b572390f2c61077
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   39:     0x61cda60fd89b - core::ops::function::FnOnce::call_once::he27718dfdd183f43
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   40:     0x61cda60fd89b - test::__rust_begin_short_backtrace::h4e84902998457a5d
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:632:18
[INFO] [stdout]   41:     0x61cda60fc7d3 - test::run_test_in_process::{{closure}}::h7176fd18fc1feca0
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:60
[INFO] [stdout]   42:     0x61cda60fc7d3 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf79cff2a624d8cf7
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   43:     0x61cda60fc7d3 - std::panicking::try::do_call::h3da0561d9ab99c25
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   44:     0x61cda60fc7d3 - std::panicking::try::h41c9fa508bc61df6
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   45:     0x61cda60fc7d3 - std::panic::catch_unwind::h6b3ff07bb5afad93
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   46:     0x61cda60fc7d3 - test::run_test_in_process::hc7253dd11b39b9f4
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:27
[INFO] [stdout]   47:     0x61cda60fc7d3 - test::run_test::{{closure}}::hfb2007f8649c30bb
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:576:43
[INFO] [stdout]   48:     0x61cda60bf8b5 - test::run_test::{{closure}}::h56a17aa7a282a9f4
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:606:41
[INFO] [stdout]   49:     0x61cda60bf8b5 - std::sys::backtrace::__rust_begin_short_backtrace::hd2d2d2fb8e8c6aac
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout]   50:     0x61cda60c319a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h4faa3f9db6133423
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   51:     0x61cda60c319a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf2e855a36a4ea846
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   52:     0x61cda60c319a - std::panicking::try::do_call::h2f73af3616c35465
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   53:     0x61cda60c319a - std::panicking::try::hd1660ce9efadef5a
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   54:     0x61cda60c319a - std::panic::catch_unwind::h5ee8d7823b8ca744
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   55:     0x61cda60c319a - std::thread::Builder::spawn_unchecked_::{{closure}}::h53c3a1894dce8407
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   56:     0x61cda60c319a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h048ce291ad4f62bf
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   57:     0x61cda637656b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha52bedf99a3b4981
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9
[INFO] [stdout]   58:     0x61cda637656b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h567748934d80ccf8
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9
[INFO] [stdout]   59:     0x61cda637656b - std::sys::pal::unix::thread::Thread::new::thread_start::h2d970728ae887adc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/pal/unix/thread.rs:106:17
[INFO] [stdout]   60:     0x793a75c3dac3 - <unknown>
[INFO] [stdout]   61:     0x793a75ccea04 - clone
[INFO] [stdout]   62:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- db::test_db stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'db::test_db' panicked at src/db.rs:168:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: HashValue { hash: [88, 99, 206, 125, 12, 184, 28, 65, 34, 56, 7, 125, 57, 44, 244, 103, 161, 83, 101, 42, 67, 149, 241, 176, 11, 77, 51, 143, 225, 68, 163, 122] }
[INFO] [stdout]  right: HashValue { hash: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x61cda636f28a - std::backtrace_rs::backtrace::libunwind::trace::hb059275cfc8d6126
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x61cda636f28a - std::backtrace_rs::backtrace::trace_unsynchronized::h2da071e4327ce3ee
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x61cda636f28a - std::sys::backtrace::_print_fmt::h842a1474e6f8d23f
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x61cda636f28a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h71a62eb3b9696b12
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x61cda6398fc3 - core::fmt::rt::Argument::fmt::hdb6b616786b41dc1
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x61cda6398fc3 - core::fmt::write::h2cc1698af7e2d686
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/mod.rs:1440:21
[INFO] [stdout]    6:     0x61cda636b4a3 - std::io::Write::write_fmt::hab1b4cd059a79022
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/io/mod.rs:1887:15
[INFO] [stdout]    7:     0x61cda636f0d2 - std::sys::backtrace::BacktraceLock::print::h147fe35b4ea13b08
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x61cda63706af - std::panicking::default_hook::{{closure}}::hbd44223dbdc0d208
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:298:22
[INFO] [stdout]    9:     0x61cda63704c8 - std::panicking::default_hook::h20f81eb0576efcec
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:322:9
[INFO] [stdout]   10:     0x61cda60f8143 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hdb53814c496a4d34
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9
[INFO] [stdout]   11:     0x61cda60f8143 - test::test_main::{{closure}}::hc0a4963c59427c24
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x61cda63711a3 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h591b2225413a77e9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9
[INFO] [stdout]   13:     0x61cda63711a3 - std::panicking::rust_panic_with_hook::h625eea43051b2edc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:839:13
[INFO] [stdout]   14:     0x61cda6370e5a - std::panicking::begin_panic_handler::{{closure}}::h4f9159cfbc3f6bd3
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:704:13
[INFO] [stdout]   15:     0x61cda636f789 - std::sys::backtrace::__rust_end_short_backtrace::h0390abce48353151
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   16:     0x61cda6370aed - rust_begin_unwind
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:695:5
[INFO] [stdout]   17:     0x61cda63970b0 - core::panicking::panic_fmt::h9e7c637e9e5f29c9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x61cda6397503 - core::panicking::assert_failed_inner::h538bec7c1374cd9c
[INFO] [stdout]   19:     0x61cda606582e - core::panicking::assert_failed::h53f473d712c48954
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:364:5
[INFO] [stdout]   20:     0x61cda6083929 - block_chain_example::db::test_db::h2b156b2cee2a5479
[INFO] [stdout]                                at /opt/rustwide/workdir/src/db.rs:168:5
[INFO] [stdout]   21:     0x61cda6083437 - block_chain_example::db::test_db::{{closure}}::h13fdc39c102f4ea6
[INFO] [stdout]                                at /opt/rustwide/workdir/src/db.rs:160:13
[INFO] [stdout]   22:     0x61cda6079c16 - core::ops::function::FnOnce::call_once::h8a7708aa58cc0b8a
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x61cda60fd89b - core::ops::function::FnOnce::call_once::he27718dfdd183f43
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x61cda60fd89b - test::__rust_begin_short_backtrace::h4e84902998457a5d
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:632:18
[INFO] [stdout]   25:     0x61cda60fc7d3 - test::run_test_in_process::{{closure}}::h7176fd18fc1feca0
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:60
[INFO] [stdout]   26:     0x61cda60fc7d3 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf79cff2a624d8cf7
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x61cda60fc7d3 - std::panicking::try::do_call::h3da0561d9ab99c25
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   28:     0x61cda60fc7d3 - std::panicking::try::h41c9fa508bc61df6
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   29:     0x61cda60fc7d3 - std::panic::catch_unwind::h6b3ff07bb5afad93
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   30:     0x61cda60fc7d3 - test::run_test_in_process::hc7253dd11b39b9f4
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:27
[INFO] [stdout]   31:     0x61cda60fc7d3 - test::run_test::{{closure}}::hfb2007f8649c30bb
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:576:43
[INFO] [stdout]   32:     0x61cda60bf8b5 - test::run_test::{{closure}}::h56a17aa7a282a9f4
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:606:41
[INFO] [stdout]   33:     0x61cda60bf8b5 - std::sys::backtrace::__rust_begin_short_backtrace::hd2d2d2fb8e8c6aac
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout]   34:     0x61cda60c319a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h4faa3f9db6133423
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   35:     0x61cda60c319a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf2e855a36a4ea846
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x61cda60c319a - std::panicking::try::do_call::h2f73af3616c35465
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   37:     0x61cda60c319a - std::panicking::try::hd1660ce9efadef5a
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   38:     0x61cda60c319a - std::panic::catch_unwind::h5ee8d7823b8ca744
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   39:     0x61cda60c319a - std::thread::Builder::spawn_unchecked_::{{closure}}::h53c3a1894dce8407
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   40:     0x61cda60c319a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h048ce291ad4f62bf
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x61cda637656b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha52bedf99a3b4981
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9
[INFO] [stdout]   42:     0x61cda637656b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h567748934d80ccf8
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9
[INFO] [stdout]   43:     0x61cda637656b - std::sys::pal::unix::thread::Thread::new::thread_start::h2d970728ae887adc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/pal/unix/thread.rs:106:17
[INFO] [stdout]   44:     0x793a75c3dac3 - <unknown>
[INFO] [stdout]   45:     0x793a75ccea04 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     cli::test
[INFO] [stdout]     db::test_db
[INFO] [stdout]     transaction::test
[INFO] [stdout]     wallet::test
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 8 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "6019245e3870741cf8dcb3415f42f674f9e60f11ca75f51cc760e2867320cd45", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6019245e3870741cf8dcb3415f42f674f9e60f11ca75f51cc760e2867320cd45", kill_on_drop: false }`
[INFO] [stdout] 6019245e3870741cf8dcb3415f42f674f9e60f11ca75f51cc760e2867320cd45
