[INFO] fetching crate memorydb 0.3.0... [INFO] checking memorydb-0.3.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate memorydb 0.3.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate memorydb 0.3.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate memorydb 0.3.0 [INFO] finished tweaking crates.io crate memorydb 0.3.0 [INFO] tweaked toml for crates.io crate memorydb 0.3.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 33 packages to latest compatible versions [INFO] [stderr] Adding crunchy v0.1.6 (available: v0.2.2) [INFO] [stderr] Adding elastic-array v0.10.3 (available: v0.11.0) [INFO] [stderr] Adding ethbloom v0.5.3 (available: v0.14.1) [INFO] [stderr] Adding ethereum-types v0.4.2 (available: v0.15.1) [INFO] [stderr] Adding fixed-hash v0.2.5 (available: v0.8.0) [INFO] [stderr] Adding hashdb v0.2.1 (available: v0.3.0) [INFO] [stderr] Adding keccak-hash v0.1.2 (available: v0.11.0) [INFO] [stderr] Adding keccak-hasher v0.1.1 (available: v0.16.0) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding rlp v0.3.0 (available: v0.6.1) [INFO] [stderr] Adding tiny-keccak v1.5.0 (available: v2.0.2) [INFO] [stderr] Adding uint v0.4.1 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hashdb v0.2.1 [INFO] [stderr] Downloaded elastic-array v0.10.3 [INFO] [stderr] Downloaded rlp v0.3.0 [INFO] [stderr] Downloaded plain_hasher v0.2.3 [INFO] [stderr] Downloaded tiny-keccak v1.5.0 [INFO] [stderr] Downloaded ethereum-types v0.4.2 [INFO] [stderr] Downloaded uint v0.4.1 [INFO] [stderr] Downloaded hashdb v0.3.0 [INFO] [stderr] Downloaded ethbloom v0.5.3 [INFO] [stderr] Downloaded keccak-hash v0.1.2 [INFO] [stderr] Downloaded ethereum-types-serialize v0.2.2 [INFO] [stderr] Downloaded fixed-hash v0.2.5 [INFO] [stderr] Downloaded keccak-hasher v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d07a7049f3ae33f29743be12e8d8e57ece12a6e652dd07f80d9709f104b62d04 [INFO] running `Command { std: "docker" "start" "-a" "d07a7049f3ae33f29743be12e8d8e57ece12a6e652dd07f80d9709f104b62d04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d07a7049f3ae33f29743be12e8d8e57ece12a6e652dd07f80d9709f104b62d04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d07a7049f3ae33f29743be12e8d8e57ece12a6e652dd07f80d9709f104b62d04", kill_on_drop: false }` [INFO] [stdout] d07a7049f3ae33f29743be12e8d8e57ece12a6e652dd07f80d9709f104b62d04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 670c67c3e65816415563776ef04901c0c476c1a26c02b8058be4800394caa230 [INFO] running `Command { std: "docker" "start" "-a" "670c67c3e65816415563776ef04901c0c476c1a26c02b8058be4800394caa230", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Checking hashdb v0.3.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking ethereum-types-serialize v0.2.2 [INFO] [stderr] Checking rlp v0.3.0 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Checking plain_hasher v0.2.3 [INFO] [stderr] Checking uint v0.4.1 [INFO] [stderr] Checking elastic-array v0.10.3 [INFO] [stderr] Checking memorydb v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:328:26 [INFO] [stdout] | [INFO] [stdout] 328 | fn as_hashdb(&self) -> &HashDB { self } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 328 | fn as_hashdb(&self) -> &dyn HashDB { self } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:329:38 [INFO] [stdout] | [INFO] [stdout] 329 | fn as_hashdb_mut(&mut self) -> &mut HashDB { self } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 329 | fn as_hashdb_mut(&mut self) -> &mut dyn HashDB { self } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hashdb v0.2.1 [INFO] [stderr] Checking fixed-hash v0.2.5 [INFO] [stderr] Checking ethbloom v0.5.3 [INFO] [stderr] Checking ethereum-types v0.4.2 [INFO] [stderr] Checking keccak-hash v0.1.2 [INFO] [stderr] Checking keccak-hasher v0.1.1 [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> benches/memdb.rs:43:53 [INFO] [stdout] | [INFO] [stdout] 43 | struct X {a_hash: ::Out}; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:328:26 [INFO] [stdout] | [INFO] [stdout] 328 | fn as_hashdb(&self) -> &HashDB { self } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 328 | fn as_hashdb(&self) -> &dyn HashDB { self } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:329:38 [INFO] [stdout] | [INFO] [stdout] 329 | fn as_hashdb_mut(&mut self) -> &mut HashDB { self } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 329 | fn as_hashdb_mut(&mut self) -> &mut dyn HashDB { self } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KeccakHasher: hashdb::Hasher` is not satisfied [INFO] [stdout] --> benches/memdb.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | struct X {a_hash: ::Out}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `hashdb::Hasher` is not implemented for `KeccakHasher` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/keccak-hasher-0.1.1/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | impl Hasher for KeccakHasher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `hashdb` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `MemoryDB>`, but its trait bounds were not satisfied [INFO] [stdout] --> benches/memdb.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | MemoryDB::>::new(); [INFO] [stdout] | ^^^ function or associated item cannot be called on `MemoryDB>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/keccak-hasher-0.1.1/src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct KeccakHasher; [INFO] [stdout] | ----------------------- doesn't satisfy `KeccakHasher: hashdb::Hasher` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `KeccakHasher: hashdb::Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KeccakHasher: hashdb::Hasher` is not satisfied [INFO] [stdout] --> benches/memdb.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | MemoryDB::>::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `hashdb::Hasher` is not implemented for `KeccakHasher` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/keccak-hasher-0.1.1/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | impl Hasher for KeccakHasher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `hashdb` are being used? [INFO] [stdout] note: required by a bound in `MemoryDB` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct MemoryDB { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `MemoryDB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `hash` found for struct `KeccakHasher` in the current scope [INFO] [stdout] --> benches/memdb.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 44 | let x = X {a_hash: KeccakHasher::hash(&NULL_RLP)}; [INFO] [stdout] | ^^^^ function or associated item not found in `KeccakHasher` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `hashdb` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hashdb-0.2.1/src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Hasher: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 44 | fn hash(x: &[u8]) -> Self::Out; [INFO] [stdout] | ------------------------------- the associated function is available for `KeccakHasher` here [INFO] [stdout] | [INFO] [stdout] ::: benches/memdb.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | use hashdb::{HashDB, Hasher}; [INFO] [stdout] | ------ `Hasher` imported here doesn't correspond to the right version of crate `hashdb` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hashdb-0.3.0/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait Hasher: Sync + Send { [INFO] [stdout] | ----------------------------- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KeccakHasher: hashdb::Hasher` is not satisfied [INFO] [stdout] --> benches/memdb.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | let x = X {a_hash: KeccakHasher::hash(&NULL_RLP)}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `hashdb::Hasher` is not implemented for `KeccakHasher` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/keccak-hasher-0.1.1/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | impl Hasher for KeccakHasher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `hashdb` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KeccakHasher: hashdb::Hasher` is not satisfied in `X` [INFO] [stdout] --> benches/memdb.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let x = X {a_hash: KeccakHasher::hash(&NULL_RLP)}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ within `X`, the trait `hashdb::Hasher` is not implemented for `KeccakHasher`, which is required by `X: Sized` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/keccak-hasher-0.1.1/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | impl Hasher for KeccakHasher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `hashdb` are being used? [INFO] [stdout] note: required because it appears within the type `X` [INFO] [stdout] --> benches/memdb.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | struct X {a_hash: ::Out}; [INFO] [stdout] | ^ [INFO] [stdout] = note: structs must have a statically known size to be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `hash` found for struct `KeccakHasher` in the current scope [INFO] [stdout] --> benches/memdb.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | let key = KeccakHasher::hash(b"abc"); [INFO] [stdout] | ^^^^ function or associated item not found in `KeccakHasher` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `hashdb` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hashdb-0.2.1/src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Hasher: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 44 | fn hash(x: &[u8]) -> Self::Out; [INFO] [stdout] | ------------------------------- the associated function is available for `KeccakHasher` here [INFO] [stdout] | [INFO] [stdout] ::: benches/memdb.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | use hashdb::{HashDB, Hasher}; [INFO] [stdout] | ------ `Hasher` imported here doesn't correspond to the right version of crate `hashdb` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hashdb-0.3.0/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait Hasher: Sync + Send { [INFO] [stdout] | ----------------------------- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KeccakHasher: hashdb::Hasher` is not satisfied in `X` [INFO] [stdout] --> benches/memdb.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let x = X {a_hash: KeccakHasher::hash(&NULL_RLP)}; [INFO] [stdout] | ^ within `X`, the trait `hashdb::Hasher` is not implemented for `KeccakHasher`, which is required by `X: Sized` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/keccak-hasher-0.1.1/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | impl Hasher for KeccakHasher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `hashdb` are being used? [INFO] [stdout] note: required because it appears within the type `X` [INFO] [stdout] --> benches/memdb.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | struct X {a_hash: ::Out}; [INFO] [stdout] | ^ [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KeccakHasher: hashdb::Hasher` is not satisfied [INFO] [stdout] --> benches/memdb.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | black_box(key == x.a_hash); [INFO] [stdout] | ^^^^^^^^ the trait `hashdb::Hasher` is not implemented for `KeccakHasher` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/keccak-hasher-0.1.1/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | impl Hasher for KeccakHasher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `hashdb` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `hash` found for struct `KeccakHasher` in the current scope [INFO] [stdout] --> benches/memdb.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | let key = KeccakHasher::hash(b"abc"); [INFO] [stdout] | ^^^^ function or associated item not found in `KeccakHasher` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `hashdb` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hashdb-0.2.1/src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Hasher: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 44 | fn hash(x: &[u8]) -> Self::Out; [INFO] [stdout] | ------------------------------- the associated function is available for `KeccakHasher` here [INFO] [stdout] | [INFO] [stdout] ::: benches/memdb.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | use hashdb::{HashDB, Hasher}; [INFO] [stdout] | ------ `Hasher` imported here doesn't correspond to the right version of crate `hashdb` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hashdb-0.3.0/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait Hasher: Sync + Send { [INFO] [stdout] | ----------------------------- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `MemoryDB>`, but its trait bounds were not satisfied [INFO] [stdout] --> benches/memdb.rs:63:52 [INFO] [stdout] | [INFO] [stdout] 63 | let mut m = MemoryDB::>::new(); [INFO] [stdout] | ^^^ function or associated item cannot be called on `MemoryDB>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/keccak-hasher-0.1.1/src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct KeccakHasher; [INFO] [stdout] | ----------------------- doesn't satisfy `KeccakHasher: hashdb::Hasher` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `KeccakHasher: hashdb::Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KeccakHasher: hashdb::Hasher` is not satisfied [INFO] [stdout] --> benches/memdb.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | let mut m = MemoryDB::>::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `hashdb::Hasher` is not implemented for `KeccakHasher` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/keccak-hasher-0.1.1/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | impl Hasher for KeccakHasher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `hashdb` are being used? [INFO] [stdout] note: required by a bound in `MemoryDB` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct MemoryDB { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `MemoryDB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `hash` found for struct `KeccakHasher` in the current scope [INFO] [stdout] --> benches/memdb.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | let key = KeccakHasher::hash(b"abc"); [INFO] [stdout] | ^^^^ function or associated item not found in `KeccakHasher` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `hashdb` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hashdb-0.2.1/src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Hasher: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 44 | fn hash(x: &[u8]) -> Self::Out; [INFO] [stdout] | ------------------------------- the associated function is available for `KeccakHasher` here [INFO] [stdout] | [INFO] [stdout] ::: benches/memdb.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | use hashdb::{HashDB, Hasher}; [INFO] [stdout] | ------ `Hasher` imported here doesn't correspond to the right version of crate `hashdb` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hashdb-0.3.0/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait Hasher: Sync + Send { [INFO] [stdout] | ----------------------------- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `MemoryDB>`, but its trait bounds were not satisfied [INFO] [stdout] --> benches/memdb.rs:73:52 [INFO] [stdout] | [INFO] [stdout] 73 | let mut m = MemoryDB::>::new(); [INFO] [stdout] | ^^^ function or associated item cannot be called on `MemoryDB>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/keccak-hasher-0.1.1/src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct KeccakHasher; [INFO] [stdout] | ----------------------- doesn't satisfy `KeccakHasher: hashdb::Hasher` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `KeccakHasher: hashdb::Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KeccakHasher: hashdb::Hasher` is not satisfied [INFO] [stdout] --> benches/memdb.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let mut m = MemoryDB::>::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `hashdb::Hasher` is not implemented for `KeccakHasher` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/keccak-hasher-0.1.1/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | impl Hasher for KeccakHasher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `hashdb` are being used? [INFO] [stdout] note: required by a bound in `MemoryDB` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct MemoryDB { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `MemoryDB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `hash` found for struct `KeccakHasher` in the current scope [INFO] [stdout] --> benches/memdb.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | let null_key = KeccakHasher::hash(&NULL_RLP); [INFO] [stdout] | ^^^^ function or associated item not found in `KeccakHasher` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `hashdb` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hashdb-0.2.1/src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Hasher: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 44 | fn hash(x: &[u8]) -> Self::Out; [INFO] [stdout] | ------------------------------- the associated function is available for `KeccakHasher` here [INFO] [stdout] | [INFO] [stdout] ::: benches/memdb.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | use hashdb::{HashDB, Hasher}; [INFO] [stdout] | ------ `Hasher` imported here doesn't correspond to the right version of crate `hashdb` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hashdb-0.3.0/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait Hasher: Sync + Send { [INFO] [stdout] | ----------------------------- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashDB` [INFO] [stdout] --> benches/memdb.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | use hashdb::{HashDB, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `MemoryDB>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:346:50 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct MemoryDB { [INFO] [stdout] | ------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 346 | let mut m = MemoryDB::>::new(); [INFO] [stdout] | ^^^ function or associated item cannot be called on `MemoryDB>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/keccak-hasher-0.1.1/src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct KeccakHasher; [INFO] [stdout] | ----------------------- doesn't satisfy `KeccakHasher: hashdb::Hasher` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `KeccakHasher: hashdb::Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KeccakHasher: hashdb::Hasher` is not satisfied [INFO] [stdout] --> src/lib.rs:346:15 [INFO] [stdout] | [INFO] [stdout] 346 | let mut m = MemoryDB::>::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `hashdb::Hasher` is not implemented for `KeccakHasher` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/keccak-hasher-0.1.1/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | impl Hasher for KeccakHasher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `hashdb` are being used? [INFO] [stdout] note: required by a bound in `MemoryDB` [INFO] [stdout] --> src/lib.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct MemoryDB { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `MemoryDB` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `memorydb` (bench "memdb") due to 17 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `MemoryDB>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:356:50 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct MemoryDB { [INFO] [stdout] | ------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 356 | let mut m = MemoryDB::>::new(); [INFO] [stdout] | ^^^ function or associated item cannot be called on `MemoryDB>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/keccak-hasher-0.1.1/src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct KeccakHasher; [INFO] [stdout] | ----------------------- doesn't satisfy `KeccakHasher: hashdb::Hasher` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `KeccakHasher: hashdb::Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KeccakHasher: hashdb::Hasher` is not satisfied [INFO] [stdout] --> src/lib.rs:356:15 [INFO] [stdout] | [INFO] [stdout] 356 | let mut m = MemoryDB::>::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `hashdb::Hasher` is not implemented for `KeccakHasher` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/keccak-hasher-0.1.1/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | impl Hasher for KeccakHasher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `hashdb` are being used? [INFO] [stdout] note: required by a bound in `MemoryDB` [INFO] [stdout] --> src/lib.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct MemoryDB { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `MemoryDB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `MemoryDB>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:369:53 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct MemoryDB { [INFO] [stdout] | ------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 369 | let mut main = MemoryDB::>::new(); [INFO] [stdout] | ^^^ function or associated item cannot be called on `MemoryDB>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/keccak-hasher-0.1.1/src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct KeccakHasher; [INFO] [stdout] | ----------------------- doesn't satisfy `KeccakHasher: hashdb::Hasher` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `KeccakHasher: hashdb::Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KeccakHasher: hashdb::Hasher` is not satisfied [INFO] [stdout] --> src/lib.rs:369:18 [INFO] [stdout] | [INFO] [stdout] 369 | let mut main = MemoryDB::>::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `hashdb::Hasher` is not implemented for `KeccakHasher` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/keccak-hasher-0.1.1/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | impl Hasher for KeccakHasher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `hashdb` are being used? [INFO] [stdout] note: required by a bound in `MemoryDB` [INFO] [stdout] --> src/lib.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct MemoryDB { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `MemoryDB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `MemoryDB>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:370:54 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct MemoryDB { [INFO] [stdout] | ------------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 370 | let mut other = MemoryDB::>::new(); [INFO] [stdout] | ^^^ function or associated item cannot be called on `MemoryDB>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/keccak-hasher-0.1.1/src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct KeccakHasher; [INFO] [stdout] | ----------------------- doesn't satisfy `KeccakHasher: hashdb::Hasher` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `KeccakHasher: hashdb::Hasher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KeccakHasher: hashdb::Hasher` is not satisfied [INFO] [stdout] --> src/lib.rs:370:19 [INFO] [stdout] | [INFO] [stdout] 370 | let mut other = MemoryDB::>::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `hashdb::Hasher` is not implemented for `KeccakHasher` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/keccak-hasher-0.1.1/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | impl Hasher for KeccakHasher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `hashdb` are being used? [INFO] [stdout] note: required by a bound in `MemoryDB` [INFO] [stdout] --> src/lib.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct MemoryDB { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `MemoryDB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `default` exists for struct `MemoryDB>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:393:51 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct MemoryDB { [INFO] [stdout] | ------------------------------------ function or associated item `default` not found for this struct because it doesn't satisfy `MemoryDB>: Default` [INFO] [stdout] ... [INFO] [stdout] 393 | let mut db = MemoryDB::>::default(); [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `MemoryDB>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/keccak-hasher-0.1.1/src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct KeccakHasher; [INFO] [stdout] | ----------------------- doesn't satisfy `KeccakHasher: hashdb::Hasher` [INFO] [stdout] | [INFO] [stdout] note: trait bound `KeccakHasher: hashdb::Hasher` was not satisfied [INFO] [stdout] --> src/lib.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 91 | impl<'a, H, T> Default for MemoryDB [INFO] [stdout] | ------- -------------- [INFO] [stdout] 92 | where [INFO] [stdout] 93 | H: KeyHasher, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] 94 | H::Out: HeapSizeOf, [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound introduced here [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 `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KeccakHasher: hashdb::Hasher` is not satisfied [INFO] [stdout] --> src/lib.rs:393:16 [INFO] [stdout] | [INFO] [stdout] 393 | let mut db = MemoryDB::>::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `hashdb::Hasher` is not implemented for `KeccakHasher` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/keccak-hasher-0.1.1/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | impl Hasher for KeccakHasher { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `hashdb` are being used? [INFO] [stdout] note: required by a bound in `MemoryDB` [INFO] [stdout] --> src/lib.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct MemoryDB { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `MemoryDB` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `hash` found for struct `KeccakHasher` in the current scope [INFO] [stdout] --> src/lib.rs:394:40 [INFO] [stdout] | [INFO] [stdout] 394 | let hashed_null_node = KeccakHasher::hash(&NULL_RLP); [INFO] [stdout] | ^^^^ function or associated item not found in `KeccakHasher` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `hashdb` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hashdb-0.2.1/src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Hasher: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 44 | fn hash(x: &[u8]) -> Self::Out; [INFO] [stdout] | ------------------------------- the associated function is available for `KeccakHasher` here [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:334:6 [INFO] [stdout] | [INFO] [stdout] 334 | use super::*; [INFO] [stdout] | ----- `Hasher` imported here doesn't correspond to the right version of crate `hashdb` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hashdb-0.3.0/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait Hasher: Sync + Send { [INFO] [stdout] | ----------------------------- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `memorydb` (lib test) due to 12 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "670c67c3e65816415563776ef04901c0c476c1a26c02b8058be4800394caa230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "670c67c3e65816415563776ef04901c0c476c1a26c02b8058be4800394caa230", kill_on_drop: false }` [INFO] [stdout] 670c67c3e65816415563776ef04901c0c476c1a26c02b8058be4800394caa230