[INFO] fetching crate amqpr-api 0.4.1... [INFO] checking amqpr-api-0.4.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate amqpr-api 0.4.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate amqpr-api 0.4.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 114 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding bytes v0.4.12 (available: v1.7.2) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding chrono v0.3.0 (available: v0.4.38) [INFO] [stderr] Adding cloudabi v0.0.3 (available: v0.1.0) [INFO] [stderr] Adding crossbeam v0.2.12 (available: v0.8.4) [INFO] [stderr] Adding crossbeam-deque v0.7.4 (available: v0.8.5) [INFO] [stderr] Adding crossbeam-epoch v0.8.2 (available: v0.9.18) [INFO] [stderr] Adding crossbeam-queue v0.2.3 (available: v0.3.11) [INFO] [stderr] Adding crossbeam-utils v0.7.2 (available: v0.8.20) [INFO] [stderr] Adding dtoa v0.4.8 (available: v1.0.9) [INFO] [stderr] Adding error-chain v0.11.0 (available: v0.12.4) [INFO] [stderr] Adding flate2 v0.2.20 (available: v1.0.33) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.30) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding humantime v1.3.0 (available: v2.1.0) [INFO] [stderr] Adding lock_api v0.3.4 (available: v0.4.12) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.22) [INFO] [stderr] Adding log4rs v0.7.0 (available: v1.3.0) [INFO] [stderr] Adding memoffset v0.5.6 (available: v0.9.1) [INFO] [stderr] Adding mio v0.6.23 (available: v1.0.2) [INFO] [stderr] Adding miow v0.2.2 (available: v0.6.0) [INFO] [stderr] Adding num v0.1.42 (available: v0.4.3) [INFO] [stderr] Adding ordered-float v1.1.1 (available: v4.3.0) [INFO] [stderr] Adding parking_lot v0.9.0 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.6.3 (available: v0.9.10) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding redox_syscall v0.1.57 (available: v0.5.6) [INFO] [stderr] Adding rustc_version v0.2.3 (available: v0.4.1) [INFO] [stderr] Adding scoped-tls v0.1.2 (available: v1.0.1) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (available: v0.10.2) [INFO] [stderr] Adding serde-value v0.5.3 (available: v0.7.0) [INFO] [stderr] Adding serde_yaml v0.7.5 (available: v0.9.34+deprecated) [INFO] [stderr] Adding smallvec v0.6.14 (available: v1.13.2) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.36) [INFO] [stderr] Adding tokio v0.1.22 (available: v1.40.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded amqpr-codec v0.3.2 [INFO] [stderr] Downloaded crossbeam v0.2.12 [INFO] [stderr] Downloaded serde_yaml v0.7.5 [INFO] [stderr] Downloaded error-chain v0.11.0 [INFO] [stderr] Downloaded log4rs v0.7.0 [INFO] [stderr] Downloaded antidote v1.0.0 [INFO] [stderr] Downloaded chrono v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d4beb2284cd4be918bbfd45643e7bc62c33437eb99b26b3cee576ae34c9a5ff [INFO] running `Command { std: "docker" "start" "-a" "0d4beb2284cd4be918bbfd45643e7bc62c33437eb99b26b3cee576ae34c9a5ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d4beb2284cd4be918bbfd45643e7bc62c33437eb99b26b3cee576ae34c9a5ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d4beb2284cd4be918bbfd45643e7bc62c33437eb99b26b3cee576ae34c9a5ff", kill_on_drop: false }` [INFO] [stdout] 0d4beb2284cd4be918bbfd45643e7bc62c33437eb99b26b3cee576ae34c9a5ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01aae14a061a5d6eb112dfe75ea38d1d3fcde47b1dc48c604331946fae87526e [INFO] running `Command { std: "docker" "start" "-a" "01aae14a061a5d6eb112dfe75ea38d1d3fcde47b1dc48c604331946fae87526e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Checking chrono v0.3.0 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Checking serde-value v0.5.3 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking amqpr-codec v0.3.2 [INFO] [stderr] Checking 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 issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/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 issue #41686 [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 issue #41686 [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 issue #41686 [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; [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] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [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] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking log4rs v0.7.0 [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/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 [INFO] [stdout] Box [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] Buffered [INFO] [stdout] Either [INFO] [stdout] and 79 others [INFO] [stdout] note: required by a bound in `open_channel` [INFO] [stdout] --> /opt/rustwide/workdir/src/channel/open.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn open_channel(channel_id: u16, socket: S) -> ChannelOpened [INFO] [stdout] | ------------ required by a bound in this function [INFO] [stdout] 17 | where [INFO] [stdout] 18 | S: Stream + Sink, [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 [INFO] [stdout] Box [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] Buffered [INFO] [stdout] Either [INFO] [stdout] and 79 others [INFO] [stdout] note: required by a bound in `open_channel` [INFO] [stdout] --> /opt/rustwide/workdir/src/channel/open.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn open_channel(channel_id: u16, socket: S) -> ChannelOpened [INFO] [stdout] | ------------ required by a bound in this function [INFO] [stdout] 17 | where [INFO] [stdout] 18 | S: Stream + Sink, [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 [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `open_channel` [INFO] [stdout] --> /opt/rustwide/workdir/src/channel/open.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn open_channel(channel_id: u16, socket: S) -> ChannelOpened [INFO] [stdout] | ------------ required by a bound in this function [INFO] [stdout] 17 | where [INFO] [stdout] 18 | S: Stream + Sink, [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 [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `open_channel` [INFO] [stdout] --> /opt/rustwide/workdir/src/channel/open.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn open_channel(channel_id: u16, socket: S) -> ChannelOpened [INFO] [stdout] | ------------ required by a bound in this function [INFO] [stdout] 17 | where [INFO] [stdout] 18 | S: Stream + Sink, [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 [INFO] [stdout] Box [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] Buffered [INFO] [stdout] Either [INFO] [stdout] and 79 others [INFO] [stdout] note: required by a bound in `open_channel` [INFO] [stdout] --> /opt/rustwide/workdir/src/channel/open.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn open_channel(channel_id: u16, socket: S) -> ChannelOpened [INFO] [stdout] | ------------ required by a bound in this function [INFO] [stdout] 17 | where [INFO] [stdout] 18 | S: Stream + Sink, [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 [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `open_channel` [INFO] [stdout] --> /opt/rustwide/workdir/src/channel/open.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn open_channel(channel_id: u16, socket: S) -> ChannelOpened [INFO] [stdout] | ------------ required by a bound in this function [INFO] [stdout] 17 | where [INFO] [stdout] 18 | S: Stream + Sink, [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/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 [INFO] [stdout] Box [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] Buffered [INFO] [stdout] Either [INFO] [stdout] and 79 others [INFO] [stdout] note: required by a bound in `open_channel` [INFO] [stdout] --> /opt/rustwide/workdir/src/channel/open.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn open_channel(channel_id: u16, socket: S) -> ChannelOpened [INFO] [stdout] | ------------ required by a bound in this function [INFO] [stdout] 17 | where [INFO] [stdout] 18 | S: Stream + Sink, [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 [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `open_channel` [INFO] [stdout] --> /opt/rustwide/workdir/src/channel/open.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn open_channel(channel_id: u16, socket: S) -> ChannelOpened [INFO] [stdout] | ------------ required by a bound in this function [INFO] [stdout] 17 | where [INFO] [stdout] 18 | S: Stream + Sink, [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/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 [INFO] [stdout] Box [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] Buffered [INFO] [stdout] Either [INFO] [stdout] and 79 others [INFO] [stdout] note: required by a bound in `open_channel` [INFO] [stdout] --> /opt/rustwide/workdir/src/channel/open.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn open_channel(channel_id: u16, socket: S) -> ChannelOpened [INFO] [stdout] | ------------ required by a bound in this function [INFO] [stdout] 17 | where [INFO] [stdout] 18 | S: Stream + Sink, [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 [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `open_channel` [INFO] [stdout] --> /opt/rustwide/workdir/src/channel/open.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn open_channel(channel_id: u16, socket: S) -> ChannelOpened [INFO] [stdout] | ------------ required by a bound in this function [INFO] [stdout] 17 | where [INFO] [stdout] 18 | S: Stream + Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `open_channel` [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 issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/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 issue #41686 [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 issue #41686 [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 issue #41686 [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] --> /opt/rustwide/workdir/src/channel/open.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn open_channel(channel_id: u16, socket: S) -> ChannelOpened [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [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] --> /opt/rustwide/workdir/src/channel/open.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn open_channel(channel_id: u16, socket: S) -> ChannelOpened [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/publish.rs:38:10 [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`, which is required by `ChannelOpened: futures::Future` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `futures::Sink`: [INFO] [stdout] &'a futures::sync::mpsc::UnboundedSender [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] = note: required for `ChannelOpened` to implement `futures::Future` [INFO] [stdout] note: required by a bound in `futures::Future::and_then` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/future/mod.rs:528:29 [INFO] [stdout] | [INFO] [stdout] 526 | fn and_then(self, f: F) -> AndThen [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 527 | where F: FnOnce(Self::Item) -> B, [INFO] [stdout] 528 | B: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Future::and_then` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/declare_queue.rs:34:10 [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`, which is required by `ChannelOpened: futures::Future` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `futures::Sink`: [INFO] [stdout] &'a futures::sync::mpsc::UnboundedSender [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] = note: required for `ChannelOpened` to implement `futures::Future` [INFO] [stdout] note: required by a bound in `futures::Future::and_then` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/future/mod.rs:528:29 [INFO] [stdout] | [INFO] [stdout] 526 | fn and_then(self, f: F) -> AndThen [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 527 | where F: FnOnce(Self::Item) -> B, [INFO] [stdout] 528 | B: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Future::and_then` [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] --> /opt/rustwide/workdir/src/channel/open.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn open_channel(channel_id: u16, socket: S) -> ChannelOpened [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: Stream` is not satisfied [INFO] [stdout] --> tests/publish.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID)) [INFO] [stdout] | ^^^^^^^^ the trait `Stream` is not implemented for `u16`, which is required by `ChannelOpened: futures::Future` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Stream`: [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] AssertUnwindSafe [INFO] [stdout] Box [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] Buffered [INFO] [stdout] Either [INFO] [stdout] and 79 others [INFO] [stdout] = note: required for `ChannelOpened` to implement `futures::Future` [INFO] [stdout] note: required by a bound in `futures::Future::and_then` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/future/mod.rs:528:29 [INFO] [stdout] | [INFO] [stdout] 526 | fn and_then(self, f: F) -> AndThen [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 527 | where F: FnOnce(Self::Item) -> B, [INFO] [stdout] 528 | B: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Future::and_then` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: Stream` is not satisfied [INFO] [stdout] --> tests/declare_queue.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID)) [INFO] [stdout] | ^^^^^^^^ the trait `Stream` is not implemented for `u16`, which is required by `ChannelOpened: futures::Future` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Stream`: [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] AssertUnwindSafe [INFO] [stdout] Box [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] Buffered [INFO] [stdout] Either [INFO] [stdout] and 79 others [INFO] [stdout] = note: required for `ChannelOpened` to implement `futures::Future` [INFO] [stdout] note: required by a bound in `futures::Future::and_then` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/future/mod.rs:528:29 [INFO] [stdout] | [INFO] [stdout] 526 | fn and_then(self, f: F) -> AndThen [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 527 | where F: FnOnce(Self::Item) -> B, [INFO] [stdout] 528 | B: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Future::and_then` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/bind_queue.rs:37:10 [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`, which is required by `ChannelOpened: futures::Future` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `futures::Sink`: [INFO] [stdout] &'a futures::sync::mpsc::UnboundedSender [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] = note: required for `ChannelOpened` to implement `futures::Future` [INFO] [stdout] note: required by a bound in `futures::Future::and_then` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/future/mod.rs:528:29 [INFO] [stdout] | [INFO] [stdout] 526 | fn and_then(self, f: F) -> AndThen [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 527 | where F: FnOnce(Self::Item) -> B, [INFO] [stdout] 528 | B: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Future::and_then` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: Stream` is not satisfied [INFO] [stdout] --> tests/bind_queue.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID)) [INFO] [stdout] | ^^^^^^^^ the trait `Stream` is not implemented for `u16`, which is required by `ChannelOpened: futures::Future` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Stream`: [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] AssertUnwindSafe [INFO] [stdout] Box [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] Buffered [INFO] [stdout] Either [INFO] [stdout] and 79 others [INFO] [stdout] = note: required for `ChannelOpened` to implement `futures::Future` [INFO] [stdout] note: required by a bound in `futures::Future::and_then` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/future/mod.rs:528:29 [INFO] [stdout] | [INFO] [stdout] 526 | fn and_then(self, f: F) -> AndThen [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 527 | where F: FnOnce(Self::Item) -> B, [INFO] [stdout] 528 | B: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Future::and_then` [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] --> /opt/rustwide/workdir/src/channel/open.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn open_channel(channel_id: u16, socket: S) -> ChannelOpened [INFO] [stdout] | ^^^^^^^^^^^^ [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] --> /opt/rustwide/workdir/src/channel/open.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn open_channel(channel_id: u16, socket: S) -> ChannelOpened [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/consume.rs:40:10 [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`, which is required by `ChannelOpened: futures::Future` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `futures::Sink`: [INFO] [stdout] &'a futures::sync::mpsc::UnboundedSender [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] = note: required for `ChannelOpened` to implement `futures::Future` [INFO] [stdout] note: required by a bound in `futures::Future::and_then` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/future/mod.rs:528:29 [INFO] [stdout] | [INFO] [stdout] 526 | fn and_then(self, f: F) -> AndThen [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 527 | where F: FnOnce(Self::Item) -> B, [INFO] [stdout] 528 | B: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Future::and_then` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `and_then` exists for struct `AndThen, Handshaking<...>, ...>, ..., ...>`, 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] | __________________- [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] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/channel/open.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum ChannelOpened [INFO] [stdout] | ------------------------- doesn't satisfy `<_ as IntoFuture>::Error = Error` or `ChannelOpened: futures::IntoFuture` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/future/and_then.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AndThen where A: Future, B: IntoFuture { [INFO] [stdout] | --------------------------- doesn't satisfy `_: Future` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/declare_queue-5566b4c85e528137.long-type-3847621589128541881.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as futures::IntoFuture>::Error = amqpr_api::errors::Error` [INFO] [stdout] which is required by `futures::AndThen, Handshaking, {closure@tests/declare_queue.rs:33:19: 33:27}>, ChannelOpened, {closure@tests/declare_queue.rs:34:19: 34:27}>: futures::Future` [INFO] [stdout] `ChannelOpened: futures::IntoFuture` [INFO] [stdout] which is required by `futures::AndThen, Handshaking, {closure@tests/declare_queue.rs:33:19: 33:27}>, ChannelOpened, {closure@tests/declare_queue.rs:34:19: 34:27}>: futures::Future` [INFO] [stdout] `futures::AndThen, Handshaking, {closure@tests/declare_queue.rs:33:19: 33:27}>, ChannelOpened, {closure@tests/declare_queue.rs:34:19: 34:27}>: futures::Future` [INFO] [stdout] which is required by `&mut futures::AndThen, Handshaking, {closure@tests/declare_queue.rs:33:19: 33:27}>, ChannelOpened, {closure@tests/declare_queue.rs:34:19: 34:27}>: futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `and_then` exists for struct `AndThen, Handshaking<...>, ...>, ..., ...>`, 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] | __________________- [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] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/channel/open.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum ChannelOpened [INFO] [stdout] | ------------------------- doesn't satisfy `<_ as IntoFuture>::Error = Error` or `ChannelOpened: futures::IntoFuture` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/future/and_then.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AndThen where A: Future, B: IntoFuture { [INFO] [stdout] | --------------------------- doesn't satisfy `_: Future` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/publish-f30dbb797e48b658.long-type-17296376642948035014.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as futures::IntoFuture>::Error = amqpr_api::errors::Error` [INFO] [stdout] which is required by `futures::AndThen, Handshaking, {closure@tests/publish.rs:37:19: 37:27}>, ChannelOpened, {closure@tests/publish.rs:38:19: 38:27}>: futures::Future` [INFO] [stdout] `ChannelOpened: futures::IntoFuture` [INFO] [stdout] which is required by `futures::AndThen, Handshaking, {closure@tests/publish.rs:37:19: 37:27}>, ChannelOpened, {closure@tests/publish.rs:38:19: 38:27}>: futures::Future` [INFO] [stdout] `futures::AndThen, Handshaking, {closure@tests/publish.rs:37:19: 37:27}>, ChannelOpened, {closure@tests/publish.rs:38:19: 38:27}>: futures::Future` [INFO] [stdout] which is required by `&mut futures::AndThen, Handshaking, {closure@tests/publish.rs:37:19: 37:27}>, ChannelOpened, {closure@tests/publish.rs:38:19: 38:27}>: futures::Future` [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[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] 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; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/declare_exchange.rs:35:10 [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`, which is required by `ChannelOpened: futures::Future` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `futures::Sink`: [INFO] [stdout] &'a futures::sync::mpsc::UnboundedSender [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] = note: required for `ChannelOpened` to implement `futures::Future` [INFO] [stdout] note: required by a bound in `futures::Future::and_then` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/future/mod.rs:528:29 [INFO] [stdout] | [INFO] [stdout] 526 | fn and_then(self, f: F) -> AndThen [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 527 | where F: FnOnce(Self::Item) -> B, [INFO] [stdout] 528 | B: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Future::and_then` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: Stream` is not satisfied [INFO] [stdout] --> tests/consume.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID)) [INFO] [stdout] | ^^^^^^^^ the trait `Stream` is not implemented for `u16`, which is required by `ChannelOpened: futures::Future` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Stream`: [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] AssertUnwindSafe [INFO] [stdout] Box [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] Buffered [INFO] [stdout] Either [INFO] [stdout] and 79 others [INFO] [stdout] = note: required for `ChannelOpened` to implement `futures::Future` [INFO] [stdout] note: required by a bound in `futures::Future::and_then` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/future/mod.rs:528:29 [INFO] [stdout] | [INFO] [stdout] 526 | fn and_then(self, f: F) -> AndThen [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 527 | where F: FnOnce(Self::Item) -> B, [INFO] [stdout] 528 | B: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Future::and_then` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/publish.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 49 | declare_exchange(socket, LOCAL_CHANNEL_ID, option) [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 [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `declare_exchange` [INFO] [stdout] --> /opt/rustwide/workdir/src/exchange/declare.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn declare_exchange( [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 21 | S: Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `declare_exchange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: Stream` is not satisfied [INFO] [stdout] --> tests/declare_queue.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | declare_queue(socket, LOCAL_CHANNEL_ID, option) [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 [INFO] [stdout] Box [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] Buffered [INFO] [stdout] Either [INFO] [stdout] and 79 others [INFO] [stdout] note: required by a bound in `declare_queue` [INFO] [stdout] --> /opt/rustwide/workdir/src/queue/declare.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn declare_queue( [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 23 | S: Stream + Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `declare_queue` [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] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [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:10 [INFO] [stdout] | [INFO] [stdout] 35 | .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID)) [INFO] [stdout] | ^^^^^^^^ the trait `Stream` is not implemented for `u16`, which is required by `ChannelOpened: futures::Future` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Stream`: [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] AssertUnwindSafe [INFO] [stdout] Box [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] Buffered [INFO] [stdout] Either [INFO] [stdout] and 79 others [INFO] [stdout] = note: required for `ChannelOpened` to implement `futures::Future` [INFO] [stdout] note: required by a bound in `futures::Future::and_then` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/future/mod.rs:528:29 [INFO] [stdout] | [INFO] [stdout] 526 | fn and_then(self, f: F) -> AndThen [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 527 | where F: FnOnce(Self::Item) -> B, [INFO] [stdout] 528 | B: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `Future::and_then` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/publish.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | declare_exchange(socket, LOCAL_CHANNEL_ID, option) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `futures::Sink`: [INFO] [stdout] &'a futures::sync::mpsc::UnboundedSender [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `futures::sink::Send` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/sink/send.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Send { [INFO] [stdout] | ^^^^ required by this bound in `Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/declare_queue.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | declare_queue(socket, LOCAL_CHANNEL_ID, option) [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 [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `declare_queue` [INFO] [stdout] --> /opt/rustwide/workdir/src/queue/declare.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn declare_queue( [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 23 | S: Stream + Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `declare_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `and_then` exists for struct `AndThen, Handshaking<...>, ...>, ..., ...>`, 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] | __________________- [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] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/channel/open.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum ChannelOpened [INFO] [stdout] | ------------------------- doesn't satisfy `<_ as IntoFuture>::Error = Error` or `ChannelOpened: futures::IntoFuture` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/future/and_then.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AndThen where A: Future, B: IntoFuture { [INFO] [stdout] | --------------------------- doesn't satisfy `_: Future` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/bind_queue-84317e61b12f43ff.long-type-15158351451242370699.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as futures::IntoFuture>::Error = amqpr_api::errors::Error` [INFO] [stdout] which is required by `futures::AndThen, Handshaking, {closure@tests/bind_queue.rs:36:19: 36:27}>, ChannelOpened, {closure@tests/bind_queue.rs:37:19: 37:27}>: futures::Future` [INFO] [stdout] `ChannelOpened: futures::IntoFuture` [INFO] [stdout] which is required by `futures::AndThen, Handshaking, {closure@tests/bind_queue.rs:36:19: 36:27}>, ChannelOpened, {closure@tests/bind_queue.rs:37:19: 37:27}>: futures::Future` [INFO] [stdout] `futures::AndThen, Handshaking, {closure@tests/bind_queue.rs:36:19: 36:27}>, ChannelOpened, {closure@tests/bind_queue.rs:37:19: 37:27}>: futures::Future` [INFO] [stdout] which is required by `&mut futures::AndThen, Handshaking, {closure@tests/bind_queue.rs:36:19: 36:27}>, ChannelOpened, {closure@tests/bind_queue.rs:37:19: 37:27}>: futures::Future` [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] error[E0277]: the trait bound `u16: Stream` is not satisfied [INFO] [stdout] --> tests/declare_queue.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | declare_queue(socket, LOCAL_CHANNEL_ID, option) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Stream` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Stream`: [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] AssertUnwindSafe [INFO] [stdout] Box [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] Buffered [INFO] [stdout] Either [INFO] [stdout] and 79 others [INFO] [stdout] note: required by a bound in `QueueDeclared` [INFO] [stdout] --> /opt/rustwide/workdir/src/queue/declare.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum QueueDeclared [INFO] [stdout] | ------------- required by a bound in this enum [INFO] [stdout] 48 | where [INFO] [stdout] 49 | S: Stream + Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `QueueDeclared` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/publish.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | publish(socket, LOCAL_CHANNEL_ID, bytes, option) [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 [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `publish` [INFO] [stdout] --> /opt/rustwide/workdir/src/basic/publish.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn publish(channel_id: u16, socket: S, item: PublishItem) -> Published [INFO] [stdout] | ------- required by a bound in this function [INFO] [stdout] 19 | where [INFO] [stdout] 20 | S: Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `publish` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/declare_queue.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | declare_queue(socket, LOCAL_CHANNEL_ID, option) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `futures::Sink`: [INFO] [stdout] &'a futures::sync::mpsc::UnboundedSender [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `QueueDeclared` [INFO] [stdout] --> /opt/rustwide/workdir/src/queue/declare.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum QueueDeclared [INFO] [stdout] | ------------- required by a bound in this enum [INFO] [stdout] 48 | where [INFO] [stdout] 49 | S: Stream + Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `QueueDeclared` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/bind_queue.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | declare_exchange(socket, LOCAL_CHANNEL_ID, option) [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 [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `declare_exchange` [INFO] [stdout] --> /opt/rustwide/workdir/src/exchange/declare.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn declare_exchange( [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 21 | S: Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `declare_exchange` [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] --> /opt/rustwide/workdir/src/basic/publish.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn publish(channel_id: u16, socket: S, item: PublishItem) -> Published [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[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/bind_queue.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | declare_exchange(socket, LOCAL_CHANNEL_ID, option) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `futures::Sink`: [INFO] [stdout] &'a futures::sync::mpsc::UnboundedSender [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `futures::sink::Send` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/sink/send.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Send { [INFO] [stdout] | ^^^^ required by this bound in `Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/publish.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | publish(socket, LOCAL_CHANNEL_ID, bytes, option) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `futures::Sink`: [INFO] [stdout] &'a futures::sync::mpsc::UnboundedSender [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `Published` [INFO] [stdout] --> /opt/rustwide/workdir/src/basic/publish.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Published [INFO] [stdout] | --------- required by a bound in this struct [INFO] [stdout] 72 | where [INFO] [stdout] 73 | S: Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Published` [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[E0599]: the method `and_then` exists for struct `AndThen, Handshaking<...>, ...>, ..., ...>`, 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] | __________________- [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] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/channel/open.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum ChannelOpened [INFO] [stdout] | ------------------------- doesn't satisfy `<_ as IntoFuture>::Error = Error` or `ChannelOpened: futures::IntoFuture` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/future/and_then.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AndThen where A: Future, B: IntoFuture { [INFO] [stdout] | --------------------------- doesn't satisfy `_: Future` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/consume-a1da2ceb8145d092.long-type-5955025050427192446.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as futures::IntoFuture>::Error = amqpr_api::errors::Error` [INFO] [stdout] which is required by `futures::AndThen, Handshaking, {closure@tests/consume.rs:39:19: 39:27}>, ChannelOpened, {closure@tests/consume.rs:40:19: 40:27}>: futures::Future` [INFO] [stdout] `ChannelOpened: futures::IntoFuture` [INFO] [stdout] which is required by `futures::AndThen, Handshaking, {closure@tests/consume.rs:39:19: 39:27}>, ChannelOpened, {closure@tests/consume.rs:40:19: 40:27}>: futures::Future` [INFO] [stdout] `futures::AndThen, Handshaking, {closure@tests/consume.rs:39:19: 39:27}>, ChannelOpened, {closure@tests/consume.rs:40:19: 40:27}>: futures::Future` [INFO] [stdout] which is required by `&mut futures::AndThen, Handshaking, {closure@tests/consume.rs:39:19: 39:27}>, ChannelOpened, {closure@tests/consume.rs:40:19: 40:27}>: futures::Future` [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[E0599]: the method `and_then` exists for struct `AndThen, Handshaking<...>, ...>, ..., ...>`, 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] | __________________- [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] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/channel/open.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum ChannelOpened [INFO] [stdout] | ------------------------- doesn't satisfy `<_ as IntoFuture>::Error = Error` or `ChannelOpened: futures::IntoFuture` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/future/and_then.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AndThen where A: Future, B: IntoFuture { [INFO] [stdout] | --------------------------- doesn't satisfy `_: Future` [INFO] [stdout] | [INFO] [stdout] = note: the full type name has been written to '/opt/rustwide/target/debug/deps/declare_exchange-b6dda711fdfed396.long-type-13794250633086475414.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as futures::IntoFuture>::Error = amqpr_api::errors::Error` [INFO] [stdout] which is required by `futures::AndThen, Handshaking, {closure@tests/declare_exchange.rs:34:19: 34:27}>, ChannelOpened, {closure@tests/declare_exchange.rs:35:19: 35:27}>: futures::Future` [INFO] [stdout] `ChannelOpened: futures::IntoFuture` [INFO] [stdout] which is required by `futures::AndThen, Handshaking, {closure@tests/declare_exchange.rs:34:19: 34:27}>, ChannelOpened, {closure@tests/declare_exchange.rs:35:19: 35:27}>: futures::Future` [INFO] [stdout] `futures::AndThen, Handshaking, {closure@tests/declare_exchange.rs:34:19: 34:27}>, ChannelOpened, {closure@tests/declare_exchange.rs:35:19: 35:27}>: futures::Future` [INFO] [stdout] which is required by `&mut futures::AndThen, Handshaking, {closure@tests/declare_exchange.rs:34:19: 34:27}>, ChannelOpened, {closure@tests/declare_exchange.rs:35:19: 35:27}>: futures::Future` [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] error[E0277]: the trait bound `u16: Stream` is not satisfied [INFO] [stdout] --> tests/bind_queue.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | declare_queue(socket, LOCAL_CHANNEL_ID, option).map(|(_result, socket)| socket) [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 [INFO] [stdout] Box [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] Buffered [INFO] [stdout] Either [INFO] [stdout] and 79 others [INFO] [stdout] note: required by a bound in `declare_queue` [INFO] [stdout] --> /opt/rustwide/workdir/src/queue/declare.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn declare_queue( [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 23 | S: Stream + Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `declare_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/consume.rs:51:38 [INFO] [stdout] | [INFO] [stdout] 51 | declare_exchange(socket, LOCAL_CHANNEL_ID, option) [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 [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `declare_exchange` [INFO] [stdout] --> /opt/rustwide/workdir/src/exchange/declare.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn declare_exchange( [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 21 | S: Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `declare_exchange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/declare_exchange.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | declare_exchange(socket, LOCAL_CHANNEL_ID, option) [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 [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `declare_exchange` [INFO] [stdout] --> /opt/rustwide/workdir/src/exchange/declare.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn declare_exchange( [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 21 | S: Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `declare_exchange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/bind_queue.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | declare_queue(socket, LOCAL_CHANNEL_ID, option).map(|(_result, socket)| socket) [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 [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `declare_queue` [INFO] [stdout] --> /opt/rustwide/workdir/src/queue/declare.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn declare_queue( [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 23 | S: Stream + Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `declare_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/consume.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | declare_exchange(socket, LOCAL_CHANNEL_ID, option) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `futures::Sink`: [INFO] [stdout] &'a futures::sync::mpsc::UnboundedSender [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `futures::sink::Send` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/sink/send.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Send { [INFO] [stdout] | ^^^^ required by this bound in `Send` [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[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/declare_exchange.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | declare_exchange(socket, LOCAL_CHANNEL_ID, option) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `futures::Sink`: [INFO] [stdout] &'a futures::sync::mpsc::UnboundedSender [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `futures::sink::Send` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/sink/send.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Send { [INFO] [stdout] | ^^^^ required by this bound in `Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: Stream` is not satisfied [INFO] [stdout] --> tests/consume.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | declare_queue(socket, LOCAL_CHANNEL_ID, option).map(|(_result, socket)| socket) [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 [INFO] [stdout] Box [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] Buffered [INFO] [stdout] Either [INFO] [stdout] and 79 others [INFO] [stdout] note: required by a bound in `declare_queue` [INFO] [stdout] --> /opt/rustwide/workdir/src/queue/declare.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn declare_queue( [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 23 | S: Stream + Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `declare_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: Stream` is not satisfied [INFO] [stdout] --> tests/bind_queue.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | declare_queue(socket, LOCAL_CHANNEL_ID, option).map(|(_result, socket)| socket) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Stream` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Stream`: [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] AssertUnwindSafe [INFO] [stdout] Box [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] Buffered [INFO] [stdout] Either [INFO] [stdout] and 79 others [INFO] [stdout] note: required by a bound in `QueueDeclared` [INFO] [stdout] --> /opt/rustwide/workdir/src/queue/declare.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum QueueDeclared [INFO] [stdout] | ------------- required by a bound in this enum [INFO] [stdout] 48 | where [INFO] [stdout] 49 | S: Stream + Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `QueueDeclared` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/consume.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | declare_queue(socket, LOCAL_CHANNEL_ID, option).map(|(_result, socket)| socket) [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 [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `declare_queue` [INFO] [stdout] --> /opt/rustwide/workdir/src/queue/declare.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn declare_queue( [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 23 | S: Stream + Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `declare_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/bind_queue.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | declare_queue(socket, LOCAL_CHANNEL_ID, option).map(|(_result, socket)| socket) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `futures::Sink`: [INFO] [stdout] &'a futures::sync::mpsc::UnboundedSender [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `QueueDeclared` [INFO] [stdout] --> /opt/rustwide/workdir/src/queue/declare.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum QueueDeclared [INFO] [stdout] | ------------- required by a bound in this enum [INFO] [stdout] 48 | where [INFO] [stdout] 49 | S: Stream + Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `QueueDeclared` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: Stream` is not satisfied [INFO] [stdout] --> tests/consume.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | declare_queue(socket, LOCAL_CHANNEL_ID, option).map(|(_result, socket)| socket) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Stream` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Stream`: [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] AssertUnwindSafe [INFO] [stdout] Box [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] Buffered [INFO] [stdout] Either [INFO] [stdout] and 79 others [INFO] [stdout] note: required by a bound in `QueueDeclared` [INFO] [stdout] --> /opt/rustwide/workdir/src/queue/declare.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum QueueDeclared [INFO] [stdout] | ------------- required by a bound in this enum [INFO] [stdout] 48 | where [INFO] [stdout] 49 | S: Stream + Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `QueueDeclared` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/consume.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | declare_queue(socket, LOCAL_CHANNEL_ID, option).map(|(_result, socket)| socket) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `futures::Sink`: [INFO] [stdout] &'a futures::sync::mpsc::UnboundedSender [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `QueueDeclared` [INFO] [stdout] --> /opt/rustwide/workdir/src/queue/declare.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum QueueDeclared [INFO] [stdout] | ------------- required by a bound in this enum [INFO] [stdout] 48 | where [INFO] [stdout] 49 | S: Stream + Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `QueueDeclared` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0560, E0599. [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 E0277`. [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`, 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` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/queue/declare.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum QueueDeclared [INFO] [stdout] | ---------------------------- doesn't satisfy `QueueDeclared: Iterator` or `QueueDeclared: futures::Future` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Item = amqpr_codec::frame::Frame` [INFO] [stdout] which is required by `QueueDeclared: futures::Future` [INFO] [stdout] `::Error = _` [INFO] [stdout] which is required by `QueueDeclared: futures::Future` [INFO] [stdout] `::SinkItem = amqpr_codec::frame::Frame` [INFO] [stdout] which is required by `QueueDeclared: futures::Future` [INFO] [stdout] `::SinkError = _` [INFO] [stdout] which is required by `QueueDeclared: futures::Future` [INFO] [stdout] `u16: futures::Sink` [INFO] [stdout] which is required by `QueueDeclared: futures::Future` [INFO] [stdout] `u16: Stream` [INFO] [stdout] which is required by `QueueDeclared: futures::Future` [INFO] [stdout] `u16: Stream` [INFO] [stdout] `u16: futures::Sink` [INFO] [stdout] `QueueDeclared: futures::Future` [INFO] [stdout] which is required by `&mut QueueDeclared: futures::Future` [INFO] [stdout] `QueueDeclared: Iterator` [INFO] [stdout] which is required by `&mut QueueDeclared: 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] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/bind_queue.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | bind_queue(socket, LOCAL_CHANNEL_ID, option) [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 [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `bind_queue` [INFO] [stdout] --> /opt/rustwide/workdir/src/queue/bind.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn bind_queue(channel_id: u16, socket: S, option: BindQueueOption) -> QueueBound [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 16 | where [INFO] [stdout] 17 | S: Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `bind_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map` exists for enum `QueueDeclared`, 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` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/queue/declare.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum QueueDeclared [INFO] [stdout] | ---------------------------- doesn't satisfy `QueueDeclared: Iterator` or `QueueDeclared: futures::Future` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Item = amqpr_codec::frame::Frame` [INFO] [stdout] which is required by `QueueDeclared: futures::Future` [INFO] [stdout] `::Error = _` [INFO] [stdout] which is required by `QueueDeclared: futures::Future` [INFO] [stdout] `::SinkItem = amqpr_codec::frame::Frame` [INFO] [stdout] which is required by `QueueDeclared: futures::Future` [INFO] [stdout] `::SinkError = _` [INFO] [stdout] which is required by `QueueDeclared: futures::Future` [INFO] [stdout] `u16: futures::Sink` [INFO] [stdout] which is required by `QueueDeclared: futures::Future` [INFO] [stdout] `u16: Stream` [INFO] [stdout] which is required by `QueueDeclared: futures::Future` [INFO] [stdout] `u16: Stream` [INFO] [stdout] `u16: futures::Sink` [INFO] [stdout] `QueueDeclared: futures::Future` [INFO] [stdout] which is required by `&mut QueueDeclared: futures::Future` [INFO] [stdout] `QueueDeclared: Iterator` [INFO] [stdout] which is required by `&mut QueueDeclared: Iterator` [INFO] [stdout] [INFO] [stdout] [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] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/bind_queue.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | bind_queue(socket, LOCAL_CHANNEL_ID, option) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `futures::Sink`: [INFO] [stdout] &'a futures::sync::mpsc::UnboundedSender [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `futures::sink::Send` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/sink/send.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Send { [INFO] [stdout] | ^^^^ required by this bound in `Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [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] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/consume.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | bind_queue(socket, LOCAL_CHANNEL_ID, option) [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 [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `bind_queue` [INFO] [stdout] --> /opt/rustwide/workdir/src/queue/bind.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn bind_queue(channel_id: u16, socket: S, option: BindQueueOption) -> QueueBound [INFO] [stdout] | ---------- required by a bound in this function [INFO] [stdout] 16 | where [INFO] [stdout] 17 | S: Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `bind_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/consume.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | bind_queue(socket, LOCAL_CHANNEL_ID, option) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `futures::Sink`: [INFO] [stdout] &'a futures::sync::mpsc::UnboundedSender [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `futures::sink::Send` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/sink/send.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Send { [INFO] [stdout] | ^^^^ required by this bound in `Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/consume.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | publish(socket, LOCAL_CHANNEL_ID, bytes, option) [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 [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `publish` [INFO] [stdout] --> /opt/rustwide/workdir/src/basic/publish.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn publish(channel_id: u16, socket: S, item: PublishItem) -> Published [INFO] [stdout] | ------- required by a bound in this function [INFO] [stdout] 19 | where [INFO] [stdout] 20 | S: Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `publish` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `amqpr-api` (test "publish") due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `amqpr-api` (test "declare_queue") due to 12 previous errors [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] --> /opt/rustwide/workdir/src/basic/publish.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn publish(channel_id: u16, socket: S, item: PublishItem) -> Published [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[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/consume.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | publish(socket, LOCAL_CHANNEL_ID, bytes, option) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `futures::Sink`: [INFO] [stdout] &'a futures::sync::mpsc::UnboundedSender [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `Published` [INFO] [stdout] --> /opt/rustwide/workdir/src/basic/publish.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Published [INFO] [stdout] | --------- required by a bound in this struct [INFO] [stdout] 72 | where [INFO] [stdout] 73 | S: Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Published` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `amqpr-api` (test "declare_exchange") due to 10 previous errors [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] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/consume.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | start_consume(socket, LOCAL_CHANNEL_ID, option) [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 [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `start_consume` [INFO] [stdout] --> /opt/rustwide/workdir/src/basic/consume.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn start_consume(channel_id: u16, socket: S, option: StartConsumeOption) -> ConsumeStarted [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 21 | where [INFO] [stdout] 22 | S: Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `start_consume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [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] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/consume.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | start_consume(socket, LOCAL_CHANNEL_ID, option) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `futures::Sink`: [INFO] [stdout] &'a futures::sync::mpsc::UnboundedSender [INFO] [stdout] &'a futures::unsync::mpsc::UnboundedSender [INFO] [stdout] &'a mut S [INFO] [stdout] AmqpSocket [INFO] [stdout] Box [INFO] [stdout] BroadcastSink [INFO] [stdout] Buffer [INFO] [stdout] BufferUnordered [INFO] [stdout] and 50 others [INFO] [stdout] note: required by a bound in `futures::sink::Send` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/sink/send.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Send { [INFO] [stdout] | ^^^^ required by this bound in `Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `amqpr-api` (test "bind_queue") due to 19 previous errors [INFO] [stdout] error: aborting due to 25 previous errors [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] 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] [stderr] error: could not compile `amqpr-api` (test "consume") due to 26 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] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "01aae14a061a5d6eb112dfe75ea38d1d3fcde47b1dc48c604331946fae87526e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01aae14a061a5d6eb112dfe75ea38d1d3fcde47b1dc48c604331946fae87526e", kill_on_drop: false }` [INFO] [stdout] 01aae14a061a5d6eb112dfe75ea38d1d3fcde47b1dc48c604331946fae87526e