[INFO] fetching crate amqpr-api 0.4.1...
[INFO] testing amqpr-api-0.4.1 against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate amqpr-api 0.4.1 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate amqpr-api 0.4.1
[INFO] finished tweaking crates.io crate amqpr-api 0.4.1
[INFO] tweaked toml for crates.io crate amqpr-api 0.4.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate amqpr-api 0.4.1 on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] running `"cargo" "+1.101.0-beta.1" "generate-lockfile" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 108 packages to highest compatible versions
[INFO] [stderr]       Adding bytes v0.4.12 (available: v1.12.2)
[INFO] [stderr]       Adding error-chain v0.11.0 (available: v0.12.4)
[INFO] [stderr]       Adding futures v0.1.31 (available: v0.3.34)
[INFO] [stderr]       Adding log v0.3.9 (available: v0.4.35)
[INFO] [stderr]       Adding log4rs v0.7.0 (available: v1.4.0)
[INFO] [stderr]       Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1)
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `amqpr-api` (manifest) generated 1 warning
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 8642eeb17d5fd0726c2db68b83b777092794f62ab58c191724dc82d0fff4802f
[INFO] running `"docker" "start" "8642eeb17d5fd0726c2db68b83b777092794f62ab58c191724dc82d0fff4802f"`
[INFO] running `"docker" "inspect" "8642eeb17d5fd0726c2db68b83b777092794f62ab58c191724dc82d0fff4802f"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8642eeb17d5fd0726c2db68b83b777092794f62ab58c191724dc82d0fff4802f" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "8642eeb17d5fd0726c2db68b83b777092794f62ab58c191724dc82d0fff4802f"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8642eeb17d5fd0726c2db68b83b777092794f62ab58c191724dc82d0fff4802f" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `amqpr-api` (manifest) generated 1 warning
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling lazy_static v1.5.1
[INFO] [stderr]    Compiling futures v0.1.31
[INFO] [stderr]    Compiling log v0.4.35
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling net2 v0.2.39
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling gimli v0.34.0
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling object v0.40.0
[INFO] [stderr]    Compiling miniz_oxide v0.9.1
[INFO] [stderr]    Compiling rustc-demangle v0.1.28
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling scoped-tls v0.1.2
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling crossbeam-deque v0.7.4
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling tokio-timer v0.2.13
[INFO] [stderr]    Compiling tokio-current-thread v0.1.7
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling tokio-codec v0.1.2
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling tokio-fs v0.1.7
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling tokio-udp v0.1.6
[INFO] [stderr]    Compiling tokio-uds v0.2.7
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling tokio-core v0.1.18
[INFO] [stderr]    Compiling addr2line v0.27.1
[INFO] [stderr]    Compiling backtrace v0.3.77
[INFO] [stderr]    Compiling error-chain v0.11.0
[INFO] [stderr]    Compiling amqpr-codec v0.3.2
[INFO] [stderr]    Compiling amqpr-api v0.4.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/handshake.rs:109:38
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn reply_to_start<'a>(&mut self, &'a StartMethod) -> StartOkMethod;
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a StartMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout]     = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/handshake.rs:110:39
[INFO] [stdout]     |
[INFO] [stdout] 110 |     fn reply_to_secure<'a>(&mut self, &'a SecureMethod) -> SecureOkMethod;
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a SecureMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/handshake.rs:111:37
[INFO] [stdout]     |
[INFO] [stdout] 111 |     fn reply_to_tune<'a>(&mut self, &'a TuneMethod) -> TuneOkMethod;
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a TuneMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/handshake.rs:113:39
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn inspect_open_ok<'a>(&mut self, &'a OpenOkMethod);
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a OpenOkMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]   --> src/lib.rs:57:35
[INFO] [stdout]    |
[INFO] [stdout] 57 | type RawSocket = tokio_io::codec::Framed<tokio_core::net::TcpStream, amqpr_codec::Codec>;
[INFO] [stdout]    |                                   ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[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/errors.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / error_chain! {
[INFO] [stdout]  2 | |     types {
[INFO] [stdout]  3 | |         Error, ErrorKind, ResultExt;
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | | }
[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 `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead
[INFO] [stdout]    --> src/handshake.rs:188:62
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 ReceivingStart(Should::new(AmqpSocket(socket.framed(::amqpr_codec::Codec))))
[INFO] [stdout]     |                                                              ^^^^^^
[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/errors.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / error_chain! {
[INFO] [stdout]  2 | |     types {
[INFO] [stdout]  3 | |         Error, ErrorKind, ResultExt;
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | | }
[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] [stderr]     Finished `release` profile [optimized] target(s) in 23.24s
[INFO] running `"docker" "inspect" "8642eeb17d5fd0726c2db68b83b777092794f62ab58c191724dc82d0fff4802f"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8642eeb17d5fd0726c2db68b83b777092794f62ab58c191724dc82d0fff4802f" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `amqpr-api` (manifest) generated 1 warning
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling find-msvc-tools v0.1.15
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling serde_json v1.0.154
[INFO] [stderr]    Compiling traitobject v0.1.1
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling itoa v1.0.19
[INFO] [stderr]    Compiling dtoa v0.4.8
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling antidote v1.1.0
[INFO] [stderr]    Compiling log-mdc v0.1.0
[INFO] [stderr]    Compiling crossbeam v0.2.12
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/handshake.rs:109:38
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn reply_to_start<'a>(&mut self, &'a StartMethod) -> StartOkMethod;
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a StartMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout]     = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/handshake.rs:110:39
[INFO] [stdout]     |
[INFO] [stdout] 110 |     fn reply_to_secure<'a>(&mut self, &'a SecureMethod) -> SecureOkMethod;
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a SecureMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/handshake.rs:111:37
[INFO] [stdout]     |
[INFO] [stdout] 111 |     fn reply_to_tune<'a>(&mut self, &'a TuneMethod) -> TuneOkMethod;
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a TuneMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/handshake.rs:113:39
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn inspect_open_ok<'a>(&mut self, &'a OpenOkMethod);
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a OpenOkMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]   --> src/lib.rs:57:35
[INFO] [stdout]    |
[INFO] [stdout] 57 | type RawSocket = tokio_io::codec::Framed<tokio_core::net::TcpStream, amqpr_codec::Codec>;
[INFO] [stdout]    |                                   ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[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/errors.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / error_chain! {
[INFO] [stdout]  2 | |     types {
[INFO] [stdout]  3 | |         Error, ErrorKind, ResultExt;
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | | }
[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 `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead
[INFO] [stdout]    --> src/handshake.rs:188:62
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 ReceivingStart(Should::new(AmqpSocket(socket.framed(::amqpr_codec::Codec))))
[INFO] [stdout]     |                                                              ^^^^^^
[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/errors.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / error_chain! {
[INFO] [stdout]  2 | |     types {
[INFO] [stdout]  3 | |         Error, ErrorKind, ResultExt;
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | | }
[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] [stderr]    Compiling unsafe-any v0.4.2
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling cc v1.11.3
[INFO] [stderr]    Compiling serde_yaml v0.7.5
[INFO] [stderr]    Compiling typemap v0.3.3
[INFO] [stderr]    Compiling syn v3.0.10
[INFO] [stderr]    Compiling num-integer v0.1.47
[INFO] [stderr]    Compiling ordered-float v1.1.1
[INFO] [stderr]    Compiling num-iter v0.1.46
[INFO] [stderr]    Compiling num v0.1.43
[INFO] [stderr]    Compiling chrono v0.3.0
[INFO] [stderr]    Compiling serde-value v0.5.3
[INFO] [stderr]    Compiling miniz-sys v0.1.12
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling flate2 v0.2.20
[INFO] [stderr]    Compiling log4rs v0.7.0
[INFO] [stderr]    Compiling amqpr-api v0.4.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `amqpr_api::receive_delivered`
[INFO] [stdout]   --> tests/consume.rs:15:47
[INFO] [stdout]    |
[INFO] [stdout] 15 |                 declare_queue, start_consume, receive_delivered};
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^ no `receive_delivered` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: Stream` is not satisfied
[INFO] [stdout]   --> tests/consume.rs:40:49
[INFO] [stdout]    |
[INFO] [stdout] 40 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ------------         ^^^^^^^^^^^^^^^^ the trait `Stream` is not implemented for `u16`
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `Stream`:
[INFO] [stdout]              &'a mut S
[INFO] [stdout]              AmqpSocket
[INFO] [stdout]              AssertUnwindSafe<S>
[INFO] [stdout]              Box<S>
[INFO] [stdout]              Buffer<S>
[INFO] [stdout]              BufferUnordered<S>
[INFO] [stdout]              Buffered<S>
[INFO] [stdout]              Either<A, B>
[INFO] [stdout]            and 78 others
[INFO] [stdout] note: required by a bound in `open_channel`
[INFO] [stdout]   --> src/channel/open.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn open_channel<S, E>(channel_id: u16, socket: S) -> ChannelOpened<S>
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `open_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/consume.rs:40:49
[INFO] [stdout]    |
[INFO] [stdout] 40 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ------------         ^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `futures::Sink`:
[INFO] [stdout]              &'a futures::sync::mpsc::UnboundedSender<T>
[INFO] [stdout]              &'a futures::unsync::mpsc::UnboundedSender<T>
[INFO] [stdout]              &'a mut S
[INFO] [stdout]              AmqpSocket
[INFO] [stdout]              Box<S>
[INFO] [stdout]              BroadcastSink<S>
[INFO] [stdout]              Buffer<S>
[INFO] [stdout]              BufferUnordered<S>
[INFO] [stdout]            and 49 others
[INFO] [stdout] note: required by a bound in `open_channel`
[INFO] [stdout]   --> src/channel/open.rs:18:42
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn open_channel<S, E>(channel_id: u16, socket: S) -> ChannelOpened<S>
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `open_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: Stream` is not satisfied
[INFO] [stdout]   --> tests/publish.rs:38:49
[INFO] [stdout]    |
[INFO] [stdout] 38 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ------------         ^^^^^^^^^^^^^^^^ the trait `Stream` is not implemented for `u16`
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `Stream`:
[INFO] [stdout]              &'a mut S
[INFO] [stdout]              AmqpSocket
[INFO] [stdout]              AssertUnwindSafe<S>
[INFO] [stdout]              Box<S>
[INFO] [stdout]              Buffer<S>
[INFO] [stdout]              BufferUnordered<S>
[INFO] [stdout]              Buffered<S>
[INFO] [stdout]              Either<A, B>
[INFO] [stdout]            and 78 others
[INFO] [stdout] note: required by a bound in `open_channel`
[INFO] [stdout]   --> src/channel/open.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn open_channel<S, E>(channel_id: u16, socket: S) -> ChannelOpened<S>
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `open_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: Stream` is not satisfied
[INFO] [stdout]   --> tests/bind_queue.rs:37:49
[INFO] [stdout]    |
[INFO] [stdout] 37 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ------------         ^^^^^^^^^^^^^^^^ the trait `Stream` is not implemented for `u16`
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `Stream`:
[INFO] [stdout]              &'a mut S
[INFO] [stdout]              AmqpSocket
[INFO] [stdout]              AssertUnwindSafe<S>
[INFO] [stdout]              Box<S>
[INFO] [stdout]              Buffer<S>
[INFO] [stdout]              BufferUnordered<S>
[INFO] [stdout]              Buffered<S>
[INFO] [stdout]              Either<A, B>
[INFO] [stdout]            and 78 others
[INFO] [stdout] note: required by a bound in `open_channel`
[INFO] [stdout]   --> src/channel/open.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn open_channel<S, E>(channel_id: u16, socket: S) -> ChannelOpened<S>
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `open_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/publish.rs:38:49
[INFO] [stdout]    |
[INFO] [stdout] 38 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ------------         ^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `futures::Sink`:
[INFO] [stdout]              &'a futures::sync::mpsc::UnboundedSender<T>
[INFO] [stdout]              &'a futures::unsync::mpsc::UnboundedSender<T>
[INFO] [stdout]              &'a mut S
[INFO] [stdout]              AmqpSocket
[INFO] [stdout]              Box<S>
[INFO] [stdout]              BroadcastSink<S>
[INFO] [stdout]              Buffer<S>
[INFO] [stdout]              BufferUnordered<S>
[INFO] [stdout]            and 49 others
[INFO] [stdout] note: required by a bound in `open_channel`
[INFO] [stdout]   --> src/channel/open.rs:18:42
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn open_channel<S, E>(channel_id: u16, socket: S) -> ChannelOpened<S>
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `open_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/bind_queue.rs:37:49
[INFO] [stdout]    |
[INFO] [stdout] 37 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ------------         ^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `futures::Sink`:
[INFO] [stdout]              &'a futures::sync::mpsc::UnboundedSender<T>
[INFO] [stdout]              &'a futures::unsync::mpsc::UnboundedSender<T>
[INFO] [stdout]              &'a mut S
[INFO] [stdout]              AmqpSocket
[INFO] [stdout]              Box<S>
[INFO] [stdout]              BroadcastSink<S>
[INFO] [stdout]              Buffer<S>
[INFO] [stdout]              BufferUnordered<S>
[INFO] [stdout]            and 49 others
[INFO] [stdout] note: required by a bound in `open_channel`
[INFO] [stdout]   --> src/channel/open.rs:18:42
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn open_channel<S, E>(channel_id: u16, socket: S) -> ChannelOpened<S>
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `open_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/consume.rs:40:41
[INFO] [stdout]    |
[INFO] [stdout] 40 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ------------ ^^^^^^ expected `u16`, found `AmqpSocket`
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/channel/open.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn open_channel<S, E>(channel_id: u16, socket: S) -> ChannelOpened<S>
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/bind_queue.rs:37:41
[INFO] [stdout]    |
[INFO] [stdout] 37 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ------------ ^^^^^^ expected `u16`, found `AmqpSocket`
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/channel/open.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn open_channel<S, E>(channel_id: u16, socket: S) -> ChannelOpened<S>
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/publish.rs:38:41
[INFO] [stdout]    |
[INFO] [stdout] 38 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ------------ ^^^^^^ expected `u16`, found `AmqpSocket`
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/channel/open.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn open_channel<S, E>(channel_id: u16, socket: S) -> ChannelOpened<S>
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/handshake.rs:109:38
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn reply_to_start<'a>(&mut self, &'a StartMethod) -> StartOkMethod;
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a StartMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout]     = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/handshake.rs:110:39
[INFO] [stdout]     |
[INFO] [stdout] 110 |     fn reply_to_secure<'a>(&mut self, &'a SecureMethod) -> SecureOkMethod;
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a SecureMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/handshake.rs:111:37
[INFO] [stdout]     |
[INFO] [stdout] 111 |     fn reply_to_tune<'a>(&mut self, &'a TuneMethod) -> TuneOkMethod;
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a TuneMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/handshake.rs:113:39
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn inspect_open_ok<'a>(&mut self, &'a OpenOkMethod);
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a OpenOkMethod`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `and_then` exists for struct `AndThen<AndThen<_, _, {closure@...}>, _, {closure@...}>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> tests/publish.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let future = TcpStream::connect(&"127.0.0.1:5672".parse().unwrap(), &core.handle())
[INFO] [stdout] 36 |         .map_err(|e| Error::from(e))
[INFO] [stdout] 37 |         .and_then(|socket| start_handshake(handshaker, socket))
[INFO] [stdout] 38 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout] 39 |         .and_then(|socket| {
[INFO] [stdout]    |          ^^^^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/channel/open.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub enum ChannelOpened<S>
[INFO] [stdout]    | ------------------------- doesn't satisfy `<_ as IntoFuture>::Error = Error` or `ChannelOpened<u16>: futures::IntoFuture`
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/future/and_then.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct AndThen<A, B, F> where A: Future, B: IntoFuture {
[INFO] [stdout]    | --------------------------- doesn't satisfy `_: Future`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `<ChannelOpened<u16> as futures::IntoFuture>::Error = amqpr_api::errors::Error`
[INFO] [stdout]            which is required by `futures::future::AndThen<futures::future::AndThen<futures::future::MapErr<TcpStreamNew, {closure@tests/publish.rs:36:18: 36:21}>, Handshaking<SimpleHandshaker>, {closure@tests/publish.rs:37:19: 37:27}>, ChannelOpened<u16>, {closure@tests/publish.rs:38:19: 38:27}>: futures::Future`
[INFO] [stdout]            `ChannelOpened<u16>: futures::IntoFuture`
[INFO] [stdout]            which is required by `futures::future::AndThen<futures::future::AndThen<futures::future::MapErr<TcpStreamNew, {closure@tests/publish.rs:36:18: 36:21}>, Handshaking<SimpleHandshaker>, {closure@tests/publish.rs:37:19: 37:27}>, ChannelOpened<u16>, {closure@tests/publish.rs:38:19: 38:27}>: futures::Future`
[INFO] [stdout]            `futures::future::AndThen<futures::future::AndThen<futures::future::MapErr<TcpStreamNew, {closure@tests/publish.rs:36:18: 36:21}>, Handshaking<SimpleHandshaker>, {closure@tests/publish.rs:37:19: 37:27}>, ChannelOpened<u16>, {closure@tests/publish.rs:38:19: 38:27}>: futures::Future`
[INFO] [stdout]            which is required by `&mut futures::future::AndThen<futures::future::AndThen<futures::future::MapErr<TcpStreamNew, {closure@tests/publish.rs:36:18: 36:21}>, Handshaking<SimpleHandshaker>, {closure@tests/publish.rs:37:19: 37:27}>, ChannelOpened<u16>, {closure@tests/publish.rs:38:19: 38:27}>: futures::Future`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/release/build/amqpr-api/94f50e6953ddec73/out/publish-94f50e6953ddec73.long-type-3638816447530942698.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `DeclareExchangeOption` has no field named `is_no_wait`
[INFO] [stdout]   --> tests/publish.rs:47:17
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 is_no_wait: false,
[INFO] [stdout]    |                 ^^^^^^^^^^ `DeclareExchangeOption` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: all struct fields are already assigned
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `and_then` exists for struct `AndThen<AndThen<_, _, {closure@...}>, _, {closure@...}>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> tests/bind_queue.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let future = TcpStream::connect(&"127.0.0.1:5672".parse().unwrap(), &core.handle())
[INFO] [stdout] 35 |         .map_err(|e| Error::from(e))
[INFO] [stdout] 36 |         .and_then(|socket| start_handshake(handshaker, socket))
[INFO] [stdout] 37 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout] 38 |         .and_then(|socket| {
[INFO] [stdout]    |          ^^^^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/channel/open.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub enum ChannelOpened<S>
[INFO] [stdout]    | ------------------------- doesn't satisfy `<_ as IntoFuture>::Error = Error` or `ChannelOpened<u16>: futures::IntoFuture`
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/future/and_then.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct AndThen<A, B, F> where A: Future, B: IntoFuture {
[INFO] [stdout]    | --------------------------- doesn't satisfy `_: Future`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `<ChannelOpened<u16> as futures::IntoFuture>::Error = amqpr_api::errors::Error`
[INFO] [stdout]            which is required by `futures::future::AndThen<futures::future::AndThen<futures::future::MapErr<TcpStreamNew, {closure@tests/bind_queue.rs:35:18: 35:21}>, Handshaking<SimpleHandshaker>, {closure@tests/bind_queue.rs:36:19: 36:27}>, ChannelOpened<u16>, {closure@tests/bind_queue.rs:37:19: 37:27}>: futures::Future`
[INFO] [stdout]            `ChannelOpened<u16>: futures::IntoFuture`
[INFO] [stdout]            which is required by `futures::future::AndThen<futures::future::AndThen<futures::future::MapErr<TcpStreamNew, {closure@tests/bind_queue.rs:35:18: 35:21}>, Handshaking<SimpleHandshaker>, {closure@tests/bind_queue.rs:36:19: 36:27}>, ChannelOpened<u16>, {closure@tests/bind_queue.rs:37:19: 37:27}>: futures::Future`
[INFO] [stdout]            `futures::future::AndThen<futures::future::AndThen<futures::future::MapErr<TcpStreamNew, {closure@tests/bind_queue.rs:35:18: 35:21}>, Handshaking<SimpleHandshaker>, {closure@tests/bind_queue.rs:36:19: 36:27}>, ChannelOpened<u16>, {closure@tests/bind_queue.rs:37:19: 37:27}>: futures::Future`
[INFO] [stdout]            which is required by `&mut futures::future::AndThen<futures::future::AndThen<futures::future::MapErr<TcpStreamNew, {closure@tests/bind_queue.rs:35:18: 35:21}>, Handshaking<SimpleHandshaker>, {closure@tests/bind_queue.rs:36:19: 36:27}>, ChannelOpened<u16>, {closure@tests/bind_queue.rs:37:19: 37:27}>: futures::Future`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/release/build/amqpr-api/a140d64ebf410f47/out/bind_queue-a140d64ebf410f47.long-type-1128118274470562245.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `DeclareExchangeOption` has no field named `is_no_wait`
[INFO] [stdout]   --> tests/bind_queue.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 is_no_wait: false,
[INFO] [stdout]    |                 ^^^^^^^^^^ `DeclareExchangeOption` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: all struct fields are already assigned
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]   --> src/lib.rs:57:35
[INFO] [stdout]    |
[INFO] [stdout] 57 | type RawSocket = tokio_io::codec::Framed<tokio_core::net::TcpStream, amqpr_codec::Codec>;
[INFO] [stdout]    |                                   ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[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/errors.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / error_chain! {
[INFO] [stdout]  2 | |     types {
[INFO] [stdout]  3 | |         Error, ErrorKind, ResultExt;
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | | }
[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] error[E0560]: struct `DeclareQueueOption` has no field named `is_no_wait`
[INFO] [stdout]   --> tests/bind_queue.rs:57:17
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 is_no_wait: false,
[INFO] [stdout]    |                 ^^^^^^^^^^ `DeclareQueueOption` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: all struct fields are already assigned
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied
[INFO] [stdout]   --> tests/publish.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |             publish(socket, LOCAL_CHANNEL_ID, bytes, option)
[INFO] [stdout]    |             ^^^^^^^                           -----  ------ unexpected argument #4 of type `PublishOption`
[INFO] [stdout]    |                                               |
[INFO] [stdout]    |                                               expected `PublishItem`, found `Bytes`
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/basic/publish.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn publish<S>(channel_id: u16, socket: S, item: PublishItem) -> Published<S>
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 59 -             publish(socket, LOCAL_CHANNEL_ID, bytes, option)
[INFO] [stdout] 59 +             publish(socket, LOCAL_CHANNEL_ID, /* PublishItem */)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `and_then` exists for struct `AndThen<AndThen<_, _, {closure@...}>, _, {closure@...}>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> tests/consume.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let future = TcpStream::connect(&"127.0.0.1:5672".parse().unwrap(), &core.handle())
[INFO] [stdout] 38 |         .map_err(|e| Error::from(e))
[INFO] [stdout] 39 |         .and_then(|socket| start_handshake(handshaker, socket))
[INFO] [stdout] 40 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout] 41 |         .and_then(|socket| {
[INFO] [stdout]    |          ^^^^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/channel/open.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub enum ChannelOpened<S>
[INFO] [stdout]    | ------------------------- doesn't satisfy `<_ as IntoFuture>::Error = Error` or `ChannelOpened<u16>: futures::IntoFuture`
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/future/and_then.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct AndThen<A, B, F> where A: Future, B: IntoFuture {
[INFO] [stdout]    | --------------------------- doesn't satisfy `_: Future`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `<ChannelOpened<u16> as futures::IntoFuture>::Error = amqpr_api::errors::Error`
[INFO] [stdout]            which is required by `futures::future::AndThen<futures::future::AndThen<futures::future::MapErr<TcpStreamNew, {closure@tests/consume.rs:38:18: 38:21}>, Handshaking<SimpleHandshaker>, {closure@tests/consume.rs:39:19: 39:27}>, ChannelOpened<u16>, {closure@tests/consume.rs:40:19: 40:27}>: futures::Future`
[INFO] [stdout]            `ChannelOpened<u16>: futures::IntoFuture`
[INFO] [stdout]            which is required by `futures::future::AndThen<futures::future::AndThen<futures::future::MapErr<TcpStreamNew, {closure@tests/consume.rs:38:18: 38:21}>, Handshaking<SimpleHandshaker>, {closure@tests/consume.rs:39:19: 39:27}>, ChannelOpened<u16>, {closure@tests/consume.rs:40:19: 40:27}>: futures::Future`
[INFO] [stdout]            `futures::future::AndThen<futures::future::AndThen<futures::future::MapErr<TcpStreamNew, {closure@tests/consume.rs:38:18: 38:21}>, Handshaking<SimpleHandshaker>, {closure@tests/consume.rs:39:19: 39:27}>, ChannelOpened<u16>, {closure@tests/consume.rs:40:19: 40:27}>: futures::Future`
[INFO] [stdout]            which is required by `&mut futures::future::AndThen<futures::future::AndThen<futures::future::MapErr<TcpStreamNew, {closure@tests/consume.rs:38:18: 38:21}>, Handshaking<SimpleHandshaker>, {closure@tests/consume.rs:39:19: 39:27}>, ChannelOpened<u16>, {closure@tests/consume.rs:40:19: 40:27}>: futures::Future`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/release/build/amqpr-api/710b68aceefa718b/out/consume-710b68aceefa718b.long-type-3531779682689307202.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `DeclareExchangeOption` has no field named `is_no_wait`
[INFO] [stdout]   --> tests/consume.rs:49:17
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 is_no_wait: false,
[INFO] [stdout]    |                 ^^^^^^^^^^ `DeclareExchangeOption` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: all struct fields are already assigned
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `DeclareQueueOption` has no field named `is_no_wait`
[INFO] [stdout]   --> tests/consume.rs:60:17
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 is_no_wait: false,
[INFO] [stdout]    |                 ^^^^^^^^^^ `DeclareQueueOption` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: all struct fields are already assigned
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `map` exists for enum `QueueDeclared<u16, _>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> tests/bind_queue.rs:59:61
[INFO] [stdout]    |
[INFO] [stdout] 59 |             declare_queue(socket, LOCAL_CHANNEL_ID, option).map(|(_result, socket)| socket)
[INFO] [stdout]    |                                                             ^^^ method cannot be called on `QueueDeclared<u16, _>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/queue/declare.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub enum QueueDeclared<S, E>
[INFO] [stdout]    | ---------------------------- doesn't satisfy `QueueDeclared<u16, _>: Iterator` or `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `<u16 as Stream>::Item = amqpr_codec::frame::Frame`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `<u16 as Stream>::Error = _`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `<u16 as futures::Sink>::SinkItem = amqpr_codec::frame::Frame`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `<u16 as futures::Sink>::SinkError = _`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `u16: futures::Sink`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `u16: Stream`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `u16: Stream`
[INFO] [stdout]            `u16: futures::Sink`
[INFO] [stdout]            `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            which is required by `&mut QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `QueueDeclared<u16, _>: Iterator`
[INFO] [stdout]            which is required by `&mut QueueDeclared<u16, _>: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `BindQueueOption` has no field named `is_no_wait`
[INFO] [stdout]   --> tests/bind_queue.rs:66:17
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 is_no_wait: false,
[INFO] [stdout]    |                 ^^^^^^^^^^ `BindQueueOption` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: all struct fields are already assigned
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0560, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `map` exists for enum `QueueDeclared<u16, _>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> tests/consume.rs:62:61
[INFO] [stdout]    |
[INFO] [stdout] 62 |             declare_queue(socket, LOCAL_CHANNEL_ID, option).map(|(_result, socket)| socket)
[INFO] [stdout]    |                                                             ^^^ method cannot be called on `QueueDeclared<u16, _>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/queue/declare.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub enum QueueDeclared<S, E>
[INFO] [stdout]    | ---------------------------- doesn't satisfy `QueueDeclared<u16, _>: Iterator` or `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `<u16 as Stream>::Item = amqpr_codec::frame::Frame`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `<u16 as Stream>::Error = _`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `<u16 as futures::Sink>::SinkItem = amqpr_codec::frame::Frame`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `<u16 as futures::Sink>::SinkError = _`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `u16: futures::Sink`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `u16: Stream`
[INFO] [stdout]            which is required by `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `u16: Stream`
[INFO] [stdout]            `u16: futures::Sink`
[INFO] [stdout]            `QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            which is required by `&mut QueueDeclared<u16, _>: futures::Future`
[INFO] [stdout]            `QueueDeclared<u16, _>: Iterator`
[INFO] [stdout]            which is required by `&mut QueueDeclared<u16, _>: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `amqpr-api` (test "publish") due to 6 previous errors
[INFO] [stdout] error[E0560]: struct `BindQueueOption` has no field named `is_no_wait`
[INFO] [stdout]   --> tests/consume.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 is_no_wait: false,
[INFO] [stdout]    |                 ^^^^^^^^^^ `BindQueueOption` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: all struct fields are already assigned
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0560, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied
[INFO] [stdout]   --> tests/consume.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             publish(socket, LOCAL_CHANNEL_ID, bytes, option)
[INFO] [stdout]    |             ^^^^^^^                           -----  ------ unexpected argument #4 of type `PublishOption`
[INFO] [stdout]    |                                               |
[INFO] [stdout]    |                                               expected `PublishItem`, found `Bytes`
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/basic/publish.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn publish<S>(channel_id: u16, socket: S, item: PublishItem) -> Published<S>
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]    |
[INFO] [stdout] 81 -             publish(socket, LOCAL_CHANNEL_ID, bytes, option)
[INFO] [stdout] 81 +             publish(socket, LOCAL_CHANNEL_ID, /* PublishItem */)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `StartConsumeOption` has no field named `is_no_wait`
[INFO] [stdout]   --> tests/consume.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 is_no_wait: false,
[INFO] [stdout]    |                 ^^^^^^^^^^ `StartConsumeOption` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: all struct fields are already assigned
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `amqpr-api` (test "bind_queue") due to 8 previous errors
[INFO] [stdout] error[E0277]: the trait bound `u16: Stream` is not satisfied
[INFO] [stdout]   --> tests/declare_queue.rs:34:49
[INFO] [stdout]    |
[INFO] [stdout] 34 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ------------         ^^^^^^^^^^^^^^^^ the trait `Stream` is not implemented for `u16`
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `Stream`:
[INFO] [stdout]              &'a mut S
[INFO] [stdout]              AmqpSocket
[INFO] [stdout]              AssertUnwindSafe<S>
[INFO] [stdout]              Box<S>
[INFO] [stdout]              Buffer<S>
[INFO] [stdout]              BufferUnordered<S>
[INFO] [stdout]              Buffered<S>
[INFO] [stdout]              Either<A, B>
[INFO] [stdout]            and 78 others
[INFO] [stdout] note: required by a bound in `open_channel`
[INFO] [stdout]   --> src/channel/open.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn open_channel<S, E>(channel_id: u16, socket: S) -> ChannelOpened<S>
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `open_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/declare_queue.rs:34:49
[INFO] [stdout]    |
[INFO] [stdout] 34 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ------------         ^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `futures::Sink`:
[INFO] [stdout]              &'a futures::sync::mpsc::UnboundedSender<T>
[INFO] [stdout]              &'a futures::unsync::mpsc::UnboundedSender<T>
[INFO] [stdout]              &'a mut S
[INFO] [stdout]              AmqpSocket
[INFO] [stdout]              Box<S>
[INFO] [stdout]              BroadcastSink<S>
[INFO] [stdout]              Buffer<S>
[INFO] [stdout]              BufferUnordered<S>
[INFO] [stdout]            and 49 others
[INFO] [stdout] note: required by a bound in `open_channel`
[INFO] [stdout]   --> src/channel/open.rs:18:42
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn open_channel<S, E>(channel_id: u16, socket: S) -> ChannelOpened<S>
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `open_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead
[INFO] [stdout]    --> src/handshake.rs:188:62
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 ReceivingStart(Should::new(AmqpSocket(socket.framed(::amqpr_codec::Codec))))
[INFO] [stdout]     |                                                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0432, E0560, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/declare_queue.rs:34:41
[INFO] [stdout]    |
[INFO] [stdout] 34 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ------------ ^^^^^^ expected `u16`, found `AmqpSocket`
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/channel/open.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn open_channel<S, E>(channel_id: u16, socket: S) -> ChannelOpened<S>
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `amqpr-api` (test "consume") due to 11 previous errors
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> src/errors.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / error_chain! {
[INFO] [stdout]  2 | |     types {
[INFO] [stdout]  3 | |         Error, ErrorKind, ResultExt;
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | | }
[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] error[E0277]: the trait bound `u16: Stream` is not satisfied
[INFO] [stdout]   --> tests/declare_exchange.rs:35:49
[INFO] [stdout]    |
[INFO] [stdout] 35 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ------------         ^^^^^^^^^^^^^^^^ the trait `Stream` is not implemented for `u16`
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `Stream`:
[INFO] [stdout]              &'a mut S
[INFO] [stdout]              AmqpSocket
[INFO] [stdout]              AssertUnwindSafe<S>
[INFO] [stdout]              Box<S>
[INFO] [stdout]              Buffer<S>
[INFO] [stdout]              BufferUnordered<S>
[INFO] [stdout]              Buffered<S>
[INFO] [stdout]              Either<A, B>
[INFO] [stdout]            and 78 others
[INFO] [stdout] note: required by a bound in `open_channel`
[INFO] [stdout]   --> src/channel/open.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn open_channel<S, E>(channel_id: u16, socket: S) -> ChannelOpened<S>
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `open_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied
[INFO] [stdout]   --> tests/declare_exchange.rs:35:49
[INFO] [stdout]    |
[INFO] [stdout] 35 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ------------         ^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16`
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `futures::Sink`:
[INFO] [stdout]              &'a futures::sync::mpsc::UnboundedSender<T>
[INFO] [stdout]              &'a futures::unsync::mpsc::UnboundedSender<T>
[INFO] [stdout]              &'a mut S
[INFO] [stdout]              AmqpSocket
[INFO] [stdout]              Box<S>
[INFO] [stdout]              BroadcastSink<S>
[INFO] [stdout]              Buffer<S>
[INFO] [stdout]              BufferUnordered<S>
[INFO] [stdout]            and 49 others
[INFO] [stdout] note: required by a bound in `open_channel`
[INFO] [stdout]   --> src/channel/open.rs:18:42
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn open_channel<S, E>(channel_id: u16, socket: S) -> ChannelOpened<S>
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 |     S: Stream<Item = Frame, Error = E> + Sink<SinkItem = Frame, SinkError = E>,
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `open_channel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `and_then` exists for struct `AndThen<AndThen<_, _, {closure@...}>, _, {closure@...}>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> tests/declare_queue.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let future = TcpStream::connect(&"127.0.0.1:5672".parse().unwrap(), &core.handle())
[INFO] [stdout] 32 |         .map_err(|e| Error::from(e))
[INFO] [stdout] 33 |         .and_then(|socket| start_handshake(handshaker, socket))
[INFO] [stdout] 34 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout] 35 |         .and_then(|socket| {
[INFO] [stdout]    |          ^^^^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/channel/open.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub enum ChannelOpened<S>
[INFO] [stdout]    | ------------------------- doesn't satisfy `<_ as IntoFuture>::Error = Error` or `ChannelOpened<u16>: futures::IntoFuture`
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/future/and_then.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct AndThen<A, B, F> where A: Future, B: IntoFuture {
[INFO] [stdout]    | --------------------------- doesn't satisfy `_: Future`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `<ChannelOpened<u16> as futures::IntoFuture>::Error = amqpr_api::errors::Error`
[INFO] [stdout]            which is required by `futures::future::AndThen<futures::future::AndThen<futures::future::MapErr<TcpStreamNew, {closure@tests/declare_queue.rs:32:18: 32:21}>, Handshaking<SimpleHandshaker>, {closure@tests/declare_queue.rs:33:19: 33:27}>, ChannelOpened<u16>, {closure@tests/declare_queue.rs:34:19: 34:27}>: futures::Future`
[INFO] [stdout]            `ChannelOpened<u16>: futures::IntoFuture`
[INFO] [stdout]            which is required by `futures::future::AndThen<futures::future::AndThen<futures::future::MapErr<TcpStreamNew, {closure@tests/declare_queue.rs:32:18: 32:21}>, Handshaking<SimpleHandshaker>, {closure@tests/declare_queue.rs:33:19: 33:27}>, ChannelOpened<u16>, {closure@tests/declare_queue.rs:34:19: 34:27}>: futures::Future`
[INFO] [stdout]            `futures::future::AndThen<futures::future::AndThen<futures::future::MapErr<TcpStreamNew, {closure@tests/declare_queue.rs:32:18: 32:21}>, Handshaking<SimpleHandshaker>, {closure@tests/declare_queue.rs:33:19: 33:27}>, ChannelOpened<u16>, {closure@tests/declare_queue.rs:34:19: 34:27}>: futures::Future`
[INFO] [stdout]            which is required by `&mut futures::future::AndThen<futures::future::AndThen<futures::future::MapErr<TcpStreamNew, {closure@tests/declare_queue.rs:32:18: 32:21}>, Handshaking<SimpleHandshaker>, {closure@tests/declare_queue.rs:33:19: 33:27}>, ChannelOpened<u16>, {closure@tests/declare_queue.rs:34:19: 34:27}>: futures::Future`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/release/build/amqpr-api/3f141aacecb39081/out/declare_queue-3f141aacecb39081.long-type-2529390289462127511.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `DeclareQueueOption` has no field named `is_no_wait`
[INFO] [stdout]   --> tests/declare_queue.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 is_no_wait: false,
[INFO] [stdout]    |                 ^^^^^^^^^^ `DeclareQueueOption` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: all struct fields are already assigned
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/declare_exchange.rs:35:41
[INFO] [stdout]    |
[INFO] [stdout] 35 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout]    |                            ------------ ^^^^^^ expected `u16`, found `AmqpSocket`
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/channel/open.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn open_channel<S, E>(channel_id: u16, socket: S) -> ChannelOpened<S>
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0560, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `amqpr-api` (test "declare_queue") due to 5 previous errors
[INFO] [stdout] error[E0599]: the method `and_then` exists for struct `AndThen<AndThen<_, _, {closure@...}>, _, {closure@...}>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> tests/declare_exchange.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let future = TcpStream::connect(&"127.0.0.1:5672".parse().unwrap(), &core.handle())
[INFO] [stdout] 33 |         .map_err(|e| Error::from(e))
[INFO] [stdout] 34 |         .and_then(|socket| start_handshake(handshaker, socket))
[INFO] [stdout] 35 |         .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID))
[INFO] [stdout] 36 |         .and_then(|socket| {
[INFO] [stdout]    |          ^^^^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/channel/open.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub enum ChannelOpened<S>
[INFO] [stdout]    | ------------------------- doesn't satisfy `<_ as IntoFuture>::Error = Error` or `ChannelOpened<u16>: futures::IntoFuture`
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.31/src/future/and_then.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct AndThen<A, B, F> where A: Future, B: IntoFuture {
[INFO] [stdout]    | --------------------------- doesn't satisfy `_: Future`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `<ChannelOpened<u16> as futures::IntoFuture>::Error = amqpr_api::errors::Error`
[INFO] [stdout]            which is required by `futures::future::AndThen<futures::future::AndThen<futures::future::MapErr<TcpStreamNew, {closure@tests/declare_exchange.rs:33:18: 33:21}>, Handshaking<SimpleHandshaker>, {closure@tests/declare_exchange.rs:34:19: 34:27}>, ChannelOpened<u16>, {closure@tests/declare_exchange.rs:35:19: 35:27}>: futures::Future`
[INFO] [stdout]            `ChannelOpened<u16>: futures::IntoFuture`
[INFO] [stdout]            which is required by `futures::future::AndThen<futures::future::AndThen<futures::future::MapErr<TcpStreamNew, {closure@tests/declare_exchange.rs:33:18: 33:21}>, Handshaking<SimpleHandshaker>, {closure@tests/declare_exchange.rs:34:19: 34:27}>, ChannelOpened<u16>, {closure@tests/declare_exchange.rs:35:19: 35:27}>: futures::Future`
[INFO] [stdout]            `futures::future::AndThen<futures::future::AndThen<futures::future::MapErr<TcpStreamNew, {closure@tests/declare_exchange.rs:33:18: 33:21}>, Handshaking<SimpleHandshaker>, {closure@tests/declare_exchange.rs:34:19: 34:27}>, ChannelOpened<u16>, {closure@tests/declare_exchange.rs:35:19: 35:27}>: futures::Future`
[INFO] [stdout]            which is required by `&mut futures::future::AndThen<futures::future::AndThen<futures::future::MapErr<TcpStreamNew, {closure@tests/declare_exchange.rs:33:18: 33:21}>, Handshaking<SimpleHandshaker>, {closure@tests/declare_exchange.rs:34:19: 34:27}>, ChannelOpened<u16>, {closure@tests/declare_exchange.rs:35:19: 35:27}>: futures::Future`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/release/build/amqpr-api/8adb1ee4d10f671d/out/declare_exchange-8adb1ee4d10f671d.long-type-8678950854444750592.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `DeclareExchangeOption` has no field named `is_no_wait`
[INFO] [stdout]   --> tests/declare_exchange.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 is_no_wait: false,
[INFO] [stdout]    |                 ^^^^^^^^^^ `DeclareExchangeOption` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: all struct fields are already assigned
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0560, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `amqpr-api` (test "declare_exchange") due to 5 previous errors
[INFO] running `"docker" "inspect" "8642eeb17d5fd0726c2db68b83b777092794f62ab58c191724dc82d0fff4802f"`
[INFO] running `"docker" "rm" "-f" "8642eeb17d5fd0726c2db68b83b777092794f62ab58c191724dc82d0fff4802f"`
[INFO] [stdout] 8642eeb17d5fd0726c2db68b83b777092794f62ab58c191724dc82d0fff4802f
