Skip to content

refactor: use rustls-platform-verifier cert store

Sign in for the full log view
GitHub Actions / clippy failed May 21, 2024 in 0s

clippy

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
Warning 0
Note 0
Help 0

Versions

  • rustc 1.78.0 (9b00956e5 2024-04-29)
  • cargo 1.78.0 (54d8815d0 2024-03-26)
  • clippy 0.1.78 (9b00956 2024-04-29)

Annotations

Check failure on line 70 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-rustls-0.27.1/src/connector/builder.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

no method named `with_platform_verifier` found for struct `ConfigBuilder` in the current scope

error[E0599]: no method named `with_platform_verifier` found for struct `ConfigBuilder` in the current scope
  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-rustls-0.27.1/src/connector/builder.rs:70:18
   |
69 | /             ClientConfig::builder()
70 | |                 .with_platform_verifier()
   | |_________________-^^^^^^^^^^^^^^^^^^^^^^
   |
  ::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-rustls-0.27.1/src/config.rs:23:8
   |
23 |       fn with_platform_verifier(self) -> ConfigBuilder<ClientConfig, WantsClientCert>;
   |          ---------------------- the method is available for `ConfigBuilder<ClientConfig, WantsVerifier>` here
   |
   = help: items from traits can only be used if the trait is in scope
help: there is a method `with_webpki_verifier` with a similar name, but with different arguments
  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-0.23.7/src/client/builder.rs:49:5
   |
49 | /     pub fn with_webpki_verifier(
50 | |         self,
51 | |         verifier: Arc<WebPkiServerVerifier>,
52 | |     ) -> ConfigBuilder<ClientConfig, WantsClientCert> {
   | |_____________________________________________________^
help: trait `ConfigBuilderExt` which provides `with_platform_verifier` is implemented but not in scope; perhaps you want to import it
   |
1  + use crate::config::ConfigBuilderExt;
   |