[INFO] cloning repository https://github.com/RedStoneCoin/redstone-cb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RedStoneCoin/redstone-cb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedStoneCoin%2Fredstone-cb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedStoneCoin%2Fredstone-cb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ac1f467534c0fe43651425247431e5990c440b5 [INFO] building RedStoneCoin/redstone-cb against try#8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 for pr-94962 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedStoneCoin%2Fredstone-cb" "/workspace/builds/worker-105/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-105/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RedStoneCoin/redstone-cb on toolchain 8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RedStoneCoin/redstone-cb [INFO] finished tweaking git repo https://github.com/RedStoneCoin/redstone-cb [INFO] tweaked toml for git repo https://github.com/RedStoneCoin/redstone-cb written to /workspace/builds/worker-105/source/Cargo.toml [INFO] crate git repo https://github.com/RedStoneCoin/redstone-cb already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9616a6d5934db4b552b6c3f8ef0b8a526933362fd89aa21e58cbee35398d3358 [INFO] running `Command { std: "docker" "start" "-a" "9616a6d5934db4b552b6c3f8ef0b8a526933362fd89aa21e58cbee35398d3358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9616a6d5934db4b552b6c3f8ef0b8a526933362fd89aa21e58cbee35398d3358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9616a6d5934db4b552b6c3f8ef0b8a526933362fd89aa21e58cbee35398d3358", kill_on_drop: false }` [INFO] [stdout] 9616a6d5934db4b552b6c3f8ef0b8a526933362fd89aa21e58cbee35398d3358 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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=forbid" "-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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4b849aa4e8093df07181754212e30c2a1fee508b703fbff721050d3810ce775 [INFO] running `Command { std: "docker" "start" "-a" "b4b849aa4e8093df07181754212e30c2a1fee508b703fbff721050d3810ce775", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bitcoin_hashes v0.7.6 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling miniz_oxide v0.4.1 [INFO] [stderr] Compiling merkle-cbt v0.2.2 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling bitcoincash-addr v0.5.2 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling sled v0.34.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling Redstone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::blockchain::*` [INFO] [stdout] --> src/transaction.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::blockchain::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/blockchain.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let header = Header.to_string(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/blockchain.rs:150:35 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn get_block_other(&self, chain: i32) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/blockchain.rs:300:46 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn get_block(&self, block_hash: &str,chain: i32) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/cli.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let chain: i32 = if let Some(chain) = matches.value_of("chain") { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/cli.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | if let Some(port) = matches.value_of("port") { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/cli.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | let chain: i32 = if let Some(chain) = matches.value_of("chain") { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/cli.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | let address = if let Some(address) = matches.value_of("address") { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/cli.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | let port = if let Some(port) = matches.value_of("port") { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cli.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | let mut address = cmd_create_wallet()?; [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: associated function is never used: `get_block_other` [INFO] [stdout] --> src/blockchain.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn get_block_other(&self, chain: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mine_block_server` [INFO] [stdout] --> src/blockchain.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn mine_block_server(&mut self, transactions: Vec, chain: i32, otherhash: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_block` [INFO] [stdout] --> src/blockchain.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn add_block(&mut self, block: Block) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_block` [INFO] [stdout] --> src/blockchain.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn get_block(&self, block_hash: &str,chain: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_block_hashs` [INFO] [stdout] --> src/blockchain.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 310 | pub fn get_block_hashs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cmd_poc` [INFO] [stdout] --> src/cli.rs:338:4 [INFO] [stdout] | [INFO] [stdout] 338 | fn cmd_poc() -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_spendable_outputs1` [INFO] [stdout] --> src/utxoset.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn find_spendable_outputs1( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.96s [INFO] running `Command { std: "docker" "inspect" "b4b849aa4e8093df07181754212e30c2a1fee508b703fbff721050d3810ce775", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4b849aa4e8093df07181754212e30c2a1fee508b703fbff721050d3810ce775", kill_on_drop: false }` [INFO] [stdout] b4b849aa4e8093df07181754212e30c2a1fee508b703fbff721050d3810ce775 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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=forbid" "-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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f55f09ae8f26d993179ac58f3833aa6281cbf6ca0764d7655970b7d9b9be4e3 [INFO] running `Command { std: "docker" "start" "-a" "2f55f09ae8f26d993179ac58f3833aa6281cbf6ca0764d7655970b7d9b9be4e3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling Redstone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::blockchain::*` [INFO] [stdout] --> src/transaction.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::blockchain::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/blockchain.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let header = Header.to_string(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/blockchain.rs:150:35 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn get_block_other(&self, chain: i32) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/blockchain.rs:300:46 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn get_block(&self, block_hash: &str,chain: i32) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/cli.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let chain: i32 = if let Some(chain) = matches.value_of("chain") { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/cli.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | if let Some(port) = matches.value_of("port") { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/cli.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | let chain: i32 = if let Some(chain) = matches.value_of("chain") { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/cli.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | let address = if let Some(address) = matches.value_of("address") { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/cli.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | let port = if let Some(port) = matches.value_of("port") { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cli.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | let mut address = cmd_create_wallet()?; [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: associated function is never used: `get_block_other` [INFO] [stdout] --> src/blockchain.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn get_block_other(&self, chain: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mine_block_server` [INFO] [stdout] --> src/blockchain.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn mine_block_server(&mut self, transactions: Vec, chain: i32, otherhash: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_block` [INFO] [stdout] --> src/blockchain.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn add_block(&mut self, block: Block) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_block` [INFO] [stdout] --> src/blockchain.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn get_block(&self, block_hash: &str,chain: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_block_hashs` [INFO] [stdout] --> src/blockchain.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 310 | pub fn get_block_hashs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cmd_poc` [INFO] [stdout] --> src/cli.rs:338:4 [INFO] [stdout] | [INFO] [stdout] 338 | fn cmd_poc() -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_spendable_outputs1` [INFO] [stdout] --> src/utxoset.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn find_spendable_outputs1( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 41s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/Redstone-4942ecded7084b60) [INFO] running `Command { std: "docker" "inspect" "2f55f09ae8f26d993179ac58f3833aa6281cbf6ca0764d7655970b7d9b9be4e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f55f09ae8f26d993179ac58f3833aa6281cbf6ca0764d7655970b7d9b9be4e3", kill_on_drop: false }` [INFO] [stdout] 2f55f09ae8f26d993179ac58f3833aa6281cbf6ca0764d7655970b7d9b9be4e3