[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 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparitytech%2Fwhisper" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paritytech/whisper on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/paritytech/parity-ethereum.git` [INFO] [stderr] Updating git submodule `https://github.com/ethereum/tests.git` [INFO] [stderr] Updating git submodule `https://github.com/paritytech/wasm-tests` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/paritytech/rust-secp256k1` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zeroize v0.9.2 [INFO] [stderr] Downloaded impl-serde v0.2.0 [INFO] [stderr] Downloaded impl-rlp v0.2.0 [INFO] [stderr] Downloaded malloc_size_of_derive v0.1.0 [INFO] [stderr] Downloaded ordered-float v0.5.2 [INFO] [stderr] Downloaded rlp v0.4.0 [INFO] [stderr] Downloaded parity-util-mem v0.1.0 [INFO] [stderr] Downloaded jsonrpc-core v12.0.0 [INFO] [stderr] Downloaded slab v0.2.0 [INFO] [stderr] Downloaded memzero v0.1.0 [INFO] [stderr] Downloaded parity-crypto v0.4.0 [INFO] [stderr] Downloaded subtle v2.1.0 [INFO] [stderr] Downloaded parity-path v0.1.1 [INFO] [stderr] Downloaded strsim v0.9.2 [INFO] [stderr] Downloaded igd v0.9.0 [INFO] [stderr] Downloaded attohttpc v0.4.1 [INFO] [stderr] Downloaded xmltree v0.8.0 [INFO] [stderr] Downloaded keccak-hash v0.2.0 [INFO] [stderr] Downloaded parity-bytes v0.1.0 [INFO] [stderr] Downloaded globset v0.4.4 [INFO] [stderr] Downloaded parity-snappy v0.1.0 [INFO] [stderr] Downloaded jsonrpc-server-utils v12.0.0 [INFO] [stderr] Downloaded parity-wordlist v1.3.0 [INFO] [stderr] Downloaded bstr v0.2.1 [INFO] [stderr] Downloaded parity-snappy-sys v0.1.2 [INFO] [stderr] Downloaded jsonrpc-pubsub v12.0.0 [INFO] [stderr] Downloaded jsonrpc-derive v12.0.0 [INFO] [stderr] Downloaded zeroize_derive v0.9.0 [INFO] [stderr] Downloaded jsonrpc-http-server v12.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09b78ac944a018b92f7da32de8bdacdb2ce9c83b7d1a8330e91945a345aee248 [INFO] running `Command { std: "docker" "start" "-a" "09b78ac944a018b92f7da32de8bdacdb2ce9c83b7d1a8330e91945a345aee248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09b78ac944a018b92f7da32de8bdacdb2ce9c83b7d1a8330e91945a345aee248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09b78ac944a018b92f7da32de8bdacdb2ce9c83b7d1a8330e91945a345aee248", kill_on_drop: false }` [INFO] [stdout] 09b78ac944a018b92f7da32de8bdacdb2ce9c83b7d1a8330e91945a345aee248 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9afcbe8e59ba1637765c84f2f0af9d586a455ac6da2a8f1ca12d341e265d30e6 [INFO] running `Command { std: "docker" "start" "-a" "9afcbe8e59ba1637765c84f2f0af9d586a455ac6da2a8f1ca12d341e265d30e6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling futures v0.1.28 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling opaque-debug v0.2.2 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling rustc-hex v2.0.1 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling rlp v0.4.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling static_assertions v0.2.5 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling fixed-hash v0.3.2 [INFO] [stderr] Compiling impl-rlp v0.2.0 [INFO] [stderr] Compiling parity-codec v3.5.4 [INFO] [stderr] Compiling impl-serde v0.2.0 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.41 [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 scopeguard v1.0.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling impl-codec v0.2.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling lock_api v0.2.0 [INFO] [stderr] Compiling hmac v0.7.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling uint v0.7.1 [INFO] [stderr] Compiling stream-cipher v0.3.0 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling cmake v0.1.40 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling primitive-types v0.3.0 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling ctr v0.3.2 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling parity-snappy-sys v0.1.2 [INFO] [stderr] Compiling ethbloom v0.6.4 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling eth-secp256k1 v0.5.7 (https://github.com/paritytech/rust-secp256k1#9791e79f) [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling ethereum-types v0.6.0 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling scrypt v0.2.0 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling aes-ctr v0.3.0 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Compiling ripemd160 v0.8.0 [INFO] [stderr] Compiling block-modes v0.3.3 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling subtle v2.1.0 [INFO] [stderr] Compiling memzero v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling parity-crypto v0.4.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling timer v0.2.0 [INFO] [stderr] Compiling toml v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling parity-wordlist v1.3.0 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rustc-hex v1.0.0 [INFO] [stderr] Compiling edit-distance v2.1.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling ethcore-io v1.12.0 (https://github.com/paritytech/parity-ethereum.git#fe7bc545) [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling elastic-array v0.10.2 [INFO] [stderr] Compiling ipnetwork v0.12.8 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling spin v0.5.0 [INFO] [stderr] Compiling ordered-float v0.5.2 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling serde_derive v1.0.94 [INFO] [stderr] Compiling zeroize_derive v0.9.0 [INFO] [stderr] Compiling derive_more v0.14.1 [INFO] [stderr] Compiling malloc_size_of_derive v0.1.0 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling time-utils v0.1.0 (https://github.com/paritytech/parity-ethereum.git#fe7bc545) [INFO] [stderr] Compiling jsonrpc-derive v12.0.0 [INFO] [stderr] Compiling zeroize v0.9.2 [INFO] [stderr] Compiling parity-util-mem v0.1.0 [INFO] [stderr] Compiling parity-snappy v0.1.0 [INFO] [stderr] Compiling jsonrpc-core v12.0.0 [INFO] [stderr] Compiling ethkey v0.3.0 (https://github.com/paritytech/parity-ethereum.git#fe7bc545) [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] = 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] = note: `#[warn(anonymous_parameters)]` 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: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` which comes from the expansion of the macro `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` which comes from the expansion of the macro `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` which comes from the expansion of the macro `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] = 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [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: &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: &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: &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: &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: &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: &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: &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: &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: &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: &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] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.63s [INFO] running `Command { std: "docker" "inspect" "9afcbe8e59ba1637765c84f2f0af9d586a455ac6da2a8f1ca12d341e265d30e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9afcbe8e59ba1637765c84f2f0af9d586a455ac6da2a8f1ca12d341e265d30e6", kill_on_drop: false }` [INFO] [stdout] 9afcbe8e59ba1637765c84f2f0af9d586a455ac6da2a8f1ca12d341e265d30e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8736892828e651327c9e50a6bc7d49ce6949213017b9f31f7729c9eed6fcea9 [INFO] running `Command { std: "docker" "start" "-a" "d8736892828e651327c9e50a6bc7d49ce6949213017b9f31f7729c9eed6fcea9", kill_on_drop: false }` [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] = 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] = note: `#[warn(anonymous_parameters)]` 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: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` which comes from the expansion of the macro `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` which comes from the expansion of the macro `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` which comes from the expansion of the macro `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] = 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [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: &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: &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: &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: &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: &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: &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: &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: &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: &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: &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] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling parity-whisper v0.1.0 (/opt/rustwide/workdir) [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] = 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] = note: `#[warn(anonymous_parameters)]` 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: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` which comes from the expansion of the macro `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` which comes from the expansion of the macro `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` which comes from the expansion of the macro `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] = 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [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: &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: &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: &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: &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: &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: &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: &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: &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: &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: &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] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.84s [INFO] running `Command { std: "docker" "inspect" "d8736892828e651327c9e50a6bc7d49ce6949213017b9f31f7729c9eed6fcea9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8736892828e651327c9e50a6bc7d49ce6949213017b9f31f7729c9eed6fcea9", kill_on_drop: false }` [INFO] [stdout] d8736892828e651327c9e50a6bc7d49ce6949213017b9f31f7729c9eed6fcea9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a0623c9c731c8450f176043d4b04192248be40af9c3f9fd2501796bb16fddc2c [INFO] running `Command { std: "docker" "start" "-a" "a0623c9c731c8450f176043d4b04192248be40af9c3f9fd2501796bb16fddc2c", kill_on_drop: false }` [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] = 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] = note: `#[warn(anonymous_parameters)]` on by default [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` which comes from the expansion of the macro `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` which comes from the expansion of the macro `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] = 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [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: &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: &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: &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: &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: &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: &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: &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: &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: &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: &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] | +++ [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) (run `cargo fix --lib -p parity-whisper` to apply 38 suggestions) [INFO] [stderr] warning: `parity-whisper` (lib test) generated 42 warnings (41 duplicates) (run `cargo fix --lib -p parity-whisper --tests` to apply 1 suggestion) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/parity_whisper-f7c7675e96dbaab2) [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test aes_gcm::tests::aes_gcm_256 ... ok [INFO] [stdout] test message::tests::round_trip ... ok [INFO] [stdout] test message::tests::round_trip_multitopic ... ok [INFO] [stdout] test message::tests::work_factor ... ok [INFO] [stdout] test rpc::crypto::tests::encrypt_broadcast ... ok [INFO] [stdout] test rpc::crypto::tests::encrypt_symmetric ... ok [INFO] [stdout] test rpc::filter::tests::basic_match ... ok [INFO] [stdout] test rpc::filter::tests::rejects_empty_topics ... ok [INFO] [stdout] test message::tests::passes_checks ... ok [INFO] [stdout] test net::tests::message_gets_relayed ... ok [INFO] [stdout] test rpc::payload::tests::encode_decode_roundtrip ... ok [INFO] [stdout] test rpc::payload::tests::encode_empty ... ok [INFO] [stdout] test rpc::payload::tests::encode_with_padding ... ok [INFO] [stdout] test rpc::key_store::tests::rejects_invalid_secret ... ok [INFO] [stdout] test rpc::key_store::tests::generated_key_should_exist ... ok [INFO] [stdout] test rpc::payload::tests::padding_len_bytes_sanity ... ok [INFO] [stdout] test rpc::types::tests::deserialize_topic ... ok [INFO] [stdout] test rpc::types::tests::test_bytes_deserialize ... ok [INFO] [stdout] test rpc::types::tests::test_bytes_serialize ... ok [INFO] [stdout] test message::tests::pre_epoch - should panic ... ok [INFO] [stdout] test message::tests::future_message - should panic ... ok [INFO] [stdout] test rpc::payload::tests::encode_with_signature ... ok [INFO] [stdout] test rpc::payload::tests::encode_with_padding_and_signature ... ok [INFO] [stdout] test rpc::filter::tests::decrypt_and_decode ... ok [INFO] [stdout] test rpc::crypto::tests::encrypt_asymmetric ... ok [INFO] [stdout] test message::tests::create_message ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests parity-whisper [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] = 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: 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" "a0623c9c731c8450f176043d4b04192248be40af9c3f9fd2501796bb16fddc2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0623c9c731c8450f176043d4b04192248be40af9c3f9fd2501796bb16fddc2c", kill_on_drop: false }` [INFO] [stdout] a0623c9c731c8450f176043d4b04192248be40af9c3f9fd2501796bb16fddc2c