[INFO] cloning repository https://github.com/RedStoneCoin/redstone-rs [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-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedStoneCoin%2Fredstone-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedStoneCoin%2Fredstone-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1df86a7e217b5ca12294ce5a31880f1a7c9774d8 [INFO] checking RedStoneCoin/redstone-rs against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRedStoneCoin%2Fredstone-rs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RedStoneCoin/redstone-rs on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RedStoneCoin/redstone-rs [INFO] finished tweaking git repo https://github.com/RedStoneCoin/redstone-rs [INFO] tweaked toml for git repo https://github.com/RedStoneCoin/redstone-rs written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/RedStoneCoin/redstone-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vrf v0.2.2 [INFO] [stderr] Downloaded bitcoin_hashes v0.9.6 [INFO] [stderr] Downloaded secp256k1 v0.20.2 [INFO] [stderr] Downloaded blake2 v0.9.1 [INFO] [stderr] Downloaded fs2 v0.4.3 [INFO] [stderr] Downloaded rustc-demangle v0.1.19 [INFO] [stderr] Downloaded vcpkg v0.2.13 [INFO] [stderr] Downloaded secp256k1-sys v0.4.0 [INFO] [stderr] Downloaded hmac-sha256 v0.1.7 [INFO] [stderr] Downloaded sled v0.34.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c81078bc8bec3f1e82e6db363064e1c2919d990b5ae4786203dfc711e88d3de6 [INFO] running `Command { std: "docker" "start" "-a" "c81078bc8bec3f1e82e6db363064e1c2919d990b5ae4786203dfc711e88d3de6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c81078bc8bec3f1e82e6db363064e1c2919d990b5ae4786203dfc711e88d3de6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c81078bc8bec3f1e82e6db363064e1c2919d990b5ae4786203dfc711e88d3de6", kill_on_drop: false }` [INFO] [stdout] c81078bc8bec3f1e82e6db363064e1c2919d990b5ae4786203dfc711e88d3de6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca5e601a45d0b0955d5b68d69abc2e9faab755251719fb632f54617b09bfff84 [INFO] running `Command { std: "docker" "start" "-a" "ca5e601a45d0b0955d5b68d69abc2e9faab755251719fb632f54617b09bfff84", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking rustc-demangle v0.1.19 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bitcoin_hashes v0.9.6 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking hmac-sha256 v0.1.7 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling secp256k1-sys v0.4.0 [INFO] [stderr] Checking object v0.25.3 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sled v0.34.6 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Checking addr2line v0.15.2 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking blake2 v0.9.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking secp256k1 v0.20.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking vrf v0.2.2 [INFO] [stderr] Checking redstone-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sled` [INFO] [stdout] --> src/blockchain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sled; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/account.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sled` [INFO] [stdout] --> src/blockchain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sled; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/account.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/block.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get(hash: String) -> Result> { [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: unused variable: `context` [INFO] [stdout] --> src/block.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | fn execute(&self, context: &String) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/block.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | fn cost(&self, context: &String) -> u64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/transaction.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | fn execute(&self, context: &String) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/transaction.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | fn cost(&self, context: &String) -> u64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/contract.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | fn execute(&self, context: &String) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/contract.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | fn cost(&self, context: &String) -> u64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/validators.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn choose_next_proposer(block: Block) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/block.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get(hash: String) -> Result> { [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: unused variable: `context` [INFO] [stdout] --> src/block.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | fn execute(&self, context: &String) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/block.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | fn cost(&self, context: &String) -> u64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/transaction.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | fn execute(&self, context: &String) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/transaction.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | fn cost(&self, context: &String) -> u64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/contract.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | fn execute(&self, context: &String) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/contract.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | fn cost(&self, context: &String) -> u64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/validators.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn choose_next_proposer(block: Block) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hash` [INFO] [stdout] --> src/contract.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | hash: String, // the hash of the byte code + account address [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Validator` [INFO] [stdout] --> src/validators.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Validator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hash` [INFO] [stdout] --> src/contract.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | hash: String, // the hash of the byte code + account address [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Validator` [INFO] [stdout] --> src/validators.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Validator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.95s [INFO] running `Command { std: "docker" "inspect" "ca5e601a45d0b0955d5b68d69abc2e9faab755251719fb632f54617b09bfff84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca5e601a45d0b0955d5b68d69abc2e9faab755251719fb632f54617b09bfff84", kill_on_drop: false }` [INFO] [stdout] ca5e601a45d0b0955d5b68d69abc2e9faab755251719fb632f54617b09bfff84