Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- error[E0432]: unresolved import `futures::BoxFuture`
- --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/futures_grpc.rs:1:5
- |
- 1 | use futures::BoxFuture;
- | ^^^^^^^^^^^^^^^^^^ no `BoxFuture` in the root. Did you mean to use `Future`?
- error[E0432]: unresolved import `futures::stream::BoxStream`
- --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/futures_grpc.rs:2:5
- |
- 2 | use futures::stream::BoxStream;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `BoxStream` in `stream`. Did you mean to use `Stream`?
- error[E0433]: failed to resolve. Could not find `sync` in `futures`
- --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/client.rs:124:39
- |
- 124 | -> futures::Oneshot<(futures::sync::mpsc::UnboundedSender<ResultOrEof<Resp, Error>>, GrpcStream<Resp>)>
- | ^^^^ Could not find `sync` in `futures`
- error[E0433]: failed to resolve. Could not find `sync` in `futures`
- --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/client.rs:128:43
- |
- 128 | let (sender, receiver) = futures::sync::mpsc::unbounded();
- | ^^^^ Could not find `sync` in `futures`
- error[E0407]: method `poll` is not a member of trait `Stream`
- --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/grpc_frame.rs:163:5
- |
- 163 | / fn poll(&mut self) -> Poll<Option<Self::Item>, Self::Error> {
- 164 | | loop {
- 165 | | if let Some(ref mut error) = self.error {
- 166 | | return error.poll();
- ... |
- 201 | | }
- 202 | | }
- | |_____^ not a member of trait `Stream`
- error[E0407]: method `poll` is not a member of trait `Stream`
- --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/grpc_http_to_response.rs:90:5
- |
- 90 | / fn poll(&mut self) -> Poll<Option<Self::Item>, Self::Error> {
- 91 | | loop {
- 92 | | if let Some(ref mut error) = self.error {
- 93 | | return error.poll();
- ... |
- 151 | | }
- 152 | | }
- | |_____^ not a member of trait `Stream`
- error[E0412]: cannot find type `Oneshot` in module `futures`
- --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/client.rs:124:21
- |
- 124 | -> futures::Oneshot<(futures::sync::mpsc::UnboundedSender<ResultOrEof<Resp, Error>>, GrpcStream<Resp>)>
- | ^^^^^^^ not found in `futures`
- error[E0425]: cannot find function `oneshot` in module `futures`
- --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/client.rs:126:51
- |
- 126 | let (one_sender, one_receiver) = futures::oneshot();
- | ^^^^^^^ not found in `futures`
- error[E0425]: cannot find function `iter` in module `stream`
- --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/stream_item.rs:63:53
- |
- 63 | GrpcStreamWithTrailingMetadata::new(stream::iter(vec![
- | ^^^^ not found in `stream`
- error[E0425]: cannot find function `iter` in module `stream`
- --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/stream_item.rs:75:56
- |
- 75 | GrpcStreamWithTrailingMetadata::stream(stream::iter(iter.into_iter().map(Ok)))
- | ^^^^ not found in `stream`
- error[E0425]: cannot find function `iter` in module `stream`
- --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/req.rs:42:39
- |
- 42 | StreamingRequest::new(stream::iter(iter.into_iter().map(Ok)))
- | ^^^^ not found in `stream`
- error[E0425]: cannot find function `finished` in module `future`
- --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/resp.rs:43:37
- |
- 43 | SingleResponse::new(future::finished((metadata, future)))
- | ^^^^^^^^ not found in `future`
- error[E0425]: cannot find function `iter` in module `stream`
- --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/resp.rs:84:25
- |
- 84 | stream::iter(vec![
- | ^^^^ not found in `stream`
- error[E0425]: cannot find function `iter` in module `stream`
- --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/resp.rs:157:21
- |
- 157 | stream::iter(iter.map(Ok)),
- | ^^^^ not found in `stream`
- error[E0412]: cannot find type `Canceled` in module `futures`
- --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/error.rs:27:23
- |
- 27 | Canceled(futures::Canceled),
- | ^^^^^^^^ not found in `futures`
- help: possible candidate is found in another module, you can import it into scope
- |
- 1 | use futures::channel::oneshot::Canceled;
- |
- error[E0412]: cannot find type `Canceled` in module `futures`
- --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/error.rs:89:20
- |
- 89 | impl From<futures::Canceled> for Error {
- | ^^^^^^^^ not found in `futures`
- help: possible candidate is found in another module, you can import it into scope
- |
- 1 | use futures::channel::oneshot::Canceled;
- |
- error[E0412]: cannot find type `Canceled` in module `futures`
- --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/error.rs:90:27
- |
- 90 | fn from(err: futures::Canceled) -> Self {
- | ^^^^^^^^ not found in `futures`
- help: possible candidate is found in another module, you can import it into scope
- |
- 1 | use futures::channel::oneshot::Canceled;
- |
- error[E0244]: wrong number of type arguments: expected 1, found 2
- --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/grpc_frame.rs:144:19
- |
- 144 | error: Option<stream::Once<Bytes, Error>>,
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument
- error[E0244]: wrong number of type arguments: expected 1, found 2
- --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/grpc_http_to_response.rs:72:19
- |
- 72 | error: Option<stream::Once<ItemOrMetadata<Bytes>, Error>>,
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument
- error: aborting due to 19 previous errors
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement