[INFO] fetching crate patricia-trie 0.3.0... [INFO] testing patricia-trie-0.3.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate patricia-trie 0.3.0 into /workspace/builds/worker-90/source [INFO] validating manifest of crates.io crate patricia-trie 0.3.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate patricia-trie 0.3.0 [INFO] finished tweaking crates.io crate patricia-trie 0.3.0 [INFO] tweaked toml for crates.io crate patricia-trie 0.3.0 written to /workspace/builds/worker-90/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded keccak-hash v0.1.2 [INFO] [stderr] Downloaded triehash v0.3.0 [INFO] [stderr] Downloaded trie-standardmap v0.1.1 [INFO] [stderr] Downloaded memorydb v0.3.0 [INFO] [stderr] Downloaded rlp v0.3.0 [INFO] [stderr] Downloaded patricia-trie-ethereum v0.1.0 [INFO] [stderr] Downloaded hashdb v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e56131dc6da35e84d055e8cb8dee6d27869866ca1e325e4755f3e188032acce4 [INFO] running `Command { std: "docker" "start" "-a" "e56131dc6da35e84d055e8cb8dee6d27869866ca1e325e4755f3e188032acce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e56131dc6da35e84d055e8cb8dee6d27869866ca1e325e4755f3e188032acce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e56131dc6da35e84d055e8cb8dee6d27869866ca1e325e4755f3e188032acce4", kill_on_drop: false }` [INFO] [stdout] e56131dc6da35e84d055e8cb8dee6d27869866ca1e325e4755f3e188032acce4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 497a29229588de9cca85ba820b6aef723c9c9045365c9f30240e461a4b266c33 [INFO] running `Command { std: "docker" "start" "-a" "497a29229588de9cca85ba820b6aef723c9c9045365c9f30240e461a4b266c33", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling hashdb v0.3.0 [INFO] [stderr] Compiling parity-bytes v0.1.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling elastic-array v0.10.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling patricia-trie v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/triedbmut.rs:728:6 [INFO] [stdout] | [INFO] [stdout] 728 | }; [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/triedb.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | db: &'db HashDB, [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] 66 - db: &'db HashDB, [INFO] [stdout] 66 + db: &'db dyn HashDB, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedbmut.rs:299:14 [INFO] [stdout] | [INFO] [stdout] 299 | db: &'a mut HashDB, [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] 299 - db: &'a mut HashDB, [INFO] [stdout] 299 + db: &'a mut dyn HashDB, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lookup.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | pub db: &'a HashDB, [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] 29 - pub db: &'a HashDB, [INFO] [stdout] 29 + pub db: &'a dyn HashDB, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:182:38 [INFO] [stdout] | [INFO] [stdout] 182 | fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error>; [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] 182 - fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error>; [INFO] [stdout] 182 + fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:282:38 [INFO] [stdout] | [INFO] [stdout] 282 | fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [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] 282 - fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [INFO] [stdout] 282 + fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | db: &'db HashDB, [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] 300 - db: &'db HashDB, [INFO] [stdout] 300 + db: &'db dyn HashDB, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:311:86 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn create(&self, db: &'db mut HashDB, root: &'db mut H::Out) -> Box + 'db> { [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] 311 - pub fn create(&self, db: &'db mut HashDB, root: &'db mut H::Out) -> Box + 'db> { [INFO] [stdout] 311 + pub fn create(&self, db: &'db mut HashDB, root: &'db mut H::Out) -> Box + 'db> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:311:36 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn create(&self, db: &'db mut HashDB, root: &'db mut H::Out) -> Box + 'db> { [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] 311 - pub fn create(&self, db: &'db mut HashDB, root: &'db mut H::Out) -> Box + 'db> { [INFO] [stdout] 311 + pub fn create(&self, db: &'db mut dyn HashDB, root: &'db mut H::Out) -> Box + 'db> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:324:18 [INFO] [stdout] | [INFO] [stdout] 324 | ) -> Result + 'db>, H::Out, >::Error> { [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] 324 - ) -> Result + 'db>, H::Out, >::Error> { [INFO] [stdout] 324 + ) -> Result + 'db>, H::Out, >::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:322:16 [INFO] [stdout] | [INFO] [stdout] 322 | db: &'db mut HashDB, [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] 322 - db: &'db mut HashDB, [INFO] [stdout] 322 + db: &'db mut dyn HashDB, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedb.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(db: &'db HashDB, root: &'db H::Out) -> Result { [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] 80 - pub fn new(db: &'db HashDB, root: &'db H::Out) -> Result { [INFO] [stdout] 80 + pub fn new(db: &'db dyn HashDB, root: &'db H::Out) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedb.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn db(&'db self) -> &'db HashDB { self.db } [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] 89 - pub fn db(&'db self) -> &'db HashDB { self.db } [INFO] [stdout] 89 + pub fn db(&'db self) -> &'db dyn HashDB { self.db } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedb.rs:132:38 [INFO] [stdout] | [INFO] [stdout] 132 | fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [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] 132 - fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [INFO] [stdout] 132 + fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedbmut.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | db: &HashDB, [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] 87 - db: &HashDB, [INFO] [stdout] 87 + db: &dyn HashDB, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedbmut.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | fn from_encoded(data: &[u8], db: &HashDB, storage: &mut NodeStorage) -> 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] 103 - fn from_encoded(data: &[u8], db: &HashDB, storage: &mut NodeStorage) -> Self [INFO] [stdout] 103 + fn from_encoded(data: &[u8], db: &dyn HashDB, storage: &mut NodeStorage) -> Self [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedbmut.rs:315:25 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn new(db: &'a mut HashDB, root: &'a mut H::Out) -> 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] 315 - pub fn new(db: &'a mut HashDB, root: &'a mut H::Out) -> Self { [INFO] [stdout] 315 + pub fn new(db: &'a mut dyn HashDB, root: &'a mut H::Out) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedbmut.rs:332:35 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn from_existing(db: &'a mut HashDB, root: &'a mut H::Out) -> Result { [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] 332 - pub fn from_existing(db: &'a mut HashDB, root: &'a mut H::Out) -> Result { [INFO] [stdout] 332 + pub fn from_existing(db: &'a mut dyn HashDB, root: &'a mut H::Out) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedbmut.rs:349:23 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn db(&self) -> &HashDB { [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] 349 - pub fn db(&self) -> &HashDB { [INFO] [stdout] 349 + pub fn db(&self) -> &dyn HashDB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedbmut.rs:354:35 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn db_mut(&mut self) -> &mut HashDB { [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] 354 - pub fn db_mut(&mut self) -> &mut HashDB { [INFO] [stdout] 354 + pub fn db_mut(&mut self) -> &mut dyn HashDB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sectriedb.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(db: &'db HashDB, root: &'db H::Out) -> Result { [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] 43 - pub fn new(db: &'db HashDB, root: &'db H::Out) -> Result { [INFO] [stdout] 43 + pub fn new(db: &'db dyn HashDB, root: &'db H::Out) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sectriedb.rs:75:38 [INFO] [stdout] | [INFO] [stdout] 75 | fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [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] 75 - fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [INFO] [stdout] 75 + fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sectriedbmut.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new(db: &'db mut HashDB, root: &'db mut H::Out) -> 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] 40 - pub fn new(db: &'db mut HashDB, root: &'db mut H::Out) -> Self { [INFO] [stdout] 40 + pub fn new(db: &'db mut dyn HashDB, root: &'db mut H::Out) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sectriedbmut.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn from_existing(db: &'db mut HashDB, root: &'db mut H::Out) -> Result { [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] 47 - pub fn from_existing(db: &'db mut HashDB, root: &'db mut H::Out) -> Result { [INFO] [stdout] 47 + pub fn from_existing(db: &'db mut dyn HashDB, root: &'db mut H::Out) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sectriedbmut.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn db(&self) -> &HashDB { self.raw.db() } [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] 52 - pub fn db(&self) -> &HashDB { self.raw.db() } [INFO] [stdout] 52 + pub fn db(&self) -> &dyn HashDB { self.raw.db() } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sectriedbmut.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn db_mut(&mut self) -> &mut HashDB { self.raw.db_mut() } [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] 55 - pub fn db_mut(&mut self) -> &mut HashDB { self.raw.db_mut() } [INFO] [stdout] 55 + pub fn db_mut(&mut self) -> &mut dyn HashDB { self.raw.db_mut() } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fatdb.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(db: &'db HashDB, root: &'db H::Out) -> Result { [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] 41 - pub fn new(db: &'db HashDB, root: &'db H::Out) -> Result { [INFO] [stdout] 41 + pub fn new(db: &'db dyn HashDB, root: &'db H::Out) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fatdb.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn db(&self) -> &HashDB { self.raw.db() } [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] 46 - pub fn db(&self) -> &HashDB { self.raw.db() } [INFO] [stdout] 46 + pub fn db(&self) -> &dyn HashDB { self.raw.db() } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fatdb.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | fn iter<'a>(&'a self) -> Result> + 'a>, ::Out, C::Error> { [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] 66 - fn iter<'a>(&'a self) -> Result> + 'a>, ::Out, C::Error> { [INFO] [stdout] 66 + fn iter<'a>(&'a self) -> Result> + 'a>, ::Out, C::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fatdbmut.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(db: &'db mut HashDB, root: &'db mut H::Out) -> 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] 41 - pub fn new(db: &'db mut HashDB, root: &'db mut H::Out) -> Self { [INFO] [stdout] 41 + pub fn new(db: &'db mut dyn HashDB, root: &'db mut H::Out) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fatdbmut.rs:48:36 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_existing(db: &'db mut HashDB, root: &'db mut H::Out) -> Result { [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] 48 - pub fn from_existing(db: &'db mut HashDB, root: &'db mut H::Out) -> Result { [INFO] [stdout] 48 + pub fn from_existing(db: &'db mut dyn HashDB, root: &'db mut H::Out) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fatdbmut.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn db(&self) -> &HashDB { [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] 53 - pub fn db(&self) -> &HashDB { [INFO] [stdout] 53 + pub fn db(&self) -> &dyn HashDB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fatdbmut.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn db_mut(&mut self) -> &mut HashDB { [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] 58 - pub fn db_mut(&mut self) -> &mut HashDB { [INFO] [stdout] 58 + pub fn db_mut(&mut self) -> &mut dyn HashDB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | TrieError::DecoderError(_, ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.82s [INFO] running `Command { std: "docker" "inspect" "497a29229588de9cca85ba820b6aef723c9c9045365c9f30240e461a4b266c33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "497a29229588de9cca85ba820b6aef723c9c9045365c9f30240e461a4b266c33", kill_on_drop: false }` [INFO] [stdout] 497a29229588de9cca85ba820b6aef723c9c9045365c9f30240e461a4b266c33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7377aa65ec5916bf398dc7c9258c1635afd1b809e2daa3a48f6461f2472dba60 [INFO] running `Command { std: "docker" "start" "-a" "7377aa65ec5916bf398dc7c9258c1635afd1b809e2daa3a48f6461f2472dba60", kill_on_drop: false }` [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ethereum-types-serialize v0.2.2 [INFO] [stderr] Compiling hashdb v0.2.1 [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/triedbmut.rs:728:6 [INFO] [stdout] | [INFO] [stdout] 728 | }; [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/triedb.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | db: &'db HashDB, [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] 66 - db: &'db HashDB, [INFO] [stdout] 66 + db: &'db dyn HashDB, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedbmut.rs:299:14 [INFO] [stdout] | [INFO] [stdout] 299 | db: &'a mut HashDB, [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] 299 - db: &'a mut HashDB, [INFO] [stdout] 299 + db: &'a mut dyn HashDB, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lookup.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | pub db: &'a HashDB, [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] 29 - pub db: &'a HashDB, [INFO] [stdout] 29 + pub db: &'a dyn HashDB, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:182:38 [INFO] [stdout] | [INFO] [stdout] 182 | fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error>; [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] 182 - fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error>; [INFO] [stdout] 182 + fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:282:38 [INFO] [stdout] | [INFO] [stdout] 282 | fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [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] 282 - fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [INFO] [stdout] 282 + fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | db: &'db HashDB, [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] 300 - db: &'db HashDB, [INFO] [stdout] 300 + db: &'db dyn HashDB, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:311:86 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn create(&self, db: &'db mut HashDB, root: &'db mut H::Out) -> Box + 'db> { [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] 311 - pub fn create(&self, db: &'db mut HashDB, root: &'db mut H::Out) -> Box + 'db> { [INFO] [stdout] 311 + pub fn create(&self, db: &'db mut HashDB, root: &'db mut H::Out) -> Box + 'db> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:311:36 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn create(&self, db: &'db mut HashDB, root: &'db mut H::Out) -> Box + 'db> { [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] 311 - pub fn create(&self, db: &'db mut HashDB, root: &'db mut H::Out) -> Box + 'db> { [INFO] [stdout] 311 + pub fn create(&self, db: &'db mut dyn HashDB, root: &'db mut H::Out) -> Box + 'db> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:324:18 [INFO] [stdout] | [INFO] [stdout] 324 | ) -> Result + 'db>, H::Out, >::Error> { [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] 324 - ) -> Result + 'db>, H::Out, >::Error> { [INFO] [stdout] 324 + ) -> Result + 'db>, H::Out, >::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:322:16 [INFO] [stdout] | [INFO] [stdout] 322 | db: &'db mut HashDB, [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] 322 - db: &'db mut HashDB, [INFO] [stdout] 322 + db: &'db mut dyn HashDB, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedb.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(db: &'db HashDB, root: &'db H::Out) -> Result { [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] 80 - pub fn new(db: &'db HashDB, root: &'db H::Out) -> Result { [INFO] [stdout] 80 + pub fn new(db: &'db dyn HashDB, root: &'db H::Out) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedb.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn db(&'db self) -> &'db HashDB { self.db } [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] 89 - pub fn db(&'db self) -> &'db HashDB { self.db } [INFO] [stdout] 89 + pub fn db(&'db self) -> &'db dyn HashDB { self.db } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedb.rs:132:38 [INFO] [stdout] | [INFO] [stdout] 132 | fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [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] 132 - fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [INFO] [stdout] 132 + fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedbmut.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | db: &HashDB, [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] 87 - db: &HashDB, [INFO] [stdout] 87 + db: &dyn HashDB, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedbmut.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | fn from_encoded(data: &[u8], db: &HashDB, storage: &mut NodeStorage) -> 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] 103 - fn from_encoded(data: &[u8], db: &HashDB, storage: &mut NodeStorage) -> Self [INFO] [stdout] 103 + fn from_encoded(data: &[u8], db: &dyn HashDB, storage: &mut NodeStorage) -> Self [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedbmut.rs:315:25 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn new(db: &'a mut HashDB, root: &'a mut H::Out) -> 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] 315 - pub fn new(db: &'a mut HashDB, root: &'a mut H::Out) -> Self { [INFO] [stdout] 315 + pub fn new(db: &'a mut dyn HashDB, root: &'a mut H::Out) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedbmut.rs:332:35 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn from_existing(db: &'a mut HashDB, root: &'a mut H::Out) -> Result { [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] 332 - pub fn from_existing(db: &'a mut HashDB, root: &'a mut H::Out) -> Result { [INFO] [stdout] 332 + pub fn from_existing(db: &'a mut dyn HashDB, root: &'a mut H::Out) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedbmut.rs:349:23 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn db(&self) -> &HashDB { [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] 349 - pub fn db(&self) -> &HashDB { [INFO] [stdout] 349 + pub fn db(&self) -> &dyn HashDB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedbmut.rs:354:35 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn db_mut(&mut self) -> &mut HashDB { [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] 354 - pub fn db_mut(&mut self) -> &mut HashDB { [INFO] [stdout] 354 + pub fn db_mut(&mut self) -> &mut dyn HashDB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sectriedb.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(db: &'db HashDB, root: &'db H::Out) -> Result { [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] 43 - pub fn new(db: &'db HashDB, root: &'db H::Out) -> Result { [INFO] [stdout] 43 + pub fn new(db: &'db dyn HashDB, root: &'db H::Out) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sectriedb.rs:75:38 [INFO] [stdout] | [INFO] [stdout] 75 | fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [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] 75 - fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [INFO] [stdout] 75 + fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sectriedbmut.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new(db: &'db mut HashDB, root: &'db mut H::Out) -> 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] 40 - pub fn new(db: &'db mut HashDB, root: &'db mut H::Out) -> Self { [INFO] [stdout] 40 + pub fn new(db: &'db mut dyn HashDB, root: &'db mut H::Out) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sectriedbmut.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn from_existing(db: &'db mut HashDB, root: &'db mut H::Out) -> Result { [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] 47 - pub fn from_existing(db: &'db mut HashDB, root: &'db mut H::Out) -> Result { [INFO] [stdout] 47 + pub fn from_existing(db: &'db mut dyn HashDB, root: &'db mut H::Out) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sectriedbmut.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn db(&self) -> &HashDB { self.raw.db() } [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] 52 - pub fn db(&self) -> &HashDB { self.raw.db() } [INFO] [stdout] 52 + pub fn db(&self) -> &dyn HashDB { self.raw.db() } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sectriedbmut.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn db_mut(&mut self) -> &mut HashDB { self.raw.db_mut() } [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] 55 - pub fn db_mut(&mut self) -> &mut HashDB { self.raw.db_mut() } [INFO] [stdout] 55 + pub fn db_mut(&mut self) -> &mut dyn HashDB { self.raw.db_mut() } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fatdb.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(db: &'db HashDB, root: &'db H::Out) -> Result { [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] 41 - pub fn new(db: &'db HashDB, root: &'db H::Out) -> Result { [INFO] [stdout] 41 + pub fn new(db: &'db dyn HashDB, root: &'db H::Out) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fatdb.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn db(&self) -> &HashDB { self.raw.db() } [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] 46 - pub fn db(&self) -> &HashDB { self.raw.db() } [INFO] [stdout] 46 + pub fn db(&self) -> &dyn HashDB { self.raw.db() } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fatdb.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | fn iter<'a>(&'a self) -> Result> + 'a>, ::Out, C::Error> { [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] 66 - fn iter<'a>(&'a self) -> Result> + 'a>, ::Out, C::Error> { [INFO] [stdout] 66 + fn iter<'a>(&'a self) -> Result> + 'a>, ::Out, C::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fatdbmut.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(db: &'db mut HashDB, root: &'db mut H::Out) -> 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] 41 - pub fn new(db: &'db mut HashDB, root: &'db mut H::Out) -> Self { [INFO] [stdout] 41 + pub fn new(db: &'db mut dyn HashDB, root: &'db mut H::Out) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fatdbmut.rs:48:36 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_existing(db: &'db mut HashDB, root: &'db mut H::Out) -> Result { [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] 48 - pub fn from_existing(db: &'db mut HashDB, root: &'db mut H::Out) -> Result { [INFO] [stdout] 48 + pub fn from_existing(db: &'db mut dyn HashDB, root: &'db mut H::Out) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fatdbmut.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn db(&self) -> &HashDB { [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] 53 - pub fn db(&self) -> &HashDB { [INFO] [stdout] 53 + pub fn db(&self) -> &dyn HashDB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fatdbmut.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn db_mut(&mut self) -> &mut HashDB { [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] 58 - pub fn db_mut(&mut self) -> &mut HashDB { [INFO] [stdout] 58 + pub fn db_mut(&mut self) -> &mut dyn HashDB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | TrieError::DecoderError(_, ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling fixed-hash v0.2.5 [INFO] [stderr] Compiling patricia-trie v0.2.2 [INFO] [stderr] Compiling rlp v0.3.0 [INFO] [stderr] Compiling triehash v0.3.0 [INFO] [stderr] Compiling uint v0.4.1 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling plain_hasher v0.2.3 [INFO] [stderr] Compiling memorydb v0.3.0 [INFO] [stderr] Compiling ethbloom v0.5.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling ethereum-types v0.4.2 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling rlp v0.2.4 [INFO] [stderr] Compiling keccak-hasher v0.1.1 [INFO] [stderr] Compiling keccak-hash v0.1.2 [INFO] [stderr] Compiling patricia-trie-ethereum v0.1.0 [INFO] [stderr] Compiling trie-standardmap v0.1.1 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling patricia-trie v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/triedbmut.rs:728:6 [INFO] [stdout] | [INFO] [stdout] 728 | }; [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/triedb.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | db: &'db HashDB, [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] 66 - db: &'db HashDB, [INFO] [stdout] 66 + db: &'db dyn HashDB, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedbmut.rs:299:14 [INFO] [stdout] | [INFO] [stdout] 299 | db: &'a mut HashDB, [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] 299 - db: &'a mut HashDB, [INFO] [stdout] 299 + db: &'a mut dyn HashDB, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lookup.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | pub db: &'a HashDB, [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] 29 - pub db: &'a HashDB, [INFO] [stdout] 29 + pub db: &'a dyn HashDB, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:182:38 [INFO] [stdout] | [INFO] [stdout] 182 | fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error>; [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] 182 - fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error>; [INFO] [stdout] 182 + fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:282:38 [INFO] [stdout] | [INFO] [stdout] 282 | fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [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] 282 - fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [INFO] [stdout] 282 + fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | db: &'db HashDB, [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] 300 - db: &'db HashDB, [INFO] [stdout] 300 + db: &'db dyn HashDB, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:311:86 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn create(&self, db: &'db mut HashDB, root: &'db mut H::Out) -> Box + 'db> { [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] 311 - pub fn create(&self, db: &'db mut HashDB, root: &'db mut H::Out) -> Box + 'db> { [INFO] [stdout] 311 + pub fn create(&self, db: &'db mut HashDB, root: &'db mut H::Out) -> Box + 'db> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:311:36 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn create(&self, db: &'db mut HashDB, root: &'db mut H::Out) -> Box + 'db> { [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] 311 - pub fn create(&self, db: &'db mut HashDB, root: &'db mut H::Out) -> Box + 'db> { [INFO] [stdout] 311 + pub fn create(&self, db: &'db mut dyn HashDB, root: &'db mut H::Out) -> Box + 'db> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:324:18 [INFO] [stdout] | [INFO] [stdout] 324 | ) -> Result + 'db>, H::Out, >::Error> { [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] 324 - ) -> Result + 'db>, H::Out, >::Error> { [INFO] [stdout] 324 + ) -> Result + 'db>, H::Out, >::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:322:16 [INFO] [stdout] | [INFO] [stdout] 322 | db: &'db mut HashDB, [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] 322 - db: &'db mut HashDB, [INFO] [stdout] 322 + db: &'db mut dyn HashDB, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedb.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(db: &'db HashDB, root: &'db H::Out) -> Result { [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] 80 - pub fn new(db: &'db HashDB, root: &'db H::Out) -> Result { [INFO] [stdout] 80 + pub fn new(db: &'db dyn HashDB, root: &'db H::Out) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedb.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn db(&'db self) -> &'db HashDB { self.db } [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] 89 - pub fn db(&'db self) -> &'db HashDB { self.db } [INFO] [stdout] 89 + pub fn db(&'db self) -> &'db dyn HashDB { self.db } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedb.rs:132:38 [INFO] [stdout] | [INFO] [stdout] 132 | fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [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] 132 - fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [INFO] [stdout] 132 + fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedbmut.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | db: &HashDB, [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] 87 - db: &HashDB, [INFO] [stdout] 87 + db: &dyn HashDB, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedbmut.rs:103:42 [INFO] [stdout] | [INFO] [stdout] 103 | fn from_encoded(data: &[u8], db: &HashDB, storage: &mut NodeStorage) -> 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] 103 - fn from_encoded(data: &[u8], db: &HashDB, storage: &mut NodeStorage) -> Self [INFO] [stdout] 103 + fn from_encoded(data: &[u8], db: &dyn HashDB, storage: &mut NodeStorage) -> Self [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedbmut.rs:315:25 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn new(db: &'a mut HashDB, root: &'a mut H::Out) -> 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] 315 - pub fn new(db: &'a mut HashDB, root: &'a mut H::Out) -> Self { [INFO] [stdout] 315 + pub fn new(db: &'a mut dyn HashDB, root: &'a mut H::Out) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedbmut.rs:332:35 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn from_existing(db: &'a mut HashDB, root: &'a mut H::Out) -> Result { [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] 332 - pub fn from_existing(db: &'a mut HashDB, root: &'a mut H::Out) -> Result { [INFO] [stdout] 332 + pub fn from_existing(db: &'a mut dyn HashDB, root: &'a mut H::Out) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedbmut.rs:349:23 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn db(&self) -> &HashDB { [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] 349 - pub fn db(&self) -> &HashDB { [INFO] [stdout] 349 + pub fn db(&self) -> &dyn HashDB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedbmut.rs:354:35 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn db_mut(&mut self) -> &mut HashDB { [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] 354 - pub fn db_mut(&mut self) -> &mut HashDB { [INFO] [stdout] 354 + pub fn db_mut(&mut self) -> &mut dyn HashDB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sectriedb.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(db: &'db HashDB, root: &'db H::Out) -> Result { [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] 43 - pub fn new(db: &'db HashDB, root: &'db H::Out) -> Result { [INFO] [stdout] 43 + pub fn new(db: &'db dyn HashDB, root: &'db H::Out) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sectriedb.rs:75:38 [INFO] [stdout] | [INFO] [stdout] 75 | fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [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] 75 - fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [INFO] [stdout] 75 + fn iter<'a>(&'a self) -> Result> + 'a>, H::Out, C::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sectriedbmut.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new(db: &'db mut HashDB, root: &'db mut H::Out) -> 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] 40 - pub fn new(db: &'db mut HashDB, root: &'db mut H::Out) -> Self { [INFO] [stdout] 40 + pub fn new(db: &'db mut dyn HashDB, root: &'db mut H::Out) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sectriedbmut.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn from_existing(db: &'db mut HashDB, root: &'db mut H::Out) -> Result { [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] 47 - pub fn from_existing(db: &'db mut HashDB, root: &'db mut H::Out) -> Result { [INFO] [stdout] 47 + pub fn from_existing(db: &'db mut dyn HashDB, root: &'db mut H::Out) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sectriedbmut.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn db(&self) -> &HashDB { self.raw.db() } [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] 52 - pub fn db(&self) -> &HashDB { self.raw.db() } [INFO] [stdout] 52 + pub fn db(&self) -> &dyn HashDB { self.raw.db() } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sectriedbmut.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn db_mut(&mut self) -> &mut HashDB { self.raw.db_mut() } [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] 55 - pub fn db_mut(&mut self) -> &mut HashDB { self.raw.db_mut() } [INFO] [stdout] 55 + pub fn db_mut(&mut self) -> &mut dyn HashDB { self.raw.db_mut() } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fatdb.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(db: &'db HashDB, root: &'db H::Out) -> Result { [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] 41 - pub fn new(db: &'db HashDB, root: &'db H::Out) -> Result { [INFO] [stdout] 41 + pub fn new(db: &'db dyn HashDB, root: &'db H::Out) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fatdb.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn db(&self) -> &HashDB { self.raw.db() } [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] 46 - pub fn db(&self) -> &HashDB { self.raw.db() } [INFO] [stdout] 46 + pub fn db(&self) -> &dyn HashDB { self.raw.db() } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fatdb.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | fn iter<'a>(&'a self) -> Result> + 'a>, ::Out, C::Error> { [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] 66 - fn iter<'a>(&'a self) -> Result> + 'a>, ::Out, C::Error> { [INFO] [stdout] 66 + fn iter<'a>(&'a self) -> Result> + 'a>, ::Out, C::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fatdbmut.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(db: &'db mut HashDB, root: &'db mut H::Out) -> 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] 41 - pub fn new(db: &'db mut HashDB, root: &'db mut H::Out) -> Self { [INFO] [stdout] 41 + pub fn new(db: &'db mut dyn HashDB, root: &'db mut H::Out) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fatdbmut.rs:48:36 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_existing(db: &'db mut HashDB, root: &'db mut H::Out) -> Result { [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] 48 - pub fn from_existing(db: &'db mut HashDB, root: &'db mut H::Out) -> Result { [INFO] [stdout] 48 + pub fn from_existing(db: &'db mut dyn HashDB, root: &'db mut H::Out) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fatdbmut.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn db(&self) -> &HashDB { [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] 53 - pub fn db(&self) -> &HashDB { [INFO] [stdout] 53 + pub fn db(&self) -> &dyn HashDB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fatdbmut.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn db_mut(&mut self) -> &mut HashDB { [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] 58 - pub fn db_mut(&mut self) -> &mut HashDB { [INFO] [stdout] 58 + pub fn db_mut(&mut self) -> &mut dyn HashDB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/triedbmut.rs:988:16 [INFO] [stdout] | [INFO] [stdout] 988 | db: &'db mut HashDB, [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] 988 - db: &'db mut HashDB, [INFO] [stdout] 988 + db: &'db mut dyn HashDB, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `H: hashdb::Hasher` is not satisfied [INFO] [stdout] --> src/triedbmut.rs:995:6 [INFO] [stdout] | [INFO] [stdout] 995 | C: NodeCodec, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `hashdb::Hasher` is not implemented for `H` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ethtrie::patricia_trie::NodeCodec` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/patricia-trie-0.2.2/src/node_codec.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait NodeCodec: Sized { [INFO] [stdout] | ^^^^^^ required by this bound in `ethtrie::patricia_trie::NodeCodec` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 993 | H: Hasher + hashdb::Hasher, [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `patricia-trie` due to 2 previous errors; 34 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7377aa65ec5916bf398dc7c9258c1635afd1b809e2daa3a48f6461f2472dba60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7377aa65ec5916bf398dc7c9258c1635afd1b809e2daa3a48f6461f2472dba60", kill_on_drop: false }` [INFO] [stdout] 7377aa65ec5916bf398dc7c9258c1635afd1b809e2daa3a48f6461f2472dba60