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

docs.rs build failing for v0.16.0 #1714

Closed
cmackenzie1 opened this issue Oct 10, 2023 · 2 comments
Closed

docs.rs build failing for v0.16.0 #1714

cmackenzie1 opened this issue Oct 10, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@cmackenzie1
Copy link
Contributor

docs.rs
build logs

Likely from building with --all-features flag.

[INFO] [stderr] error[E0252]: the name `tls` is defined multiple times
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rusoto_core-0.47.0/src/lib.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | use hyper_rustls as tls;
[INFO] [stderr]    |     ------------------- previous import of the module `tls` here
[INFO] [stderr] 24 | #[cfg(feature = "native-tls")]
[INFO] [stderr] 25 | use hyper_tls as tls;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^ `tls` reimported here
[INFO] [stderr]    |
[INFO] [stderr]    = note: `tls` must be defined only once in the type namespace of this module
[INFO] [stderr] help: you can use `as` to change the binding name of the import
[INFO] [stderr]    |
[INFO] [stderr] 25 | use hyper_tls as other_tls;
[INFO] [stderr]    |     ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr]     Checking lz4 v1.24.0
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]     Checking zstd v0.12.4
[INFO] [stderr]     Checking fastrand v2.0.1
[INFO] [stderr] error[E0599]: no function or associated item named `new` found for struct `hyper_rustls::HttpsConnector` in the current scope
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rusoto_core-0.47.0/src/request.rs:224:41
[INFO] [stderr]     |
[INFO] [stderr] 224 |         let connector = HttpsConnector::new();
[INFO] [stderr]     |                                         ^^^ function or associated item not found in `HttpsConnector<_>`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `new` found for struct `hyper_rustls::HttpsConnector` in the current scope
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rusoto_core-0.47.0/src/request.rs:238:41
[INFO] [stderr]     |
[INFO] [stderr] 238 |         let connector = HttpsConnector::new();
[INFO] [stderr]     |                                         ^^^ function or associated item not found in `HttpsConnector<_>`
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0252, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0252`.
[INFO] [stderr] error: could not compile `rusoto_core` (lib) due to 3 previous errors
@cmackenzie1 cmackenzie1 added the bug Something isn't working label Oct 10, 2023
@rtyler
Copy link
Member

rtyler commented Oct 10, 2023

This is already fixed #1693

@rtyler rtyler closed this as completed Oct 10, 2023
@cmackenzie1
Copy link
Contributor Author

Haha thanks, I only checked open issues before creating this 🫣

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants