build(deps): bump rustls-pemfile from 1.0.4 to 2.2.0 #701
Annotations
10 errors
Run just clippy:
usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-pemfile-2.2.0/src/lib.rs#L87
error[E0308]: mismatched types
--> linkerd/meshtls/rustls/src/creds.rs:31:9
|
30 | let certs = match rustls_pemfile::certs(&mut std::io::Cursor::new(roots_pem)) {
| ----------------------------------------------------------- this expression has type `impl std::iter::Iterator<Item = std::result::Result<rustls_pki_types::CertificateDer<'static>, linkerd_io::Error>> + '_`
31 | Err(error) => {
| ^^^^^^^^^^ expected opaque type, found `Result<_, _>`
|
::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-pemfile-2.2.0/src/lib.rs:87:6
|
87 | ) -> impl Iterator<Item = Result<CertificateDer<'static>, io::Error>> + '_ {
| --------------------------------------------------------------------- the expected opaque type
|
= note: expected opaque type `impl std::iter::Iterator<Item = std::result::Result<rustls_pki_types::CertificateDer<'static>, linkerd_io::Error>> + '_`
found enum `std::result::Result<_, _>`
|
Run just clippy:
linkerd/meshtls/rustls/src/creds.rs#L31
error[E0308]: mismatched types
--> linkerd/meshtls/rustls/src/creds.rs:31:9
|
30 | let certs = match rustls_pemfile::certs(&mut std::io::Cursor::new(roots_pem)) {
| ----------------------------------------------------------- this expression has type `impl std::iter::Iterator<Item = std::result::Result<rustls_pki_types::CertificateDer<'static>, linkerd_io::Error>> + '_`
31 | Err(error) => {
| ^^^^^^^^^^ expected opaque type, found `Result<_, _>`
|
::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-pemfile-2.2.0/src/lib.rs:87:6
|
87 | ) -> impl Iterator<Item = Result<CertificateDer<'static>, io::Error>> + '_ {
| --------------------------------------------------------------------- the expected opaque type
|
= note: expected opaque type `impl std::iter::Iterator<Item = std::result::Result<rustls_pki_types::CertificateDer<'static>, linkerd_io::Error>> + '_`
found enum `std::result::Result<_, _>`
|
Run just clippy:
linkerd/meshtls/rustls/src/creds.rs#L30
error[E0308]: mismatched types
--> linkerd/meshtls/rustls/src/creds.rs:31:9
|
30 | let certs = match rustls_pemfile::certs(&mut std::io::Cursor::new(roots_pem)) {
| ----------------------------------------------------------- this expression has type `impl std::iter::Iterator<Item = std::result::Result<rustls_pki_types::CertificateDer<'static>, linkerd_io::Error>> + '_`
31 | Err(error) => {
| ^^^^^^^^^^ expected opaque type, found `Result<_, _>`
|
::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-pemfile-2.2.0/src/lib.rs:87:6
|
87 | ) -> impl Iterator<Item = Result<CertificateDer<'static>, io::Error>> + '_ {
| --------------------------------------------------------------------- the expected opaque type
|
= note: expected opaque type `impl std::iter::Iterator<Item = std::result::Result<rustls_pki_types::CertificateDer<'static>, linkerd_io::Error>> + '_`
found enum `std::result::Result<_, _>`
|
Run just clippy:
usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-pemfile-2.2.0/src/lib.rs#L87
error[E0308]: mismatched types
--> linkerd/meshtls/rustls/src/creds.rs:35:9
|
30 | let certs = match rustls_pemfile::certs(&mut std::io::Cursor::new(roots_pem)) {
| ----------------------------------------------------------- this expression has type `impl std::iter::Iterator<Item = std::result::Result<rustls_pki_types::CertificateDer<'static>, linkerd_io::Error>> + '_`
...
35 | Ok(certs) if certs.is_empty() => {
| ^^^^^^^^^ expected opaque type, found `Result<_, _>`
|
::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-pemfile-2.2.0/src/lib.rs:87:6
|
87 | ) -> impl Iterator<Item = Result<CertificateDer<'static>, io::Error>> + '_ {
| --------------------------------------------------------------------- the expected opaque type
|
= note: expected opaque type `impl std::iter::Iterator<Item = std::result::Result<rustls_pki_types::CertificateDer<'static>, linkerd_io::Error>> + '_`
found enum `std::result::Result<_, _>`
|
Run just clippy:
linkerd/meshtls/rustls/src/creds.rs#L35
error[E0308]: mismatched types
--> linkerd/meshtls/rustls/src/creds.rs:35:9
|
30 | let certs = match rustls_pemfile::certs(&mut std::io::Cursor::new(roots_pem)) {
| ----------------------------------------------------------- this expression has type `impl std::iter::Iterator<Item = std::result::Result<rustls_pki_types::CertificateDer<'static>, linkerd_io::Error>> + '_`
...
35 | Ok(certs) if certs.is_empty() => {
| ^^^^^^^^^ expected opaque type, found `Result<_, _>`
|
::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-pemfile-2.2.0/src/lib.rs:87:6
|
87 | ) -> impl Iterator<Item = Result<CertificateDer<'static>, io::Error>> + '_ {
| --------------------------------------------------------------------- the expected opaque type
|
= note: expected opaque type `impl std::iter::Iterator<Item = std::result::Result<rustls_pki_types::CertificateDer<'static>, linkerd_io::Error>> + '_`
found enum `std::result::Result<_, _>`
|
Run just clippy:
linkerd/meshtls/rustls/src/creds.rs#L30
error[E0308]: mismatched types
--> linkerd/meshtls/rustls/src/creds.rs:35:9
|
30 | let certs = match rustls_pemfile::certs(&mut std::io::Cursor::new(roots_pem)) {
| ----------------------------------------------------------- this expression has type `impl std::iter::Iterator<Item = std::result::Result<rustls_pki_types::CertificateDer<'static>, linkerd_io::Error>> + '_`
...
35 | Ok(certs) if certs.is_empty() => {
| ^^^^^^^^^ expected opaque type, found `Result<_, _>`
|
::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-pemfile-2.2.0/src/lib.rs:87:6
|
87 | ) -> impl Iterator<Item = Result<CertificateDer<'static>, io::Error>> + '_ {
| --------------------------------------------------------------------- the expected opaque type
|
= note: expected opaque type `impl std::iter::Iterator<Item = std::result::Result<rustls_pki_types::CertificateDer<'static>, linkerd_io::Error>> + '_`
found enum `std::result::Result<_, _>`
|
Run just clippy:
usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-pemfile-2.2.0/src/lib.rs#L87
error[E0308]: mismatched types
--> linkerd/meshtls/rustls/src/creds.rs:39:9
|
30 | let certs = match rustls_pemfile::certs(&mut std::io::Cursor::new(roots_pem)) {
| ----------------------------------------------------------- this expression has type `impl std::iter::Iterator<Item = std::result::Result<rustls_pki_types::CertificateDer<'static>, linkerd_io::Error>> + '_`
...
39 | Ok(certs) => certs,
| ^^^^^^^^^ expected opaque type, found `Result<_, _>`
|
::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-pemfile-2.2.0/src/lib.rs:87:6
|
87 | ) -> impl Iterator<Item = Result<CertificateDer<'static>, io::Error>> + '_ {
| --------------------------------------------------------------------- the expected opaque type
|
= note: expected opaque type `impl std::iter::Iterator<Item = std::result::Result<rustls_pki_types::CertificateDer<'static>, linkerd_io::Error>> + '_`
found enum `std::result::Result<_, _>`
|
Run just clippy:
linkerd/meshtls/rustls/src/creds.rs#L39
error[E0308]: mismatched types
--> linkerd/meshtls/rustls/src/creds.rs:39:9
|
30 | let certs = match rustls_pemfile::certs(&mut std::io::Cursor::new(roots_pem)) {
| ----------------------------------------------------------- this expression has type `impl std::iter::Iterator<Item = std::result::Result<rustls_pki_types::CertificateDer<'static>, linkerd_io::Error>> + '_`
...
39 | Ok(certs) => certs,
| ^^^^^^^^^ expected opaque type, found `Result<_, _>`
|
::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-pemfile-2.2.0/src/lib.rs:87:6
|
87 | ) -> impl Iterator<Item = Result<CertificateDer<'static>, io::Error>> + '_ {
| --------------------------------------------------------------------- the expected opaque type
|
= note: expected opaque type `impl std::iter::Iterator<Item = std::result::Result<rustls_pki_types::CertificateDer<'static>, linkerd_io::Error>> + '_`
found enum `std::result::Result<_, _>`
|
Run just clippy:
linkerd/meshtls/rustls/src/creds.rs#L30
error[E0308]: mismatched types
--> linkerd/meshtls/rustls/src/creds.rs:39:9
|
30 | let certs = match rustls_pemfile::certs(&mut std::io::Cursor::new(roots_pem)) {
| ----------------------------------------------------------- this expression has type `impl std::iter::Iterator<Item = std::result::Result<rustls_pki_types::CertificateDer<'static>, linkerd_io::Error>> + '_`
...
39 | Ok(certs) => certs,
| ^^^^^^^^^ expected opaque type, found `Result<_, _>`
|
::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-pemfile-2.2.0/src/lib.rs:87:6
|
87 | ) -> impl Iterator<Item = Result<CertificateDer<'static>, io::Error>> + '_ {
| --------------------------------------------------------------------- the expected opaque type
|
= note: expected opaque type `impl std::iter::Iterator<Item = std::result::Result<rustls_pki_types::CertificateDer<'static>, linkerd_io::Error>> + '_`
found enum `std::result::Result<_, _>`
|
Run just clippy
Process completed with exit code 1.
|
Loading