[INFO] fetching crate mqtt 0.1.4...
[INFO] checking mqtt-0.1.4 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate mqtt 0.1.4 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate mqtt 0.1.4 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate mqtt 0.1.4
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate mqtt 0.1.4
[INFO] tweaked toml for crates.io crate mqtt 0.1.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rotor v0.6.3
[INFO] [stderr]   Downloaded quick-error v0.2.2
[INFO] [stderr]   Downloaded error-chain v0.11.0
[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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 58e8782b0ed849195f684f6ccd14ce02dd56506c9648731681e582356af649d4
[INFO] running `Command { std: "docker" "start" "-a" "58e8782b0ed849195f684f6ccd14ce02dd56506c9648731681e582356af649d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "58e8782b0ed849195f684f6ccd14ce02dd56506c9648731681e582356af649d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "58e8782b0ed849195f684f6ccd14ce02dd56506c9648731681e582356af649d4", kill_on_drop: false }`
[INFO] [stdout] 58e8782b0ed849195f684f6ccd14ce02dd56506c9648731681e582356af649d4
[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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 793fbaedd3bef53e97d5b09796a4d37bf5771f798723a0e75f3fc2ff26cae2ff
[INFO] running `Command { std: "docker" "start" "-a" "793fbaedd3bef53e97d5b09796a4d37bf5771f798723a0e75f3fc2ff26cae2ff", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]     Checking bitflags v0.4.0
[INFO] [stderr]     Checking ucd-util v0.1.10
[INFO] [stderr]     Checking bytes v0.3.0
[INFO] [stderr]     Checking slab v0.1.3
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]     Checking aho-corasick v0.6.10
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking quick-error v0.2.2
[INFO] [stderr]     Checking utf8-ranges v1.0.5
[INFO] [stderr]     Checking slab v0.3.0
[INFO] [stderr]     Checking regex-syntax v0.5.6
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling ws2_32-sys v0.2.1
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking nix v0.5.1
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking memchr v1.0.2
[INFO] [stderr]     Checking backtrace v0.3.71
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking nom v3.2.1
[INFO] [stderr]     Checking miow v0.1.5
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking error-chain v0.11.0
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking mio v0.5.1
[INFO] [stderr]     Checking rotor v0.6.3
[INFO] [stderr]     Checking env_logger v0.4.3
[INFO] [stderr]     Checking mqtt v0.1.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `From` is imported redundantly
[INFO] [stdout]  --> src/error.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::convert::From;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `From` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Iterator` is imported redundantly
[INFO] [stdout]  --> src/topic.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::iter::{Iterator, IntoIterator};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Iterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `IntoIterator` is imported redundantly
[INFO] [stdout]  --> src/topic.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::iter::{Iterator, IntoIterator};
[INFO] [stdout]   |                           ^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `IntoIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]  --> src/topic.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::convert::{AsRef, Into};
[INFO] [stdout]   |                    ^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Into` is imported redundantly
[INFO] [stdout]  --> src/topic.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::convert::{AsRef, Into};
[INFO] [stdout]   |                           ^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Into` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsMut` is imported redundantly
[INFO] [stdout]  --> src/transport.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::convert::AsMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `AsMut` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/error.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout] 3  | / error_chain!{
[INFO] [stdout] 4  | |     foreign_links {
[INFO] [stdout] 5  | |         Fmt(::std::fmt::Error);
[INFO] [stdout] 6  | |         Io(::std::io::Error);
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | |     }
[INFO] [stdout] 16 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> src/error.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout] 3  | / error_chain!{
[INFO] [stdout] 4  | |     foreign_links {
[INFO] [stdout] 5  | |         Fmt(::std::fmt::Error);
[INFO] [stdout] 6  | |         Io(::std::io::Error);
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | |     }
[INFO] [stdout] 16 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `From` is imported redundantly
[INFO] [stdout]  --> src/error.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::convert::From;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `From` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Iterator` is imported redundantly
[INFO] [stdout]  --> src/topic.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::iter::{Iterator, IntoIterator};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Iterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `IntoIterator` is imported redundantly
[INFO] [stdout]  --> src/topic.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::iter::{Iterator, IntoIterator};
[INFO] [stdout]   |                           ^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `IntoIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]  --> src/topic.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::convert::{AsRef, Into};
[INFO] [stdout]   |                    ^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Into` is imported redundantly
[INFO] [stdout]  --> src/topic.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::convert::{AsRef, Into};
[INFO] [stdout]   |                           ^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Into` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Needed` is imported redundantly
[INFO] [stdout]    --> src/decode.rs:274:15
[INFO] [stdout]     |
[INFO] [stdout] 274 |     use nom::{Needed, ErrorKind};
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |     use super::*;
[INFO] [stdout]     |         -------- the item `Needed` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ErrorKind` is imported redundantly
[INFO] [stdout]    --> src/decode.rs:274:23
[INFO] [stdout]     |
[INFO] [stdout] 274 |     use nom::{Needed, ErrorKind};
[INFO] [stdout]     |                       ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |     use super::*;
[INFO] [stdout]     |         -------- the item `ErrorKind` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Done` is imported redundantly
[INFO] [stdout]    --> src/decode.rs:275:24
[INFO] [stdout]     |
[INFO] [stdout] 275 |     use nom::IResult::{Done, Incomplete, Error};
[INFO] [stdout]     |                        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |     use super::*;
[INFO] [stdout]     |         -------- the item `Done` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Incomplete` is imported redundantly
[INFO] [stdout]    --> src/decode.rs:275:30
[INFO] [stdout]     |
[INFO] [stdout] 275 |     use nom::IResult::{Done, Incomplete, Error};
[INFO] [stdout]     |                              ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |     use super::*;
[INFO] [stdout]     |         -------- the item `Incomplete` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Error` is imported redundantly
[INFO] [stdout]    --> src/decode.rs:275:42
[INFO] [stdout]     |
[INFO] [stdout] 275 |     use nom::IResult::{Done, Incomplete, Error};
[INFO] [stdout]     |                                          ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |     use super::*;
[INFO] [stdout]     |         -------- the item `Error` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsMut` is imported redundantly
[INFO] [stdout]  --> src/transport.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::convert::AsMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `AsMut` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/error.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout] 3  | / error_chain!{
[INFO] [stdout] 4  | |     foreign_links {
[INFO] [stdout] 5  | |         Fmt(::std::fmt::Error);
[INFO] [stdout] 6  | |         Io(::std::io::Error);
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | |     }
[INFO] [stdout] 16 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> src/error.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout] 3  | / error_chain!{
[INFO] [stdout] 4  | |     foreign_links {
[INFO] [stdout] 5  | |         Fmt(::std::fmt::Error);
[INFO] [stdout] 6  | |         Io(::std::io::Error);
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | |     }
[INFO] [stdout] 16 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `WriteTopicExt` is never used
[INFO] [stdout]    --> src/topic.rs:324:11
[INFO] [stdout]     |
[INFO] [stdout] 324 | pub trait WriteTopicExt: io::Write {
[INFO] [stdout]     |           ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/transport.rs:215:16
[INFO] [stdout]     |
[INFO] [stdout] 215 | pub struct Fsm(Arc<Mutex<Tcp>>);
[INFO] [stdout]     |            --- ^^^^^^^^^^^^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            field in this struct
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 215 | pub struct Fsm(());
[INFO] [stdout]     |                ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/transport.rs:216:22
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub struct TcpClient(Arc<Mutex<Tcp>>);
[INFO] [stdout]     |            --------- ^^^^^^^^^^^^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            field in this struct
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub struct TcpClient(());
[INFO] [stdout]     |                      ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `keep_alive` is never read
[INFO] [stdout]    --> src/client.rs:294:5
[INFO] [stdout]     |
[INFO] [stdout] 290 | pub struct Client<'a, T: Transport, H: 'a + Handler> {
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 294 |     keep_alive: Duration,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `echo_client`
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider adding a `main` function to `examples/echo_client.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mqtt` (example "echo_client") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0432]: unresolved imports `bytes::ByteBuf`, `bytes::SliceBuf`
[INFO] [stdout]   --> examples/echo_server.rs:27:26
[INFO] [stdout]    |
[INFO] [stdout] 27 | use bytes::{Buf, BufMut, ByteBuf, SliceBuf};
[INFO] [stdout]    |                          ^^^^^^^  ^^^^^^^^ no `SliceBuf` in the root
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          no `ByteBuf` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> examples/echo_server.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | /     error_chain!{
[INFO] [stdout] 35 | |         types {
[INFO] [stdout] 36 | |             Error, ErrorKind, ResultExt, Result;
[INFO] [stdout] 37 | |         }
[INFO] [stdout] ...  |
[INFO] [stdout] 50 | |         }
[INFO] [stdout] 51 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> examples/echo_server.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | /     error_chain!{
[INFO] [stdout] 35 | |         types {
[INFO] [stdout] 36 | |             Error, ErrorKind, ResultExt, Result;
[INFO] [stdout] 37 | |         }
[INFO] [stdout] ...  |
[INFO] [stdout] 50 | |         }
[INFO] [stdout] 51 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `mio::Event::kind`: use Event::readiness()
[INFO] [stdout]    --> examples/echo_server.rs:123:62
[INFO] [stdout]     |
[INFO] [stdout] 123 | ...                   entry.get_mut().handle(event.kind(), poll)?;
[INFO] [stdout]     |                                                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `mio::Ready::is_hup`: use UnixReady instead
[INFO] [stdout]    --> examples/echo_server.rs:308:24
[INFO] [stdout]     |
[INFO] [stdout] 308 |             _ if ready.is_hup() => {
[INFO] [stdout]     |                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `mio::Ready::none`: use Ready::empty instead
[INFO] [stdout]    --> examples/echo_server.rs:378:39
[INFO] [stdout]     |
[INFO] [stdout] 378 |                           _ => Ready::none(),
[INFO] [stdout]     |                                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Buf`
[INFO] [stdout]   --> examples/echo_server.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 | use bytes::{Buf, BufMut, ByteBuf, SliceBuf};
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufMut`
[INFO] [stdout]   --> examples/echo_server.rs:27:18
[INFO] [stdout]    |
[INFO] [stdout] 27 | use bytes::{Buf, BufMut, ByteBuf, SliceBuf};
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mqtt` (example "echo_server") due to 2 previous errors; 7 warnings emitted
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/transport.rs:215:16
[INFO] [stdout]     |
[INFO] [stdout] 215 | pub struct Fsm(Arc<Mutex<Tcp>>);
[INFO] [stdout]     |            --- ^^^^^^^^^^^^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 215 | pub struct Fsm(());
[INFO] [stdout]     |                ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/transport.rs:216:22
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub struct TcpClient(Arc<Mutex<Tcp>>);
[INFO] [stdout]     |            --------- ^^^^^^^^^^^^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            field in this struct
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub struct TcpClient(());
[INFO] [stdout]     |                      ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `keep_alive` is never read
[INFO] [stdout]    --> src/client.rs:294:5
[INFO] [stdout]     |
[INFO] [stdout] 290 | pub struct Client<'a, T: Transport, H: 'a + Handler> {
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 294 |     keep_alive: Duration,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "793fbaedd3bef53e97d5b09796a4d37bf5771f798723a0e75f3fc2ff26cae2ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "793fbaedd3bef53e97d5b09796a4d37bf5771f798723a0e75f3fc2ff26cae2ff", kill_on_drop: false }`
[INFO] [stdout] 793fbaedd3bef53e97d5b09796a4d37bf5771f798723a0e75f3fc2ff26cae2ff
[INFO] checking mqtt-0.1.4 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate mqtt 0.1.4 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate mqtt 0.1.4 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate mqtt 0.1.4
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate mqtt 0.1.4
[INFO] tweaked toml for crates.io crate mqtt 0.1.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a57d91ed4bef4845dfdc7cbcb2e378d6a4f6c33df28bf2b692bfaabcdc100c80
[INFO] running `Command { std: "docker" "start" "-a" "a57d91ed4bef4845dfdc7cbcb2e378d6a4f6c33df28bf2b692bfaabcdc100c80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a57d91ed4bef4845dfdc7cbcb2e378d6a4f6c33df28bf2b692bfaabcdc100c80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a57d91ed4bef4845dfdc7cbcb2e378d6a4f6c33df28bf2b692bfaabcdc100c80", kill_on_drop: false }`
[INFO] [stdout] a57d91ed4bef4845dfdc7cbcb2e378d6a4f6c33df28bf2b692bfaabcdc100c80
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3071341874b3024263e5da5f7a85a611f9a7bd5f5cfa53e7a1ca4028df070ffc
[INFO] running `Command { std: "docker" "start" "-a" "3071341874b3024263e5da5f7a85a611f9a7bd5f5cfa53e7a1ca4028df070ffc", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]     Checking bitflags v0.4.0
[INFO] [stderr]     Checking bytes v0.3.0
[INFO] [stderr]     Checking slab v0.1.3
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]     Checking ucd-util v0.1.10
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking aho-corasick v0.6.10
[INFO] [stderr]     Checking utf8-ranges v1.0.5
[INFO] [stderr]     Checking quick-error v0.2.2
[INFO] [stderr]     Checking slab v0.3.0
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling ws2_32-sys v0.2.1
[INFO] [stderr]     Checking regex-syntax v0.5.6
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking nix v0.5.1
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking memchr v1.0.2
[INFO] [stderr]     Checking backtrace v0.3.71
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking nom v3.2.1
[INFO] [stderr]     Checking miow v0.1.5
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking error-chain v0.11.0
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking mio v0.5.1
[INFO] [stderr]     Checking rotor v0.6.3
[INFO] [stderr]     Checking env_logger v0.4.3
[INFO] [stderr]     Checking mqtt v0.1.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `From` is imported redundantly
[INFO] [stdout]  --> src/error.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::convert::From;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `From` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Iterator` is imported redundantly
[INFO] [stdout]  --> src/topic.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::iter::{Iterator, IntoIterator};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Iterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `IntoIterator` is imported redundantly
[INFO] [stdout]  --> src/topic.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::iter::{Iterator, IntoIterator};
[INFO] [stdout]   |                           ^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `IntoIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]  --> src/topic.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::convert::{AsRef, Into};
[INFO] [stdout]   |                    ^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Into` is imported redundantly
[INFO] [stdout]  --> src/topic.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::convert::{AsRef, Into};
[INFO] [stdout]   |                           ^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Into` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsMut` is imported redundantly
[INFO] [stdout]  --> src/transport.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::convert::AsMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `AsMut` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/error.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout] 3  | / error_chain!{
[INFO] [stdout] 4  | |     foreign_links {
[INFO] [stdout] 5  | |         Fmt(::std::fmt::Error);
[INFO] [stdout] 6  | |         Io(::std::io::Error);
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | |     }
[INFO] [stdout] 16 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> src/error.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout] 3  | / error_chain!{
[INFO] [stdout] 4  | |     foreign_links {
[INFO] [stdout] 5  | |         Fmt(::std::fmt::Error);
[INFO] [stdout] 6  | |         Io(::std::io::Error);
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | |     }
[INFO] [stdout] 16 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `WriteTopicExt` is never used
[INFO] [stdout]    --> src/topic.rs:324:11
[INFO] [stdout]     |
[INFO] [stdout] 324 | pub trait WriteTopicExt: io::Write {
[INFO] [stdout]     |           ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/transport.rs:215:16
[INFO] [stdout]     |
[INFO] [stdout] 215 | pub struct Fsm(Arc<Mutex<Tcp>>);
[INFO] [stdout]     |            --- ^^^^^^^^^^^^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            field in this struct
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 215 | pub struct Fsm(());
[INFO] [stdout]     |                ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/transport.rs:216:22
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub struct TcpClient(Arc<Mutex<Tcp>>);
[INFO] [stdout]     |            --------- ^^^^^^^^^^^^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            field in this struct
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub struct TcpClient(());
[INFO] [stdout]     |                      ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `keep_alive` is never read
[INFO] [stdout]    --> src/client.rs:294:5
[INFO] [stdout]     |
[INFO] [stdout] 290 | pub struct Client<'a, T: Transport, H: 'a + Handler> {
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 294 |     keep_alive: Duration,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `echo_client`
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider adding a `main` function to `examples/echo_client.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mqtt` (example "echo_client") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0432]: unresolved imports `bytes::ByteBuf`, `bytes::SliceBuf`
[INFO] [stdout]   --> examples/echo_server.rs:27:26
[INFO] [stdout]    |
[INFO] [stdout] 27 | use bytes::{Buf, BufMut, ByteBuf, SliceBuf};
[INFO] [stdout]    |                          ^^^^^^^  ^^^^^^^^ no `SliceBuf` in the root
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          no `ByteBuf` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `From` is imported redundantly
[INFO] [stdout]  --> src/error.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::convert::From;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `From` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Iterator` is imported redundantly
[INFO] [stdout]  --> src/topic.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::iter::{Iterator, IntoIterator};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Iterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `IntoIterator` is imported redundantly
[INFO] [stdout]  --> src/topic.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::iter::{Iterator, IntoIterator};
[INFO] [stdout]   |                           ^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `IntoIterator` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout]  --> src/topic.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::convert::{AsRef, Into};
[INFO] [stdout]   |                    ^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `AsRef` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Into` is imported redundantly
[INFO] [stdout]  --> src/topic.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::convert::{AsRef, Into};
[INFO] [stdout]   |                           ^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Into` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Needed` is imported redundantly
[INFO] [stdout]    --> src/decode.rs:274:15
[INFO] [stdout]     |
[INFO] [stdout] 274 |     use nom::{Needed, ErrorKind};
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |     use super::*;
[INFO] [stdout]     |         -------- the item `Needed` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ErrorKind` is imported redundantly
[INFO] [stdout]    --> src/decode.rs:274:23
[INFO] [stdout]     |
[INFO] [stdout] 274 |     use nom::{Needed, ErrorKind};
[INFO] [stdout]     |                       ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |     use super::*;
[INFO] [stdout]     |         -------- the item `ErrorKind` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Done` is imported redundantly
[INFO] [stdout]    --> src/decode.rs:275:24
[INFO] [stdout]     |
[INFO] [stdout] 275 |     use nom::IResult::{Done, Incomplete, Error};
[INFO] [stdout]     |                        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |     use super::*;
[INFO] [stdout]     |         -------- the item `Done` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Incomplete` is imported redundantly
[INFO] [stdout]    --> src/decode.rs:275:30
[INFO] [stdout]     |
[INFO] [stdout] 275 |     use nom::IResult::{Done, Incomplete, Error};
[INFO] [stdout]     |                              ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |     use super::*;
[INFO] [stdout]     |         -------- the item `Incomplete` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Error` is imported redundantly
[INFO] [stdout]    --> src/decode.rs:275:42
[INFO] [stdout]     |
[INFO] [stdout] 275 |     use nom::IResult::{Done, Incomplete, Error};
[INFO] [stdout]     |                                          ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |     use super::*;
[INFO] [stdout]     |         -------- the item `Error` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `AsMut` is imported redundantly
[INFO] [stdout]  --> src/transport.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::convert::AsMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `AsMut` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> examples/echo_server.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | /     error_chain!{
[INFO] [stdout] 35 | |         types {
[INFO] [stdout] 36 | |             Error, ErrorKind, ResultExt, Result;
[INFO] [stdout] 37 | |         }
[INFO] [stdout] ...  |
[INFO] [stdout] 50 | |         }
[INFO] [stdout] 51 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> examples/echo_server.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | /     error_chain!{
[INFO] [stdout] 35 | |         types {
[INFO] [stdout] 36 | |             Error, ErrorKind, ResultExt, Result;
[INFO] [stdout] 37 | |         }
[INFO] [stdout] ...  |
[INFO] [stdout] 50 | |         }
[INFO] [stdout] 51 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/error.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout] 3  | / error_chain!{
[INFO] [stdout] 4  | |     foreign_links {
[INFO] [stdout] 5  | |         Fmt(::std::fmt::Error);
[INFO] [stdout] 6  | |         Io(::std::io::Error);
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | |     }
[INFO] [stdout] 16 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `mio::Event::kind`: use Event::readiness()
[INFO] [stdout]    --> examples/echo_server.rs:123:62
[INFO] [stdout]     |
[INFO] [stdout] 123 | ...                   entry.get_mut().handle(event.kind(), poll)?;
[INFO] [stdout]     |                                                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `mio::Ready::is_hup`: use UnixReady instead
[INFO] [stdout]    --> examples/echo_server.rs:308:24
[INFO] [stdout]     |
[INFO] [stdout] 308 |             _ if ready.is_hup() => {
[INFO] [stdout]     |                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `mio::Ready::none`: use Ready::empty instead
[INFO] [stdout]    --> examples/echo_server.rs:378:39
[INFO] [stdout]     |
[INFO] [stdout] 378 |                           _ => Ready::none(),
[INFO] [stdout]     |                                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Buf`
[INFO] [stdout]   --> examples/echo_server.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 | use bytes::{Buf, BufMut, ByteBuf, SliceBuf};
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufMut`
[INFO] [stdout]   --> examples/echo_server.rs:27:18
[INFO] [stdout]    |
[INFO] [stdout] 27 | use bytes::{Buf, BufMut, ByteBuf, SliceBuf};
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mqtt` (example "echo_server") due to 2 previous errors; 7 warnings emitted
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> src/error.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout] 3  | / error_chain!{
[INFO] [stdout] 4  | |     foreign_links {
[INFO] [stdout] 5  | |         Fmt(::std::fmt::Error);
[INFO] [stdout] 6  | |         Io(::std::io::Error);
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | |     }
[INFO] [stdout] 16 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/transport.rs:215:16
[INFO] [stdout]     |
[INFO] [stdout] 215 | pub struct Fsm(Arc<Mutex<Tcp>>);
[INFO] [stdout]     |            --- ^^^^^^^^^^^^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 215 | pub struct Fsm(());
[INFO] [stdout]     |                ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/transport.rs:216:22
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub struct TcpClient(Arc<Mutex<Tcp>>);
[INFO] [stdout]     |            --------- ^^^^^^^^^^^^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            field in this struct
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub struct TcpClient(());
[INFO] [stdout]     |                      ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `keep_alive` is never read
[INFO] [stdout]    --> src/client.rs:294:5
[INFO] [stdout]     |
[INFO] [stdout] 290 | pub struct Client<'a, T: Transport, H: 'a + Handler> {
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 294 |     keep_alive: Duration,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "3071341874b3024263e5da5f7a85a611f9a7bd5f5cfa53e7a1ca4028df070ffc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3071341874b3024263e5da5f7a85a611f9a7bd5f5cfa53e7a1ca4028df070ffc", kill_on_drop: false }`
[INFO] [stdout] 3071341874b3024263e5da5f7a85a611f9a7bd5f5cfa53e7a1ca4028df070ffc
