[INFO] cloning repository https://github.com/anatolii10k/custom-substrate-node
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anatolii10k/custom-substrate-node" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanatolii10k%2Fcustom-substrate-node", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanatolii10k%2Fcustom-substrate-node'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 331bd02f3c00402c08a8e6374859cb6284895a25
[INFO] checking anatolii10k/custom-substrate-node against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanatolii10k%2Fcustom-substrate-node" "/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/anatolii10k/custom-substrate-node
[INFO] finished tweaking git repo https://github.com/anatolii10k/custom-substrate-node
[INFO] tweaked toml for git repo https://github.com/anatolii10k/custom-substrate-node written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/anatolii10k/custom-substrate-node on toolchain a5689b034ad287112f709693384a37f1377eb9cc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/anatolii10k/custom-substrate-node 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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] a7c661a8b6566893b32c7dc4227f51d1659e10c47c3d37124abca15845add72c
[INFO] running `Command { std: "docker" "start" "a7c661a8b6566893b32c7dc4227f51d1659e10c47c3d37124abca15845add72c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a7c661a8b6566893b32c7dc4227f51d1659e10c47c3d37124abca15845add72c", 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" "a7c661a8b6566893b32c7dc4227f51d1659e10c47c3d37124abca15845add72c" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a7c661a8b6566893b32c7dc4227f51d1659e10c47c3d37124abca15845add72c", 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" "a7c661a8b6566893b32c7dc4227f51d1659e10c47c3d37124abca15845add72c" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]     Checking opaque-debug v0.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.2
[INFO] [stderr]     Checking Rust_Sandbox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `pending_transactions` is never read
[INFO] [stdout]   --> src/rchain/mod.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Blockchain {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 |     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:94:5
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub enum TransactionData {
[INFO] [stdout]    |          --------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 94 |     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:111:5
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub struct Account {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] 110 |     /// We want the account to be able to store any information we want (Dictionary)
[INFO] [stdout] 111 |     store: HashMap<String, String>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     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:132:5
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub enum AccountType {
[INFO] [stdout]     |          ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 132 |     Contract,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     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:309:12
[INFO] [stdout]     |
[INFO] [stdout] 298 | impl Block {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 309 |     pub fn set_nonce(&mut self, nonce: u128) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `String`
[INFO] [stdout]    --> src/rchain/mod.rs:230:28
[INFO] [stdout]     |
[INFO] [stdout] 230 |                   return Err(format!("Stored hash for Block #{} \
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 231 | |                     does not match calculated hash (Code: 665234234)", block_num + 1).into());
[INFO] [stdout]     | |____________________________________________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `String`
[INFO] [stdout]    --> src/rchain/mod.rs:244:32
[INFO] [stdout]     |
[INFO] [stdout] 244 |                     return Err(format!("Block #{} has no previous hash set", block_num + 1).into());
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `String`
[INFO] [stdout]    --> src/rchain/mod.rs:252:32
[INFO] [stdout]     |
[INFO] [stdout] 252 |                       return Err(format!("Block #{} is not connected to previous block (Hashes do \
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 253 | |                     not match. Should be `{}` but is `{}`)", block_num, prev_hash_proposed,
[INFO] [stdout] 254 | |                                        prev_hash_actual).into());
[INFO] [stdout]     | |_______________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Rust_Sandbox` (bin "Rust_Sandbox" test) due to 3 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: field `pending_transactions` is never read
[INFO] [stdout]   --> src/rchain/mod.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Blockchain {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 |     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:94:5
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub enum TransactionData {
[INFO] [stdout]    |          --------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 94 |     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:111:5
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub struct Account {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] 110 |     /// We want the account to be able to store any information we want (Dictionary)
[INFO] [stdout] 111 |     store: HashMap<String, String>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     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:132:5
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub enum AccountType {
[INFO] [stdout]     |          ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 132 |     Contract,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     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:309:12
[INFO] [stdout]     |
[INFO] [stdout] 298 | impl Block {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 309 |     pub fn set_nonce(&mut self, nonce: u128) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `String`
[INFO] [stdout]    --> src/rchain/mod.rs:230:28
[INFO] [stdout]     |
[INFO] [stdout] 230 |                   return Err(format!("Stored hash for Block #{} \
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 231 | |                     does not match calculated hash (Code: 665234234)", block_num + 1).into());
[INFO] [stdout]     | |____________________________________________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `String`
[INFO] [stdout]    --> src/rchain/mod.rs:244:32
[INFO] [stdout]     |
[INFO] [stdout] 244 |                     return Err(format!("Block #{} has no previous hash set", block_num + 1).into());
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `String`
[INFO] [stdout]    --> src/rchain/mod.rs:252:32
[INFO] [stdout]     |
[INFO] [stdout] 252 |                       return Err(format!("Block #{} is not connected to previous block (Hashes do \
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 253 | |                     not match. Should be `{}` but is `{}`)", block_num, prev_hash_proposed,
[INFO] [stdout] 254 | |                                        prev_hash_actual).into());
[INFO] [stdout]     | |_______________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Rust_Sandbox` (bin "Rust_Sandbox") due to 3 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a7c661a8b6566893b32c7dc4227f51d1659e10c47c3d37124abca15845add72c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7c661a8b6566893b32c7dc4227f51d1659e10c47c3d37124abca15845add72c", kill_on_drop: false }`
[INFO] [stdout] a7c661a8b6566893b32c7dc4227f51d1659e10c47c3d37124abca15845add72c
