error[E0599]: no method named `https_or_http` found for enum `std::result::Result` in the current scope
--> teller-providers/src/providers/google_secretmanager.rs:65:22
|
63 | hyper_rustls::HttpsConnectorBuilder::new()
| ------------------------------------------
| |
| _________________method `https_or_http` is available on `HttpsConnectorBuilder<WantsTlsConfig>`
| |
64 | | .with_native_roots()
65 | | .https_or_http()
| | -^^^^^^^^^^^^^ method not found in `Result<HttpsConnectorBuilder<WantsSchemes>, Error>`
| |_____________________|
|
|
note: the method `https_or_http` exists on the type `HttpsConnectorBuilder<WantsSchemes>`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-rustls-0.25.0/src/connector/builder.rs:144:5
|
144 | pub fn https_or_http(self) -> ConnectorBuilder<WantsProtocols1> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: use the `?` operator to extract the `HttpsConnectorBuilder<WantsSchemes>` value, propagating a `Result::Err` value to the caller
|
64 | .with_native_roots()?
| +
I tried fixing the issue, the project compiles but the fix I applied is causing the build actions to fail on github, so Im not sure that its a valid solution - I just added the ? suggested in the logs.
When building teller-cli I ran across this issue