[INFO] cloning repository https://github.com/JossDuff/blockchain-data-structures [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JossDuff/blockchain-data-structures" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJossDuff%2Fblockchain-data-structures", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJossDuff%2Fblockchain-data-structures'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 47f01e710500230387c6dbd1f30199b59d9215a0 [INFO] testing JossDuff/blockchain-data-structures against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJossDuff%2Fblockchain-data-structures" "/workspace/builds/worker-104/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-104/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JossDuff/blockchain-data-structures on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JossDuff/blockchain-data-structures [INFO] finished tweaking git repo https://github.com/JossDuff/blockchain-data-structures [INFO] tweaked toml for git repo https://github.com/JossDuff/blockchain-data-structures written to /workspace/builds/worker-104/source/Cargo.toml [INFO] crate git repo https://github.com/JossDuff/blockchain-data-structures already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha256 v1.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87a01d2dcb86fffa5eb75b2941a64219a9cd49536ad4f6ab8ac8ab5e0e3bfeed [INFO] running `Command { std: "docker" "start" "-a" "87a01d2dcb86fffa5eb75b2941a64219a9cd49536ad4f6ab8ac8ab5e0e3bfeed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87a01d2dcb86fffa5eb75b2941a64219a9cd49536ad4f6ab8ac8ab5e0e3bfeed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87a01d2dcb86fffa5eb75b2941a64219a9cd49536ad4f6ab8ac8ab5e0e3bfeed", kill_on_drop: false }` [INFO] [stdout] 87a01d2dcb86fffa5eb75b2941a64219a9cd49536ad4f6ab8ac8ab5e0e3bfeed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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=forbid" "-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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7b266b6fbfbd0a4977a2000730397c4495ba17bb6c9dcdde49d01a9962d96e4 [INFO] running `Command { std: "docker" "start" "-a" "f7b266b6fbfbd0a4977a2000730397c4495ba17bb6c9dcdde49d01a9962d96e4", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling sha256 v1.0.2 [INFO] [stderr] Compiling blockchain_data_structures v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `hash` in this scope [INFO] [stdout] --> src/main.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | newHash = hash(leftNode.unwrap().hash, rightNode.unwrap().hash); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ptr::hash; [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha256::digest` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sha256::digest; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `maybeNode` should have an upper camel case name [INFO] [stdout] --> src/main.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type maybeNode = Option>; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `MaybeNode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blockchain_data_structures` due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f7b266b6fbfbd0a4977a2000730397c4495ba17bb6c9dcdde49d01a9962d96e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7b266b6fbfbd0a4977a2000730397c4495ba17bb6c9dcdde49d01a9962d96e4", kill_on_drop: false }` [INFO] [stdout] f7b266b6fbfbd0a4977a2000730397c4495ba17bb6c9dcdde49d01a9962d96e4