[INFO] cloning repository https://github.com/paritytech/whisper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paritytech/whisper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparitytech%2Fwhisper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparitytech%2Fwhisper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e68b28c0ff8cacfc160f8c5dbc8dc56182155c00 [INFO] testing paritytech/whisper against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparitytech%2Fwhisper" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paritytech/whisper on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/paritytech/whisper [INFO] finished tweaking git repo https://github.com/paritytech/whisper [INFO] tweaked toml for git repo https://github.com/paritytech/whisper written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/paritytech/whisper already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95623bb66fe3456800a1e0c53b09d2c65ec258e7126a816b3a7649ca08929d39 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "95623bb66fe3456800a1e0c53b09d2c65ec258e7126a816b3a7649ca08929d39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95623bb66fe3456800a1e0c53b09d2c65ec258e7126a816b3a7649ca08929d39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95623bb66fe3456800a1e0c53b09d2c65ec258e7126a816b3a7649ca08929d39", kill_on_drop: false }` [INFO] [stdout] 95623bb66fe3456800a1e0c53b09d2c65ec258e7126a816b3a7649ca08929d39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a0cef6e58535a613b6f2507987e4da14ebf8b1a495cf244b01e5200e477b8a86 [INFO] running `Command { std: "docker" "start" "-a" "a0cef6e58535a613b6f2507987e4da14ebf8b1a495cf244b01e5200e477b8a86", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rustc-hex v2.0.1 [INFO] [stderr] Compiling subtle v2.1.0 [INFO] [stderr] Compiling memzero v0.1.0 [INFO] [stderr] Compiling rustc-hex v1.0.0 [INFO] [stderr] Compiling edit-distance v2.1.0 [INFO] [stderr] Compiling ipnetwork v0.12.8 [INFO] [stderr] Compiling spin v0.5.0 [INFO] [stderr] Compiling time-utils v0.1.0 (https://github.com/paritytech/parity-ethereum.git#fe7bc545) [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling cmake v0.1.40 [INFO] [stderr] Compiling eth-secp256k1 v0.5.7 (https://github.com/paritytech/rust-secp256k1#9791e79f) [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling lock_api v0.2.0 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rlp v0.4.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling stream-cipher v0.3.0 [INFO] [stderr] Compiling parity-snappy-sys v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling ripemd160 v0.8.0 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling impl-rlp v0.2.0 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling block-modes v0.3.3 [INFO] [stderr] Compiling hmac v0.7.0 [INFO] [stderr] Compiling ctr v0.3.2 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling aes-ctr v0.3.0 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Compiling fixed-hash v0.3.2 [INFO] [stderr] Compiling uint v0.7.1 [INFO] [stderr] Compiling elastic-array v0.10.2 [INFO] [stderr] Compiling scrypt v0.2.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling parity-wordlist v1.3.0 [INFO] [stderr] Compiling parity-crypto v0.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling ordered-float v0.5.2 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling timer v0.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling impl-serde v0.2.0 [INFO] [stderr] Compiling parity-codec v3.5.4 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling toml v0.5.1 [INFO] [stderr] Compiling ethbloom v0.6.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parity-snappy v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling impl-codec v0.2.0 [INFO] [stderr] Compiling primitive-types v0.3.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling ethereum-types v0.6.0 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling serde_derive v1.0.94 [INFO] [stderr] Compiling zeroize_derive v0.9.0 [INFO] [stderr] Compiling malloc_size_of_derive v0.1.0 [INFO] [stderr] Compiling derive_more v0.14.1 [INFO] [stderr] Compiling jsonrpc-derive v12.0.0 [INFO] [stderr] Compiling ethcore-io v1.12.0 (https://github.com/paritytech/parity-ethereum.git#fe7bc545) [INFO] [stderr] Compiling parity-util-mem v0.1.0 [INFO] [stderr] Compiling zeroize v0.9.2 [INFO] [stderr] Compiling ethkey v0.3.0 (https://github.com/paritytech/parity-ethereum.git#fe7bc545) [INFO] [stderr] Compiling jsonrpc-core v12.0.0 [INFO] [stderr] Compiling ethcore-network v1.12.0 (https://github.com/paritytech/parity-ethereum.git#fe7bc545) [INFO] [stderr] Compiling jsonrpc-pubsub v12.0.0 [INFO] [stderr] Compiling parity-whisper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:389:28 [INFO] [stdout] | [INFO] [stdout] 389 | fn disconnect_peer(&self, PeerId); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: PeerId` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:391:25 [INFO] [stdout] | [INFO] [stdout] 391 | fn disable_peer(&self, PeerId); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: PeerId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:393:21 [INFO] [stdout] | [INFO] [stdout] 393 | fn node_key(&self, PeerId) -> Option; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: PeerId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:395:29 [INFO] [stdout] | [INFO] [stdout] 395 | fn protocol_version(&self, ProtocolId, PeerId) -> Option; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: ProtocolId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:395:41 [INFO] [stdout] | [INFO] [stdout] 395 | fn protocol_version(&self, ProtocolId, PeerId) -> Option; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: PeerId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:397:17 [INFO] [stdout] | [INFO] [stdout] 397 | fn send(&self, PeerId, u8, Vec); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: PeerId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:397:25 [INFO] [stdout] | [INFO] [stdout] 397 | fn send(&self, PeerId, u8, Vec); [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: u8` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:397:29 [INFO] [stdout] | [INFO] [stdout] 397 | fn send(&self, PeerId, u8, Vec); [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rpc/payload.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / bitflags! { [INFO] [stdout] 46 | | struct Flags: u8 { [INFO] [stdout] 47 | | const FLAG_PAD_LEN_HIGH = 0b10000000; [INFO] [stdout] 48 | | const FLAG_PAD_LEN_LOW = 0b01000000; [INFO] [stdout] 49 | | const FLAG_SIGNED = 0b00100000; [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rpc/payload.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / bitflags! { [INFO] [stdout] 46 | | struct Flags: u8 { [INFO] [stdout] 47 | | const FLAG_PAD_LEN_HIGH = 0b10000000; [INFO] [stdout] 48 | | const FLAG_PAD_LEN_LOW = 0b01000000; [INFO] [stdout] 49 | | const FLAG_SIGNED = 0b00100000; [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rpc/payload.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / bitflags! { [INFO] [stdout] 46 | | struct Flags: u8 { [INFO] [stdout] 47 | | const FLAG_PAD_LEN_HIGH = 0b10000000; [INFO] [stdout] 48 | | const FLAG_PAD_LEN_LOW = 0b01000000; [INFO] [stdout] 49 | | const FLAG_SIGNED = 0b00100000; [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rpc/payload.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | 0 ... 8 => Some(1), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rpc/payload.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | 0 ... 16 => Some(2), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rpc/payload.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | 0 ... 24 => Some(3), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | fn add_private_key(&self, types::Private) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Private` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | fn add_sym_key(&self, types::Symmetric) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Symmetric` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | fn get_public(&self, types::Identity) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | fn get_private(&self, types::Identity) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | fn get_symmetric(&self, types::Identity) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 111 | fn remove_key(&self, types::Identity) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | fn post(&self, types::PostRequest) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::PostRequest` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | fn new_filter(&self, types::FilterRequest) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::FilterRequest` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | fn poll_changes(&self, types::Identity) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:127:26 [INFO] [stdout] | [INFO] [stdout] 127 | fn delete_filter(&self, types::Identity) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | fn subscribe(&self, Self::Metadata, Subscriber, types::FilterRequest); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Metadata` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:138:38 [INFO] [stdout] | [INFO] [stdout] 138 | fn subscribe(&self, Self::Metadata, Subscriber, types::FilterRequest); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Subscriber` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:138:69 [INFO] [stdout] | [INFO] [stdout] 138 | fn subscribe(&self, Self::Metadata, Subscriber, types::FilterRequest); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::FilterRequest` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:143:24 [INFO] [stdout] | [INFO] [stdout] 143 | fn unsubscribe(&self, Option, SubscriptionId) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Option` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:143:48 [INFO] [stdout] | [INFO] [stdout] 143 | fn unsubscribe(&self, Option, SubscriptionId) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: SubscriptionId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rpc/filter.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | tx: Mutex>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - tx: Mutex>>, [INFO] [stdout] 51 + tx: Mutex>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:689:28 [INFO] [stdout] | [INFO] [stdout] 689 | fn initialize(&self, io: &NetworkContext) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 689 - fn initialize(&self, io: &NetworkContext) { [INFO] [stdout] 689 + fn initialize(&self, io: &dyn NetworkContext) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:695:22 [INFO] [stdout] | [INFO] [stdout] 695 | fn read(&self, io: &NetworkContext, peer: &PeerId, packet_id: u8, data: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 695 - fn read(&self, io: &NetworkContext, peer: &PeerId, packet_id: u8, data: &[u8]) { [INFO] [stdout] 695 + fn read(&self, io: &dyn NetworkContext, peer: &PeerId, packet_id: u8, data: &[u8]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:699:27 [INFO] [stdout] | [INFO] [stdout] 699 | fn connected(&self, io: &NetworkContext, peer: &PeerId) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 699 - fn connected(&self, io: &NetworkContext, peer: &PeerId) { [INFO] [stdout] 699 + fn connected(&self, io: &dyn NetworkContext, peer: &PeerId) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:704:31 [INFO] [stdout] | [INFO] [stdout] 704 | fn disconnected(&self, _io: &NetworkContext, peer: &PeerId) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 704 - fn disconnected(&self, _io: &NetworkContext, peer: &PeerId) { [INFO] [stdout] 704 + fn disconnected(&self, _io: &dyn NetworkContext, peer: &PeerId) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:708:25 [INFO] [stdout] | [INFO] [stdout] 708 | fn timeout(&self, io: &NetworkContext, timer: TimerToken) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 708 - fn timeout(&self, io: &NetworkContext, timer: TimerToken) { [INFO] [stdout] 708 + fn timeout(&self, io: &dyn NetworkContext, timer: TimerToken) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:722:29 [INFO] [stdout] | [INFO] [stdout] 722 | fn initialize(&self, _io: &NetworkContext) { } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 722 - fn initialize(&self, _io: &NetworkContext) { } [INFO] [stdout] 722 + fn initialize(&self, _io: &dyn NetworkContext) { } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:724:23 [INFO] [stdout] | [INFO] [stdout] 724 | fn read(&self, _io: &NetworkContext, _peer: &PeerId, _id: u8, _msg: &[u8]) { } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 724 - fn read(&self, _io: &NetworkContext, _peer: &PeerId, _id: u8, _msg: &[u8]) { } [INFO] [stdout] 724 + fn read(&self, _io: &dyn NetworkContext, _peer: &PeerId, _id: u8, _msg: &[u8]) { } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:726:28 [INFO] [stdout] | [INFO] [stdout] 726 | fn connected(&self, _io: &NetworkContext, _peer: &PeerId) { } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 726 - fn connected(&self, _io: &NetworkContext, _peer: &PeerId) { } [INFO] [stdout] 726 + fn connected(&self, _io: &dyn NetworkContext, _peer: &PeerId) { } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:728:31 [INFO] [stdout] | [INFO] [stdout] 728 | fn disconnected(&self, _io: &NetworkContext, _peer: &PeerId) { } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 728 - fn disconnected(&self, _io: &NetworkContext, _peer: &PeerId) { } [INFO] [stdout] 728 + fn disconnected(&self, _io: &dyn NetworkContext, _peer: &PeerId) { } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:730:26 [INFO] [stdout] | [INFO] [stdout] 730 | fn timeout(&self, _io: &NetworkContext, _timer: TimerToken) { } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 730 - fn timeout(&self, _io: &NetworkContext, _timer: TimerToken) { } [INFO] [stdout] 730 + fn timeout(&self, _io: &dyn NetworkContext, _timer: TimerToken) { } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rpc/filter.rs:60:38 [INFO] [stdout] | [INFO] [stdout] 60 | let (tx, rx) = mpsc::channel::>(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - let (tx, rx) = mpsc::channel::>(); [INFO] [stdout] 60 + let (tx, rx) = mpsc::channel::>(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 49s [INFO] running `Command { std: "docker" "inspect" "a0cef6e58535a613b6f2507987e4da14ebf8b1a495cf244b01e5200e477b8a86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0cef6e58535a613b6f2507987e4da14ebf8b1a495cf244b01e5200e477b8a86", kill_on_drop: false }` [INFO] [stdout] a0cef6e58535a613b6f2507987e4da14ebf8b1a495cf244b01e5200e477b8a86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0d8d769df8d178838cafe003fccba22c020b082d3f2a06ef10f1850a2db8a50c [INFO] running `Command { std: "docker" "start" "-a" "0d8d769df8d178838cafe003fccba22c020b082d3f2a06ef10f1850a2db8a50c", 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] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:389:28 [INFO] [stdout] | [INFO] [stdout] 389 | fn disconnect_peer(&self, PeerId); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: PeerId` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:391:25 [INFO] [stdout] | [INFO] [stdout] 391 | fn disable_peer(&self, PeerId); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: PeerId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:393:21 [INFO] [stdout] | [INFO] [stdout] 393 | fn node_key(&self, PeerId) -> Option; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: PeerId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:395:29 [INFO] [stdout] | [INFO] [stdout] 395 | fn protocol_version(&self, ProtocolId, PeerId) -> Option; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: ProtocolId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:395:41 [INFO] [stdout] | [INFO] [stdout] 395 | fn protocol_version(&self, ProtocolId, PeerId) -> Option; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: PeerId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:397:17 [INFO] [stdout] | [INFO] [stdout] 397 | fn send(&self, PeerId, u8, Vec); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: PeerId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:397:25 [INFO] [stdout] | [INFO] [stdout] 397 | fn send(&self, PeerId, u8, Vec); [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: u8` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:397:29 [INFO] [stdout] | [INFO] [stdout] 397 | fn send(&self, PeerId, u8, Vec); [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rpc/payload.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / bitflags! { [INFO] [stdout] 46 | | struct Flags: u8 { [INFO] [stdout] 47 | | const FLAG_PAD_LEN_HIGH = 0b10000000; [INFO] [stdout] 48 | | const FLAG_PAD_LEN_LOW = 0b01000000; [INFO] [stdout] 49 | | const FLAG_SIGNED = 0b00100000; [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rpc/payload.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / bitflags! { [INFO] [stdout] 46 | | struct Flags: u8 { [INFO] [stdout] 47 | | const FLAG_PAD_LEN_HIGH = 0b10000000; [INFO] [stdout] 48 | | const FLAG_PAD_LEN_LOW = 0b01000000; [INFO] [stdout] 49 | | const FLAG_SIGNED = 0b00100000; [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rpc/payload.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / bitflags! { [INFO] [stdout] 46 | | struct Flags: u8 { [INFO] [stdout] 47 | | const FLAG_PAD_LEN_HIGH = 0b10000000; [INFO] [stdout] 48 | | const FLAG_PAD_LEN_LOW = 0b01000000; [INFO] [stdout] 49 | | const FLAG_SIGNED = 0b00100000; [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rpc/payload.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | 0 ... 8 => Some(1), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rpc/payload.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | 0 ... 16 => Some(2), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rpc/payload.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | 0 ... 24 => Some(3), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | fn add_private_key(&self, types::Private) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Private` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | fn add_sym_key(&self, types::Symmetric) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Symmetric` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | fn get_public(&self, types::Identity) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | fn get_private(&self, types::Identity) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | fn get_symmetric(&self, types::Identity) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 111 | fn remove_key(&self, types::Identity) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | fn post(&self, types::PostRequest) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::PostRequest` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | fn new_filter(&self, types::FilterRequest) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::FilterRequest` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | fn poll_changes(&self, types::Identity) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:127:26 [INFO] [stdout] | [INFO] [stdout] 127 | fn delete_filter(&self, types::Identity) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | fn subscribe(&self, Self::Metadata, Subscriber, types::FilterRequest); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Metadata` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:138:38 [INFO] [stdout] | [INFO] [stdout] 138 | fn subscribe(&self, Self::Metadata, Subscriber, types::FilterRequest); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Subscriber` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:138:69 [INFO] [stdout] | [INFO] [stdout] 138 | fn subscribe(&self, Self::Metadata, Subscriber, types::FilterRequest); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::FilterRequest` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:143:24 [INFO] [stdout] | [INFO] [stdout] 143 | fn unsubscribe(&self, Option, SubscriptionId) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Option` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:143:48 [INFO] [stdout] | [INFO] [stdout] 143 | fn unsubscribe(&self, Option, SubscriptionId) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: SubscriptionId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rpc/filter.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | tx: Mutex>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - tx: Mutex>>, [INFO] [stdout] 51 + tx: Mutex>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:689:28 [INFO] [stdout] | [INFO] [stdout] 689 | fn initialize(&self, io: &NetworkContext) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 689 - fn initialize(&self, io: &NetworkContext) { [INFO] [stdout] 689 + fn initialize(&self, io: &dyn NetworkContext) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:695:22 [INFO] [stdout] | [INFO] [stdout] 695 | fn read(&self, io: &NetworkContext, peer: &PeerId, packet_id: u8, data: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 695 - fn read(&self, io: &NetworkContext, peer: &PeerId, packet_id: u8, data: &[u8]) { [INFO] [stdout] 695 + fn read(&self, io: &dyn NetworkContext, peer: &PeerId, packet_id: u8, data: &[u8]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:699:27 [INFO] [stdout] | [INFO] [stdout] 699 | fn connected(&self, io: &NetworkContext, peer: &PeerId) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 699 - fn connected(&self, io: &NetworkContext, peer: &PeerId) { [INFO] [stdout] 699 + fn connected(&self, io: &dyn NetworkContext, peer: &PeerId) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:704:31 [INFO] [stdout] | [INFO] [stdout] 704 | fn disconnected(&self, _io: &NetworkContext, peer: &PeerId) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 704 - fn disconnected(&self, _io: &NetworkContext, peer: &PeerId) { [INFO] [stdout] 704 + fn disconnected(&self, _io: &dyn NetworkContext, peer: &PeerId) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:708:25 [INFO] [stdout] | [INFO] [stdout] 708 | fn timeout(&self, io: &NetworkContext, timer: TimerToken) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 708 - fn timeout(&self, io: &NetworkContext, timer: TimerToken) { [INFO] [stdout] 708 + fn timeout(&self, io: &dyn NetworkContext, timer: TimerToken) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:722:29 [INFO] [stdout] | [INFO] [stdout] 722 | fn initialize(&self, _io: &NetworkContext) { } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 722 - fn initialize(&self, _io: &NetworkContext) { } [INFO] [stdout] 722 + fn initialize(&self, _io: &dyn NetworkContext) { } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling parity-whisper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:724:23 [INFO] [stdout] | [INFO] [stdout] 724 | fn read(&self, _io: &NetworkContext, _peer: &PeerId, _id: u8, _msg: &[u8]) { } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 724 - fn read(&self, _io: &NetworkContext, _peer: &PeerId, _id: u8, _msg: &[u8]) { } [INFO] [stdout] 724 + fn read(&self, _io: &dyn NetworkContext, _peer: &PeerId, _id: u8, _msg: &[u8]) { } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:726:28 [INFO] [stdout] | [INFO] [stdout] 726 | fn connected(&self, _io: &NetworkContext, _peer: &PeerId) { } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 726 - fn connected(&self, _io: &NetworkContext, _peer: &PeerId) { } [INFO] [stdout] 726 + fn connected(&self, _io: &dyn NetworkContext, _peer: &PeerId) { } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:728:31 [INFO] [stdout] | [INFO] [stdout] 728 | fn disconnected(&self, _io: &NetworkContext, _peer: &PeerId) { } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 728 - fn disconnected(&self, _io: &NetworkContext, _peer: &PeerId) { } [INFO] [stdout] 728 + fn disconnected(&self, _io: &dyn NetworkContext, _peer: &PeerId) { } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:730:26 [INFO] [stdout] | [INFO] [stdout] 730 | fn timeout(&self, _io: &NetworkContext, _timer: TimerToken) { } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 730 - fn timeout(&self, _io: &NetworkContext, _timer: TimerToken) { } [INFO] [stdout] 730 + fn timeout(&self, _io: &dyn NetworkContext, _timer: TimerToken) { } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rpc/filter.rs:60:38 [INFO] [stdout] | [INFO] [stdout] 60 | let (tx, rx) = mpsc::channel::>(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - let (tx, rx) = mpsc::channel::>(); [INFO] [stdout] 60 + let (tx, rx) = mpsc::channel::>(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ethereum_types::H256` [INFO] [stdout] --> src/message.rs:464:6 [INFO] [stdout] | [INFO] [stdout] 464 | use ethereum_types::H256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:389:28 [INFO] [stdout] | [INFO] [stdout] 389 | fn disconnect_peer(&self, PeerId); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: PeerId` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:391:25 [INFO] [stdout] | [INFO] [stdout] 391 | fn disable_peer(&self, PeerId); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: PeerId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:393:21 [INFO] [stdout] | [INFO] [stdout] 393 | fn node_key(&self, PeerId) -> Option; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: PeerId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:395:29 [INFO] [stdout] | [INFO] [stdout] 395 | fn protocol_version(&self, ProtocolId, PeerId) -> Option; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: ProtocolId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:395:41 [INFO] [stdout] | [INFO] [stdout] 395 | fn protocol_version(&self, ProtocolId, PeerId) -> Option; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: PeerId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:397:17 [INFO] [stdout] | [INFO] [stdout] 397 | fn send(&self, PeerId, u8, Vec); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: PeerId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:397:25 [INFO] [stdout] | [INFO] [stdout] 397 | fn send(&self, PeerId, u8, Vec); [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: u8` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/net/mod.rs:397:29 [INFO] [stdout] | [INFO] [stdout] 397 | fn send(&self, PeerId, u8, Vec); [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rpc/payload.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / bitflags! { [INFO] [stdout] 46 | | struct Flags: u8 { [INFO] [stdout] 47 | | const FLAG_PAD_LEN_HIGH = 0b10000000; [INFO] [stdout] 48 | | const FLAG_PAD_LEN_LOW = 0b01000000; [INFO] [stdout] 49 | | const FLAG_SIGNED = 0b00100000; [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rpc/payload.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / bitflags! { [INFO] [stdout] 46 | | struct Flags: u8 { [INFO] [stdout] 47 | | const FLAG_PAD_LEN_HIGH = 0b10000000; [INFO] [stdout] 48 | | const FLAG_PAD_LEN_LOW = 0b01000000; [INFO] [stdout] 49 | | const FLAG_SIGNED = 0b00100000; [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rpc/payload.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / bitflags! { [INFO] [stdout] 46 | | struct Flags: u8 { [INFO] [stdout] 47 | | const FLAG_PAD_LEN_HIGH = 0b10000000; [INFO] [stdout] 48 | | const FLAG_PAD_LEN_LOW = 0b01000000; [INFO] [stdout] 49 | | const FLAG_SIGNED = 0b00100000; [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rpc/payload.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | 0 ... 8 => Some(1), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rpc/payload.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | 0 ... 16 => Some(2), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rpc/payload.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | 0 ... 24 => Some(3), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | fn add_private_key(&self, types::Private) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Private` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | fn add_sym_key(&self, types::Symmetric) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Symmetric` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | fn get_public(&self, types::Identity) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | fn get_private(&self, types::Identity) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | fn get_symmetric(&self, types::Identity) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 111 | fn remove_key(&self, types::Identity) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | fn post(&self, types::PostRequest) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::PostRequest` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | fn new_filter(&self, types::FilterRequest) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::FilterRequest` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | fn poll_changes(&self, types::Identity) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:127:26 [INFO] [stdout] | [INFO] [stdout] 127 | fn delete_filter(&self, types::Identity) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | fn subscribe(&self, Self::Metadata, Subscriber, types::FilterRequest); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Metadata` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:138:38 [INFO] [stdout] | [INFO] [stdout] 138 | fn subscribe(&self, Self::Metadata, Subscriber, types::FilterRequest); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Subscriber` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:138:69 [INFO] [stdout] | [INFO] [stdout] 138 | fn subscribe(&self, Self::Metadata, Subscriber, types::FilterRequest); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::FilterRequest` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:143:24 [INFO] [stdout] | [INFO] [stdout] 143 | fn unsubscribe(&self, Option, SubscriptionId) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Option` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/rpc/mod.rs:143:48 [INFO] [stdout] | [INFO] [stdout] 143 | fn unsubscribe(&self, Option, SubscriptionId) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: SubscriptionId` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rpc/filter.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | tx: Mutex>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - tx: Mutex>>, [INFO] [stdout] 51 + tx: Mutex>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:689:28 [INFO] [stdout] | [INFO] [stdout] 689 | fn initialize(&self, io: &NetworkContext) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 689 - fn initialize(&self, io: &NetworkContext) { [INFO] [stdout] 689 + fn initialize(&self, io: &dyn NetworkContext) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:695:22 [INFO] [stdout] | [INFO] [stdout] 695 | fn read(&self, io: &NetworkContext, peer: &PeerId, packet_id: u8, data: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 695 - fn read(&self, io: &NetworkContext, peer: &PeerId, packet_id: u8, data: &[u8]) { [INFO] [stdout] 695 + fn read(&self, io: &dyn NetworkContext, peer: &PeerId, packet_id: u8, data: &[u8]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:699:27 [INFO] [stdout] | [INFO] [stdout] 699 | fn connected(&self, io: &NetworkContext, peer: &PeerId) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 699 - fn connected(&self, io: &NetworkContext, peer: &PeerId) { [INFO] [stdout] 699 + fn connected(&self, io: &dyn NetworkContext, peer: &PeerId) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:704:31 [INFO] [stdout] | [INFO] [stdout] 704 | fn disconnected(&self, _io: &NetworkContext, peer: &PeerId) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 704 - fn disconnected(&self, _io: &NetworkContext, peer: &PeerId) { [INFO] [stdout] 704 + fn disconnected(&self, _io: &dyn NetworkContext, peer: &PeerId) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:708:25 [INFO] [stdout] | [INFO] [stdout] 708 | fn timeout(&self, io: &NetworkContext, timer: TimerToken) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 708 - fn timeout(&self, io: &NetworkContext, timer: TimerToken) { [INFO] [stdout] 708 + fn timeout(&self, io: &dyn NetworkContext, timer: TimerToken) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:722:29 [INFO] [stdout] | [INFO] [stdout] 722 | fn initialize(&self, _io: &NetworkContext) { } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 722 - fn initialize(&self, _io: &NetworkContext) { } [INFO] [stdout] 722 + fn initialize(&self, _io: &dyn NetworkContext) { } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:724:23 [INFO] [stdout] | [INFO] [stdout] 724 | fn read(&self, _io: &NetworkContext, _peer: &PeerId, _id: u8, _msg: &[u8]) { } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 724 - fn read(&self, _io: &NetworkContext, _peer: &PeerId, _id: u8, _msg: &[u8]) { } [INFO] [stdout] 724 + fn read(&self, _io: &dyn NetworkContext, _peer: &PeerId, _id: u8, _msg: &[u8]) { } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:726:28 [INFO] [stdout] | [INFO] [stdout] 726 | fn connected(&self, _io: &NetworkContext, _peer: &PeerId) { } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 726 - fn connected(&self, _io: &NetworkContext, _peer: &PeerId) { } [INFO] [stdout] 726 + fn connected(&self, _io: &dyn NetworkContext, _peer: &PeerId) { } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:728:31 [INFO] [stdout] | [INFO] [stdout] 728 | fn disconnected(&self, _io: &NetworkContext, _peer: &PeerId) { } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 728 - fn disconnected(&self, _io: &NetworkContext, _peer: &PeerId) { } [INFO] [stdout] 728 + fn disconnected(&self, _io: &dyn NetworkContext, _peer: &PeerId) { } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/mod.rs:730:26 [INFO] [stdout] | [INFO] [stdout] 730 | fn timeout(&self, _io: &NetworkContext, _timer: TimerToken) { } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 730 - fn timeout(&self, _io: &NetworkContext, _timer: TimerToken) { } [INFO] [stdout] 730 + fn timeout(&self, _io: &dyn NetworkContext, _timer: TimerToken) { } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rpc/filter.rs:60:38 [INFO] [stdout] | [INFO] [stdout] 60 | let (tx, rx) = mpsc::channel::>(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - let (tx, rx) = mpsc::channel::>(); [INFO] [stdout] 60 + let (tx, rx) = mpsc::channel::>(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4m 09s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/parity_whisper-65ebbc3ae7f6b4fa) [INFO] running `Command { std: "docker" "inspect" "0d8d769df8d178838cafe003fccba22c020b082d3f2a06ef10f1850a2db8a50c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d8d769df8d178838cafe003fccba22c020b082d3f2a06ef10f1850a2db8a50c", kill_on_drop: false }` [INFO] [stdout] 0d8d769df8d178838cafe003fccba22c020b082d3f2a06ef10f1850a2db8a50c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 961a6ea86316dc7eb1dc56018ddb846406e9d08ff9e678b5922af84d7fa4f9b5 [INFO] running `Command { std: "docker" "start" "-a" "961a6ea86316dc7eb1dc56018ddb846406e9d08ff9e678b5922af84d7fa4f9b5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/net/mod.rs:389:28 [INFO] [stderr] | [INFO] [stderr] 389 | fn disconnect_peer(&self, PeerId); [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: PeerId` [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 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/net/mod.rs:391:25 [INFO] [stderr] | [INFO] [stderr] 391 | fn disable_peer(&self, PeerId); [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: PeerId` [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 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/net/mod.rs:393:21 [INFO] [stderr] | [INFO] [stderr] 393 | fn node_key(&self, PeerId) -> Option; [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: PeerId` [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 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/net/mod.rs:395:29 [INFO] [stderr] | [INFO] [stderr] 395 | fn protocol_version(&self, ProtocolId, PeerId) -> Option; [INFO] [stderr] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: ProtocolId` [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 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/net/mod.rs:395:41 [INFO] [stderr] | [INFO] [stderr] 395 | fn protocol_version(&self, ProtocolId, PeerId) -> Option; [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: PeerId` [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 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/net/mod.rs:397:17 [INFO] [stderr] | [INFO] [stderr] 397 | fn send(&self, PeerId, u8, Vec); [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: PeerId` [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 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/net/mod.rs:397:25 [INFO] [stderr] | [INFO] [stderr] 397 | fn send(&self, PeerId, u8, Vec); [INFO] [stderr] | ^^ help: try naming the parameter or explicitly ignoring it: `_: u8` [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 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/net/mod.rs:397:29 [INFO] [stderr] | [INFO] [stderr] 397 | fn send(&self, PeerId, u8, Vec); [INFO] [stderr] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec` [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 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/rpc/payload.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | / bitflags! { [INFO] [stderr] 46 | | struct Flags: u8 { [INFO] [stderr] 47 | | const FLAG_PAD_LEN_HIGH = 0b10000000; [INFO] [stderr] 48 | | const FLAG_PAD_LEN_LOW = 0b01000000; [INFO] [stderr] 49 | | const FLAG_SIGNED = 0b00100000; [INFO] [stderr] 50 | | } [INFO] [stderr] 51 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/rpc/payload.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | / bitflags! { [INFO] [stderr] 46 | | struct Flags: u8 { [INFO] [stderr] 47 | | const FLAG_PAD_LEN_HIGH = 0b10000000; [INFO] [stderr] 48 | | const FLAG_PAD_LEN_LOW = 0b01000000; [INFO] [stderr] 49 | | const FLAG_SIGNED = 0b00100000; [INFO] [stderr] 50 | | } [INFO] [stderr] 51 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/rpc/payload.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | 0 ... 8 => Some(1), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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 [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/rpc/payload.rs:70:5 [INFO] [stderr] | [INFO] [stderr] 70 | 0 ... 16 => Some(2), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/rpc/payload.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | 0 ... 24 => Some(3), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/rpc/mod.rs:84:28 [INFO] [stderr] | [INFO] [stderr] 84 | fn add_private_key(&self, types::Private) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Private` [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 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/rpc/mod.rs:92:24 [INFO] [stderr] | [INFO] [stderr] 92 | fn add_sym_key(&self, types::Symmetric) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Symmetric` [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 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/rpc/mod.rs:96:23 [INFO] [stderr] | [INFO] [stderr] 96 | fn get_public(&self, types::Identity) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [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 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/rpc/mod.rs:100:24 [INFO] [stderr] | [INFO] [stderr] 100 | fn get_private(&self, types::Identity) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [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 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/rpc/mod.rs:104:26 [INFO] [stderr] | [INFO] [stderr] 104 | fn get_symmetric(&self, types::Identity) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [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 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/rpc/mod.rs:111:23 [INFO] [stderr] | [INFO] [stderr] 111 | fn remove_key(&self, types::Identity) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [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 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/rpc/mod.rs:115:17 [INFO] [stderr] | [INFO] [stderr] 115 | fn post(&self, types::PostRequest) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::PostRequest` [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 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/rpc/mod.rs:119:23 [INFO] [stderr] | [INFO] [stderr] 119 | fn new_filter(&self, types::FilterRequest) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::FilterRequest` [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 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/rpc/mod.rs:123:25 [INFO] [stderr] | [INFO] [stderr] 123 | fn poll_changes(&self, types::Identity) -> Result, Error>; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [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 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/rpc/mod.rs:127:26 [INFO] [stderr] | [INFO] [stderr] 127 | fn delete_filter(&self, types::Identity) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::Identity` [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 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/rpc/mod.rs:138:22 [INFO] [stderr] | [INFO] [stderr] 138 | fn subscribe(&self, Self::Metadata, Subscriber, types::FilterRequest); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Metadata` [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 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/rpc/mod.rs:138:38 [INFO] [stderr] | [INFO] [stderr] 138 | fn subscribe(&self, Self::Metadata, Subscriber, types::FilterRequest); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Subscriber` [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 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/rpc/mod.rs:138:69 [INFO] [stderr] | [INFO] [stderr] 138 | fn subscribe(&self, Self::Metadata, Subscriber, types::FilterRequest); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: types::FilterRequest` [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 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/rpc/mod.rs:143:24 [INFO] [stderr] | [INFO] [stderr] 143 | fn unsubscribe(&self, Option, SubscriptionId) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Option` [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 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/rpc/mod.rs:143:48 [INFO] [stderr] | [INFO] [stderr] 143 | fn unsubscribe(&self, Option, SubscriptionId) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: SubscriptionId` [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 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/rpc/filter.rs:51:29 [INFO] [stderr] | [INFO] [stderr] 51 | tx: Mutex>>, [INFO] [stderr] | ^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 51 - tx: Mutex>>, [INFO] [stderr] 51 + tx: Mutex>>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/mod.rs:689:28 [INFO] [stderr] | [INFO] [stderr] 689 | fn initialize(&self, io: &NetworkContext) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 689 - fn initialize(&self, io: &NetworkContext) { [INFO] [stderr] 689 + fn initialize(&self, io: &dyn NetworkContext) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/mod.rs:695:22 [INFO] [stderr] | [INFO] [stderr] 695 | fn read(&self, io: &NetworkContext, peer: &PeerId, packet_id: u8, data: &[u8]) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 695 - fn read(&self, io: &NetworkContext, peer: &PeerId, packet_id: u8, data: &[u8]) { [INFO] [stderr] 695 + fn read(&self, io: &dyn NetworkContext, peer: &PeerId, packet_id: u8, data: &[u8]) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/mod.rs:699:27 [INFO] [stderr] | [INFO] [stderr] 699 | fn connected(&self, io: &NetworkContext, peer: &PeerId) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 699 - fn connected(&self, io: &NetworkContext, peer: &PeerId) { [INFO] [stderr] 699 + fn connected(&self, io: &dyn NetworkContext, peer: &PeerId) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/mod.rs:704:31 [INFO] [stderr] | [INFO] [stderr] 704 | fn disconnected(&self, _io: &NetworkContext, peer: &PeerId) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 704 - fn disconnected(&self, _io: &NetworkContext, peer: &PeerId) { [INFO] [stderr] 704 + fn disconnected(&self, _io: &dyn NetworkContext, peer: &PeerId) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/mod.rs:708:25 [INFO] [stderr] | [INFO] [stderr] 708 | fn timeout(&self, io: &NetworkContext, timer: TimerToken) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 708 - fn timeout(&self, io: &NetworkContext, timer: TimerToken) { [INFO] [stderr] 708 + fn timeout(&self, io: &dyn NetworkContext, timer: TimerToken) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/mod.rs:722:29 [INFO] [stderr] | [INFO] [stderr] 722 | fn initialize(&self, _io: &NetworkContext) { } [INFO] [stderr] | ^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 722 - fn initialize(&self, _io: &NetworkContext) { } [INFO] [stderr] 722 + fn initialize(&self, _io: &dyn NetworkContext) { } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/mod.rs:724:23 [INFO] [stderr] | [INFO] [stderr] 724 | fn read(&self, _io: &NetworkContext, _peer: &PeerId, _id: u8, _msg: &[u8]) { } [INFO] [stderr] | ^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 724 - fn read(&self, _io: &NetworkContext, _peer: &PeerId, _id: u8, _msg: &[u8]) { } [INFO] [stderr] 724 + fn read(&self, _io: &dyn NetworkContext, _peer: &PeerId, _id: u8, _msg: &[u8]) { } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/mod.rs:726:28 [INFO] [stderr] | [INFO] [stderr] 726 | fn connected(&self, _io: &NetworkContext, _peer: &PeerId) { } [INFO] [stderr] | ^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 726 - fn connected(&self, _io: &NetworkContext, _peer: &PeerId) { } [INFO] [stderr] 726 + fn connected(&self, _io: &dyn NetworkContext, _peer: &PeerId) { } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/mod.rs:728:31 [INFO] [stderr] | [INFO] [stderr] 728 | fn disconnected(&self, _io: &NetworkContext, _peer: &PeerId) { } [INFO] [stderr] | ^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 728 - fn disconnected(&self, _io: &NetworkContext, _peer: &PeerId) { } [INFO] [stderr] 728 + fn disconnected(&self, _io: &dyn NetworkContext, _peer: &PeerId) { } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/net/mod.rs:730:26 [INFO] [stderr] | [INFO] [stderr] 730 | fn timeout(&self, _io: &NetworkContext, _timer: TimerToken) { } [INFO] [stderr] | ^^^^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 730 - fn timeout(&self, _io: &NetworkContext, _timer: TimerToken) { } [INFO] [stderr] 730 + fn timeout(&self, _io: &dyn NetworkContext, _timer: TimerToken) { } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/rpc/filter.rs:60:38 [INFO] [stderr] | [INFO] [stderr] 60 | let (tx, rx) = mpsc::channel::>(); [INFO] [stderr] | ^^^^^^^^^^^ [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 60 - let (tx, rx) = mpsc::channel::>(); [INFO] [stderr] 60 + let (tx, rx) = mpsc::channel::>(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `ethereum_types::H256` [INFO] [stderr] --> src/message.rs:464:6 [INFO] [stderr] | [INFO] [stderr] 464 | use ethereum_types::H256; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `parity-whisper` (lib) generated 41 warnings (1 duplicate) [INFO] [stderr] warning: `parity-whisper` (lib test) generated 42 warnings (41 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/parity_whisper-65ebbc3ae7f6b4fa) [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test aes_gcm::tests::aes_gcm_256 ... ok [INFO] [stdout] test rpc::filter::tests::rejects_empty_topics ... ok [INFO] [stdout] test rpc::payload::tests::encode_decode_roundtrip ... ok [INFO] [stdout] test message::tests::round_trip ... ok [INFO] [stdout] test rpc::payload::tests::encode_with_padding ... ok [INFO] [stdout] test rpc::crypto::tests::encrypt_symmetric ... ok [INFO] [stdout] test message::tests::work_factor ... ok [INFO] [stdout] test message::tests::passes_checks ... ok [INFO] [stdout] test message::tests::round_trip_multitopic ... ok [INFO] [stdout] test rpc::types::tests::deserialize_topic ... ok [INFO] [stdout] test rpc::payload::tests::padding_len_bytes_sanity ... ok [INFO] [stdout] test rpc::payload::tests::encode_empty ... ok [INFO] [stdout] test rpc::types::tests::test_bytes_deserialize ... ok [INFO] [stdout] test rpc::types::tests::test_bytes_serialize ... ok [INFO] [stdout] test rpc::crypto::tests::encrypt_broadcast ... ok [INFO] [stdout] test rpc::filter::tests::basic_match ... ok [INFO] [stdout] test net::tests::message_gets_relayed ... ok [INFO] [stdout] test message::tests::create_message ... ok [INFO] [stdout] test message::tests::future_message - should panic ... ok [INFO] [stdout] test message::tests::pre_epoch - should panic ... ok [INFO] [stdout] test rpc::payload::tests::encode_with_padding_and_signature ... ok [INFO] [stdout] test rpc::payload::tests::encode_with_signature ... ok [INFO] [stdout] test rpc::filter::tests::decrypt_and_decode ... ok [INFO] [stdout] test rpc::key_store::tests::generated_key_should_exist ... ok [INFO] [stdout] test rpc::key_store::tests::rejects_invalid_secret ... ok [INFO] [stdout] test rpc::crypto::tests::encrypt_asymmetric ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stderr] Doc-tests parity-whisper [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/rpc/payload.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | 0 ... 8 => Some(1), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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 [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/rpc/payload.rs:70:5 [INFO] [stderr] | [INFO] [stderr] 70 | 0 ... 16 => Some(2), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/rpc/payload.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | 0 ... 24 => Some(3), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [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" "961a6ea86316dc7eb1dc56018ddb846406e9d08ff9e678b5922af84d7fa4f9b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "961a6ea86316dc7eb1dc56018ddb846406e9d08ff9e678b5922af84d7fa4f9b5", kill_on_drop: false }` [INFO] [stdout] 961a6ea86316dc7eb1dc56018ddb846406e9d08ff9e678b5922af84d7fa4f9b5