[INFO] cloning repository https://github.com/keelgur/simplechain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/keelgur/simplechain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeelgur%2Fsimplechain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeelgur%2Fsimplechain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0f4b5201e8e097e6987a5788066b7aed7649a144
[INFO] testing keelgur/simplechain against 1.90.0 for beta-1.91-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeelgur%2Fsimplechain" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/keelgur/simplechain
[INFO] finished tweaking git repo https://github.com/keelgur/simplechain
[INFO] tweaked toml for git repo https://github.com/keelgur/simplechain written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/keelgur/simplechain on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/keelgur/simplechain 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e436860cc632bdbdf65a9e3710029842ff6e26107e80039cfa0b3ed1f1ec6e3e
[INFO] running `Command { std: "docker" "start" "-a" "e436860cc632bdbdf65a9e3710029842ff6e26107e80039cfa0b3ed1f1ec6e3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e436860cc632bdbdf65a9e3710029842ff6e26107e80039cfa0b3ed1f1ec6e3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e436860cc632bdbdf65a9e3710029842ff6e26107e80039cfa0b3ed1f1ec6e3e", kill_on_drop: false }`
[INFO] [stdout] e436860cc632bdbdf65a9e3710029842ff6e26107e80039cfa0b3ed1f1ec6e3e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6fbc1df6a94acb72238f5c223dd765db912ecad1b0f0a4cd67cb05b39ba6d05e
[INFO] running `Command { std: "docker" "start" "-a" "6fbc1df6a94acb72238f5c223dd765db912ecad1b0f0a4cd67cb05b39ba6d05e", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling unicode-ident v1.0.2
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling serde v1.0.140
[INFO] [stderr]    Compiling serde_derive v1.0.140
[INFO] [stderr]    Compiling once_cell v1.13.0
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]    Compiling ryu v1.0.10
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling itoa v1.0.2
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.3
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.3
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling borsh-derive v0.9.3
[INFO] [stderr]    Compiling borsh v0.9.3
[INFO] [stderr]    Compiling simplechain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `hash`
[INFO] [stdout]    --> src/chain.rs:183:13
[INFO] [stdout]     |
[INFO] [stdout] 183 |         let hash = s.finish();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_hash`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/chain.rs:204:17
[INFO] [stdout]     |
[INFO] [stdout] 204 |             let mut l:Vec<Block>=Vec::new();
[INFO] [stdout]     |                 ----^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Errs` is never used
[INFO] [stdout]   --> src/chain.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum Errs{
[INFO] [stdout]    |          ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Transaction` is never constructed
[INFO] [stdout]   --> src/chain.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Transaction{
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/chain.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl Transaction{
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 27 |     pub fn new(fr:&str,t:&str,am:f64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Block` is never constructed
[INFO] [stdout]   --> src/chain.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |  pub struct Block{
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `hash_block`, and `get_prev` are never used
[INFO] [stdout]   --> src/chain.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl Block{
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 45 |     pub fn new(pr:&str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn hash_block(&self) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn get_prev(&self)->String{
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Blockchain` is never constructed
[INFO] [stdout]   --> src/chain.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct Blockchain{
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mempool` is never constructed
[INFO] [stdout]   --> src/chain.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct Mempool{
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/chain.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | impl Mempool{
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 68 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `on_transaction`, and `mint` are never used
[INFO] [stdout]   --> src/chain.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 73 | impl Blockchain{
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 74 |     pub fn new(mut list: Vec<Block>) -> Self{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |      pub fn on_transaction(tx: Transaction, pool:&mut Mempool) {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 |     pub fn mint(&mut self, pool: &mut Mempool) ->Result<(),Errs>{
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Header` is never constructed
[INFO] [stdout]    --> src/chain.rs:108:12
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub struct Header{
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mint_pow` is never used
[INFO] [stdout]    --> src/chain.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 115 | impl Blockchain{
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] 116 |     fn mint_pow(&mut self, pool: &mut Mempool)->Result<Header,Errs>{
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Config` is never constructed
[INFO] [stdout]    --> src/chain.rs:151:12
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub struct Config{
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_config` is never used
[INFO] [stdout]    --> src/chain.rs:156:8
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub fn load_config()->Config{
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_savepath` is never used
[INFO] [stdout]    --> src/chain.rs:164:12
[INFO] [stdout]     |
[INFO] [stdout] 163 | impl Config{
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] 164 |     pub fn get_savepath(&self)->String{
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mine_block` is never used
[INFO] [stdout]    --> src/chain.rs:170:4
[INFO] [stdout]     |
[INFO] [stdout] 170 | fn mine_block(b:&Block, head:&Header, diff:&Config) -> (u64, String) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `load` and `save` are never used
[INFO] [stdout]    --> src/chain.rs:193:12
[INFO] [stdout]     |
[INFO] [stdout] 192 | impl Blockchain{
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] 193 |     pub fn load<P: AsRef<Path>>(&self,path: P) -> Blockchain {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 208 |     pub fn save(&self,config: &Config) -> std::io::Result<()> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.60s
[INFO] running `Command { std: "docker" "inspect" "6fbc1df6a94acb72238f5c223dd765db912ecad1b0f0a4cd67cb05b39ba6d05e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6fbc1df6a94acb72238f5c223dd765db912ecad1b0f0a4cd67cb05b39ba6d05e", kill_on_drop: false }`
[INFO] [stdout] 6fbc1df6a94acb72238f5c223dd765db912ecad1b0f0a4cd67cb05b39ba6d05e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2aeee608c02df39d7be2527e2bad350f46f8db978596be7a7579897c73faded1
[INFO] running `Command { std: "docker" "start" "-a" "2aeee608c02df39d7be2527e2bad350f46f8db978596be7a7579897c73faded1", kill_on_drop: false }`
[INFO] [stderr]    Compiling simplechain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `hash`
[INFO] [stdout]    --> src/chain.rs:183:13
[INFO] [stdout]     |
[INFO] [stdout] 183 |         let hash = s.finish();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_hash`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/chain.rs:204:17
[INFO] [stdout]     |
[INFO] [stdout] 204 |             let mut l:Vec<Block>=Vec::new();
[INFO] [stdout]     |                 ----^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `NotEnoughTransactionsError` is never constructed
[INFO] [stdout]   --> src/chain.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum Errs{
[INFO] [stdout]    |          ---- variant in this enum
[INFO] [stdout] 13 |     EmptyMempoolError,
[INFO] [stdout] 14 |     NotEnoughTransactionsError,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Errs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Header` is never constructed
[INFO] [stdout]    --> src/chain.rs:108:12
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub struct Header{
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mint_pow` is never used
[INFO] [stdout]    --> src/chain.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 115 | impl Blockchain{
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] 116 |     fn mint_pow(&mut self, pool: &mut Mempool)->Result<Header,Errs>{
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `difficulty` is never read
[INFO] [stdout]    --> src/chain.rs:152:5
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub struct Config{
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] 152 |     difficulty: String,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mine_block` is never used
[INFO] [stdout]    --> src/chain.rs:170:4
[INFO] [stdout]     |
[INFO] [stdout] 170 | fn mine_block(b:&Block, head:&Header, diff:&Config) -> (u64, String) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.80s
[INFO] running `Command { std: "docker" "inspect" "2aeee608c02df39d7be2527e2bad350f46f8db978596be7a7579897c73faded1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2aeee608c02df39d7be2527e2bad350f46f8db978596be7a7579897c73faded1", kill_on_drop: false }`
[INFO] [stdout] 2aeee608c02df39d7be2527e2bad350f46f8db978596be7a7579897c73faded1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] db49ed44098b4d9c576a8dc975bdf9e3d8b2f386f085c22ef6eb84c3fad2d4e0
[INFO] running `Command { std: "docker" "start" "-a" "db49ed44098b4d9c576a8dc975bdf9e3d8b2f386f085c22ef6eb84c3fad2d4e0", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `hash`
[INFO] [stderr]    --> src/chain.rs:183:13
[INFO] [stderr]     |
[INFO] [stderr] 183 |         let hash = s.finish();
[INFO] [stderr]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_hash`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/chain.rs:204:17
[INFO] [stderr]     |
[INFO] [stderr] 204 |             let mut l:Vec<Block>=Vec::new();
[INFO] [stderr]     |                 ----^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `NotEnoughTransactionsError` is never constructed
[INFO] [stderr]   --> src/chain.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub enum Errs{
[INFO] [stderr]    |          ---- variant in this enum
[INFO] [stderr] 13 |     EmptyMempoolError,
[INFO] [stderr] 14 |     NotEnoughTransactionsError,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Errs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Header` is never constructed
[INFO] [stderr]    --> src/chain.rs:108:12
[INFO] [stderr]     |
[INFO] [stderr] 108 | pub struct Header{
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `mint_pow` is never used
[INFO] [stderr]    --> src/chain.rs:116:8
[INFO] [stderr]     |
[INFO] [stderr] 115 | impl Blockchain{
[INFO] [stderr]     | --------------- method in this implementation
[INFO] [stderr] 116 |     fn mint_pow(&mut self, pool: &mut Mempool)->Result<Header,Errs>{
[INFO] [stderr]     |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `difficulty` is never read
[INFO] [stderr]    --> src/chain.rs:152:5
[INFO] [stderr]     |
[INFO] [stderr] 151 | pub struct Config{
[INFO] [stderr]     |            ------ field in this struct
[INFO] [stderr] 152 |     difficulty: String,
[INFO] [stderr]     |     ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `mine_block` is never used
[INFO] [stderr]    --> src/chain.rs:170:4
[INFO] [stderr]     |
[INFO] [stderr] 170 | fn mine_block(b:&Block, head:&Header, diff:&Config) -> (u64, String) {
[INFO] [stderr]     |    ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `simplechain` (bin "simplechain" test) generated 7 warnings (run `cargo fix --bin "simplechain" --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/simplechain-e36a916e0d8c4100)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test test::test_blockchain ... ok
[INFO] [stdout] test test::test_config ... ok
[INFO] [stdout] test test::test_hasher ... ok
[INFO] [stdout] test test::test_saveload ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test::test_saveload stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'test::test_saveload' panicked at src/test.rs:116:22:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5dbf522ed752 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5dbf522ed752 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5dbf522ed752 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5dbf522ed752 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hdcfcb6d4c8489523
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5dbf52312a93 - core::fmt::rt::Argument::fmt::h2c56b3114963061a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5dbf52312a93 - core::fmt::write::h8a494366950f23bb
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25
[INFO] [stdout]    6:     0x5dbf522ea6d3 - std::io::default_write_fmt::h7b8824096454f323
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5dbf522ea6d3 - std::io::Write::write_fmt::h4e71294925c334d0
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5dbf522ed5a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5dbf522eecc9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x5dbf522eeafe - std::panicking::default_hook::h2c66fc99e962531d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x5dbf522b0504 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hb6bd65493727d71a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x5dbf522b0504 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5dbf522ef69e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h318e4efb8c1a5689
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x5dbf522ef69e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x5dbf522ef46a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13
[INFO] [stdout]   16:     0x5dbf522edc49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5dbf522ef0fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x5dbf523114e0 - core::panicking::panic_fmt::h62f63d096dd276af
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x5dbf52311946 - core::result::unwrap_failed::h95bc3f5a607b2c95
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1765:5
[INFO] [stdout]   20:     0x5dbf522655df - core::result::Result<T,E>::unwrap::h79e2ca607378c084
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1167:23
[INFO] [stdout]   21:     0x5dbf522655df - simplechain::test::test_saveload::h30a9000facc430d9
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test.rs:116:22
[INFO] [stdout]   22:     0x5dbf52264fe7 - simplechain::test::test_saveload::{{closure}}::hc75cc34ed90808da
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test.rs:92:23
[INFO] [stdout]   23:     0x5dbf52267256 - core::ops::function::FnOnce::call_once::hfeaf3cc4385e46b3
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   24:     0x5dbf522b5d6b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   25:     0x5dbf522b5d6b - test::__rust_begin_short_backtrace::ha52ab26e77157f03
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18
[INFO] [stdout]   26:     0x5dbf522b4ea5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74
[INFO] [stdout]   27:     0x5dbf522b4ea5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5dbf522b4ea5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   29:     0x5dbf522b4ea5 - std::panicking::catch_unwind::h6deb5fe1e91873c9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   30:     0x5dbf522b4ea5 - std::panic::catch_unwind::hea0829b6b565654b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5dbf522b4ea5 - test::run_test_in_process::hdc44dfecea3db21b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27
[INFO] [stdout]   32:     0x5dbf522b4ea5 - test::run_test::{{closure}}::h0364ba59bf23f652
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43
[INFO] [stdout]   33:     0x5dbf52278aa4 - test::run_test::{{closure}}::h32730b304eec05da
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41
[INFO] [stdout]   34:     0x5dbf52278aa4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   35:     0x5dbf5227c47a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   36:     0x5dbf5227c47a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5dbf5227c47a - std::panicking::catch_unwind::do_call::h163fe12cca9901c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   38:     0x5dbf5227c47a - std::panicking::catch_unwind::he81557d0e17cc1bc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   39:     0x5dbf5227c47a - std::panic::catch_unwind::hc2b8e79c20593955
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5dbf5227c47a - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   41:     0x5dbf5227c47a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   42:     0x5dbf522f261f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5924238c754de3b8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   43:     0x5dbf522f261f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17
[INFO] [stdout]   44:     0x76e6eb1dfaa4 - <unknown>
[INFO] [stdout]   45:     0x76e6eb26ca34 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     test::test_saveload
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin simplechain`
[INFO] running `Command { std: "docker" "inspect" "db49ed44098b4d9c576a8dc975bdf9e3d8b2f386f085c22ef6eb84c3fad2d4e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db49ed44098b4d9c576a8dc975bdf9e3d8b2f386f085c22ef6eb84c3fad2d4e0", kill_on_drop: false }`
[INFO] [stdout] db49ed44098b4d9c576a8dc975bdf9e3d8b2f386f085c22ef6eb84c3fad2d4e0
