[INFO] cloning repository https://github.com/zgershkoff/rchain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zgershkoff/rchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzgershkoff%2Frchain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzgershkoff%2Frchain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0498185670c66c29b2015a82b4327ee6e5b324aa
[INFO] checking zgershkoff/rchain against 5c543b0b8c73c7b72bc8284ced4fb22ead15734d for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzgershkoff%2Frchain" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/zgershkoff/rchain
[INFO] finished tweaking git repo https://github.com/zgershkoff/rchain
[INFO] tweaked toml for git repo https://github.com/zgershkoff/rchain written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zgershkoff/rchain on toolchain 5c543b0b8c73c7b72bc8284ced4fb22ead15734d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/zgershkoff/rchain 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" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded blake2 v0.9.1
[INFO] [stderr]   Downloaded subtle v2.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c7fc90e88731aae3c2d7652f5c9d67395c093342f91574c0aebaac5a0db89e08
[INFO] running `Command { std: "docker" "start" "c7fc90e88731aae3c2d7652f5c9d67395c093342f91574c0aebaac5a0db89e08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c7fc90e88731aae3c2d7652f5c9d67395c093342f91574c0aebaac5a0db89e08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c7fc90e88731aae3c2d7652f5c9d67395c093342f91574c0aebaac5a0db89e08" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c7fc90e88731aae3c2d7652f5c9d67395c093342f91574c0aebaac5a0db89e08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c7fc90e88731aae3c2d7652f5c9d67395c093342f91574c0aebaac5a0db89e08" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking subtle v2.3.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking blake2 v0.9.1
[INFO] [stderr]     Checking rchain_v1 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/rchain/mod.rs:332:21
[INFO] [stdout]     |
[INFO] [stdout] 332 | /                     /// Warning! This is failable, if the number of blocks
[INFO] [stdout] 333 | |                     /// exceeds a 128-bit integer.
[INFO] [stdout] 334 | |                     /// This example chain is unlikely to have 10^40 transactions.
[INFO] [stdout] 335 | |                     /// (That would take 10^30 years at 10 transactions per sec.)
[INFO] [stdout] 336 | |                     /// For chains that big, it makes more sense to read from
[INFO] [stdout] 337 | |                     /// newest block to oldest, with measures to truncate the
[INFO] [stdout] 338 | |                     /// amount of data required.
[INFO] [stdout]     | |________________________________________________^
[INFO] [stdout] 339 |                       result.push((u128::try_from(i).unwrap(), transaction))
[INFO] [stdout]     |                       ------------------------------------------------------ rustdoc does not generate documentation for expressions
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/rchain/mod.rs:332:21
[INFO] [stdout]     |
[INFO] [stdout] 332 | /                     /// Warning! This is failable, if the number of blocks
[INFO] [stdout] 333 | |                     /// exceeds a 128-bit integer.
[INFO] [stdout] 334 | |                     /// This example chain is unlikely to have 10^40 transactions.
[INFO] [stdout] 335 | |                     /// (That would take 10^30 years at 10 transactions per sec.)
[INFO] [stdout] 336 | |                     /// For chains that big, it makes more sense to read from
[INFO] [stdout] 337 | |                     /// newest block to oldest, with measures to truncate the
[INFO] [stdout] 338 | |                     /// amount of data required.
[INFO] [stdout]     | |________________________________________________^
[INFO] [stdout] 339 |                       result.push((u128::try_from(i).unwrap(), transaction))
[INFO] [stdout]     |                       ------------------------------------------------------ rustdoc does not generate documentation for expressions
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `account`
[INFO] [stdout]    --> src/rchain/mod.rs:428:52
[INFO] [stdout]     |
[INFO] [stdout] 428 |                 TransactionData::CreateUserAccount(account) => {}
[INFO] [stdout]     |                                                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]   --> src/main.rs:30:19
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut res = bc.append_block(genesis);
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 77 |     res = bc.append_block(block4);
[INFO] [stdout]    |     --- `res` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]   --> src/main.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 |     res = bc.append_block(block3);
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pending_transactions` is never read
[INFO] [stdout]   --> src/rchain/mod.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Blockchain {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pending_transactions: Vec<Transaction>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Blockchain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ChangeStoreValue` is never constructed
[INFO] [stdout]    --> src/rchain/mod.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout]  97 | pub enum TransactionData {
[INFO] [stdout]     |          --------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 102 |     ChangeStoreValue { key: String, value: String },
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TransactionData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `store` and `acc_type` are never read
[INFO] [stdout]    --> src/rchain/mod.rs:119:5
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub struct Account {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] 118 |     /// We want the account to be able to store any information we want (Dictionary)
[INFO] [stdout] 119 |     store: HashMap<String, String>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     acc_type: AccountType,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Account` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Contract` and `Validator` are never constructed
[INFO] [stdout]    --> src/rchain/mod.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub enum AccountType {
[INFO] [stdout]     |          ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 140 |     Contract,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     Validator {
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AccountType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_nonce` is never used
[INFO] [stdout]    --> src/rchain/mod.rs:360:12
[INFO] [stdout]     |
[INFO] [stdout] 349 | impl Block {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 360 |     pub fn set_nonce(&mut self, nonce: u128) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `account`
[INFO] [stdout]    --> src/rchain/mod.rs:428:52
[INFO] [stdout]     |
[INFO] [stdout] 428 |                 TransactionData::CreateUserAccount(account) => {}
[INFO] [stdout]     |                                                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]   --> src/main.rs:30:19
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut res = bc.append_block(genesis);
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 77 |     res = bc.append_block(block4);
[INFO] [stdout]    |     --- `res` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `res` is never read
[INFO] [stdout]   --> src/main.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 |     res = bc.append_block(block3);
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pending_transactions` is never read
[INFO] [stdout]   --> src/rchain/mod.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Blockchain {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pending_transactions: Vec<Transaction>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Blockchain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ChangeStoreValue` is never constructed
[INFO] [stdout]    --> src/rchain/mod.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout]  97 | pub enum TransactionData {
[INFO] [stdout]     |          --------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 102 |     ChangeStoreValue { key: String, value: String },
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TransactionData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `store` and `acc_type` are never read
[INFO] [stdout]    --> src/rchain/mod.rs:119:5
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub struct Account {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] 118 |     /// We want the account to be able to store any information we want (Dictionary)
[INFO] [stdout] 119 |     store: HashMap<String, String>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     acc_type: AccountType,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Account` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Contract` and `Validator` are never constructed
[INFO] [stdout]    --> src/rchain/mod.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub enum AccountType {
[INFO] [stdout]     |          ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 140 |     Contract,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     Validator {
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AccountType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_nonce` is never used
[INFO] [stdout]    --> src/rchain/mod.rs:360:12
[INFO] [stdout]     |
[INFO] [stdout] 349 | impl Block {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 360 |     pub fn set_nonce(&mut self, nonce: u128) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.25s
[INFO] running `Command { std: "docker" "inspect" "c7fc90e88731aae3c2d7652f5c9d67395c093342f91574c0aebaac5a0db89e08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7fc90e88731aae3c2d7652f5c9d67395c093342f91574c0aebaac5a0db89e08", kill_on_drop: false }`
[INFO] [stdout] c7fc90e88731aae3c2d7652f5c9d67395c093342f91574c0aebaac5a0db89e08
