[INFO] cloning repository https://github.com/Skythrill256/YAMC [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Skythrill256/YAMC" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkythrill256%2FYAMC", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkythrill256%2FYAMC'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 21acb20a56c45db2432aedfc2b0aae43a69df88e [INFO] checking Skythrill256/YAMC against master#6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd for pr-153721 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkythrill256%2FYAMC" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Skythrill256/YAMC [INFO] finished tweaking git repo https://github.com/Skythrill256/YAMC [INFO] tweaked toml for git repo https://github.com/Skythrill256/YAMC written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Skythrill256/YAMC on toolchain 6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Skythrill256/YAMC 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" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cpufeatures v0.2.14 [INFO] [stderr] Downloaded libc v0.2.159 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] e519ca31cc0685ba6e1f541ee6ff5abb43608751be7f1055db4f4f8fa9ab1d88 [INFO] running `Command { std: "docker" "start" "e519ca31cc0685ba6e1f541ee6ff5abb43608751be7f1055db4f4f8fa9ab1d88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e519ca31cc0685ba6e1f541ee6ff5abb43608751be7f1055db4f4f8fa9ab1d88" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e519ca31cc0685ba6e1f541ee6ff5abb43608751be7f1055db4f4f8fa9ab1d88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e519ca31cc0685ba6e1f541ee6ff5abb43608751be7f1055db4f4f8fa9ab1d88" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking blockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no associated function or constant named `create_genesis_block` found for struct `Blockchain` in the current scope [INFO] [stdout] --> src/block.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Blockchain { [INFO] [stdout] | --------------------- associated function or constant `create_genesis_block` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 35 | chain.push(Self::create_genesis_block()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ associated function or constant not found in `Blockchain` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Blockchain`, consider using `Blockchain::new` which returns `Blockchain` [INFO] [stdout] --> src/block.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated function or constant named `create_genesis_block` found for struct `Blockchain` in the current scope [INFO] [stdout] --> src/block.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Blockchain { [INFO] [stdout] | --------------------- associated function or constant `create_genesis_block` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 35 | chain.push(Self::create_genesis_block()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ associated function or constant not found in `Blockchain` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Blockchain`, consider using `Blockchain::new` which returns `Blockchain` [INFO] [stdout] --> src/block.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `nonce` on type `&Block` [INFO] [stdout] --> src/hash.rs:7:78 [INFO] [stdout] | [INFO] [stdout] 7 | block.index, block.previous_hash, block.timestamp, block.data, block.nonce [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `index`, `hash`, `previous_hash`, `data`, `timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `nonce` on type `&Block` [INFO] [stdout] --> src/hash.rs:7:78 [INFO] [stdout] | [INFO] [stdout] 7 | block.index, block.previous_hash, block.timestamp, block.data, block.nonce [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `index`, `hash`, `previous_hash`, `data`, `timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `genesis_block` [INFO] [stdout] --> src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let genesis_block = block::Block::new( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_genesis_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `genesis_block` [INFO] [stdout] --> src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let genesis_block = block::Block::new( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_genesis_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0609. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blockchain` (bin "blockchain" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `blockchain` (bin "blockchain") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e519ca31cc0685ba6e1f541ee6ff5abb43608751be7f1055db4f4f8fa9ab1d88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e519ca31cc0685ba6e1f541ee6ff5abb43608751be7f1055db4f4f8fa9ab1d88", kill_on_drop: false }` [INFO] [stdout] e519ca31cc0685ba6e1f541ee6ff5abb43608751be7f1055db4f4f8fa9ab1d88