We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When compiling actix-web using cargo wharf with docker build kit, the crate should compile
Compiled fine with a normal docker file, doesn't with cargo wharf.
Errors with the following message
------ > Compiling actix-web-codegen: #242 2.736 error[E0432]: unresolved import `proc_macro` #242 2.736 --> /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/actix-web-codegen-0.4.0/src/lib.rs:63:5 #242 2.736 | #242 2.736 63 | use proc_macro::TokenStream; #242 2.736 | ^^^^^^^^^^ help: a similar path exists: `syn::proc_macro` #242 2.754 #242 3.138 error: aborting due to previous error #242 3.138 #242 3.138 For more information about this error, try `rustc --explain E0432`. ------ failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: rpc error: code = Unknown desc = Unable to build the crate => caused by: Unable to solve the graph => caused by: grpc-status: Unknown, grpc-message: "failed to build LLB: executor failed running [rustc --edition=2018 --crate-name actix_web_codegen /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/actix-web-codegen-0.4.0/src/lib.rs --color never --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C opt-level=3 -C metadata=a3bb0cb5e1cde293 -C extra-filename=-a3bb0cb5e1cde293 --out-dir /target/release/deps -L dependency=/target/release/deps --extern proc_macro2=/target/release/deps/libproc_macro2-d94ec969ac1bef7e.rlib --extern quote=/target/release/deps/libquote-0451cbe6c2d2830e.rlib --extern syn=/target/release/deps/libsyn-2ff5fc6c29cb0289.rlib --cap-lints allow]: runc did not terminate sucessfully"
no idea but it suggests changing the import
ex: https://github.com/Daggy1234/dagpi-auth
Its hard to compile actix web with build kit
rustc -V
The text was updated successfully, but these errors were encountered:
Bump cargo version
646de33
Fix denzp#32
fdbd23d
fix: bypass cargo-wharf issue#32
1d94f25
denzp/cargo-wharf#32
Successfully merging a pull request may close this issue.
Expected Behavior
When compiling actix-web using cargo wharf with docker build kit, the crate should compile
Compiled fine with a normal docker file, doesn't with cargo wharf.
Current Behavior
Errors with the following message
Possible Solution
no idea but it suggests changing the import
Steps to Reproduce (for bugs)
ex: https://github.com/Daggy1234/dagpi-auth
Context
Its hard to compile actix web with build kit
Your Environment
rustc -V
): Docker(1.48.0)The text was updated successfully, but these errors were encountered: