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

Future-core-preview-0.3.0-alpha.12 fails to build on new nightly #1453

Closed
kitsuneninetails opened this issue Feb 15, 2019 · 3 comments
Closed

Comments

@kitsuneninetails
Copy link

Due to commit: rust-lang/rust@d9a4b22#diff-31ce1b2eb51b1e216232d2d4770b8f92 which removed LocalWaker (and others), futures-core-preview now fails to build with:

error[E0432]: unresolved import `core::task::LocalWaker`
 --> /home/micucci/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-preview-0.3.0-alpha.12/src/future/future_obj.rs:6:12
  |
6 |     task::{LocalWaker, Poll},
  |            ^^^^^^^^^^ no `LocalWaker` in `task`

error[E0432]: unresolved imports `core::task::LocalWaker`, `core::task::UnsafeWake`
 --> /home/micucci/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-preview-0.3.0-alpha.12/src/task/mod.rs:8:35
  |
8 | pub use core::task::{Poll, Waker, LocalWaker, UnsafeWake};
  |                                   ^^^^^^^^^^  ^^^^^^^^^^ no `UnsafeWake` in `task`
  |                                   |
  |                                   no `LocalWaker` in `task`

error[E0432]: unresolved imports `std::task::Wake`, `std::task::local_waker`, `std::task::local_waker_from_nonlocal`
  --> /home/micucci/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-preview-0.3.0-alpha.12/src/task/mod.rs:10:21
   |
10 | pub use std::task::{Wake, local_waker, local_waker_from_nonlocal};
   |                     ^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^ no `local_waker_from_nonlocal` in `task`
   |                     |     |
   |                     |     no `local_waker` in `task`
   |                     no `Wake` in `task`. Did you mean to use `Waker`?

@leaxoy
Copy link

leaxoy commented Feb 15, 2019

Wait #1445 merged

@kitsuneninetails
Copy link
Author

Thanks for the link!

Anyone: Any ETA on #1445? It's already been over 2 weeks.

It sounds like it will take a while for this breaking change to be fixed (I would normally say this should be a super-high-priority, but I understand "things" happen :)).

I'll pin my Rust toolchain prior to the above commit until it's all working again.

Thanks!

@cramertj
Copy link
Member

Alpha 13 was released a few days ago, so this should be fixed. Let me know if you run into any problems!

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

3 participants