[INFO] cloning repository https://github.com/NicoMeloni/Blockchain-in-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NicoMeloni/Blockchain-in-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNicoMeloni%2FBlockchain-in-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNicoMeloni%2FBlockchain-in-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9aef24099cb28a0e4ed76eddfa778bc24b78eacb [INFO] checking NicoMeloni/Blockchain-in-Rust against try#349c4bfa6ac87b818f6fd19d4869c0b24790ac6a for pr-152856 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNicoMeloni%2FBlockchain-in-Rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NicoMeloni/Blockchain-in-Rust [INFO] finished tweaking git repo https://github.com/NicoMeloni/Blockchain-in-Rust [INFO] tweaked toml for git repo https://github.com/NicoMeloni/Blockchain-in-Rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NicoMeloni/Blockchain-in-Rust on toolchain 349c4bfa6ac87b818f6fd19d4869c0b24790ac6a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NicoMeloni/Blockchain-in-Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking NicoMeloni/Blockchain-in-Rust against try#349c4bfa6ac87b818f6fd19d4869c0b24790ac6a for pr-152856 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNicoMeloni%2FBlockchain-in-Rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NicoMeloni/Blockchain-in-Rust [INFO] finished tweaking git repo https://github.com/NicoMeloni/Blockchain-in-Rust [INFO] tweaked toml for git repo https://github.com/NicoMeloni/Blockchain-in-Rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NicoMeloni/Blockchain-in-Rust on toolchain 349c4bfa6ac87b818f6fd19d4869c0b24790ac6a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NicoMeloni/Blockchain-in-Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding hex v0.4.3 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58f364253c750feb12d884aad70c37dfc50f09691decb52c2aee3ab290cff792 [INFO] running `Command { std: "docker" "start" "-a" "58f364253c750feb12d884aad70c37dfc50f09691decb52c2aee3ab290cff792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58f364253c750feb12d884aad70c37dfc50f09691decb52c2aee3ab290cff792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58f364253c750feb12d884aad70c37dfc50f09691decb52c2aee3ab290cff792", kill_on_drop: false }` [INFO] [stdout] 58f364253c750feb12d884aad70c37dfc50f09691decb52c2aee3ab290cff792 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1989f8bf125de5aabf1be3e0e8f5a72746f4377e048148b54effb46d9225f3dd [INFO] running `Command { std: "docker" "start" "-a" "1989f8bf125de5aabf1be3e0e8f5a72746f4377e048148b54effb46d9225f3dd", kill_on_drop: false }` [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking Blockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `crypto_hash` in this scope [INFO] [stdout] --> src/hashable.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | crypto_hash::digest(crypto_hash::Algorithm::SHA256, &self.bytes()) [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_hash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_hash`, use `cargo add crypto_hash` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `crypto_hash` in this scope [INFO] [stdout] --> src/hashable.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | crypto_hash::digest(crypto_hash::Algorithm::SHA256, &self.bytes()) [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_hash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_hash`, use `cargo add crypto_hash` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `crypto_hash` in this scope [INFO] [stdout] --> src/hashable.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | crypto_hash::digest(crypto_hash::Algorithm::SHA256, &self.bytes()) [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_hash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_hash`, use `cargo add crypto_hash` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `crypto_hash` in this scope [INFO] [stdout] --> src/hashable.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | crypto_hash::digest(crypto_hash::Algorithm::SHA256, &self.bytes()) [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_hash` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_hash`, use `cargo add crypto_hash` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `coinbases` is never read [INFO] [stdout] --> src/blockchain.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | coinbases += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `coinbases` is never read [INFO] [stdout] --> src/blockchain.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | coinbases += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Blockchain` (lib test) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `Blockchain` (lib) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1989f8bf125de5aabf1be3e0e8f5a72746f4377e048148b54effb46d9225f3dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1989f8bf125de5aabf1be3e0e8f5a72746f4377e048148b54effb46d9225f3dd", kill_on_drop: false }` [INFO] [stdout] 1989f8bf125de5aabf1be3e0e8f5a72746f4377e048148b54effb46d9225f3dd