[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPEshwar%2Ftoy_blockchain" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PEshwar/toy_blockchain on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-10/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22705937e6274aff4cd2f5914a78aea5ea9c8a68d273f160432b4a3d387bffa7 [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" "22705937e6274aff4cd2f5914a78aea5ea9c8a68d273f160432b4a3d387bffa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22705937e6274aff4cd2f5914a78aea5ea9c8a68d273f160432b4a3d387bffa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22705937e6274aff4cd2f5914a78aea5ea9c8a68d273f160432b4a3d387bffa7", kill_on_drop: false }` [INFO] [stdout] 22705937e6274aff4cd2f5914a78aea5ea9c8a68d273f160432b4a3d387bffa7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f965b91b0e8e833f76f68c6d56ead7bdc24fbf8ec73edda43f3447be10c8f62 [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" "1f965b91b0e8e833f76f68c6d56ead7bdc24fbf8ec73edda43f3447be10c8f62", 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 v0.4.30 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.23 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.47 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling serde_derive v1.0.94 [INFO] [stderr] Checking crypto-hash v0.3.3 [INFO] [stderr] Checking serde v1.0.94 [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, 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, 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 56.93s [INFO] running `Command { std: "docker" "inspect" "1f965b91b0e8e833f76f68c6d56ead7bdc24fbf8ec73edda43f3447be10c8f62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f965b91b0e8e833f76f68c6d56ead7bdc24fbf8ec73edda43f3447be10c8f62", kill_on_drop: false }` [INFO] [stdout] 1f965b91b0e8e833f76f68c6d56ead7bdc24fbf8ec73edda43f3447be10c8f62