Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async warp example doesn't run #659

Closed
allancalix opened this issue May 12, 2020 · 0 comments
Closed

Async warp example doesn't run #659

allancalix opened this issue May 12, 2020 · 0 comments
Assignees
Labels
bug Something isn't working easy

Comments

@allancalix
Copy link
Contributor

Describe the bug
The async warp example server fails to build.

To Reproduce

# Tested revision
git checkout aedb2d1e
cargo clean
cd examples/warp-async
cargo run

Expected behavior
An example graphql server should successfully build and start serving on port 8080.

Additional context

  • Build issue
error[E0433]: failed to resolve: could not find `document_join_macro` in `futures_util`
   --> /Users/allancalix/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.3.1/src/lib.rs:504:15
    |
504 | futures_util::document_join_macro! {
    |               ^^^^^^^^^^^^^^^^^^^ could not find `document_join_macro` in `futures_util`
  • The warp version specified in the example manifest is a different major version from the example itself causing issues.

  • Some interface changes

I fixed these issues on my fork:
allancalix#1

@allancalix allancalix added bug Something isn't working needs-triage labels May 12, 2020
tyranron added a commit that referenced this issue Jun 14, 2020
…ve OpenSSL (#677)

- revive `warp_async` example (#659)

Co-authored-by: Allan Calix <contact@allancalix.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
@tyranron tyranron added the easy label Jun 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working easy
Projects
None yet
Development

No branches or pull requests

3 participants