[INFO] cloning repository https://github.com/aitorzaldua/cryptocurrency
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aitorzaldua/cryptocurrency" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faitorzaldua%2Fcryptocurrency", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faitorzaldua%2Fcryptocurrency'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 28c808c3c5292c4692215d00d954b8cd39146e2a
[INFO] documenting aitorzaldua/cryptocurrency against nightly for pr-99919
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faitorzaldua%2Fcryptocurrency" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/aitorzaldua/cryptocurrency on toolchain nightly
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/aitorzaldua/cryptocurrency
[INFO] finished tweaking git repo https://github.com/aitorzaldua/cryptocurrency
[INFO] tweaked toml for git repo https://github.com/aitorzaldua/cryptocurrency written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/aitorzaldua/cryptocurrency already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 37d2886d799fdcb9d816baa72dfbeb044776cf9601009068c8075f3b2f9b3b93
[INFO] running `Command { std: "docker" "start" "-a" "37d2886d799fdcb9d816baa72dfbeb044776cf9601009068c8075f3b2f9b3b93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "37d2886d799fdcb9d816baa72dfbeb044776cf9601009068c8075f3b2f9b3b93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "37d2886d799fdcb9d816baa72dfbeb044776cf9601009068c8075f3b2f9b3b93", kill_on_drop: false }`
[INFO] [stdout] 37d2886d799fdcb9d816baa72dfbeb044776cf9601009068c8075f3b2f9b3b93
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e020aa36f919bab6be69f821247d9baa7b30ba227521df9fecfcb5ef4e6e45a9
[INFO] running `Command { std: "docker" "start" "-a" "e020aa36f919bab6be69f821247d9baa7b30ba227521df9fecfcb5ef4e6e45a9", kill_on_drop: false }`
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling cc v1.0.68
[INFO] [stderr]    Compiling libc v0.2.96
[INFO] [stderr]    Compiling openssl v0.10.34
[INFO] [stderr]     Checking once_cell v1.7.2
[INFO] [stderr]     Checking hex v0.3.2
[INFO] [stderr]    Compiling openssl-sys v0.9.63
[INFO] [stderr]     Checking crypto-hash v0.3.4
[INFO] [stderr]     Checking cryptocurrency v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting cryptocurrency v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0412]: cannot find type `BlockHash` in this scope
[INFO] [stdout]  --> src/block.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub hash: BlockHash,
[INFO] [stdout]   |               ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BlockHash` in this scope
[INFO] [stdout]   --> src/block.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub prev_block_hash: BlockHash,
[INFO] [stdout]    |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BlockHash` in this scope
[INFO] [stdout]   --> src/block.rs:29:63
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn new (index: u32, timestamp: u128, prev_block_hash: BlockHash, nonce: u64, payload: String, difficulty: u128) -> Self {
[INFO] [stdout]    |                                                               ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BlockHash` in this scope
[INFO] [stdout]   --> src/block.rs:72:33
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub fn check_difficulty (hash: &BlockHash, difficulty: u128) -> bool {
[INFO] [stdout]    |                                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BlockHash` in this scope
[INFO] [stdout]  --> src/block.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub hash: BlockHash,
[INFO] [stdout]   |               ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BlockHash` in this scope
[INFO] [stdout]   --> src/block.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub prev_block_hash: BlockHash,
[INFO] [stdout]    |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BlockHash` in this scope
[INFO] [stdout]   --> src/block.rs:29:63
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn new (index: u32, timestamp: u128, prev_block_hash: BlockHash, nonce: u64, payload: String, difficulty: u128) -> Self {
[INFO] [stdout]    |                                                               ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BlockHash` in this scope
[INFO] [stdout]   --> src/block.rs:72:33
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub fn check_difficulty (hash: &BlockHash, difficulty: u128) -> bool {
[INFO] [stdout]    |                                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `cryptocurrency`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name blockchainlib src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=b2f26a3e53b018e6 -L dependency=/opt/rustwide/target/debug/deps --extern crypto_hash=/opt/rustwide/target/debug/deps/libcrypto_hash-e734fd39deca8cec.rmeta --extern hex=/opt/rustwide/target/debug/deps/libhex-52738f6114d4bb1b.rmeta --cap-lints=allow --crate-version 0.1.0` (exit status: 1)
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cryptocurrency` due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "e020aa36f919bab6be69f821247d9baa7b30ba227521df9fecfcb5ef4e6e45a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e020aa36f919bab6be69f821247d9baa7b30ba227521df9fecfcb5ef4e6e45a9", kill_on_drop: false }`
[INFO] [stdout] e020aa36f919bab6be69f821247d9baa7b30ba227521df9fecfcb5ef4e6e45a9
