[INFO] crate amqpr-api 0.4.1 is already in cache [INFO] testing amqpr-api-0.4.1 against 1.45.2 for beta-1.46-1 [INFO] extracting crate amqpr-api 0.4.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate amqpr-api 0.4.1 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate amqpr-api 0.4.1 [INFO] finished tweaking crates.io crate amqpr-api 0.4.1 [INFO] tweaked toml for crates.io crate amqpr-api 0.4.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8896f5aebcc801c45acacc2363dfdeab8954ed3aabddca80cbff556a2796038d [INFO] running `Command { std: "docker" "start" "-a" "8896f5aebcc801c45acacc2363dfdeab8954ed3aabddca80cbff556a2796038d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8896f5aebcc801c45acacc2363dfdeab8954ed3aabddca80cbff556a2796038d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8896f5aebcc801c45acacc2363dfdeab8954ed3aabddca80cbff556a2796038d", kill_on_drop: false }` [INFO] [stdout] 8896f5aebcc801c45acacc2363dfdeab8954ed3aabddca80cbff556a2796038d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7afc0f4391584c6d3dfa40773b1752362bf12be0d2f2e0df9db3a2171fb3c365 [INFO] running `Command { std: "docker" "start" "-a" "7afc0f4391584c6d3dfa40773b1752362bf12be0d2f2e0df9db3a2171fb3c365", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling backtrace v0.3.50 [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: use of deprecated item 'tokio_io::codec::Framed': Moved to tokio-codec [INFO] [stdout] --> src/lib.rs:57:18 [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 item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | types { [INFO] [stdout] 3 | | Error, ErrorKind, ResultExt; [INFO] [stdout] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | types { [INFO] [stdout] 3 | | Error, ErrorKind, ResultExt; [INFO] [stdout] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.97s [INFO] running `Command { std: "docker" "inspect" "7afc0f4391584c6d3dfa40773b1752362bf12be0d2f2e0df9db3a2171fb3c365", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7afc0f4391584c6d3dfa40773b1752362bf12be0d2f2e0df9db3a2171fb3c365", kill_on_drop: false }` [INFO] [stdout] 7afc0f4391584c6d3dfa40773b1752362bf12be0d2f2e0df9db3a2171fb3c365 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5c2310c748be13ab54a182aa6dc21ce0dd20d282460ac4498906bb2bc74209c7 [INFO] running `Command { std: "docker" "start" "-a" "5c2310c748be13ab54a182aa6dc21ce0dd20d282460ac4498906bb2bc74209c7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.37 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling yaml-rust v0.4.4 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stdout] warning: use of deprecated item 'tokio_io::codec::Framed': Moved to tokio-codec [INFO] [stdout] --> src/lib.rs:57:18 [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 item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | types { [INFO] [stdout] 3 | | Error, ErrorKind, ResultExt; [INFO] [stdout] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | types { [INFO] [stdout] 3 | | Error, ErrorKind, ResultExt; [INFO] [stdout] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chrono v0.3.0 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling serde_yaml v0.7.5 [INFO] [stderr] Compiling log4rs v0.7.0 [INFO] [stderr] Compiling amqpr-api v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `amqpr_api::receive_delivered` [INFO] [stdout] --> tests/consume.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 15 | declare_queue, start_consume, receive_delivered}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `receive_delivered` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'tokio_io::codec::Framed': Moved to tokio-codec [INFO] [stdout] --> src/lib.rs:57:18 [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 item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | types { [INFO] [stdout] 3 | | Error, ErrorKind, ResultExt; [INFO] [stdout] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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 struct `amqpr_api::AmqpSocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Stream` is not satisfied [INFO] [stdout] --> tests/publish.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID)) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `futures::Stream` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/channel/open.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | S: Stream + Sink, [INFO] [stdout] | ------------------------------- required by this bound in `amqpr_api::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:28 [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] ::: /opt/rustwide/workdir/src/channel/open.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | S: Stream + Sink, [INFO] [stdout] | ------------------------------------- required by this bound in `amqpr_api::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: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] = note: required because of the requirements on the impl of `futures::Future` for `amqpr_api::channel::open::ChannelOpened` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::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 `futures::Stream` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `futures::Future` for `amqpr_api::channel::open::ChannelOpened` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `and_then` found for struct `futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/publish.rs:37:19: 37:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/publish.rs:38:19: 38:66]>` in the current scope [INFO] [stdout] --> tests/publish.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | .and_then(|socket| { [INFO] [stdout] | ^^^^^^^^ method not found in `futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/publish.rs:37:19: 37:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/publish.rs:38:19: 38:66]>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.29/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 `_: futures::Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/channel/open.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / pub enum ChannelOpened [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | S: Sink, [INFO] [stdout] 34 | | { [INFO] [stdout] 35 | | Sending(Send), [INFO] [stdout] 36 | | Receiving(Should), [INFO] [stdout] 37 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_doesn't satisfy `<_ as futures::IntoFuture>::Error = amqpr_api::errors::Error` [INFO] [stdout] | doesn't satisfy `_: futures::IntoFuture` [INFO] [stdout] | [INFO] [stdout] = note: the method `and_then` exists but 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, amqpr_api::handshake::Handshaking, [closure@tests/publish.rs:37:19: 37:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/publish.rs:38:19: 38:66]>: futures::Future` [INFO] [stdout] `amqpr_api::channel::open::ChannelOpened: futures::IntoFuture` [INFO] [stdout] which is required by `futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/publish.rs:37:19: 37:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/publish.rs:38:19: 38:66]>: futures::Future` [INFO] [stdout] `futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/publish.rs:37:19: 37:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/publish.rs:38:19: 38:66]>: futures::Future` [INFO] [stdout] which is required by `&mut futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/publish.rs:37:19: 37:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/publish.rs:38:19: 38:66]>: futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `amqpr_api::exchange::declare::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] | ^^^^^^^^^^ `amqpr_api::exchange::declare::DeclareExchangeOption` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `name`, `typ`, `is_passive`, `is_durable`, `is_auto_delete`, `is_internal` [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] ::: /opt/rustwide/workdir/src/exchange/declare.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | S: Sink, [INFO] [stdout] | ---------------------- required by this bound in `amqpr_api::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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.29/src/sink/send.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Send { [INFO] [stdout] | ---- required by this bound in `futures::sink::Send` [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] | ^^^^^^^ ------ ---------------- ----- ------ supplied 4 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `amqpr-api`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated item '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 item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | types { [INFO] [stdout] 3 | | Error, ErrorKind, ResultExt; [INFO] [stdout] 4 | | } [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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 struct `amqpr_api::AmqpSocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Stream` is not satisfied [INFO] [stdout] --> tests/bind_queue.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID)) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `futures::Stream` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/channel/open.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | S: Stream + Sink, [INFO] [stdout] | ------------------------------- required by this bound in `amqpr_api::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:28 [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] ::: /opt/rustwide/workdir/src/channel/open.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | S: Stream + Sink, [INFO] [stdout] | ------------------------------------- required by this bound in `amqpr_api::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: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] = note: required because of the requirements on the impl of `futures::Future` for `amqpr_api::channel::open::ChannelOpened` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::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 `futures::Stream` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `futures::Future` for `amqpr_api::channel::open::ChannelOpened` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `and_then` found for struct `futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/bind_queue.rs:36:19: 36:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/bind_queue.rs:37:19: 37:66]>` in the current scope [INFO] [stdout] --> tests/bind_queue.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | .and_then(|socket| { [INFO] [stdout] | ^^^^^^^^ method not found in `futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/bind_queue.rs:36:19: 36:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/bind_queue.rs:37:19: 37:66]>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.29/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 `_: futures::Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/channel/open.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / pub enum ChannelOpened [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | S: Sink, [INFO] [stdout] 34 | | { [INFO] [stdout] 35 | | Sending(Send), [INFO] [stdout] 36 | | Receiving(Should), [INFO] [stdout] 37 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_doesn't satisfy `<_ as futures::IntoFuture>::Error = amqpr_api::errors::Error` [INFO] [stdout] | doesn't satisfy `_: futures::IntoFuture` [INFO] [stdout] | [INFO] [stdout] = note: the method `and_then` exists but 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, amqpr_api::handshake::Handshaking, [closure@tests/bind_queue.rs:36:19: 36:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/bind_queue.rs:37:19: 37:66]>: futures::Future` [INFO] [stdout] `amqpr_api::channel::open::ChannelOpened: futures::IntoFuture` [INFO] [stdout] which is required by `futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/bind_queue.rs:36:19: 36:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/bind_queue.rs:37:19: 37:66]>: futures::Future` [INFO] [stdout] `futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/bind_queue.rs:36:19: 36:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/bind_queue.rs:37:19: 37:66]>: futures::Future` [INFO] [stdout] which is required by `&mut futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/bind_queue.rs:36:19: 36:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/bind_queue.rs:37:19: 37:66]>: futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `amqpr_api::exchange::declare::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] | ^^^^^^^^^^ `amqpr_api::exchange::declare::DeclareExchangeOption` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `name`, `typ`, `is_passive`, `is_durable`, `is_auto_delete`, `is_internal` [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] ::: /opt/rustwide/workdir/src/exchange/declare.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | S: Sink, [INFO] [stdout] | ---------------------- required by this bound in `amqpr_api::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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.29/src/sink/send.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Send { [INFO] [stdout] | ---- required by this bound in `futures::sink::Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `amqpr_api::queue::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] | ^^^^^^^^^^ `amqpr_api::queue::DeclareQueueOption` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `name`, `is_passive`, `is_durable`, `is_exclusive`, `is_auto_delete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::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 `futures::Stream` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/queue/declare.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | S: Stream + Sink, [INFO] [stdout] | ------------------------------- required by this bound in `amqpr_api::declare_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/declare_exchange.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 35 | .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID)) [INFO] [stdout] | ^^^^^^ expected `u16`, found struct `amqpr_api::AmqpSocket` [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 struct `amqpr_api::AmqpSocket` [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] ::: /opt/rustwide/workdir/src/queue/declare.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 23 | S: Stream + Sink, [INFO] [stdout] | ------------------------------------- required by this bound in `amqpr_api::declare_queue` [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 struct `amqpr_api::AmqpSocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Stream` is not satisfied [INFO] [stdout] --> tests/consume.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID)) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `futures::Stream` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/channel/open.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | S: Stream + Sink, [INFO] [stdout] | ------------------------------- required by this bound in `amqpr_api::open_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Stream` is not satisfied [INFO] [stdout] --> tests/declare_exchange.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID)) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `futures::Stream` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/channel/open.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | S: Stream + Sink, [INFO] [stdout] | ------------------------------- required by this bound in `amqpr_api::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:28 [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] ::: /opt/rustwide/workdir/src/channel/open.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | S: Stream + Sink, [INFO] [stdout] | ------------------------------------- required by this bound in `amqpr_api::open_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::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 `futures::Stream` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/queue/declare.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | S: Stream + Sink, [INFO] [stdout] | ------------------------------- required by this bound in `amqpr_api::queue::declare::QueueDeclared` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/declare_exchange.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID)) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/channel/open.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | S: Stream + Sink, [INFO] [stdout] | ------------------------------------- required by this bound in `amqpr_api::open_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/declare_exchange.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID)) [INFO] [stdout] | ^^^^^^^^ the trait `futures::Sink` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `futures::Future` for `amqpr_api::channel::open::ChannelOpened` [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] ::: /opt/rustwide/workdir/src/queue/declare.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | S: Stream + Sink, [INFO] [stdout] | ------------------------------------- required by this bound in `amqpr_api::queue::declare::QueueDeclared` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Stream` is not satisfied [INFO] [stdout] --> tests/declare_exchange.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID)) [INFO] [stdout] | ^^^^^^^^ the trait `futures::Stream` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `futures::Future` for `amqpr_api::channel::open::ChannelOpened` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Stream` is not satisfied [INFO] [stdout] --> tests/declare_queue.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | .and_then(|socket| open_channel(socket, LOCAL_CHANNEL_ID)) [INFO] [stdout] | ^^^^^^^^^^^^ the trait `futures::Stream` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/channel/open.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | S: Stream + Sink, [INFO] [stdout] | ------------------------------- required by this bound in `amqpr_api::open_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `and_then` found for struct `futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/declare_exchange.rs:34:19: 34:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/declare_exchange.rs:35:19: 35:66]>` in the current scope [INFO] [stdout] --> tests/declare_exchange.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | .and_then(|socket| { [INFO] [stdout] | ^^^^^^^^ method not found in `futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/declare_exchange.rs:34:19: 34:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/declare_exchange.rs:35:19: 35:66]>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.29/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 `_: futures::Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/channel/open.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / pub enum ChannelOpened [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | S: Sink, [INFO] [stdout] 34 | | { [INFO] [stdout] 35 | | Sending(Send), [INFO] [stdout] 36 | | Receiving(Should), [INFO] [stdout] 37 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_doesn't satisfy `<_ as futures::IntoFuture>::Error = amqpr_api::errors::Error` [INFO] [stdout] | doesn't satisfy `_: futures::IntoFuture` [INFO] [stdout] | [INFO] [stdout] = note: the method `and_then` exists but 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, amqpr_api::handshake::Handshaking, [closure@tests/declare_exchange.rs:34:19: 34:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/declare_exchange.rs:35:19: 35:66]>: futures::Future` [INFO] [stdout] `amqpr_api::channel::open::ChannelOpened: futures::IntoFuture` [INFO] [stdout] which is required by `futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/declare_exchange.rs:34:19: 34:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/declare_exchange.rs:35:19: 35:66]>: futures::Future` [INFO] [stdout] `futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/declare_exchange.rs:34:19: 34:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/declare_exchange.rs:35:19: 35:66]>: futures::Future` [INFO] [stdout] which is required by `&mut futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/declare_exchange.rs:34:19: 34:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/declare_exchange.rs:35:19: 35:66]>: futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map` found for enum `amqpr_api::queue::declare::QueueDeclared` in the current scope [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 not found in `amqpr_api::queue::declare::QueueDeclared` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/queue/declare.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / pub enum QueueDeclared [INFO] [stdout] 48 | | where [INFO] [stdout] 49 | | S: Stream + Sink, [INFO] [stdout] 50 | | E: From, [INFO] [stdout] ... | [INFO] [stdout] 53 | | Receiveing(Should), [INFO] [stdout] 54 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_doesn't satisfy `_: futures::Future` [INFO] [stdout] | doesn't satisfy `_: std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stdout] `::Item = amqpr_codec::frame::Frame` [INFO] [stdout] which is required by `amqpr_api::queue::declare::QueueDeclared: futures::Future` [INFO] [stdout] `::Error = _` [INFO] [stdout] which is required by `amqpr_api::queue::declare::QueueDeclared: futures::Future` [INFO] [stdout] `::SinkItem = amqpr_codec::frame::Frame` [INFO] [stdout] which is required by `amqpr_api::queue::declare::QueueDeclared: futures::Future` [INFO] [stdout] `::SinkError = _` [INFO] [stdout] which is required by `amqpr_api::queue::declare::QueueDeclared: futures::Future` [INFO] [stdout] `u16: futures::Sink` [INFO] [stdout] which is required by `amqpr_api::queue::declare::QueueDeclared: futures::Future` [INFO] [stdout] `u16: futures::Stream` [INFO] [stdout] which is required by `amqpr_api::queue::declare::QueueDeclared: futures::Future` [INFO] [stdout] `amqpr_api::queue::declare::QueueDeclared: futures::Future` [INFO] [stdout] which is required by `&mut amqpr_api::queue::declare::QueueDeclared: futures::Future` [INFO] [stdout] `amqpr_api::queue::declare::QueueDeclared: std::iter::Iterator` [INFO] [stdout] which is required by `&mut amqpr_api::queue::declare::QueueDeclared: std::iter::Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `amqpr_api::exchange::declare::DeclareExchangeOption` has no field named `is_no_wait` [INFO] [stdout] --> tests/declare_exchange.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | is_no_wait: false, [INFO] [stdout] | ^^^^^^^^^^ `amqpr_api::exchange::declare::DeclareExchangeOption` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `name`, `typ`, `is_passive`, `is_durable`, `is_auto_delete`, `is_internal` [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] = note: required because of the requirements on the impl of `futures::Future` for `amqpr_api::channel::open::ChannelOpened` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/declare_exchange.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | declare_exchange(socket, LOCAL_CHANNEL_ID, option) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/exchange/declare.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | S: Sink, [INFO] [stdout] | ---------------------- required by this bound in `amqpr_api::declare_exchange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `amqpr_api::queue::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] | ^^^^^^^^^^ `amqpr_api::queue::BindQueueOption` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `queue`, `exchange`, `routing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/declare_queue.rs:34:28 [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] ::: /opt/rustwide/workdir/src/channel/open.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | S: Stream + Sink, [INFO] [stdout] | ------------------------------------- required by this bound in `amqpr_api::open_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/declare_exchange.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | declare_exchange(socket, LOCAL_CHANNEL_ID, option) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.29/src/sink/send.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Send { [INFO] [stdout] | ---- required by this bound in `futures::sink::Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::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 `futures::Stream` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `futures::Future` for `amqpr_api::channel::open::ChannelOpened` [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] ::: /opt/rustwide/workdir/src/queue/bind.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | S: Sink, [INFO] [stdout] | ---------------------- required by this bound in `amqpr_api::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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.29/src/sink/send.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Send { [INFO] [stdout] | ---- required by this bound in `futures::sink::Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `and_then` found for struct `futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/consume.rs:39:19: 39:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/consume.rs:40:19: 40:66]>` in the current scope [INFO] [stdout] --> tests/consume.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | .and_then(|socket| { [INFO] [stdout] | ^^^^^^^^ method not found in `futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/consume.rs:39:19: 39:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/consume.rs:40:19: 40:66]>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.29/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 `_: futures::Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/channel/open.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / pub enum ChannelOpened [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | S: Sink, [INFO] [stdout] 34 | | { [INFO] [stdout] 35 | | Sending(Send), [INFO] [stdout] 36 | | Receiving(Should), [INFO] [stdout] 37 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_doesn't satisfy `<_ as futures::IntoFuture>::Error = amqpr_api::errors::Error` [INFO] [stdout] | doesn't satisfy `_: futures::IntoFuture` [INFO] [stdout] | [INFO] [stdout] = note: the method `and_then` exists but 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, amqpr_api::handshake::Handshaking, [closure@tests/consume.rs:39:19: 39:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/consume.rs:40:19: 40:66]>: futures::Future` [INFO] [stdout] `amqpr_api::channel::open::ChannelOpened: futures::IntoFuture` [INFO] [stdout] which is required by `futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/consume.rs:39:19: 39:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/consume.rs:40:19: 40:66]>: futures::Future` [INFO] [stdout] `futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/consume.rs:39:19: 39:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/consume.rs:40:19: 40:66]>: futures::Future` [INFO] [stdout] which is required by `&mut futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/consume.rs:39:19: 39:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/consume.rs:40:19: 40:66]>: futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `amqpr_api::exchange::declare::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] | ^^^^^^^^^^ `amqpr_api::exchange::declare::DeclareExchangeOption` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `name`, `typ`, `is_passive`, `is_durable`, `is_auto_delete`, `is_internal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [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] = note: required because of the requirements on the impl of `futures::Future` for `amqpr_api::channel::open::ChannelOpened` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/consume.rs: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] ::: /opt/rustwide/workdir/src/exchange/declare.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | S: Sink, [INFO] [stdout] | ---------------------- required by this bound in `amqpr_api::declare_exchange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::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 `futures::Stream` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `futures::Future` for `amqpr_api::channel::open::ChannelOpened` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/consume.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | declare_exchange(socket, LOCAL_CHANNEL_ID, option) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.29/src/sink/send.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Send { [INFO] [stdout] | ---- required by this bound in `futures::sink::Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `amqpr_api::queue::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] | ^^^^^^^^^^ `amqpr_api::queue::DeclareQueueOption` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `name`, `is_passive`, `is_durable`, `is_exclusive`, `is_auto_delete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::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 `futures::Stream` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/queue/declare.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | S: Stream + Sink, [INFO] [stdout] | ------------------------------- required by this bound in `amqpr_api::declare_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `and_then` found for struct `futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/declare_queue.rs:33:19: 33:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/declare_queue.rs:34:19: 34:66]>` in the current scope [INFO] [stdout] --> tests/declare_queue.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | .and_then(|socket| { [INFO] [stdout] | ^^^^^^^^ method not found in `futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/declare_queue.rs:33:19: 33:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/declare_queue.rs:34:19: 34:66]>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.29/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 `_: futures::Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/channel/open.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / pub enum ChannelOpened [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | S: Sink, [INFO] [stdout] 34 | | { [INFO] [stdout] 35 | | Sending(Send), [INFO] [stdout] 36 | | Receiving(Should), [INFO] [stdout] 37 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_doesn't satisfy `<_ as futures::IntoFuture>::Error = amqpr_api::errors::Error` [INFO] [stdout] | doesn't satisfy `_: futures::IntoFuture` [INFO] [stdout] | [INFO] [stdout] = note: the method `and_then` exists but 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, amqpr_api::handshake::Handshaking, [closure@tests/declare_queue.rs:33:19: 33:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/declare_queue.rs:34:19: 34:66]>: futures::Future` [INFO] [stdout] `amqpr_api::channel::open::ChannelOpened: futures::IntoFuture` [INFO] [stdout] which is required by `futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/declare_queue.rs:33:19: 33:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/declare_queue.rs:34:19: 34:66]>: futures::Future` [INFO] [stdout] `futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/declare_queue.rs:33:19: 33:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/declare_queue.rs:34:19: 34:66]>: futures::Future` [INFO] [stdout] which is required by `&mut futures::AndThen, amqpr_api::handshake::Handshaking, [closure@tests/declare_queue.rs:33:19: 33:63 handshaker:_]>, amqpr_api::channel::open::ChannelOpened, [closure@tests/declare_queue.rs:34:19: 34:66]>: futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `amqpr_api::queue::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] | ^^^^^^^^^^ `amqpr_api::queue::DeclareQueueOption` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `name`, `is_passive`, `is_durable`, `is_exclusive`, `is_auto_delete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/consume.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | declare_queue(socket, LOCAL_CHANNEL_ID, option).map(|(_result, socket)| socket) [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `futures::Sink` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/queue/declare.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 23 | S: Stream + Sink, [INFO] [stdout] | ------------------------------------- required by this bound in `amqpr_api::declare_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::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 `futures::Stream` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/queue/declare.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | S: Stream + Sink, [INFO] [stdout] | ------------------------------- required by this bound in `amqpr_api::declare_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::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 `futures::Stream` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/queue/declare.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | S: Stream + Sink, [INFO] [stdout] | ------------------------------- required by this bound in `amqpr_api::queue::declare::QueueDeclared` [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] ::: /opt/rustwide/workdir/src/queue/declare.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 23 | S: Stream + Sink, [INFO] [stdout] | ------------------------------------- required by this bound in `amqpr_api::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: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] ::: /opt/rustwide/workdir/src/queue/declare.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | S: Stream + Sink, [INFO] [stdout] | ------------------------------------- required by this bound in `amqpr_api::queue::declare::QueueDeclared` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::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 `futures::Stream` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/queue/declare.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | S: Stream + Sink, [INFO] [stdout] | ------------------------------- required by this bound in `amqpr_api::queue::declare::QueueDeclared` [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] ::: /opt/rustwide/workdir/src/queue/declare.rs:49:42 [INFO] [stdout] | [INFO] [stdout] 49 | S: Stream + Sink, [INFO] [stdout] | ------------------------------------- required by this bound in `amqpr_api::queue::declare::QueueDeclared` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map` found for enum `amqpr_api::queue::declare::QueueDeclared` in the current scope [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 not found in `amqpr_api::queue::declare::QueueDeclared` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/queue/declare.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / pub enum QueueDeclared [INFO] [stdout] 48 | | where [INFO] [stdout] 49 | | S: Stream + Sink, [INFO] [stdout] 50 | | E: From, [INFO] [stdout] ... | [INFO] [stdout] 53 | | Receiveing(Should), [INFO] [stdout] 54 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_doesn't satisfy `_: futures::Future` [INFO] [stdout] | doesn't satisfy `_: std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stdout] `::Item = amqpr_codec::frame::Frame` [INFO] [stdout] which is required by `amqpr_api::queue::declare::QueueDeclared: futures::Future` [INFO] [stdout] `::Error = _` [INFO] [stdout] which is required by `amqpr_api::queue::declare::QueueDeclared: futures::Future` [INFO] [stdout] `::SinkItem = amqpr_codec::frame::Frame` [INFO] [stdout] which is required by `amqpr_api::queue::declare::QueueDeclared: futures::Future` [INFO] [stdout] `::SinkError = _` [INFO] [stdout] which is required by `amqpr_api::queue::declare::QueueDeclared: futures::Future` [INFO] [stdout] `u16: futures::Sink` [INFO] [stdout] which is required by `amqpr_api::queue::declare::QueueDeclared: futures::Future` [INFO] [stdout] `u16: futures::Stream` [INFO] [stdout] which is required by `amqpr_api::queue::declare::QueueDeclared: futures::Future` [INFO] [stdout] `amqpr_api::queue::declare::QueueDeclared: futures::Future` [INFO] [stdout] which is required by `&mut amqpr_api::queue::declare::QueueDeclared: futures::Future` [INFO] [stdout] `amqpr_api::queue::declare::QueueDeclared: std::iter::Iterator` [INFO] [stdout] which is required by `&mut amqpr_api::queue::declare::QueueDeclared: std::iter::Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `amqpr_api::queue::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] | ^^^^^^^^^^ `amqpr_api::queue::BindQueueOption` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `queue`, `exchange`, `routing_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: futures::Sink` is not satisfied [INFO] [stdout] --> tests/consume.rs:71: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] ::: /opt/rustwide/workdir/src/queue/bind.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | S: Sink, [INFO] [stdout] | ---------------------- required by this bound in `amqpr_api::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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.29/src/sink/send.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Send { [INFO] [stdout] | ---- required by this bound in `futures::sink::Send` [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] | ^^^^^^^ ------ ---------------- ----- ------ supplied 4 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `amqpr_api::basic::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] | ^^^^^^^^^^ `amqpr_api::basic::StartConsumeOption` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `queue`, `consumer_tag`, `is_no_local`, `is_no_ack`, `is_exclusive` [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] ::: /opt/rustwide/workdir/src/basic/consume.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | S: Sink, [INFO] [stdout] | ---------------------- required by this bound in `amqpr_api::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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.29/src/sink/send.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Send { [INFO] [stdout] | ---- required by this bound in `futures::sink::Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0432, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5c2310c748be13ab54a182aa6dc21ce0dd20d282460ac4498906bb2bc74209c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c2310c748be13ab54a182aa6dc21ce0dd20d282460ac4498906bb2bc74209c7", kill_on_drop: false }` [INFO] [stdout] 5c2310c748be13ab54a182aa6dc21ce0dd20d282460ac4498906bb2bc74209c7