Unresolved import `core::task::Wake`

Viewed 554

I have a web server written in rust that I wanted to deploy on Heroku. The server compiles and runs well locally on my machine (see photos below), however, it cannot compile on rust and I get a compilation error.

error[E0432]: unresolved import `core::task::Wake`

   --> /tmp/codon/tmp/cache/cargo/registry/src/github.com-1ecc6299db9ec823/standback-0.2.16/src/lib.rs:520:13

    |

520 |     pub use core::task::Wake;

    |             ^^^^^^^^^^^^----

    |             |           |

    |             |           help: a similar name exists in the module (notice the capitalization): `wake`

    |             no `Wake` in `task`

error: aborting due to previous error

Working perfectly on my machine: Working perfectly on my machine

Not compiling in Heroku Not compiling in Heroku

(source code can be found here)

1 Answers

This is an issue in the standback crate that was fixed a couple days ago in a new release. You can get the fix by updating the dependency in your Cargo.lock file with cargo update or cargo update -p standback.

Related