[INFO] fetching crate memorydb 0.3.0... [INFO] testing memorydb-0.3.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate memorydb 0.3.0 into /workspace/builds/worker-6-tc2/source [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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate memorydb 0.3.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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 ethereum-types v0.4.2 (available: v0.15.1) [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 rlp v0.3.0 (available: v0.6.1) [INFO] [stderr] Adding tiny-keccak v1.5.0 (available: v2.0.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f96a870f6563ce01c3cb3af868c378f52e0029dc0ebeaf94fb91309e2d6d6740 [INFO] running `Command { std: "docker" "start" "-a" "f96a870f6563ce01c3cb3af868c378f52e0029dc0ebeaf94fb91309e2d6d6740", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f96a870f6563ce01c3cb3af868c378f52e0029dc0ebeaf94fb91309e2d6d6740", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f96a870f6563ce01c3cb3af868c378f52e0029dc0ebeaf94fb91309e2d6d6740", kill_on_drop: false }` [INFO] [stdout] f96a870f6563ce01c3cb3af868c378f52e0029dc0ebeaf94fb91309e2d6d6740 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d74ac4e2f4c0d8278e73ebd54ed3f1c9cfb1b1ce115e079374ff005c5d95e117 [INFO] running `Command { std: "docker" "start" "-a" "d74ac4e2f4c0d8278e73ebd54ed3f1c9cfb1b1ce115e079374ff005c5d95e117", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling rustc-hex v2.1.0 [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] | ^^^^^^^^^^^^ [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible 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 a dyn-compatible 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "d74ac4e2f4c0d8278e73ebd54ed3f1c9cfb1b1ce115e079374ff005c5d95e117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d74ac4e2f4c0d8278e73ebd54ed3f1c9cfb1b1ce115e079374ff005c5d95e117", kill_on_drop: false }` [INFO] [stdout] d74ac4e2f4c0d8278e73ebd54ed3f1c9cfb1b1ce115e079374ff005c5d95e117 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec1dd13ae0346e3b431f97d4720140955379c4696c02fdb4c68f1385bd3c4682 [INFO] running `Command { std: "docker" "start" "-a" "ec1dd13ae0346e3b431f97d4720140955379c4696c02fdb4c68f1385bd3c4682", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] = 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible 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 a dyn-compatible 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] [stderr] Compiling ethbloom v0.5.3 [INFO] [stderr] Compiling uint v0.4.1 [INFO] [stderr] Compiling hashdb v0.2.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] = 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible 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 a dyn-compatible 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] --> 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-1949cf8c6b5b557f/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: there are multiple different versions of crate `hashdb` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hashdb-0.3.0/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait Hasher: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate hashdb; [INFO] [stdout] | -------------------- one version of crate `hashdb` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 21 | #[cfg(test)] extern crate keccak_hasher; [INFO] [stdout] | --------------------------- one version of crate `hashdb` used here, as a dependency of crate `keccak_hasher` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/keccak-hasher-0.1.1/src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct KeccakHasher; [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hashdb-0.2.1/src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Hasher: Sync + Send { [INFO] [stdout] | ----------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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: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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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: there are multiple different versions of crate `hashdb` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hashdb-0.3.0/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait Hasher: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate hashdb; [INFO] [stdout] | -------------------- one version of crate `hashdb` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 21 | #[cfg(test)] extern crate keccak_hasher; [INFO] [stdout] | --------------------------- one version of crate `hashdb` used here, as a dependency of crate `keccak_hasher` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/keccak-hasher-0.1.1/src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct KeccakHasher; [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hashdb-0.2.1/src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Hasher: Sync + Send { [INFO] [stdout] | ----------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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: there are multiple different versions of crate `hashdb` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hashdb-0.3.0/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait Hasher: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate hashdb; [INFO] [stdout] | -------------------- one version of crate `hashdb` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 21 | #[cfg(test)] extern crate keccak_hasher; [INFO] [stdout] | --------------------------- one version of crate `hashdb` used here, as a dependency of crate `keccak_hasher` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/keccak-hasher-0.1.1/src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct KeccakHasher; [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hashdb-0.2.1/src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Hasher: Sync + Send { [INFO] [stdout] | ----------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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: there are multiple different versions of crate `hashdb` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hashdb-0.3.0/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait Hasher: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate hashdb; [INFO] [stdout] | -------------------- one version of crate `hashdb` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 21 | #[cfg(test)] extern crate keccak_hasher; [INFO] [stdout] | --------------------------- one version of crate `hashdb` used here, as a dependency of crate `keccak_hasher` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/keccak-hasher-0.1.1/src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct KeccakHasher; [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hashdb-0.2.1/src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Hasher: Sync + Send { [INFO] [stdout] | ----------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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-1949cf8c6b5b557f/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: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-1949cf8c6b5b557f/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: there are multiple different versions of crate `hashdb` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hashdb-0.3.0/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait Hasher: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate hashdb; [INFO] [stdout] | -------------------- one version of crate `hashdb` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 21 | #[cfg(test)] extern crate keccak_hasher; [INFO] [stdout] | --------------------------- one version of crate `hashdb` used here, as a dependency of crate `keccak_hasher` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/keccak-hasher-0.1.1/src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct KeccakHasher; [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hashdb-0.2.1/src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Hasher: Sync + Send { [INFO] [stdout] | ----------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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-1949cf8c6b5b557f/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[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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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] 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 11 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ec1dd13ae0346e3b431f97d4720140955379c4696c02fdb4c68f1385bd3c4682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec1dd13ae0346e3b431f97d4720140955379c4696c02fdb4c68f1385bd3c4682", kill_on_drop: false }` [INFO] [stdout] ec1dd13ae0346e3b431f97d4720140955379c4696c02fdb4c68f1385bd3c4682