[INFO] cloning repository https://github.com/46bit/comms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/46bit/comms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F46bit%2Fcomms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F46bit%2Fcomms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d96ab1c55c57c5ae6d84e9064756cabe32135c4 [INFO] checking 46bit/comms against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F46bit%2Fcomms" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/46bit/comms on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/46bit/comms [INFO] finished tweaking git repo https://github.com/46bit/comms [INFO] tweaked toml for git repo https://github.com/46bit/comms written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/46bit/comms 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded log v0.3.7 [INFO] [stderr] Downloaded tokio-timer v0.1.1 [INFO] [stderr] Downloaded matches v0.1.4 [INFO] [stderr] Downloaded cargo_metadata v0.1.2 [INFO] [stderr] Downloaded quine-mc_cluskey v0.2.4 [INFO] [stderr] Downloaded clippy_lints v0.0.121 [INFO] [stderr] Downloaded serde_codegen_internals v0.14.2 [INFO] [stderr] Downloaded unicode-normalization v0.1.4 [INFO] [stderr] Downloaded syn v0.11.10 [INFO] [stderr] Downloaded serde_derive v0.9.13 [INFO] [stderr] Downloaded dtoa v0.4.1 [INFO] [stderr] Downloaded num-traits v0.1.37 [INFO] [stderr] Downloaded serde v0.9.13 [INFO] [stderr] Downloaded serde_json v0.9.9 [INFO] [stderr] Downloaded regex-syntax v0.4.0 [INFO] [stderr] Downloaded semver v0.6.0 [INFO] [stderr] Downloaded rustc-serialize v0.3.23 [INFO] [stderr] Downloaded clippy v0.0.121 [INFO] [stderr] Downloaded libc v0.2.21 [INFO] [stderr] Downloaded rand v0.3.15 [INFO] [stderr] Downloaded futures v0.1.13 [INFO] [stderr] Downloaded itoa v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6beb19d7a8b9d2366c4d003500a7a60c91fa3db63e499c5b558cef818d38bde4 [INFO] running `Command { std: "docker" "start" "-a" "6beb19d7a8b9d2366c4d003500a7a60c91fa3db63e499c5b558cef818d38bde4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6beb19d7a8b9d2366c4d003500a7a60c91fa3db63e499c5b558cef818d38bde4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6beb19d7a8b9d2366c4d003500a7a60c91fa3db63e499c5b558cef818d38bde4", kill_on_drop: false }` [INFO] [stdout] 6beb19d7a8b9d2366c4d003500a7a60c91fa3db63e499c5b558cef818d38bde4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc79cc66602f6a6bffc3990151731982eb9acf82c3a9455bb137faece7d7e184 [INFO] running `Command { std: "docker" "start" "-a" "bc79cc66602f6a6bffc3990151731982eb9acf82c3a9455bb137faece7d7e184", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Checking log v0.3.7 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking futures v0.1.13 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking tokio-timer v0.1.1 [INFO] [stderr] Checking comms v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/client/receive.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Future` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sink` is imported redundantly [INFO] [stdout] --> src/client/receive.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Sink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/client/receive.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Poll` is imported redundantly [INFO] [stdout] --> src/client/receive.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Async` is imported redundantly [INFO] [stdout] --> src/client/receive.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Async` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/client/transmit.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Future` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sink` is imported redundantly [INFO] [stdout] --> src/client/transmit.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Sink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/client/transmit.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Poll` is imported redundantly [INFO] [stdout] --> src/client/transmit.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Async` is imported redundantly [INFO] [stdout] --> src/client/transmit.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Async` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Hash` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sink` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Sink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Poll` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Async` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Async` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsyncSink` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `AsyncSink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Hash` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashSet` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `HashSet` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sink` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Sink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Poll` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Async` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Async` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsyncSink` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `AsyncSink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Hash` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashSet` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashSet, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `HashSet` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashSet, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sink` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Sink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Poll` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Async` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Async` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::transmit::*` [INFO] [stdout] --> src/room/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::transmit::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn update_status(self) -> Box, Self), Error = Self>> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | pub fn update_status(self) -> Box, Self), Error = Self>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking quickcheck v0.2.27 [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/client/receive.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Future` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sink` is imported redundantly [INFO] [stdout] --> src/client/receive.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Sink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/client/receive.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Poll` is imported redundantly [INFO] [stdout] --> src/client/receive.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/client/receive.rs:207:41 [INFO] [stdout] | [INFO] [stdout] 205 | use super::*; [INFO] [stdout] | -------- the item `Future` is already imported here [INFO] [stdout] 206 | use super::test::*; [INFO] [stdout] 207 | use futures::{lazy, future, stream, Future}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `drop` is imported redundantly [INFO] [stdout] --> src/client/receive.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | use std::mem::drop; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `drop` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/client/transmit.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Future` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sink` is imported redundantly [INFO] [stdout] --> src/client/transmit.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Sink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/client/transmit.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Poll` is imported redundantly [INFO] [stdout] --> src/client/transmit.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Async` is imported redundantly [INFO] [stdout] --> src/client/transmit.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Async` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/client/mod.rs:329:35 [INFO] [stdout] | [INFO] [stdout] 327 | use super::*; [INFO] [stdout] | -------- the item `Future` is already imported here [INFO] [stdout] 328 | use super::test::*; [INFO] [stdout] 329 | use futures::{lazy, executor, Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/client/mod.rs:329:43 [INFO] [stdout] | [INFO] [stdout] 327 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] 328 | use super::test::*; [INFO] [stdout] 329 | use futures::{lazy, executor, Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Hash` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sink` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Sink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Poll` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Async` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Async` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsyncSink` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `AsyncSink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Hash` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashSet` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `HashSet` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sink` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Sink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Poll` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Async` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Async` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsyncSink` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `AsyncSink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Hash` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashSet` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashSet, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `HashSet` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashSet, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sink` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Sink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Poll` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Async` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Async` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::transmit::*` [INFO] [stdout] --> src/room/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::transmit::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/room/mod.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 254 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] 255 | use super::test::*; [INFO] [stdout] 256 | use futures::{executor, Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn update_status(self) -> Box, Self), Error = Self>> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | pub fn update_status(self) -> Box, Self), Error = Self>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn unpark_noop() -> Arc { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | pub fn unpark_noop() -> Arc { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/client/mod.rs:336:53 [INFO] [stdout] | [INFO] [stdout] 336 | let (_, _, client0) = mock_client(client0_id.clone(), 1); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/client/mod.rs:338:53 [INFO] [stdout] | [INFO] [stdout] 338 | let (_, _, client1) = mock_client(client1_id.clone(), 1); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.22s [INFO] running `Command { std: "docker" "inspect" "bc79cc66602f6a6bffc3990151731982eb9acf82c3a9455bb137faece7d7e184", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc79cc66602f6a6bffc3990151731982eb9acf82c3a9455bb137faece7d7e184", kill_on_drop: false }` [INFO] [stdout] bc79cc66602f6a6bffc3990151731982eb9acf82c3a9455bb137faece7d7e184 [INFO] checking 46bit/comms against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F46bit%2Fcomms" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/46bit/comms on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/46bit/comms [INFO] finished tweaking git repo https://github.com/46bit/comms [INFO] tweaked toml for git repo https://github.com/46bit/comms written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/46bit/comms 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87d10fc239beea889ffcd465f5f4e99656c96455fcaf6f76676a4ef05a138674 [INFO] running `Command { std: "docker" "start" "-a" "87d10fc239beea889ffcd465f5f4e99656c96455fcaf6f76676a4ef05a138674", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87d10fc239beea889ffcd465f5f4e99656c96455fcaf6f76676a4ef05a138674", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87d10fc239beea889ffcd465f5f4e99656c96455fcaf6f76676a4ef05a138674", kill_on_drop: false }` [INFO] [stdout] 87d10fc239beea889ffcd465f5f4e99656c96455fcaf6f76676a4ef05a138674 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2924d9269ff4e49b8fa75794b9c7c413971c04cb8c6e28a989e15acb55e7acc0 [INFO] running `Command { std: "docker" "start" "-a" "2924d9269ff4e49b8fa75794b9c7c413971c04cb8c6e28a989e15acb55e7acc0", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Checking futures v0.1.13 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking log v0.3.7 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking tokio-timer v0.1.1 [INFO] [stderr] Checking comms v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/client/receive.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Future` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sink` is imported redundantly [INFO] [stdout] --> src/client/receive.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Sink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/client/receive.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Poll` is imported redundantly [INFO] [stdout] --> src/client/receive.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Async` is imported redundantly [INFO] [stdout] --> src/client/receive.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Async` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/client/transmit.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Future` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sink` is imported redundantly [INFO] [stdout] --> src/client/transmit.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Sink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/client/transmit.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Poll` is imported redundantly [INFO] [stdout] --> src/client/transmit.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Async` is imported redundantly [INFO] [stdout] --> src/client/transmit.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Async` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Hash` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sink` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Sink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Poll` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Async` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Async` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsyncSink` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `AsyncSink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Hash` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashSet` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `HashSet` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sink` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Sink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Poll` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Async` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Async` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsyncSink` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `AsyncSink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Hash` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashSet` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashSet, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `HashSet` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashSet, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sink` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Sink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Poll` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Async` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Async` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::transmit::*` [INFO] [stdout] --> src/room/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::transmit::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn update_status(self) -> Box, Self), Error = Self>> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | pub fn update_status(self) -> Box, Self), Error = Self>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking quickcheck v0.2.27 [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/client/receive.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Future` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sink` is imported redundantly [INFO] [stdout] --> src/client/receive.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Sink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/client/receive.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Poll` is imported redundantly [INFO] [stdout] --> src/client/receive.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/client/receive.rs:207:41 [INFO] [stdout] | [INFO] [stdout] 205 | use super::*; [INFO] [stdout] | -------- the item `Future` is already imported here [INFO] [stdout] 206 | use super::test::*; [INFO] [stdout] 207 | use futures::{lazy, future, stream, Future}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `drop` is imported redundantly [INFO] [stdout] --> src/client/receive.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | use std::mem::drop; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `drop` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/client/transmit.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Future` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sink` is imported redundantly [INFO] [stdout] --> src/client/transmit.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Sink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/client/transmit.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Poll` is imported redundantly [INFO] [stdout] --> src/client/transmit.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Async` is imported redundantly [INFO] [stdout] --> src/client/transmit.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Async` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/client/mod.rs:329:35 [INFO] [stdout] | [INFO] [stdout] 327 | use super::*; [INFO] [stdout] | -------- the item `Future` is already imported here [INFO] [stdout] 328 | use super::test::*; [INFO] [stdout] 329 | use futures::{lazy, executor, Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/client/mod.rs:329:43 [INFO] [stdout] | [INFO] [stdout] 327 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] 328 | use super::test::*; [INFO] [stdout] 329 | use futures::{lazy, executor, Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Hash` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sink` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Sink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Poll` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Async` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Async` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsyncSink` is imported redundantly [INFO] [stdout] --> src/room/transmit.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `AsyncSink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Hash` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashSet` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `HashSet` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sink` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Sink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Poll` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Async` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Async` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsyncSink` is imported redundantly [INFO] [stdout] --> src/room/broadcast.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async, AsyncSink}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `AsyncSink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Hash` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashSet` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashSet, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `HashSet` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashSet, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sink` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Sink` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Poll` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Async` is imported redundantly [INFO] [stdout] --> src/room/receive.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, Sink, Stream, Poll, Async}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | -------- the item `Async` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::transmit::*` [INFO] [stdout] --> src/room/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::transmit::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/room/mod.rs:256:37 [INFO] [stdout] | [INFO] [stdout] 254 | use super::*; [INFO] [stdout] | -------- the item `Stream` is already imported here [INFO] [stdout] 255 | use super::test::*; [INFO] [stdout] 256 | use futures::{executor, Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client/mod.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn update_status(self) -> Box, Self), Error = Self>> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | pub fn update_status(self) -> Box, Self), Error = Self>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn unpark_noop() -> Arc { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 | pub fn unpark_noop() -> Arc { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/client/mod.rs:336:53 [INFO] [stdout] | [INFO] [stdout] 336 | let (_, _, client0) = mock_client(client0_id.clone(), 1); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/client/mod.rs:338:53 [INFO] [stdout] | [INFO] [stdout] 338 | let (_, _, client1) = mock_client(client1_id.clone(), 1); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.06s [INFO] running `Command { std: "docker" "inspect" "2924d9269ff4e49b8fa75794b9c7c413971c04cb8c6e28a989e15acb55e7acc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2924d9269ff4e49b8fa75794b9c7c413971c04cb8c6e28a989e15acb55e7acc0", kill_on_drop: false }` [INFO] [stdout] 2924d9269ff4e49b8fa75794b9c7c413971c04cb8c6e28a989e15acb55e7acc0