[INFO] fetching crate memorydb 0.3.0... [INFO] testing memorydb-0.3.0 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate memorydb 0.3.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate memorydb 0.3.0 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded heapsize v0.4.2 [INFO] [stderr] Downloaded ethereum-types v0.4.2 [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 crunchy v0.1.6 [INFO] [stderr] Downloaded ethbloom v0.5.3 [INFO] [stderr] Downloaded plain_hasher v0.2.3 [INFO] [stderr] Downloaded elastic-array v0.10.3 [INFO] [stderr] Downloaded keccak-hasher v0.1.1 [INFO] [stderr] Downloaded hashdb v0.3.0 [INFO] [stderr] Downloaded hashdb v0.2.1 [INFO] [stderr] Downloaded uint v0.4.1 [INFO] [stderr] Downloaded rlp v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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] 097bd59dd1f37a76242144ce69203d091326af03a658a289cdd7250363db9d8b [INFO] running `Command { std: "docker" "start" "-a" "097bd59dd1f37a76242144ce69203d091326af03a658a289cdd7250363db9d8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "097bd59dd1f37a76242144ce69203d091326af03a658a289cdd7250363db9d8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "097bd59dd1f37a76242144ce69203d091326af03a658a289cdd7250363db9d8b", kill_on_drop: false }` [INFO] [stdout] 097bd59dd1f37a76242144ce69203d091326af03a658a289cdd7250363db9d8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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] a671d90a1681912aba3c32904c931965be92231027f87f13972ee13a2fcf3a19 [INFO] running `Command { std: "docker" "start" "-a" "a671d90a1681912aba3c32904c931965be92231027f87f13972ee13a2fcf3a19", kill_on_drop: false }` [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling hashdb v0.3.0 [INFO] [stderr] Compiling rlp v0.3.0 [INFO] [stderr] Compiling plain_hasher v0.2.3 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn HashDB` [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] [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn HashDB` [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] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.85s [INFO] running `Command { std: "docker" "inspect" "a671d90a1681912aba3c32904c931965be92231027f87f13972ee13a2fcf3a19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a671d90a1681912aba3c32904c931965be92231027f87f13972ee13a2fcf3a19", kill_on_drop: false }` [INFO] [stdout] a671d90a1681912aba3c32904c931965be92231027f87f13972ee13a2fcf3a19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--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] 7529df76266688c2dfbad48d4a388752bd8be0d2e60da2dd3225f9a88db82fb2 [INFO] running `Command { std: "docker" "start" "-a" "7529df76266688c2dfbad48d4a388752bd8be0d2e60da2dd3225f9a88db82fb2", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling elastic-array v0.10.3 [INFO] [stderr] Compiling uint v0.4.1 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn HashDB` [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] [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn HashDB` [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] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hashdb v0.2.1 [INFO] [stderr] Compiling fixed-hash v0.2.5 [INFO] [stderr] Compiling ethereum-types-serialize v0.2.2 [INFO] [stderr] Compiling ethbloom v0.5.3 [INFO] [stderr] Compiling ethereum-types v0.4.2 [INFO] [stderr] Compiling keccak-hash v0.1.2 [INFO] [stderr] Compiling keccak-hasher v0.1.1 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn HashDB` [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] [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn HashDB` [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] [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: the following trait bounds were not satisfied: [INFO] [stdout] `KeccakHasher: hashdb::Hasher` [INFO] [stdout] which is required by `MemoryDB>: 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/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" "7529df76266688c2dfbad48d4a388752bd8be0d2e60da2dd3225f9a88db82fb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7529df76266688c2dfbad48d4a388752bd8be0d2e60da2dd3225f9a88db82fb2", kill_on_drop: false }` [INFO] [stdout] 7529df76266688c2dfbad48d4a388752bd8be0d2e60da2dd3225f9a88db82fb2