[INFO] fetching crate amqpr-api 0.4.1... [INFO] testing amqpr-api-0.4.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate amqpr-api 0.4.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate amqpr-api 0.4.1 [INFO] finished tweaking crates.io crate amqpr-api 0.4.1 [INFO] tweaked toml for crates.io crate amqpr-api 0.4.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate amqpr-api 0.4.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 114 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.4.12 (available: v1.10.1) [INFO] [stderr] Adding error-chain v0.11.0 (available: v0.12.4) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.27) [INFO] [stderr] Adding log4rs v0.7.0 (available: v1.3.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded traitobject v0.1.1 [INFO] [stderr] Downloaded unsafe-any v0.4.2 [INFO] [stderr] Downloaded typemap v0.3.3 [INFO] [stderr] Downloaded antidote v1.0.0 [INFO] [stderr] Downloaded serde_yaml v0.7.5 [INFO] [stderr] Downloaded amqpr-codec v0.3.2 [INFO] [stderr] Downloaded parking_lot_core v0.6.3 [INFO] [stderr] Downloaded crossbeam v0.2.12 [INFO] [stderr] Downloaded flate2 v0.2.20 [INFO] [stderr] Downloaded chrono v0.3.0 [INFO] [stderr] Downloaded miniz-sys v0.1.12 [INFO] [stderr] Downloaded log4rs v0.7.0 [INFO] [stderr] Downloaded tokio-core v0.1.18 [INFO] [stderr] Downloaded error-chain v0.11.0 [INFO] [stderr] Downloaded num v0.1.43 [INFO] [stderr] Downloaded serde-value v0.5.3 [INFO] [stderr] Downloaded scoped-tls v0.1.2 [INFO] [stderr] Downloaded tokio-uds v0.2.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f82d5a23f31569a154de541595b7b7822faa0e6d62867a42aa380681de8d7dd7 [INFO] running `Command { std: "docker" "start" "-a" "f82d5a23f31569a154de541595b7b7822faa0e6d62867a42aa380681de8d7dd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f82d5a23f31569a154de541595b7b7822faa0e6d62867a42aa380681de8d7dd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f82d5a23f31569a154de541595b7b7822faa0e6d62867a42aa380681de8d7dd7", kill_on_drop: false }` [INFO] [stdout] f82d5a23f31569a154de541595b7b7822faa0e6d62867a42aa380681de8d7dd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 786497ef4530dcf46c8c06564d2034d39bbc67e140b8377c4e1ff5a9668f23dd [INFO] running `Command { std: "docker" "start" "-a" "786497ef4530dcf46c8c06564d2034d39bbc67e140b8377c4e1ff5a9668f23dd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling amqpr-codec v0.3.2 [INFO] [stderr] Compiling amqpr-api v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/handshake.rs:109:38 [INFO] [stdout] | [INFO] [stdout] 109 | fn reply_to_start<'a>(&mut self, &'a StartMethod) -> StartOkMethod; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a StartMethod` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see 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] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> src/handshake.rs:188:62 [INFO] [stdout] | [INFO] [stdout] 188 | ReceivingStart(Should::new(AmqpSocket(socket.framed(::amqpr_codec::Codec)))) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | types { [INFO] [stdout] 3 | | Error, ErrorKind, ResultExt; [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.91s [INFO] running `Command { std: "docker" "inspect" "786497ef4530dcf46c8c06564d2034d39bbc67e140b8377c4e1ff5a9668f23dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "786497ef4530dcf46c8c06564d2034d39bbc67e140b8377c4e1ff5a9668f23dd", kill_on_drop: false }` [INFO] [stdout] 786497ef4530dcf46c8c06564d2034d39bbc67e140b8377c4e1ff5a9668f23dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 15aedfb4fce160056e222f1c1eb68e2efac2a206d9e0e6577c5d801be36c3422 [INFO] running `Command { std: "docker" "start" "-a" "15aedfb4fce160056e222f1c1eb68e2efac2a206d9e0e6577c5d801be36c3422", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling traitobject v0.1.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling log-mdc v0.1.0 [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] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> src/handshake.rs:188:62 [INFO] [stdout] | [INFO] [stdout] 188 | ReceivingStart(Should::new(AmqpSocket(socket.framed(::amqpr_codec::Codec)))) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | types { [INFO] [stdout] 3 | | Error, ErrorKind, ResultExt; [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling serde_yaml v0.7.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num v0.1.43 [INFO] [stderr] Compiling chrono v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling log4rs v0.7.0 [INFO] [stderr] Compiling amqpr-api v0.4.1 (/opt/rustwide/workdir) [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] 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[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: 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[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[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: 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` [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-1949cf8c6b5b557f/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` [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-1949cf8c6b5b557f/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] 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] ... | [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[E0599]: the method `and_then` exists for struct `AndThen, ..., ...>, ..., ...>`, 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-1949cf8c6b5b557f/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 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: 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[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-1949cf8c6b5b557f/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/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[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/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: 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/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[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[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-1949cf8c6b5b557f/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] 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: 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] [stderr] error: could not compile `amqpr-api` (test "bind_queue") due to 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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[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/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` [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-1949cf8c6b5b557f/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` [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-1949cf8c6b5b557f/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] 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] error[E0599]: the method `and_then` exists for struct `AndThen, ..., ...>, ..., ...>`, 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-1949cf8c6b5b557f/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 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[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[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] 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] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | types { [INFO] [stdout] 3 | | Error, ErrorKind, ResultExt; [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: Stream` is not satisfied [INFO] [stdout] --> tests/declare_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[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[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/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` [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-1949cf8c6b5b557f/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/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[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` [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-1949cf8c6b5b557f/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/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` [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-1949cf8c6b5b557f/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` [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-1949cf8c6b5b557f/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, ..., ...>, ..., ...>`, 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-1949cf8c6b5b557f/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 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 `DeclareExchangeOption` has no field named `is_no_wait` [INFO] [stdout] --> tests/publish.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | is_no_wait: false, [INFO] [stdout] | ^^^^^^^^^^ `DeclareExchangeOption` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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: 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-1949cf8c6b5b557f/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: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[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/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] 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] Some errors have detailed explanations: E0061, E0277, E0308, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `and_then` exists for struct `AndThen, ..., ...>, ..., ...>`, 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-1949cf8c6b5b557f/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 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[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] [stderr] error: could not compile `amqpr-api` (test "declare_queue") due to 11 previous errors [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-1949cf8c6b5b557f/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: 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: 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: 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] [stderr] error: could not compile `amqpr-api` (test "publish") due to 12 previous errors [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[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/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-1949cf8c6b5b557f/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] [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] [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[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-1949cf8c6b5b557f/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] 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] [stderr] error: could not compile `amqpr-api` (test "consume") due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "15aedfb4fce160056e222f1c1eb68e2efac2a206d9e0e6577c5d801be36c3422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15aedfb4fce160056e222f1c1eb68e2efac2a206d9e0e6577c5d801be36c3422", kill_on_drop: false }` [INFO] [stdout] 15aedfb4fce160056e222f1c1eb68e2efac2a206d9e0e6577c5d801be36c3422