[INFO] cloning repository https://github.com/ETCDEVTeam/sputnikvm-dev [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ETCDEVTeam/sputnikvm-dev" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FETCDEVTeam%2Fsputnikvm-dev", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FETCDEVTeam%2Fsputnikvm-dev'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46a63e0866cdfdd3559f2cf9096478db9f5adb41 [INFO] checking ETCDEVTeam/sputnikvm-dev against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FETCDEVTeam%2Fsputnikvm-dev" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ETCDEVTeam/sputnikvm-dev on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ETCDEVTeam/sputnikvm-dev [INFO] finished tweaking git repo https://github.com/ETCDEVTeam/sputnikvm-dev [INFO] tweaked toml for git repo https://github.com/ETCDEVTeam/sputnikvm-dev written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/ETCDEVTeam/sputnikvm-dev already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-11/source/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/workspace/builds/worker-11/source/src/main.rs` was erroneously implicitly accepted for binary `svmdev`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b44a56fa75818eaaf030f768f1a76e3a08926d93947608fe7f5477632cd030c [INFO] running `Command { std: "docker" "start" "-a" "5b44a56fa75818eaaf030f768f1a76e3a08926d93947608fe7f5477632cd030c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b44a56fa75818eaaf030f768f1a76e3a08926d93947608fe7f5477632cd030c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b44a56fa75818eaaf030f768f1a76e3a08926d93947608fe7f5477632cd030c", kill_on_drop: false }` [INFO] [stdout] 5b44a56fa75818eaaf030f768f1a76e3a08926d93947608fe7f5477632cd030c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] deffa1073016e1f8d1df517e75fc4132886e16fe5323ad3060721dafeef7c1fa [INFO] running `Command { std: "docker" "start" "-a" "deffa1073016e1f8d1df517e75fc4132886e16fe5323ad3060721dafeef7c1fa", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/main.rs` was erroneously implicitly accepted for binary `svmdev`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Compiling typenum v1.9.0 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Checking etcommon-hexutil v0.2.3 [INFO] [stderr] Checking elastic-array-plus v0.9.1 [INFO] [stderr] Checking odds v0.2.26 [INFO] [stderr] Checking num-traits v0.2.0 [INFO] [stderr] Checking futures v0.1.18 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking blockchain v0.2.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking serde v1.0.27 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Checking scoped-tls v0.1.0 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking slab v0.4.0 [INFO] [stderr] Checking regex-syntax v0.4.2 [INFO] [stderr] Checking smallvec v0.6.0 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking take v0.1.0 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Compiling secp256k1-plus v0.5.7 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking base64 v0.9.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking etcommon-rlp v0.2.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking arrayvec v0.3.25 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.31 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking clap v2.30.0 [INFO] [stderr] Checking bytes v0.4.6 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num-integer v0.1.36 [INFO] [stderr] Checking mio v0.6.13 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking parking_lot_core v0.2.13 [INFO] [stderr] Checking num-bigint v0.1.43 [INFO] [stderr] Checking etcommon-bigint v0.2.9 [INFO] [stderr] Checking bn-plus v0.4.4 [INFO] [stderr] Checking parking_lot v0.4.8 [INFO] [stderr] Checking tokio-io v0.1.5 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking relay v0.1.1 [INFO] [stderr] Checking generic-array v0.8.3 [INFO] [stderr] Checking regex v0.2.6 [INFO] [stderr] Checking tokio-core v0.1.12 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Checking digest v0.6.2 [INFO] [stderr] Checking block-buffer v0.2.0 [INFO] [stderr] Checking sha3 v0.6.0 [INFO] [stderr] Checking sha2 v0.6.0 [INFO] [stderr] Checking ripemd160 v0.6.0 [INFO] [stderr] Checking etcommon-trie v0.3.11 [INFO] [stderr] Checking etcommon-bloom v0.2.1 [INFO] [stderr] Checking etcommon-block-core v0.1.0 [INFO] [stderr] Checking globset v0.1.4 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking etcommon-block v0.3.4 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.27 [INFO] [stderr] Checking sputnikvm v0.10.1 [INFO] [stderr] Checking hyper v0.11.19 [INFO] [stderr] Checking sputnikvm-precompiled-bn128 v0.10.0 [INFO] [stderr] Checking sputnikvm-precompiled-modexp v0.10.0 [INFO] [stderr] Checking sputnikvm-network-classic v0.10.0 [INFO] [stderr] Checking sputnikvm-stateful v0.10.0 [INFO] [stderr] Checking sputnikvm-network-ubiq v0.10.0 [INFO] [stderr] Checking sputnikvm-network-ellaism v0.10.0 [INFO] [stderr] Checking sputnikvm-network-musicoin v0.10.0 [INFO] [stderr] Checking serde_json v1.0.9 [INFO] [stderr] Checking sputnikvm-network-expanse v0.10.0 [INFO] [stderr] Checking sputnikvm-network-foundation v0.10.0 [INFO] [stderr] Checking jsonrpc-core v7.1.1 [INFO] [stderr] Checking jsonrpc-server-utils v7.1.1 [INFO] [stderr] Checking jsonrpc-pubsub v7.1.1 [INFO] [stderr] Checking jsonrpc-macros-plus v7.1.4 [INFO] [stderr] Checking jsonrpc-http-server-plus v7.1.0 [INFO] [stderr] Checking sputnikvm-dev v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rlp` [INFO] [stdout] --> src/miner/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rlp; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Account`, `UnsignedTransaction` [INFO] [stdout] --> src/miner/mod.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use block::{Receipt, Block, UnsignedTransaction, Transaction, TransactionAction, Log, FromKey, Header, Account, ommers_hash, transactions... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryDatabaseGuard`, `Trie` [INFO] [stdout] --> src/miner/mod.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use trie::{MemoryDatabase, Database, MemoryDatabaseGuard, Trie}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `M256` [INFO] [stdout] --> src/miner/mod.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use bigint::{H256, M256, U256, H64, B256, Gas, Address}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `secp256k1::SECP256K1` [INFO] [stdout] --> src/miner/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use secp256k1::SECP256K1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PublicKey` [INFO] [stdout] --> src/miner/mod.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use secp256k1::key::{PublicKey, SecretKey}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/miner/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/miner/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sender`, `channel` [INFO] [stdout] --> src/miner/mod.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::mpsc::{channel, Sender, Receiver}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccountChange`, `AccountCommitment`, `AccountState` [INFO] [stdout] --> src/miner/mod.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use sputnikvm::{AccountChange, ValidTransaction, Patch, AccountCommitment, AccountState, HeaderParams, SeqTransactionVM, VM, VMStatus}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sputnikvm::errors::RequireError` [INFO] [stdout] --> src/miner/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sputnikvm::errors::RequireError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::os::OsRng` [INFO] [stdout] --> src/miner/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use rand::os::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Keccak256` [INFO] [stdout] --> src/miner/mod.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use sha3::{Digest, Keccak256}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Account`, `FromKey`, `Header`, `Log`, `TransactionAction`, `UnsignedTransaction` [INFO] [stdout] --> src/miner/state.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use block::{Receipt, Block, TotalHeader, UnsignedTransaction, Transaction, TransactionAction, Log, FromKey, Header, Account}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryDatabaseGuard`, `Trie` [INFO] [stdout] --> src/miner/state.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use trie::{MemoryDatabase, MemoryDatabaseGuard, Trie}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `B256`, `Gas`, `H64` [INFO] [stdout] --> src/miner/state.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use bigint::{H256, M256, U256, H64, B256, Gas, Address}; [INFO] [stdout] | ^^^ ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MutexGuard`, `Mutex` [INFO] [stdout] --> src/miner/state.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::{Mutex, MutexGuard}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/miner/state.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Params`, `self` [INFO] [stdout] --> src/rpc/mod.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpc_core::{self, IoHandler, Params}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/rpc/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::DeserializeOwned` [INFO] [stdout] --> src/rpc/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::DeserializeOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value`, `self` [INFO] [stdout] --> src/rpc/mod.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::{self, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver`, `channel` [INFO] [stdout] --> src/rpc/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::mpsc::{channel, Sender, Receiver}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RPCStep` [INFO] [stdout] --> src/rpc/serves.rs:1:81 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{EthereumRPC, FilterRPC, DebugRPC, Either, RPCTransaction, RPCTrace, RPCStep, RPCBlock, RPCLog, RPCReceipt, RPCLogFilter, RPCB... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::solidity::*` [INFO] [stdout] --> src/rpc/serves.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::solidity::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `H2048` [INFO] [stdout] --> src/rpc/serves.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | use bigint::{M256, U256, H256, H2048, Address, Gas}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `read_hex`, `to_hex` [INFO] [stdout] --> src/rpc/serves.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use hexutil::{read_hex, to_hex}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Log`, `Receipt`, `TotalHeader`, `TransactionAction`, `UnsignedTransaction` [INFO] [stdout] --> src/rpc/serves.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use block::{Block, TotalHeader, Account, Log, Receipt, FromKey, Transaction, UnsignedTransaction, TransactionAction}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccountChange`, `MachineStatus`, `Memory`, `VMStatus`, `ValidTransaction` [INFO] [stdout] --> src/rpc/serves.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use sputnikvm::{AccountChange, ValidTransaction, SeqTransactionVM, VM, VMStatus, Memory, MachineStatus, HeaderParams, Patch}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver`, `channel` [INFO] [stdout] --> src/rpc/serves.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | use std::sync::mpsc::{channel, Sender, Receiver}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `U256` [INFO] [stdout] --> src/rpc/filter.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use bigint::{Address, H256, U256}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hexutil::*` [INFO] [stdout] --> src/rpc/filter.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hexutil::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Receipt` [INFO] [stdout] --> src/rpc/filter.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use block::{Log, Receipt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/rpc/filter.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UntrustedRlp` [INFO] [stdout] --> src/rpc/util.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use rlp::{self, UntrustedRlp}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_hex` [INFO] [stdout] --> src/rpc/util.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use hexutil::{read_hex, to_hex}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Log` [INFO] [stdout] --> src/rpc/util.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | use block::{Block, TotalHeader, Account, Log, Receipt, FromKey, Transaction, UnsignedTransaction, TransactionAction, GlobalSignaturePatch... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/rpc/util.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jsonrpc_macros::Trailing` [INFO] [stdout] --> src/rpc/util.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use jsonrpc_macros::Trailing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Keccak256` is imported redundantly [INFO] [stdout] --> src/rpc/util.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 18 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | --------- the item `Keccak256` is already imported here [INFO] [stdout] ... [INFO] [stdout] 41 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Digest` is imported redundantly [INFO] [stdout] --> src/rpc/util.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 18 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ------ the item `Digest` is already imported here [INFO] [stdout] ... [INFO] [stdout] 41 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Keccak256` is imported redundantly [INFO] [stdout] --> src/rpc/util.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 18 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | --------- the item `Keccak256` is already imported here [INFO] [stdout] ... [INFO] [stdout] 72 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Digest` is imported redundantly [INFO] [stdout] --> src/rpc/util.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 18 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ------ the item `Digest` is already imported here [INFO] [stdout] ... [INFO] [stdout] 72 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Keccak256` is imported redundantly [INFO] [stdout] --> src/rpc/util.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 18 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | --------- the item `Keccak256` is already imported here [INFO] [stdout] ... [INFO] [stdout] 129 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Digest` is imported redundantly [INFO] [stdout] --> src/rpc/util.rs:129:27 [INFO] [stdout] | [INFO] [stdout] 18 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ------ the item `Digest` is already imported here [INFO] [stdout] ... [INFO] [stdout] 129 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Keccak256` is imported redundantly [INFO] [stdout] --> src/rpc/util.rs:173:16 [INFO] [stdout] | [INFO] [stdout] 18 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | --------- the item `Keccak256` is already imported here [INFO] [stdout] ... [INFO] [stdout] 173 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Digest` is imported redundantly [INFO] [stdout] --> src/rpc/util.rs:173:27 [INFO] [stdout] | [INFO] [stdout] 18 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ------ the item `Digest` is already imported here [INFO] [stdout] ... [INFO] [stdout] 173 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:200:24 [INFO] [stdout] | [INFO] [stdout] 200 | fn sha3(&self, Bytes) -> Result, Error>; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:226:27 [INFO] [stdout] | [INFO] [stdout] 226 | fn balance(&self, Hex
, Trailing) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex
` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:226:41 [INFO] [stdout] | [INFO] [stdout] 226 | fn balance(&self, Hex
, Trailing) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:228:30 [INFO] [stdout] | [INFO] [stdout] 228 | fn storage_at(&self, Hex
, Hex, Trailing) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex
` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:228:44 [INFO] [stdout] | [INFO] [stdout] 228 | fn storage_at(&self, Hex
, Hex, Trailing) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:228:55 [INFO] [stdout] | [INFO] [stdout] 228 | fn storage_at(&self, Hex
, Hex, Trailing) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:230:37 [INFO] [stdout] | [INFO] [stdout] 230 | fn transaction_count(&self, Hex
, Trailing) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex
` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:230:51 [INFO] [stdout] | [INFO] [stdout] 230 | fn transaction_count(&self, Hex
, Trailing) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:232:51 [INFO] [stdout] | [INFO] [stdout] 232 | fn block_transaction_count_by_hash(&self, Hex) -> Result>, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:234:53 [INFO] [stdout] | [INFO] [stdout] 234 | fn block_transaction_count_by_number(&self, String) -> Result>, Error>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:236:46 [INFO] [stdout] | [INFO] [stdout] 236 | fn block_uncles_count_by_hash(&self, Hex) -> Result>, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:238:48 [INFO] [stdout] | [INFO] [stdout] 238 | fn block_uncles_count_by_number(&self, String) -> Result>, Error>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:240:24 [INFO] [stdout] | [INFO] [stdout] 240 | fn code(&self, Hex
, Trailing) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex
` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:240:38 [INFO] [stdout] | [INFO] [stdout] 240 | fn code(&self, Hex
, Trailing) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:242:24 [INFO] [stdout] | [INFO] [stdout] 242 | fn sign(&self, Hex
, Bytes) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex
` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:242:38 [INFO] [stdout] | [INFO] [stdout] 242 | fn sign(&self, Hex
, Bytes) -> Result; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Bytes` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:244:36 [INFO] [stdout] | [INFO] [stdout] 244 | fn send_transaction(&self, RPCTransaction) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: RPCTransaction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:246:40 [INFO] [stdout] | [INFO] [stdout] 246 | fn send_raw_transaction(&self, Bytes) -> Result, Error>; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Bytes` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:249:24 [INFO] [stdout] | [INFO] [stdout] 249 | fn call(&self, RPCTransaction, Trailing) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: RPCTransaction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:249:40 [INFO] [stdout] | [INFO] [stdout] 249 | fn call(&self, RPCTransaction, Trailing) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:251:32 [INFO] [stdout] | [INFO] [stdout] 251 | fn estimate_gas(&self, RPCTransaction, Trailing) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: RPCTransaction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:251:48 [INFO] [stdout] | [INFO] [stdout] 251 | fn estimate_gas(&self, RPCTransaction, Trailing) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:254:33 [INFO] [stdout] | [INFO] [stdout] 254 | fn block_by_hash(&self, Hex, bool) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:254:44 [INFO] [stdout] | [INFO] [stdout] 254 | fn block_by_hash(&self, Hex, bool) -> Result, Error>; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:256:35 [INFO] [stdout] | [INFO] [stdout] 256 | fn block_by_number(&self, String, bool) -> Result, Error>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:256:43 [INFO] [stdout] | [INFO] [stdout] 256 | fn block_by_number(&self, String, bool) -> Result, Error>; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:258:39 [INFO] [stdout] | [INFO] [stdout] 258 | fn transaction_by_hash(&self, Hex) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:260:55 [INFO] [stdout] | [INFO] [stdout] 260 | fn transaction_by_block_hash_and_index(&self, Hex, Hex) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:260:66 [INFO] [stdout] | [INFO] [stdout] 260 | fn transaction_by_block_hash_and_index(&self, Hex, Hex) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:262:57 [INFO] [stdout] | [INFO] [stdout] 262 | fn transaction_by_block_number_and_index(&self, String, Hex) -> Result, Error>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:262:65 [INFO] [stdout] | [INFO] [stdout] 262 | fn transaction_by_block_number_and_index(&self, String, Hex) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:264:39 [INFO] [stdout] | [INFO] [stdout] 264 | fn transaction_receipt(&self, Hex) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:266:49 [INFO] [stdout] | [INFO] [stdout] 266 | fn uncle_by_block_hash_and_index(&self, Hex, Hex) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:266:60 [INFO] [stdout] | [INFO] [stdout] 266 | fn uncle_by_block_hash_and_index(&self, Hex, Hex) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:268:51 [INFO] [stdout] | [INFO] [stdout] 268 | fn uncle_by_block_number_and_index(&self, String, Hex) -> Result, Error>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:268:59 [INFO] [stdout] | [INFO] [stdout] 268 | fn uncle_by_block_number_and_index(&self, String, Hex) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:274:24 [INFO] [stdout] | [INFO] [stdout] 274 | fn logs(&self, RPCLogFilter) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: RPCLogFilter` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:281:30 [INFO] [stdout] | [INFO] [stdout] 281 | fn new_filter(&self, RPCLogFilter) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: RPCLogFilter` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:287:36 [INFO] [stdout] | [INFO] [stdout] 287 | fn uninstall_filter(&self, String) -> Result; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:290:34 [INFO] [stdout] | [INFO] [stdout] 290 | fn filter_changes(&self, String) -> Result, Vec>, Error>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:292:31 [INFO] [stdout] | [INFO] [stdout] 292 | fn filter_logs(&self, String) -> Result, Error>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:299:29 [INFO] [stdout] | [INFO] [stdout] 299 | fn block_rlp(&self, usize) -> Result; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:301:37 [INFO] [stdout] | [INFO] [stdout] 301 | fn trace_transaction(&self, Hex, Trailing) [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:301:48 [INFO] [stdout] | [INFO] [stdout] 301 | fn trace_transaction(&self, Hex, Trailing) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:304:31 [INFO] [stdout] | [INFO] [stdout] 304 | fn trace_block(&self, Bytes, Trailing) [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Bytes` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:304:38 [INFO] [stdout] | [INFO] [stdout] 304 | fn trace_block(&self, Bytes, Trailing) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:307:41 [INFO] [stdout] | [INFO] [stdout] 307 | fn trace_block_by_number(&self, usize, Trailing) [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:307:48 [INFO] [stdout] | [INFO] [stdout] 307 | fn trace_block_by_number(&self, usize, Trailing) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:310:39 [INFO] [stdout] | [INFO] [stdout] 310 | fn trace_block_by_hash(&self, Hex, Trailing) [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:310:50 [INFO] [stdout] | [INFO] [stdout] 310 | fn trace_block_by_hash(&self, Hex, Trailing) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:313:41 [INFO] [stdout] | [INFO] [stdout] 313 | fn trace_block_from_file(&self, String, Trailing) [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:313:49 [INFO] [stdout] | [INFO] [stdout] 313 | fn trace_block_from_file(&self, String, Trailing) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:316:30 [INFO] [stdout] | [INFO] [stdout] 316 | fn dump_block(&self, usize) -> Result; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `miner::MinerState` [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use miner::MinerState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PublicKey` [INFO] [stdout] --> src/main.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | use secp256k1::key::{PublicKey, SecretKey}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver`, `Sender` [INFO] [stdout] --> src/main.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | use std::sync::mpsc::{channel, Sender, Receiver}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/miner/mod.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / lazy_static! { [INFO] [stdout] 78 | | static ref DATABASE: MemoryDatabase = MemoryDatabase::default(); [INFO] [stdout] 79 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rlp` [INFO] [stdout] --> src/miner/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rlp; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Account`, `UnsignedTransaction` [INFO] [stdout] --> src/miner/mod.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use block::{Receipt, Block, UnsignedTransaction, Transaction, TransactionAction, Log, FromKey, Header, Account, ommers_hash, transactions... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryDatabaseGuard`, `Trie` [INFO] [stdout] --> src/miner/mod.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use trie::{MemoryDatabase, Database, MemoryDatabaseGuard, Trie}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `M256` [INFO] [stdout] --> src/miner/mod.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use bigint::{H256, M256, U256, H64, B256, Gas, Address}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `secp256k1::SECP256K1` [INFO] [stdout] --> src/miner/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use secp256k1::SECP256K1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PublicKey` [INFO] [stdout] --> src/miner/mod.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use secp256k1::key::{PublicKey, SecretKey}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/miner/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/miner/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sender`, `channel` [INFO] [stdout] --> src/miner/mod.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::mpsc::{channel, Sender, Receiver}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccountChange`, `AccountCommitment`, `AccountState` [INFO] [stdout] --> src/miner/mod.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use sputnikvm::{AccountChange, ValidTransaction, Patch, AccountCommitment, AccountState, HeaderParams, SeqTransactionVM, VM, VMStatus}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sputnikvm::errors::RequireError` [INFO] [stdout] --> src/miner/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sputnikvm::errors::RequireError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::os::OsRng` [INFO] [stdout] --> src/miner/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use rand::os::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Keccak256` [INFO] [stdout] --> src/miner/mod.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use sha3::{Digest, Keccak256}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Account`, `FromKey`, `Header`, `Log`, `TransactionAction`, `UnsignedTransaction` [INFO] [stdout] --> src/miner/state.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use block::{Receipt, Block, TotalHeader, UnsignedTransaction, Transaction, TransactionAction, Log, FromKey, Header, Account}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemoryDatabaseGuard`, `Trie` [INFO] [stdout] --> src/miner/state.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use trie::{MemoryDatabase, MemoryDatabaseGuard, Trie}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `B256`, `Gas`, `H64` [INFO] [stdout] --> src/miner/state.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use bigint::{H256, M256, U256, H64, B256, Gas, Address}; [INFO] [stdout] | ^^^ ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MutexGuard`, `Mutex` [INFO] [stdout] --> src/miner/state.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::{Mutex, MutexGuard}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/miner/state.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Params`, `self` [INFO] [stdout] --> src/rpc/mod.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpc_core::{self, IoHandler, Params}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/rpc/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::DeserializeOwned` [INFO] [stdout] --> src/rpc/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::DeserializeOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value`, `self` [INFO] [stdout] --> src/rpc/mod.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::{self, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver`, `channel` [INFO] [stdout] --> src/rpc/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::mpsc::{channel, Sender, Receiver}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RPCStep` [INFO] [stdout] --> src/rpc/serves.rs:1:81 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{EthereumRPC, FilterRPC, DebugRPC, Either, RPCTransaction, RPCTrace, RPCStep, RPCBlock, RPCLog, RPCReceipt, RPCLogFilter, RPCB... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::solidity::*` [INFO] [stdout] --> src/rpc/serves.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::solidity::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `H2048` [INFO] [stdout] --> src/rpc/serves.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | use bigint::{M256, U256, H256, H2048, Address, Gas}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `read_hex`, `to_hex` [INFO] [stdout] --> src/rpc/serves.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use hexutil::{read_hex, to_hex}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Log`, `Receipt`, `TotalHeader`, `TransactionAction`, `UnsignedTransaction` [INFO] [stdout] --> src/rpc/serves.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use block::{Block, TotalHeader, Account, Log, Receipt, FromKey, Transaction, UnsignedTransaction, TransactionAction}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccountChange`, `MachineStatus`, `Memory`, `VMStatus`, `ValidTransaction` [INFO] [stdout] --> src/rpc/serves.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use sputnikvm::{AccountChange, ValidTransaction, SeqTransactionVM, VM, VMStatus, Memory, MachineStatus, HeaderParams, Patch}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver`, `channel` [INFO] [stdout] --> src/rpc/serves.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | use std::sync::mpsc::{channel, Sender, Receiver}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `U256` [INFO] [stdout] --> src/rpc/filter.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use bigint::{Address, H256, U256}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hexutil::*` [INFO] [stdout] --> src/rpc/filter.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hexutil::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Receipt` [INFO] [stdout] --> src/rpc/filter.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use block::{Log, Receipt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/rpc/filter.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UntrustedRlp` [INFO] [stdout] --> src/rpc/util.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use rlp::{self, UntrustedRlp}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_hex` [INFO] [stdout] --> src/rpc/util.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use hexutil::{read_hex, to_hex}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Log` [INFO] [stdout] --> src/rpc/util.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | use block::{Block, TotalHeader, Account, Log, Receipt, FromKey, Transaction, UnsignedTransaction, TransactionAction, GlobalSignaturePatch... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/rpc/util.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jsonrpc_macros::Trailing` [INFO] [stdout] --> src/rpc/util.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use jsonrpc_macros::Trailing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Keccak256` is imported redundantly [INFO] [stdout] --> src/rpc/util.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 18 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | --------- the item `Keccak256` is already imported here [INFO] [stdout] ... [INFO] [stdout] 41 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Digest` is imported redundantly [INFO] [stdout] --> src/rpc/util.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 18 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ------ the item `Digest` is already imported here [INFO] [stdout] ... [INFO] [stdout] 41 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Keccak256` is imported redundantly [INFO] [stdout] --> src/rpc/util.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 18 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | --------- the item `Keccak256` is already imported here [INFO] [stdout] ... [INFO] [stdout] 72 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Digest` is imported redundantly [INFO] [stdout] --> src/rpc/util.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 18 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ------ the item `Digest` is already imported here [INFO] [stdout] ... [INFO] [stdout] 72 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Keccak256` is imported redundantly [INFO] [stdout] --> src/rpc/util.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 18 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | --------- the item `Keccak256` is already imported here [INFO] [stdout] ... [INFO] [stdout] 129 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Digest` is imported redundantly [INFO] [stdout] --> src/rpc/util.rs:129:27 [INFO] [stdout] | [INFO] [stdout] 18 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ------ the item `Digest` is already imported here [INFO] [stdout] ... [INFO] [stdout] 129 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Keccak256` is imported redundantly [INFO] [stdout] --> src/rpc/util.rs:173:16 [INFO] [stdout] | [INFO] [stdout] 18 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | --------- the item `Keccak256` is already imported here [INFO] [stdout] ... [INFO] [stdout] 173 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Digest` is imported redundantly [INFO] [stdout] --> src/rpc/util.rs:173:27 [INFO] [stdout] | [INFO] [stdout] 18 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ------ the item `Digest` is already imported here [INFO] [stdout] ... [INFO] [stdout] 173 | use sha3::{Keccak256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:200:24 [INFO] [stdout] | [INFO] [stdout] 200 | fn sha3(&self, Bytes) -> Result, Error>; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:226:27 [INFO] [stdout] | [INFO] [stdout] 226 | fn balance(&self, Hex
, Trailing) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex
` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:226:41 [INFO] [stdout] | [INFO] [stdout] 226 | fn balance(&self, Hex
, Trailing) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:228:30 [INFO] [stdout] | [INFO] [stdout] 228 | fn storage_at(&self, Hex
, Hex, Trailing) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex
` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:228:44 [INFO] [stdout] | [INFO] [stdout] 228 | fn storage_at(&self, Hex
, Hex, Trailing) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:228:55 [INFO] [stdout] | [INFO] [stdout] 228 | fn storage_at(&self, Hex
, Hex, Trailing) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:230:37 [INFO] [stdout] | [INFO] [stdout] 230 | fn transaction_count(&self, Hex
, Trailing) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex
` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:230:51 [INFO] [stdout] | [INFO] [stdout] 230 | fn transaction_count(&self, Hex
, Trailing) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:232:51 [INFO] [stdout] | [INFO] [stdout] 232 | fn block_transaction_count_by_hash(&self, Hex) -> Result>, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:234:53 [INFO] [stdout] | [INFO] [stdout] 234 | fn block_transaction_count_by_number(&self, String) -> Result>, Error>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:236:46 [INFO] [stdout] | [INFO] [stdout] 236 | fn block_uncles_count_by_hash(&self, Hex) -> Result>, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:238:48 [INFO] [stdout] | [INFO] [stdout] 238 | fn block_uncles_count_by_number(&self, String) -> Result>, Error>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:240:24 [INFO] [stdout] | [INFO] [stdout] 240 | fn code(&self, Hex
, Trailing) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex
` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:240:38 [INFO] [stdout] | [INFO] [stdout] 240 | fn code(&self, Hex
, Trailing) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:242:24 [INFO] [stdout] | [INFO] [stdout] 242 | fn sign(&self, Hex
, Bytes) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex
` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:242:38 [INFO] [stdout] | [INFO] [stdout] 242 | fn sign(&self, Hex
, Bytes) -> Result; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Bytes` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:244:36 [INFO] [stdout] | [INFO] [stdout] 244 | fn send_transaction(&self, RPCTransaction) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: RPCTransaction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:246:40 [INFO] [stdout] | [INFO] [stdout] 246 | fn send_raw_transaction(&self, Bytes) -> Result, Error>; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Bytes` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:249:24 [INFO] [stdout] | [INFO] [stdout] 249 | fn call(&self, RPCTransaction, Trailing) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: RPCTransaction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:249:40 [INFO] [stdout] | [INFO] [stdout] 249 | fn call(&self, RPCTransaction, Trailing) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:251:32 [INFO] [stdout] | [INFO] [stdout] 251 | fn estimate_gas(&self, RPCTransaction, Trailing) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: RPCTransaction` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:251:48 [INFO] [stdout] | [INFO] [stdout] 251 | fn estimate_gas(&self, RPCTransaction, Trailing) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:254:33 [INFO] [stdout] | [INFO] [stdout] 254 | fn block_by_hash(&self, Hex, bool) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:254:44 [INFO] [stdout] | [INFO] [stdout] 254 | fn block_by_hash(&self, Hex, bool) -> Result, Error>; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:256:35 [INFO] [stdout] | [INFO] [stdout] 256 | fn block_by_number(&self, String, bool) -> Result, Error>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:256:43 [INFO] [stdout] | [INFO] [stdout] 256 | fn block_by_number(&self, String, bool) -> Result, Error>; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:258:39 [INFO] [stdout] | [INFO] [stdout] 258 | fn transaction_by_hash(&self, Hex) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:260:55 [INFO] [stdout] | [INFO] [stdout] 260 | fn transaction_by_block_hash_and_index(&self, Hex, Hex) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:260:66 [INFO] [stdout] | [INFO] [stdout] 260 | fn transaction_by_block_hash_and_index(&self, Hex, Hex) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:262:57 [INFO] [stdout] | [INFO] [stdout] 262 | fn transaction_by_block_number_and_index(&self, String, Hex) -> Result, Error>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:262:65 [INFO] [stdout] | [INFO] [stdout] 262 | fn transaction_by_block_number_and_index(&self, String, Hex) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:264:39 [INFO] [stdout] | [INFO] [stdout] 264 | fn transaction_receipt(&self, Hex) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:266:49 [INFO] [stdout] | [INFO] [stdout] 266 | fn uncle_by_block_hash_and_index(&self, Hex, Hex) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:266:60 [INFO] [stdout] | [INFO] [stdout] 266 | fn uncle_by_block_hash_and_index(&self, Hex, Hex) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:268:51 [INFO] [stdout] | [INFO] [stdout] 268 | fn uncle_by_block_number_and_index(&self, String, Hex) -> Result, Error>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:268:59 [INFO] [stdout] | [INFO] [stdout] 268 | fn uncle_by_block_number_and_index(&self, String, Hex) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:274:24 [INFO] [stdout] | [INFO] [stdout] 274 | fn logs(&self, RPCLogFilter) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: RPCLogFilter` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:281:30 [INFO] [stdout] | [INFO] [stdout] 281 | fn new_filter(&self, RPCLogFilter) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: RPCLogFilter` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:287:36 [INFO] [stdout] | [INFO] [stdout] 287 | fn uninstall_filter(&self, String) -> Result; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:290:34 [INFO] [stdout] | [INFO] [stdout] 290 | fn filter_changes(&self, String) -> Result, Vec>, Error>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:292:31 [INFO] [stdout] | [INFO] [stdout] 292 | fn filter_logs(&self, String) -> Result, Error>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:299:29 [INFO] [stdout] | [INFO] [stdout] 299 | fn block_rlp(&self, usize) -> Result; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:301:37 [INFO] [stdout] | [INFO] [stdout] 301 | fn trace_transaction(&self, Hex, Trailing) [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:301:48 [INFO] [stdout] | [INFO] [stdout] 301 | fn trace_transaction(&self, Hex, Trailing) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:304:31 [INFO] [stdout] | [INFO] [stdout] 304 | fn trace_block(&self, Bytes, Trailing) [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Bytes` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:304:38 [INFO] [stdout] | [INFO] [stdout] 304 | fn trace_block(&self, Bytes, Trailing) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:307:41 [INFO] [stdout] | [INFO] [stdout] 307 | fn trace_block_by_number(&self, usize, Trailing) [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:307:48 [INFO] [stdout] | [INFO] [stdout] 307 | fn trace_block_by_number(&self, usize, Trailing) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:310:39 [INFO] [stdout] | [INFO] [stdout] 310 | fn trace_block_by_hash(&self, Hex, Trailing) [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Hex` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:310:50 [INFO] [stdout] | [INFO] [stdout] 310 | fn trace_block_by_hash(&self, Hex, Trailing) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:313:41 [INFO] [stdout] | [INFO] [stdout] 313 | fn trace_block_from_file(&self, String, Trailing) [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:313:49 [INFO] [stdout] | [INFO] [stdout] 313 | fn trace_block_from_file(&self, String, Trailing) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Trailing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/rpc/mod.rs:316:30 [INFO] [stdout] | [INFO] [stdout] 316 | fn dump_block(&self, usize) -> Result; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `miner::MinerState` [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use miner::MinerState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PublicKey` [INFO] [stdout] --> src/main.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | use secp256k1::key::{PublicKey, SecretKey}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver`, `Sender` [INFO] [stdout] --> src/main.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | use std::sync::mpsc::{channel, Sender, Receiver}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/miner/mod.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / lazy_static! { [INFO] [stdout] 78 | | static ref DATABASE: MemoryDatabase = MemoryDatabase::default(); [INFO] [stdout] 79 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/miner/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | use sha3::{Digest, Keccak256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EthereumRPC` [INFO] [stdout] --> src/rpc/util.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{EthereumRPC, Either, RPCStep, RPCTransaction, RPCBlock, RPCLog, RPCReceipt, RPCTopicFilter, RPCLogFilter, RPCTraceConfig, RPC... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/error.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | fn from(val: PreExecutionError) -> Error { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/error.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | fn from(val: DecoderError) -> Error { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/error.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | fn from(val: ParseHexError) -> Error { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/error.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | fn from(val: ParseIntError) -> Error { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/error.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | fn from(val: secp256k1::Error) -> Error { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vm` [INFO] [stdout] --> src/miner/mod.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let vm: SeqTransactionVM

= { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance` [INFO] [stdout] --> src/miner/mod.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | for (secret_key, balance) in genesis_accounts { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/miner/state.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let value = rlp::encode(&genesis).to_vec(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/miner/state.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let value = rlp::encode(&block).to_vec(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `valid` [INFO] [stdout] --> src/rpc/serves.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 306 | let (valid, transaction) = { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_valid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/miner/state.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut transaction_block_hashes = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/miner/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | use sha3::{Digest, Keccak256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EthereumRPC` [INFO] [stdout] --> src/rpc/util.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{EthereumRPC, Either, RPCStep, RPCTransaction, RPCBlock, RPCLog, RPCReceipt, RPCTopicFilter, RPCLogFilter, RPCTraceConfig, RPC... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/error.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | fn from(val: PreExecutionError) -> Error { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/error.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | fn from(val: DecoderError) -> Error { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/error.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | fn from(val: ParseHexError) -> Error { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/error.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | fn from(val: ParseIntError) -> Error { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/error.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | fn from(val: secp256k1::Error) -> Error { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vm` [INFO] [stdout] --> src/miner/mod.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let vm: SeqTransactionVM

= { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance` [INFO] [stdout] --> src/miner/mod.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | for (secret_key, balance) in genesis_accounts { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/miner/state.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let value = rlp::encode(&genesis).to_vec(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/miner/state.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let value = rlp::encode(&block).to_vec(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `valid` [INFO] [stdout] --> src/rpc/serves.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 306 | let (valid, transaction) = { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_valid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/miner/state.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut transaction_block_hashes = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnsupportedTrieQuery` [INFO] [stdout] --> src/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | UnsupportedTrieQuery, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_block` [INFO] [stdout] --> src/miner/state.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | current_block: H256, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_total_header_by_number` [INFO] [stdout] --> src/miner/state.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn get_total_header_by_number(&self, index: usize) -> TotalHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/miner/mod.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | channel.recv_timeout(Duration::new(10, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rpc/serves.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | self.channel.send(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rpc/serves.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | self.channel.send(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 124 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnsupportedTrieQuery` [INFO] [stdout] --> src/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | UnsupportedTrieQuery, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_block` [INFO] [stdout] --> src/miner/state.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | current_block: H256, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_total_header_by_number` [INFO] [stdout] --> src/miner/state.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn get_total_header_by_number(&self, index: usize) -> TotalHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/miner/mod.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | channel.recv_timeout(Duration::new(10, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rpc/serves.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | self.channel.send(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/rpc/serves.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | self.channel.send(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 124 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.07s [INFO] running `Command { std: "docker" "inspect" "deffa1073016e1f8d1df517e75fc4132886e16fe5323ad3060721dafeef7c1fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deffa1073016e1f8d1df517e75fc4132886e16fe5323ad3060721dafeef7c1fa", kill_on_drop: false }` [INFO] [stdout] deffa1073016e1f8d1df517e75fc4132886e16fe5323ad3060721dafeef7c1fa