You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, Im trying to work through the example but I'm getting the following error:
cargo build
Compiling foo v0.1.0 (/Users/cbourne/development/rust/foo)
error[E0277]: the trait bound `impl futures::future::Future: std::future::Future` is not satisfied
--> src/main.rs:7:11
|
7 | match docker.containers().list(&Default::default()).await {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `impl futures::future::Future`
|
= note: required by `std::future::Future::poll`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.
error: could not compile `foo`.
To learn more, run the command again with --verbose.
Are there other dependancies in order for the example to work ?
The text was updated successfully, but these errors were encountered:
What version of shiplift are you using? async/await support is only on the current master branch, so the current release on crates.io (0.6.0) doesn't support async/await.
I can reproduce your error with these dependencies
[dependencies]
env_logger = "0.7"futures = "0.3.1"tokio = { version = "0.2.6", features = ["macros"] }
shiplift = "0.6"
Hi, Im trying to work through the example but I'm getting the following error:
Are there other dependancies in order for the example to work ?
The text was updated successfully, but these errors were encountered: