Skip to content

Add aws-lc-rs as optional rustls backend #1171

Add aws-lc-rs as optional rustls backend

Add aws-lc-rs as optional rustls backend #1171

Triggered via pull request January 6, 2025 16:41
Status Cancelled
Total duration 3m 17s
Artifacts

pr.yml

on: pull_request
Matrix: rust-crates
ship-it
1s
ship-it
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 5 warnings
rust-crates (linkerd-meshtls-rustls): linkerd/meshtls/rustls/src/creds.rs#L96
error[E0425]: cannot find function `default_provider` in module `backend` --> linkerd/meshtls/rustls/src/creds.rs:96:33 | 96 | let mut provider = backend::default_provider(); | ^^^^^^^^^^^^^^^^ not found in `backend` | note: found an item that was configured out --> linkerd/meshtls/rustls/src/backend.rs:7:18 | 7 | pub use aws_lc::{default_provider, SUPPORTED_SIG_ALGS, TLS_SUPPORTED_CIPHERSUITES}; | ^^^^^^^^^^^^^^^^ note: the item is gated behind the `aws-lc` feature --> linkerd/meshtls/rustls/src/backend.rs:6:7 | 6 | #[cfg(feature = "aws-lc")] | ^^^^^^^^^^^^^^^^^^ note: found an item that was configured out --> linkerd/meshtls/rustls/src/backend.rs:9:16 | 9 | pub use ring::{default_provider, SUPPORTED_SIG_ALGS, TLS_SUPPORTED_CIPHERSUITES}; | ^^^^^^^^^^^^^^^^ note: the item is gated here --> linkerd/meshtls/rustls/src/backend.rs:8:1 | 8 | #[cfg(all(not(feature = "aws-lc"), feature = "ring"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
rust-crates (linkerd-meshtls-rustls): linkerd/meshtls/rustls/src/creds.rs#L127
error[E0425]: cannot find value `SUPPORTED_SIG_ALGS` in module `backend` --> linkerd/meshtls/rustls/src/creds.rs:127:74 | 127 | pub static SUPPORTED_SIG_ALGS: &WebPkiSupportedAlgorithms = backend::SUPPORTED_SIG_ALGS; | ^^^^^^^^^^^^^^^^^^ not found in `backend` | note: found an item that was configured out --> linkerd/meshtls/rustls/src/backend.rs:7:36 | 7 | pub use aws_lc::{default_provider, SUPPORTED_SIG_ALGS, TLS_SUPPORTED_CIPHERSUITES}; | ^^^^^^^^^^^^^^^^^^ note: the item is gated behind the `aws-lc` feature --> linkerd/meshtls/rustls/src/backend.rs:6:7 | 6 | #[cfg(feature = "aws-lc")] | ^^^^^^^^^^^^^^^^^^ note: found an item that was configured out --> linkerd/meshtls/rustls/src/backend.rs:9:34 | 9 | pub use ring::{default_provider, SUPPORTED_SIG_ALGS, TLS_SUPPORTED_CIPHERSUITES}; | ^^^^^^^^^^^^^^^^^^ note: the item is gated here --> linkerd/meshtls/rustls/src/backend.rs:8:1 | 8 | #[cfg(all(not(feature = "aws-lc"), feature = "ring"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
rust-crates (linkerd-meshtls-rustls): linkerd/meshtls/rustls/src/creds.rs#L130
error[E0425]: cannot find value `TLS_SUPPORTED_CIPHERSUITES` in module `backend` --> linkerd/meshtls/rustls/src/creds.rs:130:18 | 130 | backend::TLS_SUPPORTED_CIPHERSUITES; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `backend` | note: found an item that was configured out --> linkerd/meshtls/rustls/src/backend.rs:7:56 | 7 | pub use aws_lc::{default_provider, SUPPORTED_SIG_ALGS, TLS_SUPPORTED_CIPHERSUITES}; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ note: the item is gated behind the `aws-lc` feature --> linkerd/meshtls/rustls/src/backend.rs:6:7 | 6 | #[cfg(feature = "aws-lc")] | ^^^^^^^^^^^^^^^^^^ note: found an item that was configured out --> linkerd/meshtls/rustls/src/backend.rs:9:54 | 9 | pub use ring::{default_provider, SUPPORTED_SIG_ALGS, TLS_SUPPORTED_CIPHERSUITES}; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ note: the item is gated here --> linkerd/meshtls/rustls/src/backend.rs:8:1 | 8 | #[cfg(all(not(feature = "aws-lc"), feature = "ring"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
rust-crates (linkerd-meshtls-rustls): linkerd/meshtls/rustls/src/creds/receiver.rs#L73
error[E0425]: cannot find function `default_provider` in module `crate::backend` --> linkerd/meshtls/rustls/src/creds/receiver.rs:73:78 | 73 | rustls::ServerConfig::builder_with_provider(Arc::new(crate::backend::default_provider())) | ^^^^^^^^^^^^^^^^ not found in `crate::backend` | note: found an item that was configured out --> linkerd/meshtls/rustls/src/backend.rs:7:18 | 7 | pub use aws_lc::{default_provider, SUPPORTED_SIG_ALGS, TLS_SUPPORTED_CIPHERSUITES}; | ^^^^^^^^^^^^^^^^ note: the item is gated behind the `aws-lc` feature --> linkerd/meshtls/rustls/src/backend.rs:6:7 | 6 | #[cfg(feature = "aws-lc")] | ^^^^^^^^^^^^^^^^^^ note: found an item that was configured out --> linkerd/meshtls/rustls/src/backend.rs:9:16 | 9 | pub use ring::{default_provider, SUPPORTED_SIG_ALGS, TLS_SUPPORTED_CIPHERSUITES}; | ^^^^^^^^^^^^^^^^ note: the item is gated here --> linkerd/meshtls/rustls/src/backend.rs:8:1 | 8 | #[cfg(all(not(feature = "aws-lc"), feature = "ring"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider importing this function | 65 + use crate::creds::default_provider; | help: if you import `default_provider`, refer to it directly | 73 - rustls::ServerConfig::builder_with_provider(Arc::new(crate::backend::default_provider())) 73 + rustls::ServerConfig::builder_with_provider(Arc::new(default_provider())) |
rust-crates (linkerd-meshtls-rustls): linkerd/meshtls/rustls/src/creds/receiver.rs#L86
error[E0425]: cannot find function `default_provider` in module `crate::backend` --> linkerd/meshtls/rustls/src/creds/receiver.rs:86:78 | 86 | rustls::ClientConfig::builder_with_provider(Arc::new(crate::backend::default_provider())) | ^^^^^^^^^^^^^^^^ not found in `crate::backend` | note: found an item that was configured out --> linkerd/meshtls/rustls/src/backend.rs:7:18 | 7 | pub use aws_lc::{default_provider, SUPPORTED_SIG_ALGS, TLS_SUPPORTED_CIPHERSUITES}; | ^^^^^^^^^^^^^^^^ note: the item is gated behind the `aws-lc` feature --> linkerd/meshtls/rustls/src/backend.rs:6:7 | 6 | #[cfg(feature = "aws-lc")] | ^^^^^^^^^^^^^^^^^^ note: found an item that was configured out --> linkerd/meshtls/rustls/src/backend.rs:9:16 | 9 | pub use ring::{default_provider, SUPPORTED_SIG_ALGS, TLS_SUPPORTED_CIPHERSUITES}; | ^^^^^^^^^^^^^^^^ note: the item is gated here --> linkerd/meshtls/rustls/src/backend.rs:8:1 | 8 | #[cfg(all(not(feature = "aws-lc"), feature = "ring"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider importing this function | 65 + use crate::creds::default_provider; | help: if you import `default_provider`, refer to it directly | 86 - rustls::ClientConfig::builder_with_provider(Arc::new(crate::backend::default_provider())) 86 + rustls::ClientConfig::builder_with_provider(Arc::new(default_provider())) |
rust-crates (linkerd-meshtls-rustls): linkerd/meshtls/rustls/src/creds.rs#L96
error[E0425]: cannot find function `default_provider` in module `backend` --> linkerd/meshtls/rustls/src/creds.rs:96:33 | 96 | let mut provider = backend::default_provider(); | ^^^^^^^^^^^^^^^^ not found in `backend` | note: found an item that was configured out --> linkerd/meshtls/rustls/src/backend.rs:7:18 | 7 | pub use aws_lc::{default_provider, SUPPORTED_SIG_ALGS, TLS_SUPPORTED_CIPHERSUITES}; | ^^^^^^^^^^^^^^^^ note: the item is gated behind the `aws-lc` feature --> linkerd/meshtls/rustls/src/backend.rs:6:7 | 6 | #[cfg(feature = "aws-lc")] | ^^^^^^^^^^^^^^^^^^ note: found an item that was configured out --> linkerd/meshtls/rustls/src/backend.rs:9:16 | 9 | pub use ring::{default_provider, SUPPORTED_SIG_ALGS, TLS_SUPPORTED_CIPHERSUITES}; | ^^^^^^^^^^^^^^^^ note: the item is gated here --> linkerd/meshtls/rustls/src/backend.rs:8:1 | 8 | #[cfg(all(not(feature = "aws-lc"), feature = "ring"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
rust-crates (linkerd-meshtls-rustls): linkerd/meshtls/rustls/src/creds.rs#L127
error[E0425]: cannot find value `SUPPORTED_SIG_ALGS` in module `backend` --> linkerd/meshtls/rustls/src/creds.rs:127:74 | 127 | pub static SUPPORTED_SIG_ALGS: &WebPkiSupportedAlgorithms = backend::SUPPORTED_SIG_ALGS; | ^^^^^^^^^^^^^^^^^^ not found in `backend` | note: found an item that was configured out --> linkerd/meshtls/rustls/src/backend.rs:7:36 | 7 | pub use aws_lc::{default_provider, SUPPORTED_SIG_ALGS, TLS_SUPPORTED_CIPHERSUITES}; | ^^^^^^^^^^^^^^^^^^ note: the item is gated behind the `aws-lc` feature --> linkerd/meshtls/rustls/src/backend.rs:6:7 | 6 | #[cfg(feature = "aws-lc")] | ^^^^^^^^^^^^^^^^^^ note: found an item that was configured out --> linkerd/meshtls/rustls/src/backend.rs:9:34 | 9 | pub use ring::{default_provider, SUPPORTED_SIG_ALGS, TLS_SUPPORTED_CIPHERSUITES}; | ^^^^^^^^^^^^^^^^^^ note: the item is gated here --> linkerd/meshtls/rustls/src/backend.rs:8:1 | 8 | #[cfg(all(not(feature = "aws-lc"), feature = "ring"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
rust-crates (linkerd-meshtls-rustls): linkerd/meshtls/rustls/src/creds.rs#L130
error[E0425]: cannot find value `TLS_SUPPORTED_CIPHERSUITES` in module `backend` --> linkerd/meshtls/rustls/src/creds.rs:130:18 | 130 | backend::TLS_SUPPORTED_CIPHERSUITES; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `backend` | note: found an item that was configured out --> linkerd/meshtls/rustls/src/backend.rs:7:56 | 7 | pub use aws_lc::{default_provider, SUPPORTED_SIG_ALGS, TLS_SUPPORTED_CIPHERSUITES}; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ note: the item is gated behind the `aws-lc` feature --> linkerd/meshtls/rustls/src/backend.rs:6:7 | 6 | #[cfg(feature = "aws-lc")] | ^^^^^^^^^^^^^^^^^^ note: found an item that was configured out --> linkerd/meshtls/rustls/src/backend.rs:9:54 | 9 | pub use ring::{default_provider, SUPPORTED_SIG_ALGS, TLS_SUPPORTED_CIPHERSUITES}; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ note: the item is gated here --> linkerd/meshtls/rustls/src/backend.rs:8:1 | 8 | #[cfg(all(not(feature = "aws-lc"), feature = "ring"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
rust-crates (linkerd-meshtls-rustls)
Process completed with exit code 1.
rust-crates (linkerd-meshtls)
The job was canceled because "linkerd-meshtls-rustls" failed.
rust-crates (linkerd-meshtls)
The operation was canceled.
rust-crates (linkerd2-proxy)
The job was canceled because "linkerd-meshtls-rustls" failed.
rust-crates (linkerd2-proxy)
The operation was canceled.
linkerd-install
Canceling since a higher priority waiting request for 'Pull Request-fips-arm' exists
linkerd-install
The operation was canceled.
ship-it
Process completed with exit code 1.
meta
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
info
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
rust
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
rust-crates (linkerd-meshtls-rustls)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
ship-it
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636