[INFO] fetching crate memorydb 0.3.0... [INFO] testing memorydb-0.3.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate memorydb 0.3.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate memorydb 0.3.0 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 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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 59bcebb9a74a7000316d7a03c747d03994aa09b4141966b248ceb0a1f2237adc [INFO] running `Command { std: "docker" "start" "-a" "59bcebb9a74a7000316d7a03c747d03994aa09b4141966b248ceb0a1f2237adc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59bcebb9a74a7000316d7a03c747d03994aa09b4141966b248ceb0a1f2237adc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59bcebb9a74a7000316d7a03c747d03994aa09b4141966b248ceb0a1f2237adc", kill_on_drop: false }` [INFO] [stdout] 59bcebb9a74a7000316d7a03c747d03994aa09b4141966b248ceb0a1f2237adc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 27de23af143a5f304b6210c34d652fedec07384ff942b380cf862d7ed5071a7c [INFO] running `Command { std: "docker" "start" "-a" "27de23af143a5f304b6210c34d652fedec07384ff942b380cf862d7ed5071a7c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling hashdb v0.3.0 [INFO] [stderr] Compiling plain_hasher v0.2.3 [INFO] [stderr] Compiling rlp v0.3.0 [INFO] [stderr] Compiling 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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 328 - fn as_hashdb(&self) -> &HashDB { self } [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 329 - fn as_hashdb_mut(&mut self) -> &mut HashDB { self } [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] Finished dev [unoptimized + debuginfo] target(s) in 3.01s [INFO] running `Command { std: "docker" "inspect" "27de23af143a5f304b6210c34d652fedec07384ff942b380cf862d7ed5071a7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27de23af143a5f304b6210c34d652fedec07384ff942b380cf862d7ed5071a7c", kill_on_drop: false }` [INFO] [stdout] 27de23af143a5f304b6210c34d652fedec07384ff942b380cf862d7ed5071a7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3103114dd109c7b06669c8e69a568fd6227dbe0e8ca11ba63cdc2444d2a3d926 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3103114dd109c7b06669c8e69a568fd6227dbe0e8ca11ba63cdc2444d2a3d926", kill_on_drop: false }` [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling elastic-array v0.10.3 [INFO] [stderr] Compiling ethereum-types-serialize v0.2.2 [INFO] [stderr] Compiling fixed-hash v0.2.5 [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 328 - fn as_hashdb(&self) -> &HashDB { self } [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 329 - fn as_hashdb_mut(&mut self) -> &mut HashDB { self } [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] Compiling hashdb v0.2.1 [INFO] [stderr] Compiling ethbloom v0.5.3 [INFO] [stderr] Compiling uint v0.4.1 [INFO] [stderr] Compiling ethereum-types v0.4.2 [INFO] [stderr] Compiling keccak-hasher v0.1.1 [INFO] [stderr] Compiling keccak-hash v0.1.2 [INFO] [stderr] Compiling 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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 328 - fn as_hashdb(&self) -> &HashDB { self } [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 329 - fn as_hashdb_mut(&mut self) -> &mut HashDB { self } [INFO] [stdout] 329 + fn as_hashdb_mut(&mut self) -> &mut dyn HashDB { self } [INFO] [stdout] | [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:346:50 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct MemoryDB { [INFO] [stdout] | ------------------------------------ function or associated item `new` not found for this [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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/keccak-hasher-0.1.1/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / impl Hasher for KeccakHasher { [INFO] [stdout] 31 | | type Out = H256; [INFO] [stdout] 32 | | type StdHasher = PlainHasher; [INFO] [stdout] 33 | | const LENGTH: usize = 32; [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [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:356:50 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct MemoryDB { [INFO] [stdout] | ------------------------------------ function or associated item `new` not found for this [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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/keccak-hasher-0.1.1/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / impl Hasher for KeccakHasher { [INFO] [stdout] 31 | | type Out = H256; [INFO] [stdout] 32 | | type StdHasher = PlainHasher; [INFO] [stdout] 33 | | const LENGTH: usize = 32; [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [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 [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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/keccak-hasher-0.1.1/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / impl Hasher for KeccakHasher { [INFO] [stdout] 31 | | type Out = H256; [INFO] [stdout] 32 | | type StdHasher = PlainHasher; [INFO] [stdout] 33 | | const LENGTH: usize = 32; [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [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 [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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/keccak-hasher-0.1.1/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / impl Hasher for KeccakHasher { [INFO] [stdout] 31 | | type Out = H256; [INFO] [stdout] 32 | | type StdHasher = PlainHasher; [INFO] [stdout] 33 | | const LENGTH: usize = 32; [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [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] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | function or associated item `default` not found for this [INFO] [stdout] | 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/github.com-1ecc6299db9ec823/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] note: trait bound `KeccakHasher: hashdb::Hasher` was not satisfied [INFO] [stdout] --> src/lib.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 91 | impl<'a, H, T> Default for MemoryDB [INFO] [stdout] | ------- -------------- [INFO] [stdout] ... [INFO] [stdout] 94 | H::Out: HeapSizeOf, [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound introduced here [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/github.com-1ecc6299db9ec823/keccak-hasher-0.1.1/src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / impl Hasher for KeccakHasher { [INFO] [stdout] 31 | | type Out = H256; [INFO] [stdout] 32 | | type StdHasher = PlainHasher; [INFO] [stdout] 33 | | const LENGTH: usize = 32; [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [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] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 334 | use hashdb::Hasher; [INFO] [stdout] | [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` due to 12 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3103114dd109c7b06669c8e69a568fd6227dbe0e8ca11ba63cdc2444d2a3d926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3103114dd109c7b06669c8e69a568fd6227dbe0e8ca11ba63cdc2444d2a3d926", kill_on_drop: false }` [INFO] [stdout] 3103114dd109c7b06669c8e69a568fd6227dbe0e8ca11ba63cdc2444d2a3d926