[INFO] cloning repository https://github.com/Guocork/blockchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Guocork/blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuocork%2Fblockchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuocork%2Fblockchain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cfab3cfcf2840971028fe0ff55cb751d6fabd180 [INFO] testing Guocork/blockchain against beta-2025-04-13 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuocork%2Fblockchain" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Guocork/blockchain on toolchain beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Guocork/blockchain [INFO] finished tweaking git repo https://github.com/Guocork/blockchain [INFO] tweaked toml for git repo https://github.com/Guocork/blockchain written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Guocork/blockchain 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" "+beta-2025-04-13" "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 [ERROR] error running command: no output for 300 seconds [INFO] testing Guocork/blockchain against beta-2025-04-13 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGuocork%2Fblockchain" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Guocork/blockchain on toolchain beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Guocork/blockchain [INFO] finished tweaking git repo https://github.com/Guocork/blockchain [INFO] tweaked toml for git repo https://github.com/Guocork/blockchain written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Guocork/blockchain 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" "+beta-2025-04-13" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.202 [INFO] [stderr] Downloaded serde v1.0.202 [INFO] [stderr] Downloaded syn v2.0.64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a26d58c7c20badf65bb1ce057289b6d2c7838604c9433d29aebd6d3c7bf4e78 [INFO] running `Command { std: "docker" "start" "-a" "0a26d58c7c20badf65bb1ce057289b6d2c7838604c9433d29aebd6d3c7bf4e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a26d58c7c20badf65bb1ce057289b6d2c7838604c9433d29aebd6d3c7bf4e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a26d58c7c20badf65bb1ce057289b6d2c7838604c9433d29aebd6d3c7bf4e78", kill_on_drop: false }` [INFO] [stdout] 0a26d58c7c20badf65bb1ce057289b6d2c7838604c9433d29aebd6d3c7bf4e78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40cc897940a4522feab7776a7570c4f56ec2ed2219662d9b855e34056a8211c5 [INFO] running `Command { std: "docker" "start" "-a" "40cc897940a4522feab7776a7570c4f56ec2ed2219662d9b855e34056a8211c5", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling blockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/blockchain.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | timestamp: time::now().to_timespec().sec, [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha256` [INFO] [stdout] --> src/blockchain.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | 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 import: `std::fmt::Write` [INFO] [stdout] --> src/blockchain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `hash` found for struct `blockchain::Chain` in the current scope [INFO] [stdout] --> src/blockchain.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chain { [INFO] [stdout] | ---------------- function or associated item `hash` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 68 | Chain::hash(&block.header) [INFO] [stdout] | ^^^^ function or associated item not found in `Chain` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `blockchain::Chain`, consider using `blockchain::Chain::new` which returns `blockchain::Chain` [INFO] [stdout] --> src/blockchain.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(miner_addr: String, difficulty: u32) -> Chain { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `hash`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `merkle` in initializer of `Blockheader` [INFO] [stdout] --> src/blockchain.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | let header = Blockheader { [INFO] [stdout] | ^^^^^^^^^^^ missing `merkle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get_merkle` found for struct `blockchain::Chain` in the current scope [INFO] [stdout] --> src/blockchain.rs:104:38 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chain { [INFO] [stdout] | ---------------- function or associated item `get_merkle` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 104 | block.header.merkle = Chain::get_merkle(block.transaction.clone()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Chain` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `blockchain::Chain`, consider using `blockchain::Chain::new` which returns `blockchain::Chain` [INFO] [stdout] --> src/blockchain.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(miner_addr: String, difficulty: u32) -> Chain { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `proof_of_work` found for struct `blockchain::Chain` in the current scope [INFO] [stdout] --> src/blockchain.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Chain { [INFO] [stdout] | ---------------- function or associated item `proof_of_work` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 105 | Chain::proof_of_work(&mut block.header); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `Chain` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `blockchain::Chain`, consider using `blockchain::Chain::new` which returns `blockchain::Chain` [INFO] [stdout] --> src/blockchain.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(miner_addr: String, difficulty: u32) -> Chain { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/blockchain.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use sha2::{ Sha256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blockchain` (bin "blockchain") due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "40cc897940a4522feab7776a7570c4f56ec2ed2219662d9b855e34056a8211c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40cc897940a4522feab7776a7570c4f56ec2ed2219662d9b855e34056a8211c5", kill_on_drop: false }` [INFO] [stdout] 40cc897940a4522feab7776a7570c4f56ec2ed2219662d9b855e34056a8211c5