[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.76.0 for beta-1.77-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeelgur%2Fsimplechain" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/keelgur/simplechain on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-7-tc1/source/Cargo.toml
[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.76.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 240cc38e07df3cdffd594ce59ffba089597662c15dcefe07696f6e51c686a084
[INFO] running `Command { std: "docker" "start" "-a" "240cc38e07df3cdffd594ce59ffba089597662c15dcefe07696f6e51c686a084", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "240cc38e07df3cdffd594ce59ffba089597662c15dcefe07696f6e51c686a084", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "240cc38e07df3cdffd594ce59ffba089597662c15dcefe07696f6e51c686a084", kill_on_drop: false }`
[INFO] [stdout] 240cc38e07df3cdffd594ce59ffba089597662c15dcefe07696f6e51c686a084
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3ecfc39257d0cdd245b10365157cf8e92df5a389f9cece269b5a5cd3ffb736f3
[INFO] running `Command { std: "docker" "start" "-a" "3ecfc39257d0cdd245b10365157cf8e92df5a389f9cece269b5a5cd3ffb736f3", 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 num-traits v0.2.15
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling serde_derive v1.0.140
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling once_cell v1.13.0
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]    Compiling itoa v1.0.2
[INFO] [stderr]    Compiling ryu v1.0.10
[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: variants `EmptyMempoolError` and `NotEnoughTransactionsError` are never constructed
[INFO] [stdout]   --> src/chain.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum Errs{
[INFO] [stdout]    |          ---- variants in this enum
[INFO] [stdout] 13 |     EmptyMempoolError,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[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: 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: 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 `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: fields `difficulty` and `save_path` are never read
[INFO] [stdout]    --> src/chain.rs:152:5
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub struct Config{
[INFO] [stdout]     |            ------ fields in this struct
[INFO] [stdout] 152 |     difficulty: String,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 153 |     save_path: 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 `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] [stdout] warning: 15 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 7.52s
[INFO] running `Command { std: "docker" "inspect" "3ecfc39257d0cdd245b10365157cf8e92df5a389f9cece269b5a5cd3ffb736f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ecfc39257d0cdd245b10365157cf8e92df5a389f9cece269b5a5cd3ffb736f3", kill_on_drop: false }`
[INFO] [stdout] 3ecfc39257d0cdd245b10365157cf8e92df5a389f9cece269b5a5cd3ffb736f3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6e175c55f1c88e091d7d18c84054d672e887005216c57d003dfd8ed7824f39cc
[INFO] running `Command { std: "docker" "start" "-a" "6e175c55f1c88e091d7d18c84054d672e887005216c57d003dfd8ed7824f39cc", 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] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.45s
[INFO] running `Command { std: "docker" "inspect" "6e175c55f1c88e091d7d18c84054d672e887005216c57d003dfd8ed7824f39cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6e175c55f1c88e091d7d18c84054d672e887005216c57d003dfd8ed7824f39cc", kill_on_drop: false }`
[INFO] [stdout] 6e175c55f1c88e091d7d18c84054d672e887005216c57d003dfd8ed7824f39cc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c429a97ef453eb8326685df055a23bccf8cb0092b584a1c9a13bbb267612f87b
[INFO] running `Command { std: "docker" "start" "-a" "c429a97ef453eb8326685df055a23bccf8cb0092b584a1c9a13bbb267612f87b", 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 2 suggestions)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/simplechain-38e27e5e0f5d2d84)
[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] 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:     0x557f6a20a206 - std::backtrace_rs::backtrace::libunwind::trace::hbee8a7973eeb6c93
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x557f6a20a206 - std::backtrace_rs::backtrace::trace_unsynchronized::hc8ac75eea3aa6899
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x557f6a20a206 - std::sys_common::backtrace::_print_fmt::hc7f3e3b5298b1083
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x557f6a20a206 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hbb235daedd7c6190
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x557f6a233060 - core::fmt::rt::Argument::fmt::h76c38a80d925a410
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x557f6a233060 - core::fmt::write::h3ed6aeaa977c8e45
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x557f6a207c6f - std::io::Write::write_fmt::h1299aa7741865f2b
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x557f6a209fe4 - std::sys_common::backtrace::_print::h5d645a07e0fcfdbb
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x557f6a209fe4 - std::sys_common::backtrace::print::h85035a511aafe7a8
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x557f6a20bd57 - std::panicking::default_hook::{{closure}}::hcce8cea212785a25
[INFO] [stdout]   10:     0x557f6a20ba3d - std::panicking::default_hook::hf5fcb0f213fe709a
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x557f6a1d27e7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h60265c2dfa87ee34
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x557f6a1d27e7 - test::test_main::{{closure}}::h77865bd3127078c6
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x557f6a20c376 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hbc5ccf4eb663e1e5
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x557f6a20c376 - std::panicking::rust_panic_with_hook::h095fccf1dc9379ee
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x557f6a20c0c2 - std::panicking::begin_panic_handler::{{closure}}::h032ba12139b353db
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x557f6a20a706 - std::sys_common::backtrace::__rust_end_short_backtrace::h9259bc2ff8fd0f76
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x557f6a20be20 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x557f6a17ecd5 - core::panicking::panic_fmt::h784f20a50eaab275
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x557f6a17f273 - core::result::unwrap_failed::h03d8a5018196e1cd
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1649:5
[INFO] [stdout]   20:     0x557f6a18be8d - core::result::Result<T,E>::unwrap::heffc7e3570d49d8e
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1073:23
[INFO] [stdout]   21:     0x557f6a19515b - simplechain::test::test_saveload::h03d3c3abbd20b8e5
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test.rs:116:20
[INFO] [stdout]   22:     0x557f6a194ab7 - simplechain::test::test_saveload::{{closure}}::h48b7567d4e1cd11b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test.rs:92:23
[INFO] [stdout]   23:     0x557f6a18a526 - core::ops::function::FnOnce::call_once::h2e7dc5da7b529c57
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x557f6a1d80bf - core::ops::function::FnOnce::call_once::h8dc6907944022cf6
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x557f6a1d80bf - test::__rust_begin_short_backtrace::haae1a87433f1efb3
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:627:18
[INFO] [stdout]   26:     0x557f6a1d6e41 - test::run_test_in_process::{{closure}}::h8c7decfa7c14e152
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:650:60
[INFO] [stdout]   27:     0x557f6a1d6e41 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h19e6ff056d9d21e9
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x557f6a1d6e41 - std::panicking::try::do_call::h89c848fcaa37c035
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
[INFO] [stdout]   29:     0x557f6a1d6e41 - std::panicking::try::h57ab3dc74e2839b8
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
[INFO] [stdout]   30:     0x557f6a1d6e41 - std::panic::catch_unwind::hfb6a1b1abc120fb9
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
[INFO] [stdout]   31:     0x557f6a1d6e41 - test::run_test_in_process::h5ae2f9875edd562d
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:650:27
[INFO] [stdout]   32:     0x557f6a1d6e41 - test::run_test::{{closure}}::h35d7300d8928a067
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:573:43
[INFO] [stdout]   33:     0x557f6a19e176 - test::run_test::{{closure}}::h7525ced405d23d1b
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/test/src/lib.rs:601:41
[INFO] [stdout]   34:     0x557f6a19e176 - std::sys_common::backtrace::__rust_begin_short_backtrace::h4e7db78ce05afad8
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   35:     0x557f6a1a31d7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcfbcb64f1a1b3482
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   36:     0x557f6a1a31d7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9d89c5c4108bd689
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x557f6a1a31d7 - std::panicking::try::do_call::h8a4869bc94ec50c9
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
[INFO] [stdout]   38:     0x557f6a1a31d7 - std::panicking::try::h9a576f20ff81ac30
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
[INFO] [stdout]   39:     0x557f6a1a31d7 - std::panic::catch_unwind::hbcb4e3f860ef9830
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
[INFO] [stdout]   40:     0x557f6a1a31d7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h93c79a6be1505948
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   41:     0x557f6a1a31d7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h426d96740c81bdaf
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x557f6a210e25 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h12de4fc57affb195
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   43:     0x557f6a210e25 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h3c619f45059d5cf1
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x557f6a210e25 - std::sys::unix::thread::Thread::new::thread_start::hbac657605e4b7389
[INFO] [stdout]                                at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7fd83aaceac3 - <unknown>
[INFO] [stdout]   46:     0x7fd83ab5fbf4 - __clone
[INFO] [stdout]   47:                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.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin simplechain`
[INFO] running `Command { std: "docker" "inspect" "c429a97ef453eb8326685df055a23bccf8cb0092b584a1c9a13bbb267612f87b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c429a97ef453eb8326685df055a23bccf8cb0092b584a1c9a13bbb267612f87b", kill_on_drop: false }`
[INFO] [stdout] c429a97ef453eb8326685df055a23bccf8cb0092b584a1c9a13bbb267612f87b
