[INFO] cloning repository https://github.com/markmurphycodes/learnrust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/markmurphycodes/learnrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkmurphycodes%2Flearnrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkmurphycodes%2Flearnrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6685ea07f3ca8e6e8e0ba8a7a897d6296c651a07 [INFO] testing markmurphycodes/learnrust 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%2Fmarkmurphycodes%2Flearnrust" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/markmurphycodes/learnrust 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/markmurphycodes/learnrust [INFO] finished tweaking git repo https://github.com/markmurphycodes/learnrust [INFO] tweaked toml for git repo https://github.com/markmurphycodes/learnrust written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/markmurphycodes/learnrust 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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 2e72a8eb761515d335d304a754a1daf046b453f4b69af7ef5fbf402a7770041e [INFO] running `Command { std: "docker" "start" "-a" "2e72a8eb761515d335d304a754a1daf046b453f4b69af7ef5fbf402a7770041e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e72a8eb761515d335d304a754a1daf046b453f4b69af7ef5fbf402a7770041e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e72a8eb761515d335d304a754a1daf046b453f4b69af7ef5fbf402a7770041e", kill_on_drop: false }` [INFO] [stdout] 2e72a8eb761515d335d304a754a1daf046b453f4b69af7ef5fbf402a7770041e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] e7af0ecff33ebee1b8ec9abe7fd29d28ddd58cc6643af60d1b512d448b720295 [INFO] running `Command { std: "docker" "start" "-a" "e7af0ecff33ebee1b8ec9abe7fd29d28ddd58cc6643af60d1b512d448b720295", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling chrono v0.4.19 (https://github.com/chronotope/chrono#f6bd567b) [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling rockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `structures` [INFO] [stdout] --> src/block.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod structures; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `structures`, create file "src/block/structures.rs" or "src/block/structures/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in module `structures` [INFO] [stdout] --> src/block.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn set_hash(b:structures::Block){ [INFO] [stdout] | ^^^^^ not found in `structures` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::structures::block::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_block` in this scope [INFO] [stdout] --> src/structures/block.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | let b = new_block("Genesis".as_bytes(), my_hash); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/structures/blockchain.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | blocks: Vec<*const Block> [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::structures::block::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_block` in module `block` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | block::create_block(String::from("Hello"), String::from("Blockchain")); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::offset::Utc` [INFO] [stdout] --> src/structures/block.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::offset::Utc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rockchain` due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e7af0ecff33ebee1b8ec9abe7fd29d28ddd58cc6643af60d1b512d448b720295", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7af0ecff33ebee1b8ec9abe7fd29d28ddd58cc6643af60d1b512d448b720295", kill_on_drop: false }` [INFO] [stdout] e7af0ecff33ebee1b8ec9abe7fd29d28ddd58cc6643af60d1b512d448b720295