[INFO] fetching crate tetsy-ws 0.10.0... [INFO] checking tetsy-ws-0.10.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate tetsy-ws 0.10.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate tetsy-ws 0.10.0 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 crates.io crate tetsy-ws 0.10.0 [INFO] finished tweaking crates.io crate tetsy-ws 0.10.0 [INFO] tweaked toml for crates.io crate tetsy-ws 0.10.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate tetsy-ws 0.10.0 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] Downloading crates ... [INFO] [stderr] Downloaded security-framework v2.1.2 [INFO] [stderr] Downloaded openssl-probe v0.1.2 [INFO] [stderr] Downloaded security-framework-sys v2.1.1 [INFO] [stderr] Downloaded native-tls v0.2.7 [INFO] [stderr] Downloaded openssl-sys v0.9.60 [INFO] [stderr] Downloaded crossbeam-utils v0.8.3 [INFO] [stderr] Downloaded openssl v0.10.32 [INFO] [stderr] Downloaded regex v1.4.4 [INFO] [stderr] Downloaded libz-sys v1.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] f3055db315bec6e49e3f004b884c3db9b6a79435774c86bfa8f5570e802691ec [INFO] running `Command { std: "docker" "start" "-a" "f3055db315bec6e49e3f004b884c3db9b6a79435774c86bfa8f5570e802691ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3055db315bec6e49e3f004b884c3db9b6a79435774c86bfa8f5570e802691ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3055db315bec6e49e3f004b884c3db9b6a79435774c86bfa8f5570e802691ec", kill_on_drop: false }` [INFO] [stdout] f3055db315bec6e49e3f004b884c3db9b6a79435774c86bfa8f5570e802691ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] fa62babe16b5b53d497725f49a38ed9d80e0637bbde36d14e2f496d240d631a0 [INFO] running `Command { std: "docker" "start" "-a" "fa62babe16b5b53d497725f49a38ed9d80e0637bbde36d14e2f496d240d631a0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking regex v1.4.4 [INFO] [stderr] Checking tetsy-ws v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/communication.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mio` is imported redundantly [INFO] [stdout] --> src/communication.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use mio; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate mio; [INFO] [stdout] | ----------------- the item `mio` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `url` is imported redundantly [INFO] [stdout] --> src/communication.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use url; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate url; [INFO] [stdout] | ----------------- the item `url` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/communication.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `url` is imported redundantly [INFO] [stdout] --> src/connection.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use url; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate url; [INFO] [stdout] | ----------------- the item `url` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/frame.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/frame.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `url` is imported redundantly [INFO] [stdout] --> src/handler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use url; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate url; [INFO] [stdout] | ----------------- the item `url` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `httparse` is imported redundantly [INFO] [stdout] --> src/handshake.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use httparse; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate httparse; [INFO] [stdout] | ---------------------- the item `httparse` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/handshake.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sha1` is imported redundantly [INFO] [stdout] --> src/handshake.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use sha1::{self, Digest}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate sha1; [INFO] [stdout] | ------------------ the item `sha1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `url` is imported redundantly [INFO] [stdout] --> src/handshake.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use url; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate url; [INFO] [stdout] | ----------------- the item `url` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mio` is imported redundantly [INFO] [stdout] --> src/io.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use mio; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate mio; [INFO] [stdout] | ----------------- the item `mio` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mio_extras` is imported redundantly [INFO] [stdout] --> src/io.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use mio_extras; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate mio_extras; [INFO] [stdout] | ------------------------ the item `mio_extras` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/message.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/message.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/protocol.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/protocol.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/result.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/result.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `httparse` is imported redundantly [INFO] [stdout] --> src/result.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use httparse; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate httparse; [INFO] [stdout] | ---------------------- the item `httparse` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mio` is imported redundantly [INFO] [stdout] --> src/result.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use mio; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate mio; [INFO] [stdout] | ----------------- the item `mio` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> examples/router.rs:13:63 [INFO] [stdout] | [INFO] [stdout] 13 | fn on_request(&mut self, req: &ws::Request) -> ws::Result<(ws::Response)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - fn on_request(&mut self, req: &ws::Request) -> ws::Result<(ws::Response)> { [INFO] [stdout] 13 + fn on_request(&mut self, req: &ws::Request) -> ws::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> examples/router.rs:82:63 [INFO] [stdout] | [INFO] [stdout] 82 | fn on_request(&mut self, req: &ws::Request) -> ws::Result<(ws::Response)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 82 - fn on_request(&mut self, req: &ws::Request) -> ws::Result<(ws::Response)> { [INFO] [stdout] 82 + fn on_request(&mut self, req: &ws::Request) -> ws::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/router.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | inner: Box, [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] 9 | inner: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> examples/html_chat.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 43 | fn on_request(&mut self, req: &Request) -> Result<(Response)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - fn on_request(&mut self, req: &Request) -> Result<(Response)> { [INFO] [stdout] 43 + fn on_request(&mut self, req: &Request) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/communication.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mio` is imported redundantly [INFO] [stdout] --> src/communication.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use mio; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate mio; [INFO] [stdout] | ----------------- the item `mio` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `url` is imported redundantly [INFO] [stdout] --> src/communication.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use url; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate url; [INFO] [stdout] | ----------------- the item `url` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/communication.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `url` is imported redundantly [INFO] [stdout] --> src/connection.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use url; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate url; [INFO] [stdout] | ----------------- the item `url` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/frame.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/frame.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `url` is imported redundantly [INFO] [stdout] --> src/handler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use url; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate url; [INFO] [stdout] | ----------------- the item `url` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `httparse` is imported redundantly [INFO] [stdout] --> src/handshake.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use httparse; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate httparse; [INFO] [stdout] | ---------------------- the item `httparse` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/handshake.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sha1` is imported redundantly [INFO] [stdout] --> src/handshake.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use sha1::{self, Digest}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate sha1; [INFO] [stdout] | ------------------ the item `sha1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `url` is imported redundantly [INFO] [stdout] --> src/handshake.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use url; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate url; [INFO] [stdout] | ----------------- the item `url` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mio` is imported redundantly [INFO] [stdout] --> src/io.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use mio; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate mio; [INFO] [stdout] | ----------------- the item `mio` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mio_extras` is imported redundantly [INFO] [stdout] --> src/io.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use mio_extras; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate mio_extras; [INFO] [stdout] | ------------------------ the item `mio_extras` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/message.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/message.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/protocol.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/protocol.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/result.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/result.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `httparse` is imported redundantly [INFO] [stdout] --> src/result.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use httparse; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate httparse; [INFO] [stdout] | ---------------------- the item `httparse` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mio` is imported redundantly [INFO] [stdout] --> src/result.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use mio; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate mio; [INFO] [stdout] | ----------------- the item `mio` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> src/factory.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | factory.connection_made(Sender::new(mio::Token(0), chn, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.92s [INFO] running `Command { std: "docker" "inspect" "fa62babe16b5b53d497725f49a38ed9d80e0637bbde36d14e2f496d240d631a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa62babe16b5b53d497725f49a38ed9d80e0637bbde36d14e2f496d240d631a0", kill_on_drop: false }` [INFO] [stdout] fa62babe16b5b53d497725f49a38ed9d80e0637bbde36d14e2f496d240d631a0