[INFO] cloning repository https://github.com/korir248/blockchain-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/korir248/blockchain-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorir248%2Fblockchain-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorir248%2Fblockchain-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e679c6d905dc609f2a78392740c1a1b93bd06517
[INFO] checking korir248/blockchain-rust against try#81ab7f2139295590561adbe6d5b0aaa2feff765f for pr-146470-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorir248%2Fblockchain-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/korir248/blockchain-rust
[INFO] finished tweaking git repo https://github.com/korir248/blockchain-rust
[INFO] tweaked toml for git repo https://github.com/korir248/blockchain-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/korir248/blockchain-rust on toolchain 81ab7f2139295590561adbe6d5b0aaa2feff765f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/korir248/blockchain-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" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 97d8f07858dd3fc4ceb4b1fa1aba4f82534e9612147ea99f7eba2983621fbe0d
[INFO] running `Command { std: "docker" "start" "-a" "97d8f07858dd3fc4ceb4b1fa1aba4f82534e9612147ea99f7eba2983621fbe0d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "97d8f07858dd3fc4ceb4b1fa1aba4f82534e9612147ea99f7eba2983621fbe0d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97d8f07858dd3fc4ceb4b1fa1aba4f82534e9612147ea99f7eba2983621fbe0d", kill_on_drop: false }`
[INFO] [stdout] 97d8f07858dd3fc4ceb4b1fa1aba4f82534e9612147ea99f7eba2983621fbe0d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 614f4f09504622f0ec0140a34e8a00fa0195e91fc51de959c029277c750f9c3b
[INFO] running `Command { std: "docker" "start" "-a" "614f4f09504622f0ec0140a34e8a00fa0195e91fc51de959c029277c750f9c3b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling cc v1.1.7
[INFO] [stderr]     Checking parking_lot_core v0.8.6
[INFO] [stderr]     Checking fs2 v0.4.3
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking sled v0.34.7
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]     Checking serde v1.0.204
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused label
[INFO] [stdout]    --> src/blockchain.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |             'outer: for tx in block.get_transactions() {
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_labels)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]    --> src/blockchain.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |             'outer: for tx in block.get_transactions() {
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_labels)]` (part of `#[warn(unused)]`) on by default
[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:45:48
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 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:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | 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 method named `verify` found for reference `&Transaction` in the current scope
[INFO] [stdout]   --> src/blockchain.rs:61:28
[INFO] [stdout]    |
[INFO] [stdout] 61 |             if transaction.verify(self) == false {
[INFO] [stdout]    |                            ^^^^^^ method not found in `&Transaction`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `verify`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `VerificationAlgorithm`
[INFO] [stdout]            candidate #2: `rsa::padding::Verification`
[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:45:48
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 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:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct Transaction {
[INFO] [stdout]    | ---------------------- function or associated item `new_coinbase_tx` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/blockchain.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let mut utxo: HashMap<String, Vec<TXOutput>> = HashMap::new();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/blockchain.rs:140:13
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let mut spent_txos: HashMap<String, Vec<usize>> = HashMap::new();
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `spent_txos`
[INFO] [stdout]    --> src/blockchain.rs:140:13
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let mut spent_txos: HashMap<String, Vec<usize>> = HashMap::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spent_txos`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `txid_hex`
[INFO] [stdout]    --> src/blockchain.rs:149:21
[INFO] [stdout]     |
[INFO] [stdout] 149 |                 let txid_hex = HEXLOWER.encode(tx.get_id());
[INFO] [stdout]     |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_txid_hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx`
[INFO] [stdout]    --> src/blockchain.rs:150:22
[INFO] [stdout]     |
[INFO] [stdout] 150 |                 for (idx, out) in tx.get_vout().iter().enumerate() {}
[INFO] [stdout]     |                      ^^^ help: if this is intentional, prefix it with an underscore: `_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]    --> src/blockchain.rs:150:27
[INFO] [stdout]     |
[INFO] [stdout] 150 |                 for (idx, out) in tx.get_vout().iter().enumerate() {}
[INFO] [stdout]     |                           ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]   --> src/proof_of_work.rs:15:30
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new_proof_of_work(block: Block) -> Self {
[INFO] [stdout]    |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nonce`
[INFO] [stdout]   --> src/proof_of_work.rs:39:28
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn prepare_data(&self, nonce: i64) -> Vec<u8> {
[INFO] [stdout]    |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_nonce`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `verify` found for reference `&Transaction` in the current scope
[INFO] [stdout]   --> src/blockchain.rs:61:28
[INFO] [stdout]    |
[INFO] [stdout] 61 |             if transaction.verify(self) == false {
[INFO] [stdout]    |                            ^^^^^^ method not found in `&Transaction`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `verify`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `VerificationAlgorithm`
[INFO] [stdout]            candidate #2: `rsa::padding::Verification`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `blockchain` (lib) due to 2 previous errors; 9 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/blockchain.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let mut utxo: HashMap<String, Vec<TXOutput>> = HashMap::new();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/blockchain.rs:140:13
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let mut spent_txos: HashMap<String, Vec<usize>> = HashMap::new();
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `spent_txos`
[INFO] [stdout]    --> src/blockchain.rs:140:13
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let mut spent_txos: HashMap<String, Vec<usize>> = HashMap::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spent_txos`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `txid_hex`
[INFO] [stdout]    --> src/blockchain.rs:149:21
[INFO] [stdout]     |
[INFO] [stdout] 149 |                 let txid_hex = HEXLOWER.encode(tx.get_id());
[INFO] [stdout]     |                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_txid_hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx`
[INFO] [stdout]    --> src/blockchain.rs:150:22
[INFO] [stdout]     |
[INFO] [stdout] 150 |                 for (idx, out) in tx.get_vout().iter().enumerate() {}
[INFO] [stdout]     |                      ^^^ help: if this is intentional, prefix it with an underscore: `_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out`
[INFO] [stdout]    --> src/blockchain.rs:150:27
[INFO] [stdout]     |
[INFO] [stdout] 150 |                 for (idx, out) in tx.get_vout().iter().enumerate() {}
[INFO] [stdout]     |                           ^^^ help: if this is intentional, prefix it with an underscore: `_out`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]   --> src/proof_of_work.rs:15:30
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new_proof_of_work(block: Block) -> Self {
[INFO] [stdout]    |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nonce`
[INFO] [stdout]   --> src/proof_of_work.rs:39:28
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn prepare_data(&self, nonce: i64) -> Vec<u8> {
[INFO] [stdout]    |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_nonce`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `blockchain` (lib test) due to 2 previous errors; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "614f4f09504622f0ec0140a34e8a00fa0195e91fc51de959c029277c750f9c3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "614f4f09504622f0ec0140a34e8a00fa0195e91fc51de959c029277c750f9c3b", kill_on_drop: false }`
[INFO] [stdout] 614f4f09504622f0ec0140a34e8a00fa0195e91fc51de959c029277c750f9c3b
