daily pastebin goal
36%
SHARE
TWEET

Untitled

VoyTechnology Apr 16th, 2018 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. error[E0432]: unresolved import `futures::BoxFuture`
  2.  --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/futures_grpc.rs:1:5
  3.   |
  4. 1 | use futures::BoxFuture;
  5.   |     ^^^^^^^^^^^^^^^^^^ no `BoxFuture` in the root. Did you mean to use `Future`?
  6.  
  7. error[E0432]: unresolved import `futures::stream::BoxStream`
  8.  --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/futures_grpc.rs:2:5
  9.   |
  10. 2 | use futures::stream::BoxStream;
  11.   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `BoxStream` in `stream`. Did you mean to use `Stream`?
  12.  
  13. error[E0433]: failed to resolve. Could not find `sync` in `futures`
  14.    --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/client.rs:124:39
  15.     |
  16. 124 |         -> futures::Oneshot<(futures::sync::mpsc::UnboundedSender<ResultOrEof<Resp, Error>>, GrpcStream<Resp>)>
  17.     |                                       ^^^^ Could not find `sync` in `futures`
  18.  
  19. error[E0433]: failed to resolve. Could not find `sync` in `futures`
  20.    --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/client.rs:128:43
  21.     |
  22. 128 |         let (sender, receiver) = futures::sync::mpsc::unbounded();
  23.     |                                           ^^^^ Could not find `sync` in `futures`
  24.  
  25. error[E0407]: method `poll` is not a member of trait `Stream`
  26.    --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/grpc_frame.rs:163:5
  27.     |
  28. 163 | /     fn poll(&mut self) -> Poll<Option<Self::Item>, Self::Error> {
  29. 164 | |         loop {
  30. 165 | |             if let Some(ref mut error) = self.error {
  31. 166 | |                 return error.poll();
  32. ...   |
  33. 201 | |         }
  34. 202 | |     }
  35.     | |_____^ not a member of trait `Stream`
  36.  
  37. error[E0407]: method `poll` is not a member of trait `Stream`
  38.    --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/grpc_http_to_response.rs:90:5
  39.     |
  40. 90  | /     fn poll(&mut self) -> Poll<Option<Self::Item>, Self::Error> {
  41. 91  | |         loop {
  42. 92  | |             if let Some(ref mut error) = self.error {
  43. 93  | |                 return error.poll();
  44. ...   |
  45. 151 | |         }
  46. 152 | |     }
  47.     | |_____^ not a member of trait `Stream`
  48.  
  49. error[E0412]: cannot find type `Oneshot` in module `futures`
  50.    --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/client.rs:124:21
  51.     |
  52. 124 |         -> futures::Oneshot<(futures::sync::mpsc::UnboundedSender<ResultOrEof<Resp, Error>>, GrpcStream<Resp>)>
  53.     |                     ^^^^^^^ not found in `futures`
  54.  
  55. error[E0425]: cannot find function `oneshot` in module `futures`
  56.    --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/client.rs:126:51
  57.     |
  58. 126 |         let (one_sender, one_receiver) = futures::oneshot();
  59.     |                                                   ^^^^^^^ not found in `futures`
  60.  
  61. error[E0425]: cannot find function `iter` in module `stream`
  62.   --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/stream_item.rs:63:53
  63.    |
  64. 63 |         GrpcStreamWithTrailingMetadata::new(stream::iter(vec![
  65.    |                                                     ^^^^ not found in `stream`
  66.  
  67. error[E0425]: cannot find function `iter` in module `stream`
  68.   --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/stream_item.rs:75:56
  69.    |
  70. 75 |         GrpcStreamWithTrailingMetadata::stream(stream::iter(iter.into_iter().map(Ok)))
  71.    |                                                        ^^^^ not found in `stream`
  72.  
  73. error[E0425]: cannot find function `iter` in module `stream`
  74.   --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/req.rs:42:39
  75.    |
  76. 42 |         StreamingRequest::new(stream::iter(iter.into_iter().map(Ok)))
  77.    |                                       ^^^^ not found in `stream`
  78.  
  79. error[E0425]: cannot find function `finished` in module `future`
  80.   --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/resp.rs:43:37
  81.    |
  82. 43 |         SingleResponse::new(future::finished((metadata, future)))
  83.    |                                     ^^^^^^^^ not found in `future`
  84.  
  85. error[E0425]: cannot find function `iter` in module `stream`
  86.   --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/resp.rs:84:25
  87.    |
  88. 84 |                 stream::iter(vec![
  89.    |                         ^^^^ not found in `stream`
  90.  
  91. error[E0425]: cannot find function `iter` in module `stream`
  92.    --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/resp.rs:157:21
  93.     |
  94. 157 |             stream::iter(iter.map(Ok)),
  95.     |                     ^^^^ not found in `stream`
  96.  
  97. error[E0412]: cannot find type `Canceled` in module `futures`
  98.   --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/error.rs:27:23
  99.    |
  100. 27 |     Canceled(futures::Canceled),
  101.    |                       ^^^^^^^^ not found in `futures`
  102. help: possible candidate is found in another module, you can import it into scope
  103.    |
  104. 1  | use futures::channel::oneshot::Canceled;
  105.    |
  106.  
  107. error[E0412]: cannot find type `Canceled` in module `futures`
  108.   --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/error.rs:89:20
  109.    |
  110. 89 | impl From<futures::Canceled> for Error {
  111.    |                    ^^^^^^^^ not found in `futures`
  112. help: possible candidate is found in another module, you can import it into scope
  113.    |
  114. 1  | use futures::channel::oneshot::Canceled;
  115.    |
  116.  
  117. error[E0412]: cannot find type `Canceled` in module `futures`
  118.   --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/error.rs:90:27
  119.    |
  120. 90 |     fn from(err: futures::Canceled) -> Self {
  121.    |                           ^^^^^^^^ not found in `futures`
  122. help: possible candidate is found in another module, you can import it into scope
  123.    |
  124. 1  | use futures::channel::oneshot::Canceled;
  125.    |
  126.  
  127. error[E0244]: wrong number of type arguments: expected 1, found 2
  128.    --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/grpc_frame.rs:144:19
  129.     |
  130. 144 |     error: Option<stream::Once<Bytes, Error>>,
  131.     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument
  132.  
  133. error[E0244]: wrong number of type arguments: expected 1, found 2
  134.   --> /home/voy/.cargo/registry/src/github.com-1ecc6299db9ec823/grpc-0.2.1/src/grpc_http_to_response.rs:72:19
  135.    |
  136. 72 |     error: Option<stream::Once<ItemOrMetadata<Bytes>, Error>>,
  137.    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument
  138.  
  139. error: aborting due to 19 previous errors
RAW Paste Data
Top