[INFO] fetching crate safecoin-merkle-tree 1.6.18... [INFO] checking safecoin-merkle-tree-1.6.18 against master#2ad4eb207b369017f5140918b5e4b0d3650b46b0 for pr-95611 [INFO] extracting crate safecoin-merkle-tree 1.6.18 into /workspace/builds/worker-65/source [INFO] validating manifest of crates.io crate safecoin-merkle-tree 1.6.18 on toolchain 2ad4eb207b369017f5140918b5e4b0d3650b46b0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2ad4eb207b369017f5140918b5e4b0d3650b46b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate safecoin-merkle-tree 1.6.18 [INFO] finished tweaking crates.io crate safecoin-merkle-tree 1.6.18 [INFO] tweaked toml for crates.io crate safecoin-merkle-tree 1.6.18 written to /workspace/builds/worker-65/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2ad4eb207b369017f5140918b5e4b0d3650b46b0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2ad4eb207b369017f5140918b5e4b0d3650b46b0" "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 fast-math v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+2ad4eb207b369017f5140918b5e4b0d3650b46b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 102345cf3b49703292ba85bea9aac300b44af423889244042b78080dd1a78e88 [INFO] running `Command { std: "docker" "start" "-a" "102345cf3b49703292ba85bea9aac300b44af423889244042b78080dd1a78e88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "102345cf3b49703292ba85bea9aac300b44af423889244042b78080dd1a78e88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "102345cf3b49703292ba85bea9aac300b44af423889244042b78080dd1a78e88", kill_on_drop: false }` [INFO] [stdout] 102345cf3b49703292ba85bea9aac300b44af423889244042b78080dd1a78e88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+2ad4eb207b369017f5140918b5e4b0d3650b46b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c23fef703bfadf028e3026baae8cb96b682e8e2458b06606abf7b99b92905d0 [INFO] running `Command { std: "docker" "start" "-a" "0c23fef703bfadf028e3026baae8cb96b682e8e2458b06606abf7b99b92905d0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking zeroize v1.5.4 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ieee754 v0.2.6 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking fast-math v0.1.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Compiling safecoin-frozen-abi-macro v1.8.12 [INFO] [stderr] Compiling safecoin-frozen-abi v1.8.12 [INFO] [stderr] Compiling safecoin-program v1.8.12 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking curve25519-dalek v2.1.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking safecoin-logger v1.8.12 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.1.0 [INFO] [stderr] Compiling safecoin-sdk-macro v1.8.12 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking libsecp256k1-core v0.2.2 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Checking borsh v0.9.3 [INFO] [stderr] Checking safecoin-merkle-tree v1.6.18 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/merkle_tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::hash::{hashv, Hash}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/merkle_tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::hash::{hashv, Hash}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/merkle_tree.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | nodes: Vec, [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::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/merkle_tree.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ProofEntry<'a>(&'a Hash, Option<&'a Hash>, Option<&'a 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::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/merkle_tree.rs:28:48 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ProofEntry<'a>(&'a Hash, Option<&'a Hash>, Option<&'a 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::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/merkle_tree.rs:28:66 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ProofEntry<'a>(&'a Hash, Option<&'a Hash>, Option<&'a 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::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/merkle_tree.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | target: &'a 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::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/merkle_tree.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | left_sibling: Option<&'a 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::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/merkle_tree.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | right_sibling: Option<&'a 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::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/merkle_tree.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn verify(&self, candidate: Hash) -> bool { [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::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hashv` in this scope [INFO] [stdout] --> src/merkle_tree.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | hashv(&[INTERMEDIATE_PREFIX, $l.as_ref(), $r.as_ref()]) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 53 | let hash = hash_intermediate!(lsib, rsib); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hash_intermediate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::hashv; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::hashv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hashv` in this scope [INFO] [stdout] --> src/merkle_tree.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | hashv(&[LEAF_PREFIX, $d]) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 107 | let hash = hash_leaf!(item); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hash_leaf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::hashv; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::hashv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hashv` in this scope [INFO] [stdout] --> src/merkle_tree.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | hashv(&[INTERMEDIATE_PREFIX, $l.as_ref(), $r.as_ref()]) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 126 | let hash = hash_intermediate!(lsib, rsib); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hash_intermediate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::hashv; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::hashv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/merkle_tree.rs:138:39 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_root(&self) -> Option<&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::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/merkle_tree.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | nodes: Vec, [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::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/merkle_tree.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ProofEntry<'a>(&'a Hash, Option<&'a Hash>, Option<&'a 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::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/merkle_tree.rs:28:48 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ProofEntry<'a>(&'a Hash, Option<&'a Hash>, Option<&'a 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::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/merkle_tree.rs:28:66 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ProofEntry<'a>(&'a Hash, Option<&'a Hash>, Option<&'a 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::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/merkle_tree.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | target: &'a 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::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/merkle_tree.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | left_sibling: Option<&'a 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::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/merkle_tree.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | right_sibling: Option<&'a 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::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/merkle_tree.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn verify(&self, candidate: Hash) -> bool { [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::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hashv` in this scope [INFO] [stdout] --> src/merkle_tree.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | hashv(&[INTERMEDIATE_PREFIX, $l.as_ref(), $r.as_ref()]) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 53 | let hash = hash_intermediate!(lsib, rsib); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hash_intermediate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::hashv; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::hashv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hashv` in this scope [INFO] [stdout] --> src/merkle_tree.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | hashv(&[LEAF_PREFIX, $d]) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 107 | let hash = hash_leaf!(item); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hash_leaf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::hashv; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::hashv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hashv` in this scope [INFO] [stdout] --> src/merkle_tree.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | hashv(&[INTERMEDIATE_PREFIX, $l.as_ref(), $r.as_ref()]) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 126 | let hash = hash_intermediate!(lsib, rsib); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hash_intermediate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::hashv; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::hashv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/merkle_tree.rs:138:39 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn get_root(&self) -> Option<&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::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hashv` in this scope [INFO] [stdout] --> src/merkle_tree.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | hashv(&[LEAF_PREFIX, $d]) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 200 | let expected = hash_leaf!(input); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hash_leaf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::hash::hashv; [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::keccak::hashv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hash` [INFO] [stdout] --> src/merkle_tree.rs:212:24 [INFO] [stdout] | [INFO] [stdout] 212 | let expected = Hash::new(&bytes); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 182 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hashv` in this scope [INFO] [stdout] --> src/merkle_tree.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | hashv(&[LEAF_PREFIX, $d]) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 234 | let hash = hash_leaf!(s); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hash_leaf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::hash::hashv; [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::keccak::hashv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hashv` in this scope [INFO] [stdout] --> src/merkle_tree.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | hashv(&[LEAF_PREFIX, $d]) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 244 | let hash = hash_leaf!(s); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `hash_leaf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::hash::hashv; [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::keccak::hashv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hash` [INFO] [stdout] --> src/merkle_tree.rs:252:26 [INFO] [stdout] | [INFO] [stdout] 252 | ProofEntry::new(&Hash::default(), Some(&Hash::default()), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 182 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hash` [INFO] [stdout] --> src/merkle_tree.rs:252:49 [INFO] [stdout] | [INFO] [stdout] 252 | ProofEntry::new(&Hash::default(), Some(&Hash::default()), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 182 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hash` [INFO] [stdout] --> src/merkle_tree.rs:257:26 [INFO] [stdout] | [INFO] [stdout] 257 | ProofEntry::new(&Hash::default(), None, Some(&Hash::default())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 182 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hash` [INFO] [stdout] --> src/merkle_tree.rs:257:55 [INFO] [stdout] | [INFO] [stdout] 257 | ProofEntry::new(&Hash::default(), None, Some(&Hash::default())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 182 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hash` [INFO] [stdout] --> src/merkle_tree.rs:282:26 [INFO] [stdout] | [INFO] [stdout] 282 | ProofEntry::new(&Hash::default(), None, None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 182 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hash` [INFO] [stdout] --> src/merkle_tree.rs:289:14 [INFO] [stdout] | [INFO] [stdout] 289 | &Hash::default(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 182 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hash` [INFO] [stdout] --> src/merkle_tree.rs:290:19 [INFO] [stdout] | [INFO] [stdout] 290 | Some(&Hash::default()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 182 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hash` [INFO] [stdout] --> src/merkle_tree.rs:291:19 [INFO] [stdout] | [INFO] [stdout] 291 | Some(&Hash::default()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 182 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use safecoin_program::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 182 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `safecoin-merkle-tree` due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `safecoin-merkle-tree` due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "0c23fef703bfadf028e3026baae8cb96b682e8e2458b06606abf7b99b92905d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c23fef703bfadf028e3026baae8cb96b682e8e2458b06606abf7b99b92905d0", kill_on_drop: false }` [INFO] [stdout] 0c23fef703bfadf028e3026baae8cb96b682e8e2458b06606abf7b99b92905d0