[INFO] cloning repository https://github.com/vpin09/rust-blockchain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vpin09/rust-blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvpin09%2Frust-blockchain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvpin09%2Frust-blockchain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 27a3814ccb543961b8d0830edb2bf3efc3b4f5ed
[INFO] checking vpin09/rust-blockchain against try#446cb600aa4837dd6c513f14fa0d25a909b177d7 for pr-149195
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvpin09%2Frust-blockchain" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/vpin09/rust-blockchain
[INFO] finished tweaking git repo https://github.com/vpin09/rust-blockchain
[INFO] tweaked toml for git repo https://github.com/vpin09/rust-blockchain written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/vpin09/rust-blockchain on toolchain 446cb600aa4837dd6c513f14fa0d25a909b177d7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/vpin09/rust-blockchain 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" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 10e2c20cb6246d53fd3475733acc58e5d06ca5617a460331d1438a313af67998
[INFO] running `Command { std: "docker" "start" "-a" "10e2c20cb6246d53fd3475733acc58e5d06ca5617a460331d1438a313af67998", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "10e2c20cb6246d53fd3475733acc58e5d06ca5617a460331d1438a313af67998", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "10e2c20cb6246d53fd3475733acc58e5d06ca5617a460331d1438a313af67998", kill_on_drop: false }`
[INFO] [stdout] 10e2c20cb6246d53fd3475733acc58e5d06ca5617a460331d1438a313af67998
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 546c2feade556aab4e515424500cca0eac88c71618bd063df9c30bf35d3a1d41
[INFO] running `Command { std: "docker" "start" "-a" "546c2feade556aab4e515424500cca0eac88c71618bd063df9c30bf35d3a1d41", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]     Checking parking_lot_core v0.8.6
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking fs2 v0.4.3
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking sled v0.34.7
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking rust-blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]   --> src/blockchain.rs:39:118
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let tip_bytes=blocks_tree.get(TIP_BLOCK_HASH_KEY).unwrap().expect("No existing blockchain found create one");\
[INFO] [stdout]    |                                                                                                                      ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \
[INFO] [stdout]   --> src/blockchain.rs:39:118
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let tip_bytes=blocks_tree.get(TIP_BLOCK_HASH_KEY).unwrap().expect("No existing blockchain found create one");\
[INFO] [stdout]    |                                                                                                                      ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `current_timestamp` in the crate root
[INFO] [stdout]   --> src/block.rs:20:31
[INFO] [stdout]    |
[INFO] [stdout] 20 |             timestamp: crate::current_timestamp(),
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^ not found in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `current_timestamp` in the crate root
[INFO] [stdout]   --> src/block.rs:20:31
[INFO] [stdout]    |
[INFO] [stdout] 20 |             timestamp: crate::current_timestamp(),
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^ not found in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sha256_digest` in the crate root
[INFO] [stdout]   --> src/block.rs:68:16
[INFO] [stdout]    |
[INFO] [stdout] 68 |         crate::sha256_digest(txhashs.as_slice())
[INFO] [stdout]    |                ^^^^^^^^^^^^^ not found in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sha256_digest` in the crate root
[INFO] [stdout]   --> src/block.rs:68:16
[INFO] [stdout]    |
[INFO] [stdout] 68 |         crate::sha256_digest(txhashs.as_slice())
[INFO] [stdout]    |                ^^^^^^^^^^^^^ not found in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_NONCE` in this scope
[INFO] [stdout]   --> src/proof_of_work.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |         while nonce <MAX_NONCE {
[INFO] [stdout]    |                      ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MAX_NONCE` in this scope
[INFO] [stdout]   --> src/proof_of_work.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |         while nonce <MAX_NONCE {
[INFO] [stdout]    |                      ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sha256_digest` in the crate root
[INFO] [stdout]   --> src/proof_of_work.rs:18:25
[INFO] [stdout]    |
[INFO] [stdout] 18 |             hash=crate::sha256_digest(data.as_slice());
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ not found in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sha256_digest` in the crate root
[INFO] [stdout]   --> src/proof_of_work.rs:18:25
[INFO] [stdout]    |
[INFO] [stdout] 18 |             hash=crate::sha256_digest(data.as_slice());
[INFO] [stdout]    |                         ^^^^^^^^^^^^^ not found in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TXInput`, `TXOutput`, and `self`
[INFO] [stdout]  --> src/block.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::transaction::{self, TXInput, TXOutput, Transaction};
[INFO] [stdout]   |                          ^^^^  ^^^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TXInput`, `TXOutput`, and `self`
[INFO] [stdout]  --> src/block.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::transaction::{self, TXInput, TXOutput, Transaction};
[INFO] [stdout]   |                          ^^^^  ^^^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::hash`
[INFO] [stdout]  --> src/proof_of_work.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::hash;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::hash`
[INFO] [stdout]  --> src/proof_of_work.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::hash;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Tree`
[INFO] [stdout]  --> src/blockchain.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use  sled::{Db,Tree};
[INFO] [stdout]   |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/blockchain.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::block::{self, Block};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Tree`
[INFO] [stdout]  --> src/blockchain.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use  sled::{Db,Tree};
[INFO] [stdout]   |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/blockchain.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::transaction::{self, Transaction};
[INFO] [stdout]    |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/blockchain.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::block::{self, Block};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/blockchain.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::transaction::{self, Transaction};
[INFO] [stdout]    |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_proof_of_work` found for struct `ProofOfWork` in the current scope
[INFO] [stdout]   --> src/block.rs:27:32
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let pow = ProofOfWork::new_proof_of_work(block.clone);
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^ function or associated item not found in `ProofOfWork`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/proof_of_work.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct ProofOfWork{
[INFO] [stdout]    | ---------------------- function or associated item `new_proof_of_work` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_proof_of_work` found for struct `ProofOfWork` in the current scope
[INFO] [stdout]   --> src/block.rs:27:32
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let pow = ProofOfWork::new_proof_of_work(block.clone);
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^ function or associated item not found in `ProofOfWork`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/proof_of_work.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct ProofOfWork{
[INFO] [stdout]    | ---------------------- function or associated item `new_proof_of_work` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `clone` on type `Block`
[INFO] [stdout]   --> src/block.rs:27:56
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let pow = ProofOfWork::new_proof_of_work(block.clone);
[INFO] [stdout]    |                                                        ^^^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let pow = ProofOfWork::new_proof_of_work(block.clone());
[INFO] [stdout]    |                                                             ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `clone` on type `Block`
[INFO] [stdout]   --> src/block.rs:27:56
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let pow = ProofOfWork::new_proof_of_work(block.clone);
[INFO] [stdout]    |                                                        ^^^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let pow = ProofOfWork::new_proof_of_work(block.clone());
[INFO] [stdout]    |                                                             ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_id` found for reference `&Transaction` in the current scope
[INFO] [stdout]   --> src/block.rs:66:40
[INFO] [stdout]    |
[INFO] [stdout] 66 |             txhashs.extend(transaction.get_id());
[INFO] [stdout]    |                                        ^^^^^^ method not found in `&Transaction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_id` found for reference `&Transaction` in the current scope
[INFO] [stdout]   --> src/block.rs:66:40
[INFO] [stdout]    |
[INFO] [stdout] 66 |             txhashs.extend(transaction.get_id());
[INFO] [stdout]    |                                        ^^^^^^ method not found in `&Transaction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `prepare_data` found for reference `&ProofOfWork` in the current scope
[INFO] [stdout]   --> src/proof_of_work.rs:17:27
[INFO] [stdout]    |
[INFO] [stdout] 17 |             let data=self.prepare_data(nonce);
[INFO] [stdout]    |                           ^^^^^^^^^^^^ method not found in `&ProofOfWork`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `prepare_data` found for reference `&ProofOfWork` in the current scope
[INFO] [stdout]   --> src/proof_of_work.rs:17:27
[INFO] [stdout]    |
[INFO] [stdout] 17 |             let data=self.prepare_data(nonce);
[INFO] [stdout]    |                           ^^^^^^^^^^^^ method not found in `&ProofOfWork`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_coinbase_tx` found for struct `Transaction` in the current scope
[INFO] [stdout]   --> src/blockchain.rs:22:42
[INFO] [stdout]    |
[INFO] [stdout] 22 |             let coinbase_tx=Transaction::new_coinbase_tx(genesis_address);
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^ function or associated item not found in `Transaction`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/transaction.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub  struct Transaction{
[INFO] [stdout]    | ----------------------- function or associated item `new_coinbase_tx` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_coinbase_tx` found for struct `Transaction` in the current scope
[INFO] [stdout]   --> src/blockchain.rs:22:42
[INFO] [stdout]    |
[INFO] [stdout] 22 |             let coinbase_tx=Transaction::new_coinbase_tx(genesis_address);
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^ function or associated item not found in `Transaction`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/transaction.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub  struct Transaction{
[INFO] [stdout]    | ----------------------- function or associated item `new_coinbase_tx` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `update_blocks_tree` found for struct `Blockchain` in the current scope
[INFO] [stdout]   --> src/blockchain.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Blockchain{
[INFO] [stdout]    | --------------------- function or associated item `update_blocks_tree` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 |             Self::update_blocks_tree(&blocks_tree,&block);
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^ function or associated item not found in `Blockchain`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `Blockchain` consider using one of the following associated functions:
[INFO] [stdout]       Blockchain::create_blockchain
[INFO] [stdout]       Blockchain::new_blockchain
[INFO] [stdout]   --> src/blockchain.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn create_blockchain(genesis_address:&str)->Blockchain{
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn new_blockchain()->Blockchain{
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `update_blocks_tree` found for struct `Blockchain` in the current scope
[INFO] [stdout]   --> src/blockchain.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Blockchain{
[INFO] [stdout]    | --------------------- function or associated item `update_blocks_tree` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 |             Self::update_blocks_tree(&blocks_tree,&block);
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^ function or associated item not found in `Blockchain`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `Blockchain` consider using one of the following associated functions:
[INFO] [stdout]       Blockchain::create_blockchain
[INFO] [stdout]       Blockchain::new_blockchain
[INFO] [stdout]   --> src/blockchain.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn create_blockchain(genesis_address:&str)->Blockchain{
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn new_blockchain()->Blockchain{
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `verify` found for struct `Transaction` in the current scope
[INFO] [stdout]   --> src/blockchain.rs:58:28
[INFO] [stdout]    |
[INFO] [stdout] 58 |             if transaction.verify(self) == false {
[INFO] [stdout]    |                            ^^^^^^ method not found in `Transaction`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/transaction.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub  struct Transaction{
[INFO] [stdout]    | ----------------------- method `verify` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `verify` found for struct `Transaction` in the current scope
[INFO] [stdout]   --> src/blockchain.rs:58:28
[INFO] [stdout]    |
[INFO] [stdout] 58 |             if transaction.verify(self) == false {
[INFO] [stdout]    |                            ^^^^^^ method not found in `Transaction`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/transaction.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub  struct Transaction{
[INFO] [stdout]    | ----------------------- method `verify` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_best_height` found for mutable reference `&mut Blockchain` in the current scope
[INFO] [stdout]   --> src/blockchain.rs:64:30
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let best_height=self.get_best_height();
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^ method not found in `&mut Blockchain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_best_height` found for mutable reference `&mut Blockchain` in the current scope
[INFO] [stdout]   --> src/blockchain.rs:64:30
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let best_height=self.get_best_height();
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^ method not found in `&mut Blockchain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `update_blocks_tree` found for struct `Blockchain` in the current scope
[INFO] [stdout]   --> src/blockchain.rs:68:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Blockchain{
[INFO] [stdout]    | --------------------- function or associated item `update_blocks_tree` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 68 |         Self::update_blocks_tree(&blocks_tree,&block);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^ function or associated item not found in `Blockchain`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `Blockchain` consider using one of the following associated functions:
[INFO] [stdout]       Blockchain::create_blockchain
[INFO] [stdout]       Blockchain::new_blockchain
[INFO] [stdout]   --> src/blockchain.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn create_blockchain(genesis_address:&str)->Blockchain{
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn new_blockchain()->Blockchain{
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `update_blocks_tree` found for struct `Blockchain` in the current scope
[INFO] [stdout]   --> src/blockchain.rs:68:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Blockchain{
[INFO] [stdout]    | --------------------- function or associated item `update_blocks_tree` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 68 |         Self::update_blocks_tree(&blocks_tree,&block);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^ function or associated item not found in `Blockchain`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `Blockchain` consider using one of the following associated functions:
[INFO] [stdout]       Blockchain::create_blockchain
[INFO] [stdout]       Blockchain::new_blockchain
[INFO] [stdout]   --> src/blockchain.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn create_blockchain(genesis_address:&str)->Blockchain{
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn new_blockchain()->Blockchain{
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/blockchain.rs:80:37
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn new(tip_hash:String,db:Db)-> BlockchainIterator {
[INFO] [stdout]    |        ---                          ^^^^^^^^^^^^^^^^^^ expected `BlockchainIterator`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/blockchain.rs:80:37
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn new(tip_hash:String,db:Db)-> BlockchainIterator {
[INFO] [stdout]    |        ---                          ^^^^^^^^^^^^^^^^^^ expected `BlockchainIterator`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_tip_hash` found for reference `&BlockchainIterator` in the current scope
[INFO] [stdout]   --> src/blockchain.rs:84:38
[INFO] [stdout]    |
[INFO] [stdout] 84 |         BlockchainIterator::new(self.get_tip_hash(),self.db.clone())
[INFO] [stdout]    |                                      ^^^^^^^^^^^^ method not found in `&BlockchainIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/blockchain.rs:87:29
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub fn next(&mut self)->Option<Block>{
[INFO] [stdout]    |            ----             ^^^^^^^^^^^^^ expected `Option<Block>`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `std::option::Option<Block>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_tip_hash` found for reference `&BlockchainIterator` in the current scope
[INFO] [stdout]   --> src/blockchain.rs:84:38
[INFO] [stdout]    |
[INFO] [stdout] 84 |         BlockchainIterator::new(self.get_tip_hash(),self.db.clone())
[INFO] [stdout]    |                                      ^^^^^^^^^^^^ method not found in `&BlockchainIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/blockchain.rs:87:29
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub fn next(&mut self)->Option<Block>{
[INFO] [stdout]    |            ----             ^^^^^^^^^^^^^ expected `Option<Block>`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `std::option::Option<Block>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599, E0615.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599, E0615.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-blockchain` (lib) due to 17 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-blockchain` (lib test) due to 17 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "546c2feade556aab4e515424500cca0eac88c71618bd063df9c30bf35d3a1d41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "546c2feade556aab4e515424500cca0eac88c71618bd063df9c30bf35d3a1d41", kill_on_drop: false }`
[INFO] [stdout] 546c2feade556aab4e515424500cca0eac88c71618bd063df9c30bf35d3a1d41
