[INFO] cloning repository https://github.com/PEshwar/toy_blockchain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PEshwar/toy_blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPEshwar%2Ftoy_blockchain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPEshwar%2Ftoy_blockchain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c3f9d29fea64ac54da7ebb46da5a04e995585d22
[INFO] checking PEshwar/toy_blockchain against beta-2020-07-24 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPEshwar%2Ftoy_blockchain" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/PEshwar/toy_blockchain on toolchain beta-2020-07-24
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/PEshwar/toy_blockchain
[INFO] finished tweaking git repo https://github.com/PEshwar/toy_blockchain
[INFO] tweaked toml for git repo https://github.com/PEshwar/toy_blockchain written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/PEshwar/toy_blockchain already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8e20ae6ec6d80beefc32234ef70f4ebd5c388ef63fd858032fd28a51885589e0
[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" "8e20ae6ec6d80beefc32234ef70f4ebd5c388ef63fd858032fd28a51885589e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8e20ae6ec6d80beefc32234ef70f4ebd5c388ef63fd858032fd28a51885589e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e20ae6ec6d80beefc32234ef70f4ebd5c388ef63fd858032fd28a51885589e0", kill_on_drop: false }`
[INFO] [stdout] 8e20ae6ec6d80beefc32234ef70f4ebd5c388ef63fd858032fd28a51885589e0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e400e7d8f2bc6c3eab9e8e21d6baddd1aa2a2ee17d2c4b132b1615e6f442b36f
[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" "e400e7d8f2bc6c3eab9e8e21d6baddd1aa2a2ee17d2c4b132b1615e6f442b36f", kill_on_drop: false }`
[INFO] [stderr]    Compiling pkg-config v0.3.14
[INFO] [stderr]    Compiling libc v0.2.60
[INFO] [stderr]    Compiling syn v0.15.39
[INFO] [stderr]    Compiling serde v1.0.94
[INFO] [stderr]    Compiling openssl-sys v0.9.47
[INFO] [stderr]    Compiling openssl v0.10.23
[INFO] [stderr]    Compiling serde_derive v1.0.94
[INFO] [stderr]     Checking crypto-hash v0.3.3
[INFO] [stderr]     Checking serde_json v1.0.40
[INFO] [stderr]     Checking peblock v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/main.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn new(timestamp: u64, transactions: Vec<Transaction>, previous_block: &Block) -> Block {
[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: `genesis`
[INFO] [stdout]   --> src/main.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn genesis() -> Block {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `to_json`
[INFO] [stdout]   --> src/main.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn to_json(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `hash`
[INFO] [stdout]   --> src/main.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn hash(block: &Block) -> String {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `is_valid`
[INFO] [stdout]   --> src/main.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn is_valid(hash: &str, prefix: &str) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `mine_next_block`
[INFO] [stdout]   --> src/main.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn mine_next_block(candidate_block: &mut Block, prefix: &str)  {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Blockchain`
[INFO] [stdout]   --> src/main.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | struct Blockchain {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/main.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn new(timestamp: u64, transactions: Vec<Transaction>, previous_block: &Block) -> Block {
[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: `genesis`
[INFO] [stdout]   --> src/main.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn genesis() -> Block {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `to_json`
[INFO] [stdout]   --> src/main.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn to_json(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `hash`
[INFO] [stdout]   --> src/main.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn hash(block: &Block) -> String {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `is_valid`
[INFO] [stdout]   --> src/main.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn is_valid(hash: &str, prefix: &str) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `mine_next_block`
[INFO] [stdout]   --> src/main.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn mine_next_block(candidate_block: &mut Block, prefix: &str)  {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Blockchain`
[INFO] [stdout]   --> src/main.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | struct Blockchain {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 31.70s
[INFO] running `Command { std: "docker" "inspect" "e400e7d8f2bc6c3eab9e8e21d6baddd1aa2a2ee17d2c4b132b1615e6f442b36f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e400e7d8f2bc6c3eab9e8e21d6baddd1aa2a2ee17d2c4b132b1615e6f442b36f", kill_on_drop: false }`
[INFO] [stdout] e400e7d8f2bc6c3eab9e8e21d6baddd1aa2a2ee17d2c4b132b1615e6f442b36f
