Skip to content

rustls + rustls-pemfile upgrade #2071

rustls + rustls-pemfile upgrade

rustls + rustls-pemfile upgrade #2071

Triggered via pull request March 5, 2024 21:13
Status Failure
Total duration 2m 2s
Artifacts

coverage.yml

on: pull_request
tarpaulin-codecov
1m 54s
tarpaulin-codecov
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 9 warnings
no method named `with_native_roots` found for struct `rustls::ConfigBuilder` in the current scope: kube-client/src/client/tls.rs#L55
error[E0599]: no method named `with_native_roots` found for struct `rustls::ConfigBuilder` in the current scope --> kube-client/src/client/tls.rs:55:18 | 54 | / ClientConfig::builder() 55 | | .with_native_roots() | | -^^^^^^^^^^^^^^^^^ method not found in `ConfigBuilder<ClientConfig, WantsVerifier>` | |_________________| |
mismatched types: kube-client/src/client/config_ext.rs#L230
error[E0308]: mismatched types --> kube-client/src/client/config_ext.rs:230:30 | 230 | .with_tls_config(rustls_config) | --------------- ^^^^^^^^^^^^^ expected `ClientConfig`, found `rustls::ClientConfig` | | | arguments to this method are incorrect | = note: `rustls::ClientConfig` and `ClientConfig` have similar names, but are actually distinct types note: `rustls::ClientConfig` is defined in crate `rustls` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-0.23.1/src/client/client_conn.rs:147:1 | 147 | pub struct ClientConfig { | ^^^^^^^^^^^^^^^^^^^^^^^ note: `ClientConfig` is defined in crate `rustls` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-0.21.10/src/client/client_conn.rs:128:1 | 128 | pub struct ClientConfig { | ^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `rustls` are being used? note: method defined here --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-rustls-0.24.2/src/connector/builder.rs:46:12 | 46 | pub fn with_tls_config(self, config: ClientConfig) -> ConnectorBuilder<WantsSchemes> { | ^^^^^^^^^^^^^^^
tarpaulin-codecov
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
tarpaulin-codecov
ENOENT: no such file or directory, opendir '/home/runner/work/kube/kube/target/tests/target'
tarpaulin-codecov
Error: ENOENT: no such file or directory, opendir '/home/runner/work/kube/kube/target/tests/target'
unused import: `hyper_rustls::ConfigBuilderExt`: kube-client/src/client/tls.rs#L3
warning: unused import: `hyper_rustls::ConfigBuilderExt` --> kube-client/src/client/tls.rs:3:9 | 3 | use hyper_rustls::ConfigBuilderExt; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `kube_core::response::Status`: kube-client/src/client/builder.rs#L8
warning: unused import: `kube_core::response::Status` --> kube-client/src/client/builder.rs:8:9 | 8 | pub use kube_core::response::Status; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused imports: `Scope`, `verbs`: kube-client/src/discovery/apigroup.rs#L4
warning: unused imports: `Scope`, `verbs` --> kube-client/src/discovery/apigroup.rs:4:32 | 4 | pub use kube_core::discovery::{verbs, ApiCapabilities, ApiResource, Scope}; | ^^^^^ ^^^^^ | = note: `#[warn(unused_imports)]` on by default
tarpaulin-codecov
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
tarpaulin-codecov
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
tarpaulin-codecov
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tarpaulin-codecov
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tarpaulin-codecov
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
tarpaulin-codecov
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/