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

tokio-util no longer builds with features = ["full"] (tokio_unstable) #4986

Closed
rukai opened this issue Sep 7, 2022 · 3 comments · Fixed by #4987
Closed

tokio-util no longer builds with features = ["full"] (tokio_unstable) #4986

rukai opened this issue Sep 7, 2022 · 3 comments · Fixed by #4987
Labels
A-tokio Area: The main tokio crate A-tokio-util Area: The tokio-util crate C-bug Category: This is a bug. M-task Module: tokio/task

Comments

@rukai
Copy link
Contributor

rukai commented Sep 7, 2022

Adding the following to a fresh Cargo.toml will fail to build.

tokio = "1.21.0"
tokio-util = { version = "0.7.3", features = ["full"] }

It gives the following build failure:

error[E0599]: no method named `join_one_with_id` found for struct `JoinSet` in the current scope
   --> /home/rukai/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-util-0.7.3/src/task/join_map.rs:420:42
    |
420 |         let (res, id) = match self.tasks.join_one_with_id().await {
    |                                          ^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `join_next_with_id`
@rukai rukai added A-tokio Area: The main tokio crate C-bug Category: This is a bug. labels Sep 7, 2022
@Darksonn Darksonn added A-tokio-util Area: The tokio-util crate M-task Module: tokio/task labels Sep 7, 2022
@Darksonn
Copy link
Contributor

Darksonn commented Sep 7, 2022

You have tokio_unstable enabled, correct?

@rukai
Copy link
Contributor Author

rukai commented Sep 7, 2022

Oh whoops, I do yeah.

@Darksonn
Copy link
Contributor

Darksonn commented Sep 7, 2022

It is still a bug, of course.

@rukai rukai changed the title tokio-util no longer builds with features = ["full"] tokio-util no longer builds with features = ["full"] (tokio_unstable) Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate A-tokio-util Area: The tokio-util crate C-bug Category: This is a bug. M-task Module: tokio/task
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants