[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] testing NicoMeloni/Blockchain-in-Rust against master#160e7623e8cbbf1feab2b6e2a24733a98c7bde9c for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNicoMeloni%2FBlockchain-in-Rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NicoMeloni/Blockchain-in-Rust on toolchain 160e7623e8cbbf1feab2b6e2a24733a98c7bde9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding hex v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afd9ead63c4237d3b4cbd0fdd330ba07ec28ce2278f50791f4fb35bf4cdcc1e1 [INFO] running `Command { std: "docker" "start" "-a" "afd9ead63c4237d3b4cbd0fdd330ba07ec28ce2278f50791f4fb35bf4cdcc1e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afd9ead63c4237d3b4cbd0fdd330ba07ec28ce2278f50791f4fb35bf4cdcc1e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afd9ead63c4237d3b4cbd0fdd330ba07ec28ce2278f50791f4fb35bf4cdcc1e1", kill_on_drop: false }` [INFO] [stdout] afd9ead63c4237d3b4cbd0fdd330ba07ec28ce2278f50791f4fb35bf4cdcc1e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7319834cf55aa98176066c1e7e44bec440d9acc3ecbd86659615b818eb4041a7 [INFO] running `Command { std: "docker" "start" "-a" "7319834cf55aa98176066c1e7e44bec440d9acc3ecbd86659615b818eb4041a7", kill_on_drop: false }` [INFO] [stderr] Compiling 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `crypto_hash` [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]: failed to resolve: use of unresolved module or unlinked crate `crypto_hash` [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] 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) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7319834cf55aa98176066c1e7e44bec440d9acc3ecbd86659615b818eb4041a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7319834cf55aa98176066c1e7e44bec440d9acc3ecbd86659615b818eb4041a7", kill_on_drop: false }` [INFO] [stdout] 7319834cf55aa98176066c1e7e44bec440d9acc3ecbd86659615b818eb4041a7