[INFO] cloning repository https://github.com/berinaniesh/rust-blockchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/berinaniesh/rust-blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fberinaniesh%2Frust-blockchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fberinaniesh%2Frust-blockchain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 64fd7774ef5c2f22296bf7bf54821d51a18e6999 [INFO] testing berinaniesh/rust-blockchain against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fberinaniesh%2Frust-blockchain" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/berinaniesh/rust-blockchain on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/berinaniesh/rust-blockchain [INFO] finished tweaking git repo https://github.com/berinaniesh/rust-blockchain [INFO] tweaked toml for git repo https://github.com/berinaniesh/rust-blockchain written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/berinaniesh/rust-blockchain already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 996102ec725ee9688d6839a7d73f316e548899585227a4c3e8992c2e445ac9ad [INFO] running `Command { std: "docker" "start" "-a" "996102ec725ee9688d6839a7d73f316e548899585227a4c3e8992c2e445ac9ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "996102ec725ee9688d6839a7d73f316e548899585227a4c3e8992c2e445ac9ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "996102ec725ee9688d6839a7d73f316e548899585227a4c3e8992c2e445ac9ad", kill_on_drop: false }` [INFO] [stdout] 996102ec725ee9688d6839a7d73f316e548899585227a4c3e8992c2e445ac9ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 709faa2ab16adefe32818c16e4fef22741a32c47c6dbb65955e65819d2cfeb53 [INFO] running `Command { std: "docker" "start" "-a" "709faa2ab16adefe32818c16e4fef22741a32c47c6dbb65955e65819d2cfeb53", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling crypto-common v0.1.1 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling sha2 v0.10.0 [INFO] [stderr] Compiling rust-blockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `;` [INFO] [stdout] --> src/blockchain.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 36 | let block_1 = Block { [INFO] [stdout] | ----- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 40 | previous_hash: 0; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `,`, `.`, `?`, `}`, or an operator [INFO] [stdout] | help: try adding a comma: `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha256` [INFO] [stdout] --> src/blockchain.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `SystemTime` [INFO] [stdout] --> src/blockchain.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `nonce` in initializer of `Block` [INFO] [stdout] --> src/blockchain.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | let block_1 = Block { [INFO] [stdout] | ^^^^^ missing `nonce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/blockchain.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-blockchain` due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "709faa2ab16adefe32818c16e4fef22741a32c47c6dbb65955e65819d2cfeb53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "709faa2ab16adefe32818c16e4fef22741a32c47c6dbb65955e65819d2cfeb53", kill_on_drop: false }` [INFO] [stdout] 709faa2ab16adefe32818c16e4fef22741a32c47c6dbb65955e65819d2cfeb53