[INFO] cloning repository https://github.com/fstnetwork/relayer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fstnetwork/relayer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffstnetwork%2Frelayer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffstnetwork%2Frelayer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c843c995c39eb42c24c4bbe03e077f44f885f8b8 [INFO] testing fstnetwork/relayer against beta-2021-11-30 for beta-1.58-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffstnetwork%2Frelayer" "/workspace/builds/worker-85/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-85/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fstnetwork/relayer on toolchain beta-2021-11-30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-11-30" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-85/source/.cargo/config [INFO] removed /workspace/builds/worker-85/source/rust-toolchain [INFO] started tweaking git repo https://github.com/fstnetwork/relayer [INFO] finished tweaking git repo https://github.com/fstnetwork/relayer [INFO] tweaked toml for git repo https://github.com/fstnetwork/relayer written to /workspace/builds/worker-85/source/Cargo.toml [INFO] crate git repo https://github.com/fstnetwork/relayer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-11-30" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/paritytech/parity-ethereum` [INFO] [stderr] Updating git submodule `https://github.com/ethereum/tests.git` [INFO] [stderr] Updating git submodule `https://github.com/paritytech/wasm-tests` [INFO] [stderr] Updating git repository `https://github.com/AtkinsChang/ethabi` [INFO] [stderr] Updating git repository `https://github.com/paritytech/rust-secp256k1` [INFO] [stderr] Updating git repository `https://github.com/paritytech/app-dirs-rs` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded string v0.1.1 [INFO] [stderr] Downloaded crossbeam-utils v0.6.1 [INFO] [stderr] Downloaded shell32-sys v0.1.2 [INFO] [stderr] Downloaded hex-slice v0.1.4 [INFO] [stderr] Downloaded syn v0.15.22 [INFO] [stderr] Downloaded bit-set v0.4.0 [INFO] [stderr] Downloaded smallvec v0.6.7 [INFO] [stderr] Downloaded tokio-reactor v0.1.6 [INFO] [stderr] Downloaded backtrace v0.3.9 [INFO] [stderr] Downloaded bit-vec v0.4.4 [INFO] [stderr] Downloaded redox_users v0.2.0 [INFO] [stderr] Downloaded tokio-io v0.1.10 [INFO] [stderr] Downloaded tokio-uds v0.2.3 [INFO] [stderr] Downloaded arc-swap v0.3.4 [INFO] [stderr] Downloaded tokio-threadpool v0.1.8 [INFO] [stderr] Downloaded tiny-keccak v1.4.2 [INFO] [stderr] Downloaded failure v0.1.3 [INFO] [stderr] Downloaded tokio-current-thread v0.1.3 [INFO] [stderr] Downloaded slab v0.4.1 [INFO] [stderr] Downloaded rand_chacha v0.1.0 [INFO] [stderr] Downloaded socket2 v0.3.8 [INFO] [stderr] Downloaded tokio-named-pipes v0.1.0 [INFO] [stderr] Downloaded aho-corasick v0.6.9 [INFO] [stderr] Downloaded tokio-udp v0.1.2 [INFO] [stderr] Downloaded ole32-sys v0.2.0 [INFO] [stderr] Downloaded dirs v1.0.4 [INFO] [stderr] Downloaded env_logger v0.6.0 [INFO] [stderr] Downloaded regex v1.0.5 [INFO] [stderr] Downloaded h2 v0.1.13 [INFO] [stderr] Downloaded globset v0.4.2 [INFO] [stderr] Downloaded http v0.1.14 [INFO] [stderr] Downloaded termcolor v1.0.4 [INFO] [stderr] Downloaded ucd-util v0.1.2 [INFO] [stderr] Downloaded uint v0.4.1 [INFO] [stderr] Downloaded byteorder v1.2.7 [INFO] [stderr] Downloaded failure_derive v0.1.3 [INFO] [stderr] Downloaded keccak-hash v0.1.2 [INFO] [stderr] Downloaded regex-syntax v0.6.2 [INFO] [stderr] Downloaded lazycell v1.2.0 [INFO] [stderr] Downloaded tokio-executor v0.1.5 [INFO] [stderr] Downloaded rand v0.4.3 [INFO] [stderr] Downloaded rustc-hex v2.0.1 [INFO] [stderr] Downloaded rlp v0.3.0 [INFO] [stderr] Downloaded rustc-hex v1.0.0 [INFO] [stderr] Downloaded heapsize v0.4.2 [INFO] [stderr] Downloaded rand_xorshift v0.1.0 [INFO] [stderr] Downloaded tokio-fs v0.1.4 [INFO] [stderr] Downloaded mio-named-pipes v0.1.6 [INFO] [stderr] Downloaded crossbeam-utils v0.5.0 [INFO] [stderr] Downloaded backtrace-sys v0.1.24 [INFO] [stderr] Downloaded ring v0.13.2 [INFO] [stderr] Downloaded jsonrpc-macros v9.0.0 [INFO] [stderr] Downloaded plain_hasher v0.2.0 [INFO] [stderr] Downloaded home v0.3.3 [INFO] [stderr] Downloaded patricia-trie v0.3.0 [INFO] [stderr] Downloaded ethbloom v0.5.0 [INFO] [stderr] Downloaded parity-tokio-ipc v0.1.0 [INFO] [stderr] Downloaded jsonrpc-pubsub v9.0.0 [INFO] [stderr] Downloaded jsonrpc-core v9.0.0 [INFO] [stderr] Downloaded elastic-array v0.10.0 [INFO] [stderr] Downloaded fixed-hash v0.2.2 [INFO] [stderr] Downloaded parity-bytes v0.1.0 [INFO] [stderr] Downloaded edit-distance v2.0.1 [INFO] [stderr] Downloaded hashdb v0.3.0 [INFO] [stderr] Downloaded crunchy v0.1.6 [INFO] [stderr] Downloaded rand v0.6.1 [INFO] [stderr] Downloaded jsonrpc-ipc-server v9.0.0 [INFO] [stderr] Downloaded hyper v0.12.18 [INFO] [stderr] Downloaded memorydb v0.3.0 [INFO] [stderr] Downloaded jsonrpc-server-utils v9.0.0 [INFO] [stderr] Downloaded parity-crypto v0.2.0 [INFO] [stderr] Downloaded parity-wordlist v1.2.1 [INFO] [stderr] Downloaded parking_lot v0.7.0 [INFO] [stderr] Downloaded ethereum-types v0.4.0 [INFO] [stderr] Downloaded tokio-tcp v0.1.2 [INFO] [stderr] Downloaded winapi-util v0.1.1 [INFO] [stderr] Downloaded crossbeam-deque v0.6.1 [INFO] [stderr] Downloaded memchr v2.1.1 [INFO] [stderr] Downloaded signal-hook v0.1.5 [INFO] [stderr] Downloaded error-chain v0.12.0 [INFO] [stderr] Downloaded lock_api v0.1.4 [INFO] [stderr] Downloaded cc v1.0.25 [INFO] [stderr] Downloaded ethereum-types-serialize v0.2.1 [INFO] [stderr] Downloaded serde v1.0.82 [INFO] [stderr] Downloaded crossbeam-epoch v0.5.2 [INFO] [stderr] Downloaded tokio v0.1.13 [INFO] [stderr] Downloaded serde_derive v1.0.82 [INFO] [stderr] Downloaded ryu v0.2.6 [INFO] [stderr] Downloaded serde_json v1.0.33 [INFO] [stderr] Downloaded rustc-demangle v0.1.9 [INFO] [stderr] Downloaded miow v0.3.3 [INFO] [stderr] Downloaded jsonrpc-http-server v9.0.0 [INFO] [stderr] Downloaded kvdb v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-11-30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c16c165a16006d257d2795b6a323abd325e345861390e1193e23c9dbce440480 [INFO] running `Command { std: "docker" "start" "-a" "c16c165a16006d257d2795b6a323abd325e345861390e1193e23c9dbce440480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c16c165a16006d257d2795b6a323abd325e345861390e1193e23c9dbce440480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c16c165a16006d257d2795b6a323abd325e345861390e1193e23c9dbce440480", kill_on_drop: false }` [INFO] [stdout] c16c165a16006d257d2795b6a323abd325e345861390e1193e23c9dbce440480 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-11-30" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d668a94c1172819e65e9f72f69886cde6bd253a2b36a054215103edb815bda7 [INFO] running `Command { std: "docker" "start" "-a" "6d668a94c1172819e65e9f72f69886cde6bd253a2b36a054215103edb815bda7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling rustc-hex v1.0.0 [INFO] [stderr] Compiling rustc-hex v2.0.1 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling parity-bytes v0.1.0 [INFO] [stderr] Compiling hashdb v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling linked-hash-map v0.4.2 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling mem v0.1.0 (https://github.com/paritytech/parity-ethereum#81b76984) [INFO] [stderr] Compiling edit-distance v2.0.1 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling unexpected v0.1.0 (https://github.com/paritytech/parity-ethereum#81b76984) [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling hex-slice v0.1.4 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling ucd-util v0.1.2 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling string v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling winapi v0.3.6 [INFO] [stderr] Compiling arc-swap v0.3.4 [INFO] [stderr] Compiling mio-named-pipes v0.1.6 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling home v0.3.3 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Compiling app_dirs v1.2.1 (https://github.com/paritytech/app-dirs-rs#0b37f948) [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling smallvec v0.6.7 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.1 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling rand_xorshift v0.1.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling lru-cache v0.1.1 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling socket2 v0.3.8 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling dirs v1.0.4 [INFO] [stderr] Compiling signal-hook v0.1.5 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling tiny-keccak v1.4.2 [INFO] [stderr] Compiling plain_hasher v0.2.0 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling uint v0.4.1 [INFO] [stderr] Compiling elastic-array v0.10.0 [INFO] [stderr] Compiling ring v0.13.2 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling eth-secp256k1 v0.5.7 (https://github.com/paritytech/rust-secp256k1#ccc06e74) [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling memory-cache v0.1.0 (https://github.com/paritytech/parity-ethereum#81b76984) [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling miow v0.3.3 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling tokio-timer v0.2.8 [INFO] [stderr] Compiling tokio-current-thread v0.1.3 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling crossbeam-deque v0.6.1 [INFO] [stderr] Compiling kvdb v0.1.0 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling fixed-hash v0.2.2 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling patricia-trie v0.3.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling http v0.1.14 [INFO] [stderr] Compiling parity-wordlist v1.2.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.8 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-fs v0.1.4 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling parking_lot v0.7.0 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling tokio-udp v0.1.2 [INFO] [stderr] Compiling tokio-uds v0.2.3 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling tokio v0.1.13 [INFO] [stderr] Compiling globset v0.4.2 [INFO] [stderr] Compiling env_logger v0.6.0 [INFO] [stderr] Compiling ethereum-types-serialize v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling tokio-named-pipes v0.1.0 [INFO] [stderr] Compiling parity-tokio-ipc v0.1.0 [INFO] [stderr] Compiling ethbloom v0.5.0 [INFO] [stderr] Compiling h2 v0.1.13 [INFO] [stderr] Compiling ethereum-types v0.4.0 [INFO] [stderr] Compiling parity-crypto v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.82 [INFO] [stderr] Compiling rlp_derive v0.1.0 (https://github.com/paritytech/parity-ethereum#81b76984) [INFO] [stderr] Compiling rlp v0.3.0 [INFO] [stderr] Compiling keccak-hasher v0.1.1 (https://github.com/paritytech/parity-ethereum#81b76984) [INFO] [stderr] Compiling keccak-hash v0.1.2 [INFO] [stderr] Compiling fastmap v0.1.0 (https://github.com/paritytech/parity-ethereum#81b76984) [INFO] [stderr] Compiling patricia-trie-ethereum v0.1.0 (https://github.com/paritytech/parity-ethereum#81b76984) [INFO] [stderr] Compiling memorydb v0.3.0 [INFO] [stderr] Compiling hyper v0.12.18 [INFO] [stderr] Compiling journaldb v0.2.0 (https://github.com/paritytech/parity-ethereum#81b76984) [INFO] [stderr] Compiling dir v0.1.2 (https://github.com/paritytech/parity-ethereum#81b76984) [INFO] [stderr] Compiling ethjson v0.1.0 (https://github.com/paritytech/parity-ethereum#81b76984) [INFO] [stderr] Compiling ethkey v0.3.0 (https://github.com/paritytech/parity-ethereum#81b76984) [INFO] [stderr] Compiling jsonrpc-core v9.0.0 [INFO] [stderr] Compiling ethabi v6.1.0 (https://github.com/AtkinsChang/ethabi?branch=fix_dynamic_type#bbaa93e6) [INFO] [stderr] Compiling ethstore v0.2.0 (https://github.com/paritytech/parity-ethereum#81b76984) [INFO] [stderr] Compiling jsonrpc-server-utils v9.0.0 [INFO] [stderr] Compiling jsonrpc-pubsub v9.0.0 [INFO] [stderr] Compiling jsonrpc-macros v9.0.0 [INFO] [stderr] Compiling jsonrpc-http-server v9.0.0 [INFO] [stderr] Compiling jsonrpc-ipc-server v9.0.0 [INFO] [stderr] Compiling common-types v0.1.0 (https://github.com/paritytech/parity-ethereum#81b76984) [INFO] [stderr] Compiling vm v0.1.0 (https://github.com/paritytech/parity-ethereum#81b76984) [INFO] [stderr] Compiling evm v0.1.0 (https://github.com/paritytech/parity-ethereum#81b76984) [INFO] [stderr] Compiling ethcore-transaction v0.1.0 (https://github.com/paritytech/parity-ethereum#81b76984) [INFO] [stderr] Compiling types v0.1.0 (/opt/rustwide/workdir/core/types) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> core/types/src/relayer_rpc/error.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / error_chain! { [INFO] [stdout] 19 | | foreign_links { [INFO] [stdout] 20 | | EthkeyError(ethkey::Error); [INFO] [stdout] 21 | | RequestError(super::RequestError); [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> core/types/src/relayer_rpc/error.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / error_chain! { [INFO] [stdout] 19 | | foreign_links { [INFO] [stdout] 20 | | EthkeyError(ethkey::Error); [INFO] [stdout] 21 | | RequestError(super::RequestError); [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling traits v0.1.0 (/opt/rustwide/workdir/core/traits) [INFO] [stderr] Compiling contract-abi v0.1.0 (/opt/rustwide/workdir/core/contract_abi) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/ethereum.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | pub type AccountStateFuture<Error> = Box<Future<Item = AccountState, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = AccountState, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/ethereum.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | pub type BytesFuture<Error> = Box<Future<Item = Vec<u8>, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Vec<u8>, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/ethereum.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | pub type BoolFuture<Error> = Box<Future<Item = bool, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = bool, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/ethereum.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | pub type U256Future<Error> = Box<Future<Item = U256, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = U256, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/ethereum.rs:30:34 [INFO] [stdout] | [INFO] [stdout] 30 | pub type H256Future<Error> = Box<Future<Item = H256, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = H256, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/ethereum.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | Box<Future<Item = Option<EthRpcTransaction>, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Option<EthRpcTransaction>, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/ethereum.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Box<Future<Item = Option<EthRpcTransactionReceipt>, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Option<EthRpcTransactionReceipt>, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/ethereum.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | Box<Future<Item = EthTransactionConfirmation, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = EthTransactionConfirmation, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/machine.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | ) -> Box<Future<Item = Arc<Self::SignedRequest>, Error = Self::Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Arc<Self::SignedRequest>, Error = Self::Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/pool.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | pub filter: Option<Box<Fn(&Address) -> bool>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Address) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/pool.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | ) -> Box<Future<Item = Arc<Self::SignedRequest>, Error = Self::PoolError> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Arc<Self::SignedRequest>, Error = Self::PoolError> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/pricer.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | fn gas_price(&self) -> Box<Future<Item = U256, Error = Self::PricerError> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = U256, Error = Self::PricerError> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/pricer.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> Box<Future<Item = U256, Error = Self::PricerError> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = U256, Error = Self::PricerError> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> core/contract_abi/src/error.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / error_chain!{ [INFO] [stdout] 17 | | foreign_links { [INFO] [stdout] 18 | | EthAbi(ethabi::Error); [INFO] [stdout] 19 | | } [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> core/contract_abi/src/error.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / error_chain!{ [INFO] [stdout] 17 | | foreign_links { [INFO] [stdout] 18 | | EthAbi(ethabi::Error); [INFO] [stdout] 19 | | } [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pool v0.1.0 (/opt/rustwide/workdir/core/pool) [INFO] [stderr] Compiling pricer v0.1.0 (/opt/rustwide/workdir/core/pricer) [INFO] [stderr] Compiling network v0.1.0 (/opt/rustwide/workdir/core/network) [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling collation v0.1.0 (/opt/rustwide/workdir/core/collation) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> core/network/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/pricer/src/lib.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | fn gas_price(&self) -> Box<Future<Item = U256, Error = Self::PricerError> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = U256, Error = Self::PricerError> + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/pricer/src/lib.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | ) -> Box<Future<Item = U256, Error = Self::PricerError> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = U256, Error = Self::PricerError> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/pool/src/service.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | ) -> Box<Future<Item = Arc<Self::SignedRequest>, Error = Self::PoolError> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Arc<Self::SignedRequest>, Error = Self::PoolError> + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/pool/src/verifier.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | ) -> Box<Future<Item = Arc<SignedRequest>, Error = Self::Error> + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Arc<SignedRequest>, Error = Self::Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/pool/src/verifier.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | ) -> Box<Future<Item = Arc<SignedRequest>, Error = Self::Error> + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Arc<SignedRequest>, Error = Self::Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> core/pool/src/error.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / error_chain! { [INFO] [stdout] 17 | | foreign_links { [INFO] [stdout] 18 | | Timer(tokio_timer::Error); [INFO] [stdout] 19 | | } [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mode` [INFO] [stdout] --> core/pricer/src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | mode: PriceServiceMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> core/collation/src/error.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / error_chain! { [INFO] [stdout] 46 | | types { [INFO] [stdout] 47 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] 48 | | } [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> core/collation/src/error.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / error_chain! { [INFO] [stdout] 46 | | types { [INFO] [stdout] 47 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] 48 | | } [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> core/pool/src/error.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / error_chain! { [INFO] [stdout] 17 | | foreign_links { [INFO] [stdout] 18 | | Timer(tokio_timer::Error); [INFO] [stdout] 19 | | } [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> core/pool/src/filter.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn new() -> DummyAddressFilter { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> core/pool/src/queue.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new() -> RequestQueue<R, S> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ethereum` [INFO] [stdout] --> core/pool/src/service.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | ethereum: Arc<Mutex<E>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `network` [INFO] [stdout] --> core/pool/src/service.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | network: Arc<Mutex<N>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ethereum v0.1.0 (/opt/rustwide/workdir/core/ethereum) [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/ethereum/src/client/client.rs:472:25 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn to_0xhex(value: &fmt::LowerHex) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::LowerHex` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/ethereum/src/monitor/poller.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | future: Box<Future<Item = Option<EthereumMonitorResponse>, Error = ()> + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Option<EthereumMonitorResponse>, Error = ()> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/ethereum/src/monitor/poller.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | ) -> Box<Future<Item = Option<EthereumMonitorResponse>, Error = ()> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Option<EthereumMonitorResponse>, Error = ()> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> core/ethereum/src/client/error.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / error_chain!{ [INFO] [stdout] 22 | | foreign_links { [INFO] [stdout] 23 | | ContractAbi(contract_abi::Error); [INFO] [stdout] 24 | | FromHex(rustc_hex::FromHexError); [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> core/ethereum/src/monitor/error.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / error_chain!{ [INFO] [stdout] 19 | | foreign_links { [INFO] [stdout] 20 | | EthereumService(EthereumServiceError); [INFO] [stdout] 21 | | } [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> core/ethereum/src/service/error.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / error_chain! { [INFO] [stdout] 22 | | foreign_links { [INFO] [stdout] 23 | | Io(IoError) #[doc = "IO error."]; [INFO] [stdout] 24 | | Json(serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> core/ethereum/src/client/error.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / error_chain!{ [INFO] [stdout] 22 | | foreign_links { [INFO] [stdout] 23 | | ContractAbi(contract_abi::Error); [INFO] [stdout] 24 | | FromHex(rustc_hex::FromHexError); [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> core/ethereum/src/monitor/error.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / error_chain!{ [INFO] [stdout] 19 | | foreign_links { [INFO] [stdout] 20 | | EthereumService(EthereumServiceError); [INFO] [stdout] 21 | | } [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> core/ethereum/src/service/error.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / error_chain! { [INFO] [stdout] 22 | | foreign_links { [INFO] [stdout] 23 | | Io(IoError) #[doc = "IO error."]; [INFO] [stdout] 24 | | Json(serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `task` [INFO] [stdout] --> core/ethereum/src/monitor/poller.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn task(&self) -> &EthereumMonitorTask { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> core/ethereum/src/monitor/service.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | None => panic!(format!("watcher {:?} does not exist", watcher_id)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 117 - None => panic!(format!("watcher {:?} does not exist", watcher_id)), [INFO] [stdout] 117 + None => panic!("watcher {:?} does not exist", watcher_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling machine v0.1.0 (/opt/rustwide/workdir/core/machine) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/machine/src/machine.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | type InfoFetcher = Box<Future<Item = Preparation, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Preparation, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/machine/src/machine.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | type TxBroadcaster = Box<Future<Item = H256, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = H256, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/machine/src/machine.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | type GasEstimator = Box<Future<Item = ClosedCollation, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = ClosedCollation, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/machine/src/machine.rs:274:31 [INFO] [stdout] | [INFO] [stdout] 274 | type InfoFuture = Box<Future<Item = Info, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Info, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/machine/src/service.rs:279:14 [INFO] [stdout] | [INFO] [stdout] 279 | ) -> Box<Future<Item = Arc<Self::SignedRequest>, Error = Self::MachineError> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Arc<Self::SignedRequest>, Error = Self::MachineError> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> core/machine/src/error.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / error_chain! { [INFO] [stdout] 23 | | foreign_links { [INFO] [stdout] 24 | | TimerError(tokio_timer::Error); [INFO] [stdout] 25 | | Collation(CollationError); [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> core/machine/src/error.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / error_chain! { [INFO] [stdout] 23 | | foreign_links { [INFO] [stdout] 24 | | TimerError(tokio_timer::Error); [INFO] [stdout] 25 | | Collation(CollationError); [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `event_sender` [INFO] [stdout] --> core/machine/src/machine.rs:394:12 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn event_sender(&self) -> mpsc::UnboundedSender<RelayerEvent> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `change_keypair` [INFO] [stdout] --> core/machine/src/machine.rs:399:12 [INFO] [stdout] | [INFO] [stdout] 399 | pub fn change_keypair(&mut self, keypair: KeyPair) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `change_dispatcher` [INFO] [stdout] --> core/machine/src/machine.rs:404:12 [INFO] [stdout] | [INFO] [stdout] 404 | pub fn change_dispatcher(&mut self, dispatcher: RequestDispatcher<C>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TransactionQueue` [INFO] [stdout] --> core/machine/src/transaction_queue.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct TransactionQueue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TransactionQueueInner` [INFO] [stdout] --> core/machine/src/transaction_queue.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct TransactionQueueInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> core/machine/src/transaction_queue.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new() -> TransactionQueue { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> core/machine/src/transaction_queue.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new() -> TransactionQueueInner { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_nonce` [INFO] [stdout] --> core/machine/src/transaction_queue.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn current_nonce(&self) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> core/machine/src/transaction_queue.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn push(&mut self, tx: SignedTransaction) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_by_nonce` [INFO] [stdout] --> core/machine/src/transaction_queue.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn remove_by_nonce(&mut self, nonce: &U256) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_by_hash` [INFO] [stdout] --> core/machine/src/transaction_queue.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn remove_by_hash(&mut self, hash: &H256) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fst-relayer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/admin.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | fn add_ethereum_endpoint(&self, String) -> Result<bool>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/admin.rs:28:44 [INFO] [stdout] | [INFO] [stdout] 28 | fn remove_ethereum_endpoint(&self, String) -> Result<bool>; [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/relayer.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | fn add_relayer(&self, String) -> Result<bool>; [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/relayer.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | fn remove_relayer(&self, String) -> Result<bool>; [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/relayer.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn set_interval(&self, u64) -> Result<u64>; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u64` [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/token.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | fn is_delegate_enable(&self, Address) -> BoxFuture<bool>; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Address` [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/token.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | fn balance_of(&self, Address, Address) -> BoxFuture<U256>; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Address` [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/token.rs:25:39 [INFO] [stdout] | [INFO] [stdout] 25 | fn balance_of(&self, Address, Address) -> BoxFuture<U256>; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Address` [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/token.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | fn nonce_of(&self, Address, Address) -> BoxFuture<U256>; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Address` [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/token.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | fn nonce_of(&self, Address, Address) -> BoxFuture<U256>; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Address` [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/token.rs:31:47 [INFO] [stdout] | [INFO] [stdout] 31 | fn send_token_transfer_request(&self, types::RelayerRpcRequest) -> BoxFuture<H256>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::RelayerRpcRequest` [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/token.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | fn send_token_transfer_requests(&self, Vec<types::RelayerRpcRequest>) -> BoxFuture<Vec<H256>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec<types::RelayerRpcRequest>` [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as PriceServiceError` [INFO] [stdout] --> relayer/src/service/mod.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | use pricer::{Error as PriceServiceError, PriceService, PriceServiceMode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> relayer/src/service/config/mod.rs:417:32 [INFO] [stdout] | [INFO] [stdout] 21 | use std::path::PathBuf; [INFO] [stdout] | ------------------ the item `PathBuf` is already imported here [INFO] [stdout] ... [INFO] [stdout] 417 | use std::path::{Component, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> relayer/src/service/mod.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | exit_handler: Box<Future<Item = ExitReason, Error = ()> + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = ExitReason, Error = ()> + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> relayer/src/service/mod.rs:118:39 [INFO] [stdout] | [INFO] [stdout] 118 | let exit_signals: Vec<Box<Future<Item = ExitReason, Error = ()> + Send>> = vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = ExitReason, Error = ()> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> relayer/src/service/error.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / error_chain! { [INFO] [stdout] 19 | | foreign_links { [INFO] [stdout] 20 | | Io(std::io::Error); [INFO] [stdout] 21 | | Config(config::Error); [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> relayer/src/service/config/error.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / error_chain! { [INFO] [stdout] 19 | | foreign_links { [INFO] [stdout] 20 | | Io(std::io::Error); [INFO] [stdout] 21 | | Json(serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> relayer/src/service/config/error.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / error_chain! { [INFO] [stdout] 19 | | foreign_links { [INFO] [stdout] 20 | | Io(std::io::Error); [INFO] [stdout] 21 | | Json(serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> relayer/src/service/error.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / error_chain! { [INFO] [stdout] 19 | | foreign_links { [INFO] [stdout] 20 | | Io(std::io::Error); [INFO] [stdout] 21 | | Config(config::Error); [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `websocket_config` [INFO] [stdout] --> relayer/src/jsonrpc/service.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | websocket_config, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `websocket_config: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> relayer/src/service/config/mod.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | let mut key_file_content = read_file(keyfile_path)?; [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: variable does not need to be mutable [INFO] [stdout] --> relayer/src/service/mod.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | let (sender, mut receiver) = mpsc::unbounded::<()>(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> relayer/src/service/mod.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | let mut token_filter = params.allow_tokens.into_iter().fold( [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_all` [INFO] [stdout] --> relayer/src/rpc_apis.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new_all() -> ApiSet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_apis` [INFO] [stdout] --> relayer/src/rpc_apis.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn with_apis(apis: HashSet<Api>) -> ApiSet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ethereum_service` [INFO] [stdout] --> relayer/src/service/mod.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | ethereum_service: Arc<Mutex<EthereumService>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "6d668a94c1172819e65e9f72f69886cde6bd253a2b36a054215103edb815bda7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d668a94c1172819e65e9f72f69886cde6bd253a2b36a054215103edb815bda7", kill_on_drop: false }` [INFO] [stdout] 6d668a94c1172819e65e9f72f69886cde6bd253a2b36a054215103edb815bda7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-11-30" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcf43288b526f03125754dd1614e33aa70cebd9cc90381150d576721ab90fa11 [INFO] running `Command { std: "docker" "start" "-a" "fcf43288b526f03125754dd1614e33aa70cebd9cc90381150d576721ab90fa11", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> core/types/src/relayer_rpc/error.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / error_chain! { [INFO] [stdout] 19 | | foreign_links { [INFO] [stdout] 20 | | EthkeyError(ethkey::Error); [INFO] [stdout] 21 | | RequestError(super::RequestError); [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> core/types/src/relayer_rpc/error.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / error_chain! { [INFO] [stdout] 19 | | foreign_links { [INFO] [stdout] 20 | | EthkeyError(ethkey::Error); [INFO] [stdout] 21 | | RequestError(super::RequestError); [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/ethereum.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | pub type AccountStateFuture<Error> = Box<Future<Item = AccountState, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = AccountState, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/ethereum.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | pub type BytesFuture<Error> = Box<Future<Item = Vec<u8>, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Vec<u8>, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/ethereum.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | pub type BoolFuture<Error> = Box<Future<Item = bool, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = bool, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/ethereum.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | pub type U256Future<Error> = Box<Future<Item = U256, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = U256, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/ethereum.rs:30:34 [INFO] [stdout] | [INFO] [stdout] 30 | pub type H256Future<Error> = Box<Future<Item = H256, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = H256, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/ethereum.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | Box<Future<Item = Option<EthRpcTransaction>, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Option<EthRpcTransaction>, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/ethereum.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Box<Future<Item = Option<EthRpcTransactionReceipt>, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Option<EthRpcTransactionReceipt>, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/ethereum.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | Box<Future<Item = EthTransactionConfirmation, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = EthTransactionConfirmation, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/machine.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | ) -> Box<Future<Item = Arc<Self::SignedRequest>, Error = Self::Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Arc<Self::SignedRequest>, Error = Self::Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/pool.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | pub filter: Option<Box<Fn(&Address) -> bool>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Address) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/pool.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | ) -> Box<Future<Item = Arc<Self::SignedRequest>, Error = Self::PoolError> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Arc<Self::SignedRequest>, Error = Self::PoolError> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/pricer.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | fn gas_price(&self) -> Box<Future<Item = U256, Error = Self::PricerError> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = U256, Error = Self::PricerError> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/traits/src/pricer.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> Box<Future<Item = U256, Error = Self::PricerError> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = U256, Error = Self::PricerError> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> core/contract_abi/src/error.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / error_chain!{ [INFO] [stdout] 17 | | foreign_links { [INFO] [stdout] 18 | | EthAbi(ethabi::Error); [INFO] [stdout] 19 | | } [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> core/contract_abi/src/error.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / error_chain!{ [INFO] [stdout] 17 | | foreign_links { [INFO] [stdout] 18 | | EthAbi(ethabi::Error); [INFO] [stdout] 19 | | } [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/pool/src/service.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | ) -> Box<Future<Item = Arc<Self::SignedRequest>, Error = Self::PoolError> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Arc<Self::SignedRequest>, Error = Self::PoolError> + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/pool/src/verifier.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | ) -> Box<Future<Item = Arc<SignedRequest>, Error = Self::Error> + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Arc<SignedRequest>, Error = Self::Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/pool/src/verifier.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | ) -> Box<Future<Item = Arc<SignedRequest>, Error = Self::Error> + Send> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Arc<SignedRequest>, Error = Self::Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> core/pool/src/error.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / error_chain! { [INFO] [stdout] 17 | | foreign_links { [INFO] [stdout] 18 | | Timer(tokio_timer::Error); [INFO] [stdout] 19 | | } [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> core/pool/src/error.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / error_chain! { [INFO] [stdout] 17 | | foreign_links { [INFO] [stdout] 18 | | Timer(tokio_timer::Error); [INFO] [stdout] 19 | | } [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> core/pool/src/filter.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn new() -> DummyAddressFilter { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> core/pool/src/queue.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new() -> RequestQueue<R, S> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ethereum` [INFO] [stdout] --> core/pool/src/service.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | ethereum: Arc<Mutex<E>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `network` [INFO] [stdout] --> core/pool/src/service.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | network: Arc<Mutex<N>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> core/collation/src/error.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / error_chain! { [INFO] [stdout] 46 | | types { [INFO] [stdout] 47 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] 48 | | } [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> core/collation/src/error.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / error_chain! { [INFO] [stdout] 46 | | types { [INFO] [stdout] 47 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] 48 | | } [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/pricer/src/lib.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | fn gas_price(&self) -> Box<Future<Item = U256, Error = Self::PricerError> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = U256, Error = Self::PricerError> + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/pricer/src/lib.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | ) -> Box<Future<Item = U256, Error = Self::PricerError> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = U256, Error = Self::PricerError> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mode` [INFO] [stdout] --> core/pricer/src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | mode: PriceServiceMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> core/network/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/ethereum/src/client/client.rs:472:25 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn to_0xhex(value: &fmt::LowerHex) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::LowerHex` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/ethereum/src/monitor/poller.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | future: Box<Future<Item = Option<EthereumMonitorResponse>, Error = ()> + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Option<EthereumMonitorResponse>, Error = ()> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/ethereum/src/monitor/poller.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | ) -> Box<Future<Item = Option<EthereumMonitorResponse>, Error = ()> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Option<EthereumMonitorResponse>, Error = ()> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> core/ethereum/src/client/error.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / error_chain!{ [INFO] [stdout] 22 | | foreign_links { [INFO] [stdout] 23 | | ContractAbi(contract_abi::Error); [INFO] [stdout] 24 | | FromHex(rustc_hex::FromHexError); [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> core/ethereum/src/monitor/error.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / error_chain!{ [INFO] [stdout] 19 | | foreign_links { [INFO] [stdout] 20 | | EthereumService(EthereumServiceError); [INFO] [stdout] 21 | | } [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> core/ethereum/src/service/error.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / error_chain! { [INFO] [stdout] 22 | | foreign_links { [INFO] [stdout] 23 | | Io(IoError) #[doc = "IO error."]; [INFO] [stdout] 24 | | Json(serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> core/ethereum/src/client/error.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / error_chain!{ [INFO] [stdout] 22 | | foreign_links { [INFO] [stdout] 23 | | ContractAbi(contract_abi::Error); [INFO] [stdout] 24 | | FromHex(rustc_hex::FromHexError); [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> core/ethereum/src/monitor/error.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / error_chain!{ [INFO] [stdout] 19 | | foreign_links { [INFO] [stdout] 20 | | EthereumService(EthereumServiceError); [INFO] [stdout] 21 | | } [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> core/ethereum/src/service/error.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / error_chain! { [INFO] [stdout] 22 | | foreign_links { [INFO] [stdout] 23 | | Io(IoError) #[doc = "IO error."]; [INFO] [stdout] 24 | | Json(serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `task` [INFO] [stdout] --> core/ethereum/src/monitor/poller.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn task(&self) -> &EthereumMonitorTask { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> core/ethereum/src/monitor/service.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | None => panic!(format!("watcher {:?} does not exist", watcher_id)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 117 - None => panic!(format!("watcher {:?} does not exist", watcher_id)), [INFO] [stdout] 117 + None => panic!("watcher {:?} does not exist", watcher_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/machine/src/machine.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | type InfoFetcher = Box<Future<Item = Preparation, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Preparation, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/machine/src/machine.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | type TxBroadcaster = Box<Future<Item = H256, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = H256, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/machine/src/machine.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | type GasEstimator = Box<Future<Item = ClosedCollation, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = ClosedCollation, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/machine/src/machine.rs:274:31 [INFO] [stdout] | [INFO] [stdout] 274 | type InfoFuture = Box<Future<Item = Info, Error = Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Info, Error = Error> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/machine/src/service.rs:279:14 [INFO] [stdout] | [INFO] [stdout] 279 | ) -> Box<Future<Item = Arc<Self::SignedRequest>, Error = Self::MachineError> + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Arc<Self::SignedRequest>, Error = Self::MachineError> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> core/machine/src/error.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / error_chain! { [INFO] [stdout] 23 | | foreign_links { [INFO] [stdout] 24 | | TimerError(tokio_timer::Error); [INFO] [stdout] 25 | | Collation(CollationError); [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> core/machine/src/error.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / error_chain! { [INFO] [stdout] 23 | | foreign_links { [INFO] [stdout] 24 | | TimerError(tokio_timer::Error); [INFO] [stdout] 25 | | Collation(CollationError); [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fst-relayer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `event_sender` [INFO] [stdout] --> core/machine/src/machine.rs:394:12 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn event_sender(&self) -> mpsc::UnboundedSender<RelayerEvent> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `change_keypair` [INFO] [stdout] --> core/machine/src/machine.rs:399:12 [INFO] [stdout] | [INFO] [stdout] 399 | pub fn change_keypair(&mut self, keypair: KeyPair) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `change_dispatcher` [INFO] [stdout] --> core/machine/src/machine.rs:404:12 [INFO] [stdout] | [INFO] [stdout] 404 | pub fn change_dispatcher(&mut self, dispatcher: RequestDispatcher<C>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TransactionQueue` [INFO] [stdout] --> core/machine/src/transaction_queue.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct TransactionQueue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TransactionQueueInner` [INFO] [stdout] --> core/machine/src/transaction_queue.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct TransactionQueueInner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> core/machine/src/transaction_queue.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new() -> TransactionQueue { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> core/machine/src/transaction_queue.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new() -> TransactionQueueInner { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_nonce` [INFO] [stdout] --> core/machine/src/transaction_queue.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn current_nonce(&self) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> core/machine/src/transaction_queue.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn push(&mut self, tx: SignedTransaction) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_by_nonce` [INFO] [stdout] --> core/machine/src/transaction_queue.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn remove_by_nonce(&mut self, nonce: &U256) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_by_hash` [INFO] [stdout] --> core/machine/src/transaction_queue.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn remove_by_hash(&mut self, hash: &H256) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/admin.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | fn add_ethereum_endpoint(&self, String) -> Result<bool>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/admin.rs:28:44 [INFO] [stdout] | [INFO] [stdout] 28 | fn remove_ethereum_endpoint(&self, String) -> Result<bool>; [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/relayer.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | fn add_relayer(&self, String) -> Result<bool>; [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/relayer.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | fn remove_relayer(&self, String) -> Result<bool>; [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/relayer.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn set_interval(&self, u64) -> Result<u64>; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u64` [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/token.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | fn is_delegate_enable(&self, Address) -> BoxFuture<bool>; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Address` [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/token.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | fn balance_of(&self, Address, Address) -> BoxFuture<U256>; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Address` [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/token.rs:25:39 [INFO] [stdout] | [INFO] [stdout] 25 | fn balance_of(&self, Address, Address) -> BoxFuture<U256>; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Address` [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/token.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | fn nonce_of(&self, Address, Address) -> BoxFuture<U256>; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Address` [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/token.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | fn nonce_of(&self, Address, Address) -> BoxFuture<U256>; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Address` [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/token.rs:31:47 [INFO] [stdout] | [INFO] [stdout] 31 | fn send_token_transfer_request(&self, types::RelayerRpcRequest) -> BoxFuture<H256>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::RelayerRpcRequest` [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> relayer/src/jsonrpc/v1/traits/token.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | fn send_token_transfer_requests(&self, Vec<types::RelayerRpcRequest>) -> BoxFuture<Vec<H256>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec<types::RelayerRpcRequest>` [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 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as PriceServiceError` [INFO] [stdout] --> relayer/src/service/mod.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | use pricer::{Error as PriceServiceError, PriceService, PriceServiceMode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> relayer/src/service/config/mod.rs:417:32 [INFO] [stdout] | [INFO] [stdout] 21 | use std::path::PathBuf; [INFO] [stdout] | ------------------ the item `PathBuf` is already imported here [INFO] [stdout] ... [INFO] [stdout] 417 | use std::path::{Component, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> relayer/src/service/mod.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | exit_handler: Box<Future<Item = ExitReason, Error = ()> + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = ExitReason, Error = ()> + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> relayer/src/service/mod.rs:118:39 [INFO] [stdout] | [INFO] [stdout] 118 | let exit_signals: Vec<Box<Future<Item = ExitReason, Error = ()> + Send>> = vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = ExitReason, Error = ()> + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> relayer/src/service/error.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / error_chain! { [INFO] [stdout] 19 | | foreign_links { [INFO] [stdout] 20 | | Io(std::io::Error); [INFO] [stdout] 21 | | Config(config::Error); [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> relayer/src/service/config/error.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / error_chain! { [INFO] [stdout] 19 | | foreign_links { [INFO] [stdout] 20 | | Io(std::io::Error); [INFO] [stdout] 21 | | Json(serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> relayer/src/service/config/error.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / error_chain! { [INFO] [stdout] 19 | | foreign_links { [INFO] [stdout] 20 | | Io(std::io::Error); [INFO] [stdout] 21 | | Json(serde_json::Error); [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> relayer/src/service/error.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / error_chain! { [INFO] [stdout] 19 | | foreign_links { [INFO] [stdout] 20 | | Io(std::io::Error); [INFO] [stdout] 21 | | Config(config::Error); [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `websocket_config` [INFO] [stdout] --> relayer/src/jsonrpc/service.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | websocket_config, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `websocket_config: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> relayer/src/service/config/mod.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | let mut key_file_content = read_file(keyfile_path)?; [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: variable does not need to be mutable [INFO] [stdout] --> relayer/src/service/mod.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | let (sender, mut receiver) = mpsc::unbounded::<()>(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> relayer/src/service/mod.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | let mut token_filter = params.allow_tokens.into_iter().fold( [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_all` [INFO] [stdout] --> relayer/src/rpc_apis.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new_all() -> ApiSet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_apis` [INFO] [stdout] --> relayer/src/rpc_apis.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn with_apis(apis: HashSet<Api>) -> ApiSet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ethereum_service` [INFO] [stdout] --> relayer/src/service/mod.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | ethereum_service: Arc<Mutex<EthereumService>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.26s [INFO] running `Command { std: "docker" "inspect" "fcf43288b526f03125754dd1614e33aa70cebd9cc90381150d576721ab90fa11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcf43288b526f03125754dd1614e33aa70cebd9cc90381150d576721ab90fa11", kill_on_drop: false }` [INFO] [stdout] fcf43288b526f03125754dd1614e33aa70cebd9cc90381150d576721ab90fa11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-11-30" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3f8cb53793a5073203ca974317b2312490e092188bc342c6fcf530dce9ab51e7 [INFO] running `Command { std: "docker" "start" "-a" "3f8cb53793a5073203ca974317b2312490e092188bc342c6fcf530dce9ab51e7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> core/types/src/relayer_rpc/error.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / error_chain! { [INFO] [stderr] 19 | | foreign_links { [INFO] [stderr] 20 | | EthkeyError(ethkey::Error); [INFO] [stderr] 21 | | RequestError(super::RequestError); [INFO] [stderr] ... | [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> core/types/src/relayer_rpc/error.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / error_chain! { [INFO] [stderr] 19 | | foreign_links { [INFO] [stderr] 20 | | EthkeyError(ethkey::Error); [INFO] [stderr] 21 | | RequestError(super::RequestError); [INFO] [stderr] ... | [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `types` (lib) generated 2 warnings [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/traits/src/ethereum.rs:26:42 [INFO] [stderr] | [INFO] [stderr] 26 | pub type AccountStateFuture<Error> = Box<Future<Item = AccountState, Error = Error> + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = AccountState, Error = Error> + Send` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/traits/src/ethereum.rs:27:35 [INFO] [stderr] | [INFO] [stderr] 27 | pub type BytesFuture<Error> = Box<Future<Item = Vec<u8>, Error = Error> + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Vec<u8>, Error = Error> + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/traits/src/ethereum.rs:28:34 [INFO] [stderr] | [INFO] [stderr] 28 | pub type BoolFuture<Error> = Box<Future<Item = bool, Error = Error> + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = bool, Error = Error> + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/traits/src/ethereum.rs:29:34 [INFO] [stderr] | [INFO] [stderr] 29 | pub type U256Future<Error> = Box<Future<Item = U256, Error = Error> + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = U256, Error = Error> + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/traits/src/ethereum.rs:30:34 [INFO] [stderr] | [INFO] [stderr] 30 | pub type H256Future<Error> = Box<Future<Item = H256, Error = Error> + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = H256, Error = Error> + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/traits/src/ethereum.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | Box<Future<Item = Option<EthRpcTransaction>, Error = Error> + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Option<EthRpcTransaction>, Error = Error> + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/traits/src/ethereum.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | Box<Future<Item = Option<EthRpcTransactionReceipt>, Error = Error> + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Option<EthRpcTransactionReceipt>, Error = Error> + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/traits/src/ethereum.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | Box<Future<Item = EthTransactionConfirmation, Error = Error> + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = EthTransactionConfirmation, Error = Error> + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/traits/src/machine.rs:48:14 [INFO] [stderr] | [INFO] [stderr] 48 | ) -> Box<Future<Item = Arc<Self::SignedRequest>, Error = Self::Error> + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Arc<Self::SignedRequest>, Error = Self::Error> + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/traits/src/pool.rs:30:28 [INFO] [stderr] | [INFO] [stderr] 30 | pub filter: Option<Box<Fn(&Address) -> bool>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Address) -> bool` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/traits/src/pool.rs:46:14 [INFO] [stderr] | [INFO] [stderr] 46 | ) -> Box<Future<Item = Arc<Self::SignedRequest>, Error = Self::PoolError> + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Arc<Self::SignedRequest>, Error = Self::PoolError> + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/traits/src/pricer.rs:22:32 [INFO] [stderr] | [INFO] [stderr] 22 | fn gas_price(&self) -> Box<Future<Item = U256, Error = Self::PricerError> + Send> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = U256, Error = Self::PricerError> + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/traits/src/pricer.rs:29:14 [INFO] [stderr] | [INFO] [stderr] 29 | ) -> Box<Future<Item = U256, Error = Self::PricerError> + Send> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = U256, Error = Self::PricerError> + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> core/contract_abi/src/error.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / error_chain!{ [INFO] [stderr] 17 | | foreign_links { [INFO] [stderr] 18 | | EthAbi(ethabi::Error); [INFO] [stderr] 19 | | } [INFO] [stderr] ... | [INFO] [stderr] 26 | | } [INFO] [stderr] 27 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> core/contract_abi/src/error.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / error_chain!{ [INFO] [stderr] 17 | | foreign_links { [INFO] [stderr] 18 | | EthAbi(ethabi::Error); [INFO] [stderr] 19 | | } [INFO] [stderr] ... | [INFO] [stderr] 26 | | } [INFO] [stderr] 27 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `traits` (lib) generated 13 warnings [INFO] [stderr] warning: `contract-abi` (lib) generated 2 warnings [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/pool/src/service.rs:137:14 [INFO] [stderr] | [INFO] [stderr] 137 | ) -> Box<Future<Item = Arc<Self::SignedRequest>, Error = Self::PoolError> + Send> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Arc<Self::SignedRequest>, Error = Self::PoolError> + Send` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/pool/src/verifier.rs:43:14 [INFO] [stderr] | [INFO] [stderr] 43 | ) -> Box<Future<Item = Arc<SignedRequest>, Error = Self::Error> + Send> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Arc<SignedRequest>, Error = Self::Error> + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/pool/src/verifier.rs:77:14 [INFO] [stderr] | [INFO] [stderr] 77 | ) -> Box<Future<Item = Arc<SignedRequest>, Error = Self::Error> + Send> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Arc<SignedRequest>, Error = Self::Error> + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> core/pool/src/error.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / error_chain! { [INFO] [stderr] 17 | | foreign_links { [INFO] [stderr] 18 | | Timer(tokio_timer::Error); [INFO] [stderr] 19 | | } [INFO] [stderr] ... | [INFO] [stderr] 52 | | } [INFO] [stderr] 53 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> core/pool/src/error.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / error_chain! { [INFO] [stderr] 17 | | foreign_links { [INFO] [stderr] 18 | | Timer(tokio_timer::Error); [INFO] [stderr] 19 | | } [INFO] [stderr] ... | [INFO] [stderr] 52 | | } [INFO] [stderr] 53 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> core/pool/src/filter.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | fn new() -> DummyAddressFilter { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> core/pool/src/queue.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn new() -> RequestQueue<R, S> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `ethereum` [INFO] [stderr] --> core/pool/src/service.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | ethereum: Arc<Mutex<E>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `network` [INFO] [stderr] --> core/pool/src/service.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | network: Arc<Mutex<N>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> core/collation/src/error.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | / error_chain! { [INFO] [stderr] 46 | | types { [INFO] [stderr] 47 | | Error, ErrorKind, ResultExt, Result; [INFO] [stderr] 48 | | } [INFO] [stderr] ... | [INFO] [stderr] 61 | | } [INFO] [stderr] 62 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> core/collation/src/error.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | / error_chain! { [INFO] [stderr] 46 | | types { [INFO] [stderr] 47 | | Error, ErrorKind, ResultExt, Result; [INFO] [stderr] 48 | | } [INFO] [stderr] ... | [INFO] [stderr] 61 | | } [INFO] [stderr] 62 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/pricer/src/lib.rs:106:32 [INFO] [stderr] | [INFO] [stderr] 106 | fn gas_price(&self) -> Box<Future<Item = U256, Error = Self::PricerError> + Send> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = U256, Error = Self::PricerError> + Send` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/pricer/src/lib.rs:113:14 [INFO] [stderr] | [INFO] [stderr] 113 | ) -> Box<Future<Item = U256, Error = Self::PricerError> + Send> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = U256, Error = Self::PricerError> + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: field is never read: `mode` [INFO] [stderr] --> core/pricer/src/lib.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | mode: PriceServiceMode, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> core/network/src/lib.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `pool` (lib) generated 9 warnings [INFO] [stderr] warning: `collation` (lib) generated 2 warnings [INFO] [stderr] warning: `pricer` (lib) generated 3 warnings [INFO] [stderr] warning: `network` (lib) generated 1 warning [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/ethereum/src/client/client.rs:472:25 [INFO] [stderr] | [INFO] [stderr] 472 | pub fn to_0xhex(value: &fmt::LowerHex) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::LowerHex` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/ethereum/src/monitor/poller.rs:33:17 [INFO] [stderr] | [INFO] [stderr] 33 | future: Box<Future<Item = Option<EthereumMonitorResponse>, Error = ()> + Send>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Option<EthereumMonitorResponse>, Error = ()> + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/ethereum/src/monitor/poller.rs:62:14 [INFO] [stderr] | [INFO] [stderr] 62 | ) -> Box<Future<Item = Option<EthereumMonitorResponse>, Error = ()> + Send> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Option<EthereumMonitorResponse>, Error = ()> + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> core/ethereum/src/client/error.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / error_chain!{ [INFO] [stderr] 22 | | foreign_links { [INFO] [stderr] 23 | | ContractAbi(contract_abi::Error); [INFO] [stderr] 24 | | FromHex(rustc_hex::FromHexError); [INFO] [stderr] ... | [INFO] [stderr] 43 | | } [INFO] [stderr] 44 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> core/ethereum/src/monitor/error.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / error_chain!{ [INFO] [stderr] 19 | | foreign_links { [INFO] [stderr] 20 | | EthereumService(EthereumServiceError); [INFO] [stderr] 21 | | } [INFO] [stderr] ... | [INFO] [stderr] 28 | | } [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> core/ethereum/src/service/error.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / error_chain! { [INFO] [stderr] 22 | | foreign_links { [INFO] [stderr] 23 | | Io(IoError) #[doc = "IO error."]; [INFO] [stderr] 24 | | Json(serde_json::Error); [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> core/ethereum/src/client/error.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / error_chain!{ [INFO] [stderr] 22 | | foreign_links { [INFO] [stderr] 23 | | ContractAbi(contract_abi::Error); [INFO] [stderr] 24 | | FromHex(rustc_hex::FromHexError); [INFO] [stderr] ... | [INFO] [stderr] 43 | | } [INFO] [stderr] 44 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> core/ethereum/src/monitor/error.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / error_chain!{ [INFO] [stderr] 19 | | foreign_links { [INFO] [stderr] 20 | | EthereumService(EthereumServiceError); [INFO] [stderr] 21 | | } [INFO] [stderr] ... | [INFO] [stderr] 28 | | } [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> core/ethereum/src/service/error.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / error_chain! { [INFO] [stderr] 22 | | foreign_links { [INFO] [stderr] 23 | | Io(IoError) #[doc = "IO error."]; [INFO] [stderr] 24 | | Json(serde_json::Error); [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `task` [INFO] [stderr] --> core/ethereum/src/monitor/poller.rs:110:12 [INFO] [stderr] | [INFO] [stderr] 110 | pub fn task(&self) -> &EthereumMonitorTask { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> core/ethereum/src/monitor/service.rs:117:28 [INFO] [stderr] | [INFO] [stderr] 117 | None => panic!(format!("watcher {:?} does not exist", watcher_id)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 117 - None => panic!(format!("watcher {:?} does not exist", watcher_id)), [INFO] [stderr] 117 + None => panic!("watcher {:?} does not exist", watcher_id), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `ethereum` (lib) generated 11 warnings [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/machine/src/machine.rs:100:24 [INFO] [stderr] | [INFO] [stderr] 100 | type InfoFetcher = Box<Future<Item = Preparation, Error = Error> + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Preparation, Error = Error> + Send` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/machine/src/machine.rs:101:26 [INFO] [stderr] | [INFO] [stderr] 101 | type TxBroadcaster = Box<Future<Item = H256, Error = Error> + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = H256, Error = Error> + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/machine/src/machine.rs:102:25 [INFO] [stderr] | [INFO] [stderr] 102 | type GasEstimator = Box<Future<Item = ClosedCollation, Error = Error> + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = ClosedCollation, Error = Error> + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/machine/src/machine.rs:274:31 [INFO] [stderr] | [INFO] [stderr] 274 | type InfoFuture = Box<Future<Item = Info, Error = Error> + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Info, Error = Error> + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> core/machine/src/service.rs:279:14 [INFO] [stderr] | [INFO] [stderr] 279 | ) -> Box<Future<Item = Arc<Self::SignedRequest>, Error = Self::MachineError> + Send> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Arc<Self::SignedRequest>, Error = Self::MachineError> + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> core/machine/src/error.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | / error_chain! { [INFO] [stderr] 23 | | foreign_links { [INFO] [stderr] 24 | | TimerError(tokio_timer::Error); [INFO] [stderr] 25 | | Collation(CollationError); [INFO] [stderr] ... | [INFO] [stderr] 51 | | } [INFO] [stderr] 52 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> core/machine/src/error.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | / error_chain! { [INFO] [stderr] 23 | | foreign_links { [INFO] [stderr] 24 | | TimerError(tokio_timer::Error); [INFO] [stderr] 25 | | Collation(CollationError); [INFO] [stderr] ... | [INFO] [stderr] 51 | | } [INFO] [stderr] 52 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `event_sender` [INFO] [stderr] --> core/machine/src/machine.rs:394:12 [INFO] [stderr] | [INFO] [stderr] 394 | pub fn event_sender(&self) -> mpsc::UnboundedSender<RelayerEvent> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `change_keypair` [INFO] [stderr] --> core/machine/src/machine.rs:399:12 [INFO] [stderr] | [INFO] [stderr] 399 | pub fn change_keypair(&mut self, keypair: KeyPair) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `change_dispatcher` [INFO] [stderr] --> core/machine/src/machine.rs:404:12 [INFO] [stderr] | [INFO] [stderr] 404 | pub fn change_dispatcher(&mut self, dispatcher: RequestDispatcher<C>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `TransactionQueue` [INFO] [stderr] --> core/machine/src/transaction_queue.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct TransactionQueue { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `TransactionQueueInner` [INFO] [stderr] --> core/machine/src/transaction_queue.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | struct TransactionQueueInner { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> core/machine/src/transaction_queue.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn new() -> TransactionQueue { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> core/machine/src/transaction_queue.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn new() -> TransactionQueueInner { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `current_nonce` [INFO] [stderr] --> core/machine/src/transaction_queue.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn current_nonce(&self) -> U256 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `push` [INFO] [stderr] --> core/machine/src/transaction_queue.rs:53:12 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn push(&mut self, tx: SignedTransaction) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `remove_by_nonce` [INFO] [stderr] --> core/machine/src/transaction_queue.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn remove_by_nonce(&mut self, nonce: &U256) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `remove_by_hash` [INFO] [stderr] --> core/machine/src/transaction_queue.rs:83:12 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn remove_by_hash(&mut self, hash: &H256) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `machine` (lib) generated 18 warnings [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> relayer/src/jsonrpc/v1/traits/admin.rs:25:41 [INFO] [stderr] | [INFO] [stderr] 25 | fn add_ethereum_endpoint(&self, String) -> Result<bool>; [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> relayer/src/jsonrpc/v1/traits/admin.rs:28:44 [INFO] [stderr] | [INFO] [stderr] 28 | fn remove_ethereum_endpoint(&self, String) -> Result<bool>; [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> relayer/src/jsonrpc/v1/traits/relayer.rs:23:31 [INFO] [stderr] | [INFO] [stderr] 23 | fn add_relayer(&self, String) -> Result<bool>; [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> relayer/src/jsonrpc/v1/traits/relayer.rs:26:34 [INFO] [stderr] | [INFO] [stderr] 26 | fn remove_relayer(&self, String) -> Result<bool>; [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> relayer/src/jsonrpc/v1/traits/relayer.rs:44:32 [INFO] [stderr] | [INFO] [stderr] 44 | fn set_interval(&self, u64) -> Result<u64>; [INFO] [stderr] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u64` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> relayer/src/jsonrpc/v1/traits/token.rs:22:38 [INFO] [stderr] | [INFO] [stderr] 22 | fn is_delegate_enable(&self, Address) -> BoxFuture<bool>; [INFO] [stderr] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Address` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> relayer/src/jsonrpc/v1/traits/token.rs:25:30 [INFO] [stderr] | [INFO] [stderr] 25 | fn balance_of(&self, Address, Address) -> BoxFuture<U256>; [INFO] [stderr] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Address` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> relayer/src/jsonrpc/v1/traits/token.rs:25:39 [INFO] [stderr] | [INFO] [stderr] 25 | fn balance_of(&self, Address, Address) -> BoxFuture<U256>; [INFO] [stderr] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Address` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> relayer/src/jsonrpc/v1/traits/token.rs:28:28 [INFO] [stderr] | [INFO] [stderr] 28 | fn nonce_of(&self, Address, Address) -> BoxFuture<U256>; [INFO] [stderr] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Address` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> relayer/src/jsonrpc/v1/traits/token.rs:28:37 [INFO] [stderr] | [INFO] [stderr] 28 | fn nonce_of(&self, Address, Address) -> BoxFuture<U256>; [INFO] [stderr] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Address` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> relayer/src/jsonrpc/v1/traits/token.rs:31:47 [INFO] [stderr] | [INFO] [stderr] 31 | fn send_token_transfer_request(&self, types::RelayerRpcRequest) -> BoxFuture<H256>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::RelayerRpcRequest` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> relayer/src/jsonrpc/v1/traits/token.rs:34:48 [INFO] [stderr] | [INFO] [stderr] 34 | fn send_token_transfer_requests(&self, Vec<types::RelayerRpcRequest>) -> BoxFuture<Vec<H256>>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec<types::RelayerRpcRequest>` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error as PriceServiceError` [INFO] [stderr] --> relayer/src/service/mod.rs:31:14 [INFO] [stderr] | [INFO] [stderr] 31 | use pricer::{Error as PriceServiceError, PriceService, PriceServiceMode}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `PathBuf` is imported redundantly [INFO] [stderr] --> relayer/src/service/config/mod.rs:417:32 [INFO] [stderr] | [INFO] [stderr] 21 | use std::path::PathBuf; [INFO] [stderr] | ------------------ the item `PathBuf` is already imported here [INFO] [stderr] ... [INFO] [stderr] 417 | use std::path::{Component, PathBuf}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> relayer/src/service/mod.rs:102:23 [INFO] [stderr] | [INFO] [stderr] 102 | exit_handler: Box<Future<Item = ExitReason, Error = ()> + Send>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = ExitReason, Error = ()> + Send` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> relayer/src/service/mod.rs:118:39 [INFO] [stderr] | [INFO] [stderr] 118 | let exit_signals: Vec<Box<Future<Item = ExitReason, Error = ()> + Send>> = vec![ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = ExitReason, Error = ()> + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> relayer/src/service/error.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / error_chain! { [INFO] [stderr] 19 | | foreign_links { [INFO] [stderr] 20 | | Io(std::io::Error); [INFO] [stderr] 21 | | Config(config::Error); [INFO] [stderr] ... | [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> relayer/src/service/config/error.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / error_chain! { [INFO] [stderr] 19 | | foreign_links { [INFO] [stderr] 20 | | Io(std::io::Error); [INFO] [stderr] 21 | | Json(serde_json::Error); [INFO] [stderr] ... | [INFO] [stderr] 46 | | } [INFO] [stderr] 47 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> relayer/src/service/config/error.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / error_chain! { [INFO] [stderr] 19 | | foreign_links { [INFO] [stderr] 20 | | Io(std::io::Error); [INFO] [stderr] 21 | | Json(serde_json::Error); [INFO] [stderr] ... | [INFO] [stderr] 46 | | } [INFO] [stderr] 47 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> relayer/src/service/error.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / error_chain! { [INFO] [stderr] 19 | | foreign_links { [INFO] [stderr] 20 | | Io(std::io::Error); [INFO] [stderr] 21 | | Config(config::Error); [INFO] [stderr] ... | [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `websocket_config` [INFO] [stderr] --> relayer/src/jsonrpc/service.rs:106:21 [INFO] [stderr] | [INFO] [stderr] 106 | websocket_config, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try ignoring the field: `websocket_config: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> relayer/src/service/config/mod.rs:164:21 [INFO] [stderr] | [INFO] [stderr] 164 | let mut key_file_content = read_file(keyfile_path)?; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> relayer/src/service/mod.rs:108:26 [INFO] [stderr] | [INFO] [stderr] 108 | let (sender, mut receiver) = mpsc::unbounded::<()>(); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> relayer/src/service/mod.rs:167:17 [INFO] [stderr] | [INFO] [stderr] 167 | let mut token_filter = params.allow_tokens.into_iter().fold( [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new_all` [INFO] [stderr] --> relayer/src/rpc_apis.rs:75:12 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn new_all() -> ApiSet { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `with_apis` [INFO] [stderr] --> relayer/src/rpc_apis.rs:83:12 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn with_apis(apis: HashSet<Api>) -> ApiSet { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `ethereum_service` [INFO] [stderr] --> relayer/src/service/mod.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | ethereum_service: Arc<Mutex<EthereumService>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `fst-relayer` (bin "fst-relayer" test) generated 27 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 34.49s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/fst_relayer-f1d3764d3fb6adba) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3f8cb53793a5073203ca974317b2312490e092188bc342c6fcf530dce9ab51e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f8cb53793a5073203ca974317b2312490e092188bc342c6fcf530dce9ab51e7", kill_on_drop: false }` [INFO] [stdout] 3f8cb53793a5073203ca974317b2312490e092188bc342c6fcf530dce9ab51e7