You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker run --rm -it ekidd/rust-musl-builder uname -a
Linux 9aabf45e6f7a 5.10.25-linuxkit #1 SMP Tue Mar 23 09:27:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Description
The following error happens when I try to simply compile a bit of code using docker run --rm -it ekidd/rust-musl-builder cargo build --release (the purpose of this docker image is to cross build from MacOS to AWS Lambda)
Compiling smithy-client v0.1.0 (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.10-alpha#abe0ae57)
error[E0710]: an unknown tool name found in scoped lint: `rustdoc::all`
--> /home/rust/.cargo/git/checkouts/aws-sdk-rust-be00ef1d3f696844/abe0ae5/sdk/smithy-client/src/lib.rs:9:5
|
9 | rustdoc::all,
| ^^^^^^^
error[E0710]: an unknown tool name found in scoped lint: `rustdoc::private_doc_tests`
--> /home/rust/.cargo/git/checkouts/aws-sdk-rust-be00ef1d3f696844/abe0ae5/sdk/smithy-client/src/lib.rs:18:9
|
18 | #[allow(rustdoc::private_doc_tests)]
| ^^^^^^^
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0710`.
error: could not compile `smithy-client`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
I think the issue here is that the "ekidd/rust-musl-builder" compiler misses some "rustdoc dependencies"... so I opened an issue on their GitHub repository... but, aws-sdk-rust is the first dependency I have an issue with (I was using rusoto before, and it worked well)... so I'm not sure who's wrong here.
Would it be possible to stop allowing rustdoc stuff in your codebase?
So that we don't have to add extra dependencies to compile our projects 😢
Note: Compiling works fine when we remove these 2 lines (I forked your repo to try it)
The text was updated successfully, but these errors were encountered:
Bug Report
Version
Platform
docker run --rm -it ekidd/rust-musl-builder uname -a Linux 9aabf45e6f7a 5.10.25-linuxkit #1 SMP Tue Mar 23 09:27:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Description
The following error happens when I try to simply compile a bit of code using
docker run --rm -it ekidd/rust-musl-builder cargo build --release
(the purpose of this docker image is to cross build from MacOS to AWS Lambda)I think the issue here is that the "ekidd/rust-musl-builder" compiler misses some "rustdoc dependencies"... so I opened an issue on their GitHub repository... but,
aws-sdk-rust
is the first dependency I have an issue with (I was usingrusoto
before, and it worked well)... so I'm not sure who's wrong here.Would it be possible to stop allowing
rustdoc
stuff in your codebase?So that we don't have to add extra dependencies to compile our projects 😢
Note: Compiling works fine when we remove these 2 lines (I forked your repo to try it)
The text was updated successfully, but these errors were encountered: