Skip to content

Instantly share code, notes, and snippets.

@jcrossley3
Created February 28, 2022 16:13
Show Gist options
  • Save jcrossley3/995174e1415360077a7c5d4fd769e26e to your computer and use it in GitHub Desktop.
Save jcrossley3/995174e1415360077a7c5d4fd769e26e to your computer and use it in GitHub Desktop.
Compiling drogue-cloud-http-endpoint v0.9.0 (/home/jim/src/drogue-iot/drogue-cloud/http-endpoint)
error[E0433]: failed to resolve: could not find `actix_web` in the list of imported crates
--> http-endpoint/src/lib.rs:67:1
|
67 | #[get("/")]
| ^^^^^^^^^^^ could not find `actix_web` in the list of imported crates
|
= note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0433]: failed to resolve: could not find `actix_web` in the list of imported crates
--> http-endpoint/src/lib.rs:67:1
|
67 | #[get("/")]
| ^^^^^^^^^^^ not found in `actix_web`
|
= note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing one of these items
|
7 | use crate::actix_web::Resource;
|
7 | use drogue_cloud_service_api::webapp::Resource;
|
error[E0433]: failed to resolve: could not find `actix_web` in the list of imported crates
--> http-endpoint/src/lib.rs:67:1
|
67 | #[get("/")]
| ^^^^^^^^^^^ not found in `actix_web::dev`
|
= note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing one of these items
|
7 | use crate::actix_web::dev::HttpServiceFactory;
|
7 | use drogue_cloud_service_api::webapp::dev::HttpServiceFactory;
|
For more information about this error, try `rustc --explain E0433`.
error: could not compile `drogue-cloud-http-endpoint` due to 3 previous errors
rust-compilation exited abnormally with code 101 at Mon Feb 28 11:13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment