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

Isahc issue #1

Open
makorne opened this issue Nov 1, 2022 · 0 comments
Open

Isahc issue #1

makorne opened this issue Nov 1, 2022 · 0 comments

Comments

@makorne
Copy link

makorne commented Nov 1, 2022

Hi!
Thank you for your great project!

I try to update it to current cf worker 0.11 (from old 0.7) but compiling failed at the end with 2 crates left from 300+.

   Compiling async-h1 v2.3.3
error[E0425]: cannot find function `spawn` in module `task`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/async-h1-2.3.3/src/server/decode.rs:106:15
    |
106 |         task::spawn(async move {
    |               ^^^^^ not found in `task`
    |
help: consider importing this function
    |
3   | use std::thread::spawn;
    |
help: if you import `spawn`, refer to it directly
    |
106 -         task::spawn(async move {
106 +         spawn(async move {
    |

   Compiling surf v2.3.2
For more information about this error, try `rustc --explain E0425`.
error: could not compile `async-h1` due to previous error
warning: build failed, waiting for other jobs to finish...
error[E0432]: unresolved import `http_client::isahc`
  --> .cargo/registry/src/github.com-1ecc6299db9ec823/surf-2.3.2/src/client.rs:13:26
   |
13 |         use http_client::isahc::IsahcClient as DefaultClient;
   |                          ^^^^^ could not find `isahc` in `http_client`

The isahc issue looks already solved in your cargo.
So I cant find how to update .

May be you as creator know what may be the problem and how to update it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant