[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] checking RedStoneCoin/redstone-cb against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedStoneCoin%2Fredstone-cb" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RedStoneCoin/redstone-cb on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-13/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0a3e1a1f0f6d81b693377ae2c48dd8102bc37b8c7e944dc508a8ea6809ff731 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e0a3e1a1f0f6d81b693377ae2c48dd8102bc37b8c7e944dc508a8ea6809ff731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0a3e1a1f0f6d81b693377ae2c48dd8102bc37b8c7e944dc508a8ea6809ff731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0a3e1a1f0f6d81b693377ae2c48dd8102bc37b8c7e944dc508a8ea6809ff731", kill_on_drop: false }` [INFO] [stdout] e0a3e1a1f0f6d81b693377ae2c48dd8102bc37b8c7e944dc508a8ea6809ff731 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27a62bf23b59d1f220635024e865b894a83baa9c51eb5f86aadb6eb9dbeb80b2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "27a62bf23b59d1f220635024e865b894a83baa9c51eb5f86aadb6eb9dbeb80b2", 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] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bitcoin_hashes v0.7.6 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.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] Checking thread_local v1.0.1 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking merkle-cbt v0.2.2 [INFO] [stderr] Checking miniz_oxide v0.4.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Checking sled v0.34.3 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking bitcoincash-addr v0.5.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking 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 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: 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: 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: 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: 17 warnings emitted [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 1m 03s [INFO] running `Command { std: "docker" "inspect" "27a62bf23b59d1f220635024e865b894a83baa9c51eb5f86aadb6eb9dbeb80b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27a62bf23b59d1f220635024e865b894a83baa9c51eb5f86aadb6eb9dbeb80b2", kill_on_drop: false }` [INFO] [stdout] 27a62bf23b59d1f220635024e865b894a83baa9c51eb5f86aadb6eb9dbeb80b2