[INFO] fetching crate cita-vm 0.1.6... [INFO] checking cita-vm-0.1.6 against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] extracting crate cita-vm 0.1.6 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate cita-vm 0.1.6 on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cita-vm 0.1.6 [INFO] finished tweaking crates.io crate cita-vm 0.1.6 [INFO] tweaked toml for crates.io crate cita-vm 0.1.6 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de33fff8674775dc085721c478ae9e886e2dc06f693af5bb717af807065729cc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "de33fff8674775dc085721c478ae9e886e2dc06f693af5bb717af807065729cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de33fff8674775dc085721c478ae9e886e2dc06f693af5bb717af807065729cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de33fff8674775dc085721c478ae9e886e2dc06f693af5bb717af807065729cc", kill_on_drop: false }` [INFO] [stdout] de33fff8674775dc085721c478ae9e886e2dc06f693af5bb717af807065729cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80570789b1ac9a0d9fa6e8c8d5a55d6dfc73ab1b145fc82ae18cc8a516a5d497 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "80570789b1ac9a0d9fa6e8c8d5a55d6dfc73ab1b145fc82ae18cc8a516a5d497", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking generic-array v0.8.4 [INFO] [stderr] Checking rand_pcg v0.1.2 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Checking digest v0.6.2 [INFO] [stderr] Checking crypto-mac v0.4.0 [INFO] [stderr] Checking block-buffer v0.2.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking ripemd160 v0.8.0 [INFO] [stderr] Checking hmac v0.4.2 [INFO] [stderr] Checking uint v0.4.1 [INFO] [stderr] Checking sha2 v0.6.0 [INFO] [stderr] Checking hmac-drbg v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking fixed-hash v0.2.5 [INFO] [stderr] Checking libsecp256k1 v0.2.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking ethereum-types-serialize v0.2.2 [INFO] [stderr] Checking ethbloom v0.5.3 [INFO] [stderr] Checking hashbrown v0.3.1 [INFO] [stderr] Checking ethereum-types v0.4.2 [INFO] [stderr] Checking rlp v0.3.0 [INFO] [stderr] Checking keccak-hash v0.1.2 [INFO] [stderr] Checking cita-evm v0.1.6 [INFO] [stderr] Checking cita_trie v1.0.1 [INFO] [stderr] Checking cita-state v0.1.6 [INFO] [stderr] Checking cita-vm v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executive.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | block_provider: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executive.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn new(b: Arc, s: Arc>>, store: Arc>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executive.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | block_provider: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executive.rs:252:25 [INFO] [stdout] | [INFO] [stdout] 252 | block_provider: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executive.rs:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | block_provider: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executive.rs:426:25 [INFO] [stdout] | [INFO] [stdout] 426 | block_provider: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executive.rs:528:25 [INFO] [stdout] | [INFO] [stdout] 528 | block_provider: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executive.rs:548:29 [INFO] [stdout] | [INFO] [stdout] 548 | pub block_provider: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executive.rs:554:36 [INFO] [stdout] | [INFO] [stdout] 554 | pub fn new(block_provider: Arc, state_provider: state::State, config: Config) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executive.rs:573:29 [INFO] [stdout] | [INFO] [stdout] 573 | block_provider: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/executive.rs:716:10 [INFO] [stdout] | [INFO] [stdout] 716 | ) -> (Result) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/precompiled.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get(address: Address) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PrecompiledContract` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/precompiled.rs:33:47 [INFO] [stdout] | [INFO] [stdout] 33 | 0x01 => Box::new(EcRecover {}) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PrecompiledContract` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/precompiled.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | 0x02 => Box::new(SHA256Hash {}) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PrecompiledContract` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/precompiled.rs:35:51 [INFO] [stdout] | [INFO] [stdout] 35 | 0x03 => Box::new(RIPEMD160Hash {}) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PrecompiledContract` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/precompiled.rs:36:46 [INFO] [stdout] | [INFO] [stdout] 36 | 0x04 => Box::new(DataCopy {}) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PrecompiledContract` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/precompiled.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | 0x05 => Box::new(BigModExp {}) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PrecompiledContract` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/precompiled.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | 0x06 => Box::new(Bn256Add {}) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PrecompiledContract` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/precompiled.rs:39:52 [INFO] [stdout] | [INFO] [stdout] 39 | 0x07 => Box::new(Bn256ScalarMul {}) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PrecompiledContract` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/precompiled.rs:40:50 [INFO] [stdout] | [INFO] [stdout] 40 | 0x08 => Box::new(Bn256Pairing {}) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PrecompiledContract` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executive.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | block_provider: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executive.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn new(b: Arc, s: Arc>>, store: Arc>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executive.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | block_provider: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executive.rs:252:25 [INFO] [stdout] | [INFO] [stdout] 252 | block_provider: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executive.rs:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | block_provider: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executive.rs:426:25 [INFO] [stdout] | [INFO] [stdout] 426 | block_provider: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executive.rs:528:25 [INFO] [stdout] | [INFO] [stdout] 528 | block_provider: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executive.rs:548:29 [INFO] [stdout] | [INFO] [stdout] 548 | pub block_provider: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executive.rs:554:36 [INFO] [stdout] | [INFO] [stdout] 554 | pub fn new(block_provider: Arc, state_provider: state::State, config: Config) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executive.rs:573:29 [INFO] [stdout] | [INFO] [stdout] 573 | block_provider: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/executive.rs:716:10 [INFO] [stdout] | [INFO] [stdout] 716 | ) -> (Result) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/precompiled.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get(address: Address) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PrecompiledContract` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/precompiled.rs:33:47 [INFO] [stdout] | [INFO] [stdout] 33 | 0x01 => Box::new(EcRecover {}) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PrecompiledContract` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/precompiled.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | 0x02 => Box::new(SHA256Hash {}) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PrecompiledContract` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/precompiled.rs:35:51 [INFO] [stdout] | [INFO] [stdout] 35 | 0x03 => Box::new(RIPEMD160Hash {}) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PrecompiledContract` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/precompiled.rs:36:46 [INFO] [stdout] | [INFO] [stdout] 36 | 0x04 => Box::new(DataCopy {}) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PrecompiledContract` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/precompiled.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | 0x05 => Box::new(BigModExp {}) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PrecompiledContract` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/precompiled.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | 0x06 => Box::new(Bn256Add {}) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PrecompiledContract` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/precompiled.rs:39:52 [INFO] [stdout] | [INFO] [stdout] 39 | 0x07 => Box::new(Bn256ScalarMul {}) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PrecompiledContract` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/precompiled.rs:40:50 [INFO] [stdout] | [INFO] [stdout] 40 | 0x08 => Box::new(Bn256Pairing {}) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PrecompiledContract` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/state_solidity_test.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | let block_data_provider: Arc = Arc::new(cita_vm::BlockDataProviderMock::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn cita_vm::BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/state_solidity_test.rs:258:34 [INFO] [stdout] | [INFO] [stdout] 258 | let block_data_provider: Arc = Arc::new(cita_vm::BlockDataProviderMock::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn cita_vm::BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> benches/benchmark.rs:204:34 [INFO] [stdout] | [INFO] [stdout] 204 | let block_data_provider: Arc = Arc::new(cita_vm::BlockDataProviderMock::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn cita_vm::BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> benches/benchmark.rs:253:34 [INFO] [stdout] | [INFO] [stdout] 253 | let block_data_provider: Arc = Arc::new(cita_vm::BlockDataProviderMock::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn cita_vm::BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/state_misc.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | let block_data_provider: Arc = Arc::new(cita_vm::BlockDataProviderMock::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn cita_vm::BlockDataProvider` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.26s [INFO] running `Command { std: "docker" "inspect" "80570789b1ac9a0d9fa6e8c8d5a55d6dfc73ab1b145fc82ae18cc8a516a5d497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80570789b1ac9a0d9fa6e8c8d5a55d6dfc73ab1b145fc82ae18cc8a516a5d497", kill_on_drop: false }` [INFO] [stdout] 80570789b1ac9a0d9fa6e8c8d5a55d6dfc73ab1b145fc82ae18cc8a516a5d497