[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 beta-2023-10-04 for beta-1.74-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeelgur%2Fsimplechain" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/keelgur/simplechain on toolchain beta-2023-10-04
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-10-04" "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-0-tc2/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" "+beta-2023-10-04" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6a96166f550fa655ef4ef71bd1fcb772867ff319ae2395c1695b74369f6adba6
[INFO] running `Command { std: "docker" "start" "-a" "6a96166f550fa655ef4ef71bd1fcb772867ff319ae2395c1695b74369f6adba6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6a96166f550fa655ef4ef71bd1fcb772867ff319ae2395c1695b74369f6adba6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a96166f550fa655ef4ef71bd1fcb772867ff319ae2395c1695b74369f6adba6", kill_on_drop: false }`
[INFO] [stdout] 6a96166f550fa655ef4ef71bd1fcb772867ff319ae2395c1695b74369f6adba6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] be001528ea56f1436ecafeec1af3b9d71ea7dc42a3e19d63110463e6c9e44a11
[INFO] running `Command { std: "docker" "start" "-a" "be001528ea56f1436ecafeec1af3b9d71ea7dc42a3e19d63110463e6c9e44a11", 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 autocfg v1.1.0
[INFO] [stderr]    Compiling serde v1.0.140
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling serde_derive v1.0.140
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling once_cell v1.13.0
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[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-schema-derive-internal v0.9.3
[INFO] [stderr]    Compiling borsh-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 13.17s
[INFO] running `Command { std: "docker" "inspect" "be001528ea56f1436ecafeec1af3b9d71ea7dc42a3e19d63110463e6c9e44a11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be001528ea56f1436ecafeec1af3b9d71ea7dc42a3e19d63110463e6c9e44a11", kill_on_drop: false }`
[INFO] [stdout] be001528ea56f1436ecafeec1af3b9d71ea7dc42a3e19d63110463e6c9e44a11
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c7dcf0540460e552471d51b01405f7e04b634915c3979ae880bb5f495f554463
[INFO] running `Command { std: "docker" "start" "-a" "c7dcf0540460e552471d51b01405f7e04b634915c3979ae880bb5f495f554463", 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.58s
[INFO] running `Command { std: "docker" "inspect" "c7dcf0540460e552471d51b01405f7e04b634915c3979ae880bb5f495f554463", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7dcf0540460e552471d51b01405f7e04b634915c3979ae880bb5f495f554463", kill_on_drop: false }`
[INFO] [stdout] c7dcf0540460e552471d51b01405f7e04b634915c3979ae880bb5f495f554463
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 771fdfc2785a5876cdc5ba829d90a60b80a5b100886965d742663769cfd22c11
[INFO] running `Command { std: "docker" "start" "-a" "771fdfc2785a5876cdc5ba829d90a60b80a5b100886965d742663769cfd22c11", 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-21d1f583e5338247)
[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:     0x55925cc31a0c - std::backtrace_rs::backtrace::libunwind::trace::h4defc72db73cd441
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
[INFO] [stdout]    1:     0x55925cc31a0c - std::backtrace_rs::backtrace::trace_unsynchronized::hb1d8a8b488fa82dc
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55925cc31a0c - std::sys_common::backtrace::_print_fmt::h3adc87026f68ef7c
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x55925cc31a0c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hae0f2018b67c9dd2
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55925cc5b18c - core::fmt::rt::Argument::fmt::h0aeca3e83668e143
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/fmt/rt.rs:138:9
[INFO] [stdout]    5:     0x55925cc5b18c - core::fmt::write::h96bf1b6ef709071f
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/fmt/mod.rs:1114:21
[INFO] [stdout]    6:     0x55925cc2ed3e - std::io::Write::write_fmt::hcfdabc06f3bbacfb
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/io/mod.rs:1763:15
[INFO] [stdout]    7:     0x55925cc317f4 - std::sys_common::backtrace::_print::hd4ef7cdeb67d2ffe
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55925cc317f4 - std::sys_common::backtrace::print::hf4a0f6d32c50b08e
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55925cc335b3 - std::panicking::default_hook::{{closure}}::hf64a6c095f9954ab
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:272:22
[INFO] [stdout]   10:     0x55925cc33257 - std::panicking::default_hook::h81f354a056ffc649
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x55925cbf788c - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h16c22045506fc2d3
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x55925cbf788c - test::test_main::{{closure}}::hd8d5b5bb0900d116
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:136:21
[INFO] [stdout]   13:     0x55925cc33cb1 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h2d4fa3dcc7099287
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x55925cc33cb1 - std::panicking::rust_panic_with_hook::h1387a687c5711a74
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:735:13
[INFO] [stdout]   15:     0x55925cc33a31 - std::panicking::begin_panic_handler::{{closure}}::hf2467c63b8ad7371
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:609:13
[INFO] [stdout]   16:     0x55925cc31f36 - std::sys_common::backtrace::__rust_end_short_backtrace::h0b678d0f70fbf3ba
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x55925cc33782 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:597:5
[INFO] [stdout]   18:     0x55925cba6565 - core::panicking::panic_fmt::h8398f9bd40a2efcd
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x55925cba6af3 - core::result::unwrap_failed::heaac613e95fb85f7
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/result.rs:1652:5
[INFO] [stdout]   20:     0x55925cbb35fd - core::result::Result<T,E>::unwrap::h0a0d6dd109b37ad2
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/result.rs:1077:23
[INFO] [stdout]   21:     0x55925cbb0e1b - simplechain::test::test_saveload::hec183f8138d1ea5f
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test.rs:116:20
[INFO] [stdout]   22:     0x55925cbb0757 - simplechain::test::test_saveload::{{closure}}::h4d8caf2418de74ea
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test.rs:92:23
[INFO] [stdout]   23:     0x55925cbb25b6 - core::ops::function::FnOnce::call_once::he0b6208c61d3f781
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55925cbfc91f - core::ops::function::FnOnce::call_once::h643f2128867058a3
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x55925cbfc91f - test::__rust_begin_short_backtrace::h5ffb0cd5eda0704e
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:626:18
[INFO] [stdout]   26:     0x55925cbfb9ae - test::run_test_in_process::{{closure}}::h5f3f2c50e89f10f6
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:649:60
[INFO] [stdout]   27:     0x55925cbfb9ae - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hc7bb05d011c94549
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   28:     0x55925cbfb9ae - std::panicking::try::do_call::hc2952fe5005bc351
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:504:40
[INFO] [stdout]   29:     0x55925cbfb9ae - std::panicking::try::hac512ea76b947046
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:468:19
[INFO] [stdout]   30:     0x55925cbfb9ae - std::panic::catch_unwind::h11d3922f3ba31e4b
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panic.rs:142:14
[INFO] [stdout]   31:     0x55925cbfb9ae - test::run_test_in_process::h25ad0551c6887d56
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:649:27
[INFO] [stdout]   32:     0x55925cbfb9ae - test::run_test::{{closure}}::h52dd364f39118330
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:572:43
[INFO] [stdout]   33:     0x55925cbc4903 - test::run_test::{{closure}}::ha452ffb46088765b
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:600:41
[INFO] [stdout]   34:     0x55925cbc4903 - std::sys_common::backtrace::__rust_begin_short_backtrace::he611e39b84a68325
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   35:     0x55925cbc9b3b - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h1f6f90a021c1ddc7
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   36:     0x55925cbc9b3b - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hde337ea7211d438c
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   37:     0x55925cbc9b3b - std::panicking::try::do_call::hd7199cb78d8df0a5
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:504:40
[INFO] [stdout]   38:     0x55925cbc9b3b - std::panicking::try::hed28d716c8fe6b32
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:468:19
[INFO] [stdout]   39:     0x55925cbc9b3b - std::panic::catch_unwind::h8ab888e8615782f1
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panic.rs:142:14
[INFO] [stdout]   40:     0x55925cbc9b3b - std::thread::Builder::spawn_unchecked_::{{closure}}::h3acf7202ecbb668e
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   41:     0x55925cbc9b3b - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc15bd9319945b48c
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x55925cc382c5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h9281b5fb2305c571
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   43:     0x55925cc382c5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hae9cb5d464ed2f06
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x55925cc382c5 - std::sys::unix::thread::Thread::new::thread_start::he78e4489414f6551
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7ff9faa28b43 - <unknown>
[INFO] [stdout]   46:     0x7ff9faab9bb4 - __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.02s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin simplechain`
[INFO] running `Command { std: "docker" "inspect" "771fdfc2785a5876cdc5ba829d90a60b80a5b100886965d742663769cfd22c11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "771fdfc2785a5876cdc5ba829d90a60b80a5b100886965d742663769cfd22c11", kill_on_drop: false }`
[INFO] [stdout] 771fdfc2785a5876cdc5ba829d90a60b80a5b100886965d742663769cfd22c11
