[INFO] cloning repository https://github.com/harsh-supra/tx-queue-batch-creation
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/harsh-supra/tx-queue-batch-creation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharsh-supra%2Ftx-queue-batch-creation", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharsh-supra%2Ftx-queue-batch-creation'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5b46d5730dd05771cec30451524da2279e124868
[INFO] checking harsh-supra/tx-queue-batch-creation against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharsh-supra%2Ftx-queue-batch-creation" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/harsh-supra/tx-queue-batch-creation
[INFO] finished tweaking git repo https://github.com/harsh-supra/tx-queue-batch-creation
[INFO] tweaked toml for git repo https://github.com/harsh-supra/tx-queue-batch-creation written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/harsh-supra/tx-queue-batch-creation on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/harsh-supra/tx-queue-batch-creation 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2fbc981e7335325117db5c91a2a54efeba1b9e7fb96c7cf484fc649ec56278d3
[INFO] running `Command { std: "docker" "start" "-a" "2fbc981e7335325117db5c91a2a54efeba1b9e7fb96c7cf484fc649ec56278d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2fbc981e7335325117db5c91a2a54efeba1b9e7fb96c7cf484fc649ec56278d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2fbc981e7335325117db5c91a2a54efeba1b9e7fb96c7cf484fc649ec56278d3", kill_on_drop: false }`
[INFO] [stdout] 2fbc981e7335325117db5c91a2a54efeba1b9e7fb96c7cf484fc649ec56278d3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c26bc716f828d9c5db05542ba6009a2aab062f40e72d8407c4682460e93f5776
[INFO] running `Command { std: "docker" "start" "-a" "c26bc716f828d9c5db05542ba6009a2aab062f40e72d8407c4682460e93f5776", kill_on_drop: false }`
[INFO] [stderr]     Checking supra v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: Rust has no postfix increment operator
[INFO] [stdout]   --> src/transaction.rs:60:33
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let batch = Batch {
[INFO] [stdout]    |                 ----- while parsing this struct
[INFO] [stdout] ...
[INFO] [stdout] 60 |         batch_index: batch_index++,
[INFO] [stdout]    |                                 ^^ not a valid postfix operator
[INFO] [stdout]    |
[INFO] [stdout] help: use `+= 1` instead
[INFO] [stdout]    |
[INFO] [stdout] 60 -         batch_index: batch_index++,
[INFO] [stdout] 60 +         batch_index: { let tmp = batch_index; batch_index += 1; tmp },
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Rust has no postfix increment operator
[INFO] [stdout]   --> src/transaction.rs:60:33
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let batch = Batch {
[INFO] [stdout]    |                 ----- while parsing this struct
[INFO] [stdout] ...
[INFO] [stdout] 60 |         batch_index: batch_index++,
[INFO] [stdout]    |                                 ^^ not a valid postfix operator
[INFO] [stdout]    |
[INFO] [stdout] help: use `+= 1` instead
[INFO] [stdout]    |
[INFO] [stdout] 60 -         batch_index: batch_index++,
[INFO] [stdout] 60 +         batch_index: { let tmp = batch_index; batch_index += 1; tmp },
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0774]: `derive` may only be applied to `struct`s, `enum`s and `union`s
[INFO] [stdout]  --> src/transaction.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^ not applicable here
[INFO] [stdout] 2 | use std::hash::{Hash, Hasher};
[INFO] [stdout]   | ------------------------------ not a `struct`, `enum` or `union`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0774]: `derive` may only be applied to `struct`s, `enum`s and `union`s
[INFO] [stdout]  --> src/transaction.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^ not applicable here
[INFO] [stdout] 2 | use std::hash::{Hash, Hasher};
[INFO] [stdout]   | ------------------------------ not a `struct`, `enum` or `union`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `chrono`
[INFO] [stdout]  --> src/transaction.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::{DateTime, FixedOffset, Local, Utc};
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `chrono`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `chrono`
[INFO] [stdout]  --> src/transaction.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::{DateTime, FixedOffset, Local, Utc};
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `chrono`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `transaction` in this scope
[INFO] [stdout]   --> src/transaction.rs:27:25
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Transaction {
[INFO] [stdout]    | ---------------------- similarly named struct `Transaction` defined here
[INFO] [stdout] ...
[INFO] [stdout] 27 |     batch_transactions: transaction,
[INFO] [stdout]    |                         ^^^^^^^^^^^ help: a struct with a similar name exists: `Transaction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `transaction` in this scope
[INFO] [stdout]   --> src/transaction.rs:35:69
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Transaction {
[INFO] [stdout]    | ---------------------- similarly named struct `Transaction` defined here
[INFO] [stdout] ...
[INFO] [stdout] 35 |                         _amount: f32,_partial_signature: String) -> transaction {
[INFO] [stdout]    |                                                                     ^^^^^^^^^^^ help: a struct with a similar name exists: `Transaction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `transaction` in this scope
[INFO] [stdout]   --> src/transaction.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     transaction.push(transactions);
[INFO] [stdout]    |     ^^^^^^^^^^^ help: a local variable with a similar name exists: `transactions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `transaction` in this scope
[INFO] [stdout]   --> src/transaction.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |     return transaction;
[INFO] [stdout]    |            ^^^^^^^^^^^ help: a local variable with a similar name exists: `transactions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `transaction` in this scope
[INFO] [stdout]   --> src/transaction.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 |     if transaction.len() == batch_capacity {
[INFO] [stdout]    |        ^^^^^^^^^^^ help: a local variable with a similar name exists: `transactions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `batch_capacity` in this scope
[INFO] [stdout]   --> src/transaction.rs:45:29
[INFO] [stdout]    |
[INFO] [stdout] 45 |     if transaction.len() == batch_capacity {
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `previousbatchhash` in this scope
[INFO] [stdout]   --> src/transaction.rs:46:22
[INFO] [stdout]    |
[INFO] [stdout] 46 |         create_batch(previousbatchhash, transaction)
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `transaction` in this scope
[INFO] [stdout]   --> src/transaction.rs:46:41
[INFO] [stdout]    |
[INFO] [stdout] 46 |         create_batch(previousbatchhash, transaction)
[INFO] [stdout]    |                                         ^^^^^^^^^^^ help: a local variable with a similar name exists: `transactions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `previous_batch_hash` in this scope
[INFO] [stdout]   --> src/transaction.rs:61:37
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn create_batch(_previous_batch_hash: String, _transactions: & mut [Transaction]) -> Vec<Batch> {
[INFO] [stdout]    |                 -------------------- `_previous_batch_hash` defined here
[INFO] [stdout] ...
[INFO] [stdout] 61 |         batch_hash: calculate_hash(&previous_batch_hash),
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: the leading underscore in `_previous_batch_hash` marks it as unused, consider renaming it to `previous_batch_hash`
[INFO] [stdout]    |
[INFO] [stdout] 52 - fn create_batch(_previous_batch_hash: String, _transactions: & mut [Transaction]) -> Vec<Batch> {
[INFO] [stdout] 52 + fn create_batch(previous_batch_hash: String, _transactions: & mut [Transaction]) -> Vec<Batch> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `batches` in this scope
[INFO] [stdout]   --> src/transaction.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 64 |     batches.push(batch);
[INFO] [stdout]    |     ^^^^^^^ help: a local variable with a similar name exists: `batch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `batch_hashes` in this scope
[INFO] [stdout]   --> src/transaction.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 |     batch_hashes.insert(batch_index, String::from("previous_batch_hash"));
[INFO] [stdout]    |     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `batch_index` in this scope
[INFO] [stdout]   --> src/transaction.rs:65:25
[INFO] [stdout]    |
[INFO] [stdout] 65 |     batch_hashes.insert(batch_index, String::from("previous_batch_hash"));
[INFO] [stdout]    |                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `batches` in this scope
[INFO] [stdout]   --> src/transaction.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |     return batches;
[INFO] [stdout]    |            ^^^^^^^ help: a local variable with a similar name exists: `batch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `transaction` should have an upper camel case name
[INFO] [stdout]   --> src/main.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 |     type transaction = Vec<Transaction>; //This will be the queue where we will add all our transaction 
[INFO] [stdout]    |          ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Transaction`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `transaction` in this scope
[INFO] [stdout]   --> src/transaction.rs:27:25
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Transaction {
[INFO] [stdout]    | ---------------------- similarly named struct `Transaction` defined here
[INFO] [stdout] ...
[INFO] [stdout] 27 |     batch_transactions: transaction,
[INFO] [stdout]    |                         ^^^^^^^^^^^ help: a struct with a similar name exists: `Transaction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `transaction` in this scope
[INFO] [stdout]   --> src/transaction.rs:35:69
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Transaction {
[INFO] [stdout]    | ---------------------- similarly named struct `Transaction` defined here
[INFO] [stdout] ...
[INFO] [stdout] 35 |                         _amount: f32,_partial_signature: String) -> transaction {
[INFO] [stdout]    |                                                                     ^^^^^^^^^^^ help: a struct with a similar name exists: `Transaction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `transaction` in this scope
[INFO] [stdout]   --> src/transaction.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     transaction.push(transactions);
[INFO] [stdout]    |     ^^^^^^^^^^^ help: a local variable with a similar name exists: `transactions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `transaction` in this scope
[INFO] [stdout]   --> src/transaction.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |     return transaction;
[INFO] [stdout]    |            ^^^^^^^^^^^ help: a local variable with a similar name exists: `transactions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `transaction` in this scope
[INFO] [stdout]   --> src/transaction.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 |     if transaction.len() == batch_capacity {
[INFO] [stdout]    |        ^^^^^^^^^^^ help: a local variable with a similar name exists: `transactions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `batch_capacity` in this scope
[INFO] [stdout]   --> src/transaction.rs:45:29
[INFO] [stdout]    |
[INFO] [stdout] 45 |     if transaction.len() == batch_capacity {
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `previousbatchhash` in this scope
[INFO] [stdout]   --> src/transaction.rs:46:22
[INFO] [stdout]    |
[INFO] [stdout] 46 |         create_batch(previousbatchhash, transaction)
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `transaction` in this scope
[INFO] [stdout]   --> src/transaction.rs:46:41
[INFO] [stdout]    |
[INFO] [stdout] 46 |         create_batch(previousbatchhash, transaction)
[INFO] [stdout]    |                                         ^^^^^^^^^^^ help: a local variable with a similar name exists: `transactions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `previous_batch_hash` in this scope
[INFO] [stdout]   --> src/transaction.rs:61:37
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn create_batch(_previous_batch_hash: String, _transactions: & mut [Transaction]) -> Vec<Batch> {
[INFO] [stdout]    |                 -------------------- `_previous_batch_hash` defined here
[INFO] [stdout] ...
[INFO] [stdout] 61 |         batch_hash: calculate_hash(&previous_batch_hash),
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: the leading underscore in `_previous_batch_hash` marks it as unused, consider renaming it to `previous_batch_hash`
[INFO] [stdout]    |
[INFO] [stdout] 52 - fn create_batch(_previous_batch_hash: String, _transactions: & mut [Transaction]) -> Vec<Batch> {
[INFO] [stdout] 52 + fn create_batch(previous_batch_hash: String, _transactions: & mut [Transaction]) -> Vec<Batch> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `batches` in this scope
[INFO] [stdout]   --> src/transaction.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 64 |     batches.push(batch);
[INFO] [stdout]    |     ^^^^^^^ help: a local variable with a similar name exists: `batch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `batch_hashes` in this scope
[INFO] [stdout]   --> src/transaction.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 |     batch_hashes.insert(batch_index, String::from("previous_batch_hash"));
[INFO] [stdout]    |     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `batch_index` in this scope
[INFO] [stdout]   --> src/transaction.rs:65:25
[INFO] [stdout]    |
[INFO] [stdout] 65 |     batch_hashes.insert(batch_index, String::from("previous_batch_hash"));
[INFO] [stdout]    |                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `batches` in this scope
[INFO] [stdout]   --> src/transaction.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |     return batches;
[INFO] [stdout]    |            ^^^^^^^ help: a local variable with a similar name exists: `batch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `transaction` should have an upper camel case name
[INFO] [stdout]   --> src/main.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 |     type transaction = Vec<Transaction>; //This will be the queue where we will add all our transaction 
[INFO] [stdout]    |          ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Transaction`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/transaction.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |       return transaction;
[INFO] [stdout]    |       ------------------ any code following this expression is unreachable
[INFO] [stdout] 45 | /     if transaction.len() == batch_capacity {
[INFO] [stdout] 46 | |         create_batch(previousbatchhash, transaction)
[INFO] [stdout] 47 | |     }
[INFO] [stdout]    | |_____^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/transaction.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |       return transaction;
[INFO] [stdout]    |       ------------------ any code following this expression is unreachable
[INFO] [stdout] 45 | /     if transaction.len() == batch_capacity {
[INFO] [stdout] 46 | |         create_batch(previousbatchhash, transaction)
[INFO] [stdout] 47 | |     }
[INFO] [stdout]    | |_____^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/transaction.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 61 |         batch_hash: calculate_hash(&previous_batch_hash),
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `u64`
[INFO] [stdout]    |
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]    |
[INFO] [stdout] 61 |         batch_hash: calculate_hash(&previous_batch_hash).to_string(),
[INFO] [stdout]    |                                                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/transaction.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 61 |         batch_hash: calculate_hash(&previous_batch_hash),
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `u64`
[INFO] [stdout]    |
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]    |
[INFO] [stdout] 61 |         batch_hash: calculate_hash(&previous_batch_hash).to_string(),
[INFO] [stdout]    |                                                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `Vec<_>`
[INFO] [stdout]   --> src/main.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let mut batches = Vec::new();
[INFO] [stdout]    |         ^^^^^^^^^^^   ---------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `batches` an explicit type, where the type for type parameter `T` is specified
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let mut batches: Vec<T> = Vec::new();
[INFO] [stdout]    |                    ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `Vec<_>`
[INFO] [stdout]   --> src/main.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let mut batches = Vec::new();
[INFO] [stdout]    |         ^^^^^^^^^^^   ---------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `batches` an explicit type, where the type for type parameter `T` is specified
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let mut batches: Vec<T> = Vec::new();
[INFO] [stdout]    |                    ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0412, E0425, E0432, E0774.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0412, E0425, E0432, E0774.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `supra` (bin "supra") due to 18 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `supra` (bin "supra" test) due to 18 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c26bc716f828d9c5db05542ba6009a2aab062f40e72d8407c4682460e93f5776", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c26bc716f828d9c5db05542ba6009a2aab062f40e72d8407c4682460e93f5776", kill_on_drop: false }`
[INFO] [stdout] c26bc716f828d9c5db05542ba6009a2aab062f40e72d8407c4682460e93f5776
