Skip to content

chore(deps): bump generic-array from 0.14.7 to 1.1.0 #127

chore(deps): bump generic-array from 0.14.7 to 1.1.0

chore(deps): bump generic-array from 0.14.7 to 1.1.0 #127

Triggered via pull request July 5, 2024 16:43
Status Failure
Total duration 3m 1s
Artifacts

test.yml

on: pull_request
ubuntu / stable / minimal-versions
27s
ubuntu / stable / minimal-versions
ubuntu / stable / coverage
40s
ubuntu / stable / coverage
Matrix: os-check
Matrix: required
Fit to window
Zoom out
Zoom in

Annotations

28 errors
mismatched types: src/macros.rs#L294
error[E0308]: mismatched types --> src/macros.rs:294:25 | 293 | y: crate::base64_url::Base64UrlEncodedField( | ---------------------------------------- arguments to this struct are incorrect 294 | *generic_array::GenericArray::from_slice(y), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `GenericArray<u8, _>`, found `generic_array::GenericArray<u8, _>` | ::: src/jwk/ec/secp256k1.rs:13:1 | 13 | / impl_serde_ec!( 14 | | Secp256k1PublicKey, 15 | | Secp256k1PrivateKey, 16 | | "secp256k1", 17 | | "EC", 18 | | Secp256k1 19 | | ); | |_- in this macro invocation | = note: `generic_array::GenericArray<u8, _>` and `GenericArray<u8, _>` have similar names, but are actually distinct types note: `generic_array::GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-1.1.0/src/lib.rs:436:1 | 436 | pub struct GenericArray<T, N: ArrayLength> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: `GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/lib.rs:179:1 | 179 | pub struct GenericArray<T, U: ArrayLength<T>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `generic_array` are being used? note: tuple struct defined here --> src/base64_url.rs:158:19 | 158 | pub(crate) struct Base64UrlEncodedField<C>(pub(crate) FieldBytes<C>) | ^^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the macro `impl_serde_ec` (in Nightly builds, run with -Z macro-backtrace for more info)
mismatched types: src/macros.rs#L291
error[E0308]: mismatched types --> src/macros.rs:291:25 | 290 | x: crate::base64_url::Base64UrlEncodedField( | ---------------------------------------- arguments to this struct are incorrect 291 | *generic_array::GenericArray::from_slice(x), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `GenericArray<u8, _>`, found `generic_array::GenericArray<u8, _>` | ::: src/jwk/ec/secp256k1.rs:13:1 | 13 | / impl_serde_ec!( 14 | | Secp256k1PublicKey, 15 | | Secp256k1PrivateKey, 16 | | "secp256k1", 17 | | "EC", 18 | | Secp256k1 19 | | ); | |_- in this macro invocation | = note: `generic_array::GenericArray<u8, _>` and `GenericArray<u8, _>` have similar names, but are actually distinct types note: `generic_array::GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-1.1.0/src/lib.rs:436:1 | 436 | pub struct GenericArray<T, N: ArrayLength> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: `GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/lib.rs:179:1 | 179 | pub struct GenericArray<T, U: ArrayLength<T>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `generic_array` are being used? note: tuple struct defined here --> src/base64_url.rs:158:19 | 158 | pub(crate) struct Base64UrlEncodedField<C>(pub(crate) FieldBytes<C>) | ^^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the macro `impl_serde_ec` (in Nightly builds, run with -Z macro-backtrace for more info)
mismatched types: src/macros.rs#L257
error[E0308]: mismatched types --> src/macros.rs:257:25 | 256 | y: crate::base64_url::Base64UrlEncodedField( | ---------------------------------------- arguments to this struct are incorrect 257 | *generic_array::GenericArray::from_slice(y), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `GenericArray<u8, _>`, found `generic_array::GenericArray<u8, _>` | ::: src/jwk/ec/secp256k1.rs:13:1 | 13 | / impl_serde_ec!( 14 | | Secp256k1PublicKey, 15 | | Secp256k1PrivateKey, 16 | | "secp256k1", 17 | | "EC", 18 | | Secp256k1 19 | | ); | |_- in this macro invocation | = note: `generic_array::GenericArray<u8, _>` and `GenericArray<u8, _>` have similar names, but are actually distinct types note: `generic_array::GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-1.1.0/src/lib.rs:436:1 | 436 | pub struct GenericArray<T, N: ArrayLength> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: `GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/lib.rs:179:1 | 179 | pub struct GenericArray<T, U: ArrayLength<T>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `generic_array` are being used? note: tuple struct defined here --> src/base64_url.rs:158:19 | 158 | pub(crate) struct Base64UrlEncodedField<C>(pub(crate) FieldBytes<C>) | ^^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the macro `impl_serde_ec` (in Nightly builds, run with -Z macro-backtrace for more info)
mismatched types: src/macros.rs#L254
error[E0308]: mismatched types --> src/macros.rs:254:25 | 253 | x: crate::base64_url::Base64UrlEncodedField( | ---------------------------------------- arguments to this struct are incorrect 254 | *generic_array::GenericArray::from_slice(x), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `GenericArray<u8, _>`, found `generic_array::GenericArray<u8, _>` | ::: src/jwk/ec/secp256k1.rs:13:1 | 13 | / impl_serde_ec!( 14 | | Secp256k1PublicKey, 15 | | Secp256k1PrivateKey, 16 | | "secp256k1", 17 | | "EC", 18 | | Secp256k1 19 | | ); | |_- in this macro invocation | = note: `generic_array::GenericArray<u8, _>` and `GenericArray<u8, _>` have similar names, but are actually distinct types note: `generic_array::GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-1.1.0/src/lib.rs:436:1 | 436 | pub struct GenericArray<T, N: ArrayLength> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: `GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/lib.rs:179:1 | 179 | pub struct GenericArray<T, U: ArrayLength<T>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `generic_array` are being used? note: tuple struct defined here --> src/base64_url.rs:158:19 | 158 | pub(crate) struct Base64UrlEncodedField<C>(pub(crate) FieldBytes<C>) | ^^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the macro `impl_serde_ec` (in Nightly builds, run with -Z macro-backtrace for more info)
mismatched types: src/macros.rs#L294
error[E0308]: mismatched types --> src/macros.rs:294:25 | 293 | y: crate::base64_url::Base64UrlEncodedField( | ---------------------------------------- arguments to this struct are incorrect 294 | *generic_array::GenericArray::from_slice(y), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `GenericArray<u8, _>`, found `generic_array::GenericArray<u8, _>` | ::: src/jwk/ec/p384.rs:14:1 | 14 | impl_serde_ec!(P384PublicKey, P384PrivateKey, "P-384", "EC", NistP384); | ---------------------------------------------------------------------- in this macro invocation | = note: `generic_array::GenericArray<u8, _>` and `GenericArray<u8, _>` have similar names, but are actually distinct types note: `generic_array::GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-1.1.0/src/lib.rs:436:1 | 436 | pub struct GenericArray<T, N: ArrayLength> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: `GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/lib.rs:179:1 | 179 | pub struct GenericArray<T, U: ArrayLength<T>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `generic_array` are being used? note: tuple struct defined here --> src/base64_url.rs:158:19 | 158 | pub(crate) struct Base64UrlEncodedField<C>(pub(crate) FieldBytes<C>) | ^^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the macro `impl_serde_ec` (in Nightly builds, run with -Z macro-backtrace for more info)
mismatched types: src/macros.rs#L291
error[E0308]: mismatched types --> src/macros.rs:291:25 | 290 | x: crate::base64_url::Base64UrlEncodedField( | ---------------------------------------- arguments to this struct are incorrect 291 | *generic_array::GenericArray::from_slice(x), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `GenericArray<u8, _>`, found `generic_array::GenericArray<u8, _>` | ::: src/jwk/ec/p384.rs:14:1 | 14 | impl_serde_ec!(P384PublicKey, P384PrivateKey, "P-384", "EC", NistP384); | ---------------------------------------------------------------------- in this macro invocation | = note: `generic_array::GenericArray<u8, _>` and `GenericArray<u8, _>` have similar names, but are actually distinct types note: `generic_array::GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-1.1.0/src/lib.rs:436:1 | 436 | pub struct GenericArray<T, N: ArrayLength> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: `GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/lib.rs:179:1 | 179 | pub struct GenericArray<T, U: ArrayLength<T>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `generic_array` are being used? note: tuple struct defined here --> src/base64_url.rs:158:19 | 158 | pub(crate) struct Base64UrlEncodedField<C>(pub(crate) FieldBytes<C>) | ^^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the macro `impl_serde_ec` (in Nightly builds, run with -Z macro-backtrace for more info)
mismatched types: src/macros.rs#L257
error[E0308]: mismatched types --> src/macros.rs:257:25 | 256 | y: crate::base64_url::Base64UrlEncodedField( | ---------------------------------------- arguments to this struct are incorrect 257 | *generic_array::GenericArray::from_slice(y), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `GenericArray<u8, _>`, found `generic_array::GenericArray<u8, _>` | ::: src/jwk/ec/p384.rs:14:1 | 14 | impl_serde_ec!(P384PublicKey, P384PrivateKey, "P-384", "EC", NistP384); | ---------------------------------------------------------------------- in this macro invocation | = note: `generic_array::GenericArray<u8, _>` and `GenericArray<u8, _>` have similar names, but are actually distinct types note: `generic_array::GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-1.1.0/src/lib.rs:436:1 | 436 | pub struct GenericArray<T, N: ArrayLength> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: `GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/lib.rs:179:1 | 179 | pub struct GenericArray<T, U: ArrayLength<T>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `generic_array` are being used? note: tuple struct defined here --> src/base64_url.rs:158:19 | 158 | pub(crate) struct Base64UrlEncodedField<C>(pub(crate) FieldBytes<C>) | ^^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the macro `impl_serde_ec` (in Nightly builds, run with -Z macro-backtrace for more info)
mismatched types: src/macros.rs#L254
error[E0308]: mismatched types --> src/macros.rs:254:25 | 253 | x: crate::base64_url::Base64UrlEncodedField( | ---------------------------------------- arguments to this struct are incorrect 254 | *generic_array::GenericArray::from_slice(x), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `GenericArray<u8, _>`, found `generic_array::GenericArray<u8, _>` | ::: src/jwk/ec/p384.rs:14:1 | 14 | impl_serde_ec!(P384PublicKey, P384PrivateKey, "P-384", "EC", NistP384); | ---------------------------------------------------------------------- in this macro invocation | = note: `generic_array::GenericArray<u8, _>` and `GenericArray<u8, _>` have similar names, but are actually distinct types note: `generic_array::GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-1.1.0/src/lib.rs:436:1 | 436 | pub struct GenericArray<T, N: ArrayLength> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: `GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/lib.rs:179:1 | 179 | pub struct GenericArray<T, U: ArrayLength<T>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `generic_array` are being used? note: tuple struct defined here --> src/base64_url.rs:158:19 | 158 | pub(crate) struct Base64UrlEncodedField<C>(pub(crate) FieldBytes<C>) | ^^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the macro `impl_serde_ec` (in Nightly builds, run with -Z macro-backtrace for more info)
mismatched types: src/macros.rs#L294
error[E0308]: mismatched types --> src/macros.rs:294:25 | 293 | y: crate::base64_url::Base64UrlEncodedField( | ---------------------------------------- arguments to this struct are incorrect 294 | *generic_array::GenericArray::from_slice(y), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `GenericArray<u8, _>`, found `generic_array::GenericArray<u8, _>` | ::: src/jwk/ec/p256.rs:12:1 | 12 | impl_serde_ec!(P256PublicKey, P256PrivateKey, "P-256", "EC", NistP256); | ---------------------------------------------------------------------- in this macro invocation | = note: `generic_array::GenericArray<u8, _>` and `GenericArray<u8, _>` have similar names, but are actually distinct types note: `generic_array::GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-1.1.0/src/lib.rs:436:1 | 436 | pub struct GenericArray<T, N: ArrayLength> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: `GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/lib.rs:179:1 | 179 | pub struct GenericArray<T, U: ArrayLength<T>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `generic_array` are being used? note: tuple struct defined here --> src/base64_url.rs:158:19 | 158 | pub(crate) struct Base64UrlEncodedField<C>(pub(crate) FieldBytes<C>) | ^^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the macro `impl_serde_ec` (in Nightly builds, run with -Z macro-backtrace for more info)
mismatched types: src/macros.rs#L291
error[E0308]: mismatched types --> src/macros.rs:291:25 | 290 | x: crate::base64_url::Base64UrlEncodedField( | ---------------------------------------- arguments to this struct are incorrect 291 | *generic_array::GenericArray::from_slice(x), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `GenericArray<u8, _>`, found `generic_array::GenericArray<u8, _>` | ::: src/jwk/ec/p256.rs:12:1 | 12 | impl_serde_ec!(P256PublicKey, P256PrivateKey, "P-256", "EC", NistP256); | ---------------------------------------------------------------------- in this macro invocation | = note: `generic_array::GenericArray<u8, _>` and `GenericArray<u8, _>` have similar names, but are actually distinct types note: `generic_array::GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-1.1.0/src/lib.rs:436:1 | 436 | pub struct GenericArray<T, N: ArrayLength> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: `GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/lib.rs:179:1 | 179 | pub struct GenericArray<T, U: ArrayLength<T>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `generic_array` are being used? note: tuple struct defined here --> src/base64_url.rs:158:19 | 158 | pub(crate) struct Base64UrlEncodedField<C>(pub(crate) FieldBytes<C>) | ^^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the macro `impl_serde_ec` (in Nightly builds, run with -Z macro-backtrace for more info)
mismatched types: src/macros.rs#L257
error[E0308]: mismatched types --> src/macros.rs:257:25 | 256 | y: crate::base64_url::Base64UrlEncodedField( | ---------------------------------------- arguments to this struct are incorrect 257 | *generic_array::GenericArray::from_slice(y), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `GenericArray<u8, _>`, found `generic_array::GenericArray<u8, _>` | ::: src/jwk/ec/p256.rs:12:1 | 12 | impl_serde_ec!(P256PublicKey, P256PrivateKey, "P-256", "EC", NistP256); | ---------------------------------------------------------------------- in this macro invocation | = note: `generic_array::GenericArray<u8, _>` and `GenericArray<u8, _>` have similar names, but are actually distinct types note: `generic_array::GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-1.1.0/src/lib.rs:436:1 | 436 | pub struct GenericArray<T, N: ArrayLength> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: `GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/lib.rs:179:1 | 179 | pub struct GenericArray<T, U: ArrayLength<T>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `generic_array` are being used? note: tuple struct defined here --> src/base64_url.rs:158:19 | 158 | pub(crate) struct Base64UrlEncodedField<C>(pub(crate) FieldBytes<C>) | ^^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the macro `impl_serde_ec` (in Nightly builds, run with -Z macro-backtrace for more info)
mismatched types: src/macros.rs#L254
error[E0308]: mismatched types --> src/macros.rs:254:25 | 253 | x: crate::base64_url::Base64UrlEncodedField( | ---------------------------------------- arguments to this struct are incorrect 254 | *generic_array::GenericArray::from_slice(x), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `GenericArray<u8, _>`, found `generic_array::GenericArray<u8, _>` | ::: src/jwk/ec/p256.rs:12:1 | 12 | impl_serde_ec!(P256PublicKey, P256PrivateKey, "P-256", "EC", NistP256); | ---------------------------------------------------------------------- in this macro invocation | = note: `generic_array::GenericArray<u8, _>` and `GenericArray<u8, _>` have similar names, but are actually distinct types note: `generic_array::GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-1.1.0/src/lib.rs:436:1 | 436 | pub struct GenericArray<T, N: ArrayLength> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: `GenericArray<u8, _>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/lib.rs:179:1 | 179 | pub struct GenericArray<T, U: ArrayLength<T>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `generic_array` are being used? note: tuple struct defined here --> src/base64_url.rs:158:19 | 158 | pub(crate) struct Base64UrlEncodedField<C>(pub(crate) FieldBytes<C>) | ^^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the macro `impl_serde_ec` (in Nightly builds, run with -Z macro-backtrace for more info)
mismatched types: src/base64_url.rs#L172
error[E0308]: mismatched types --> src/base64_url.rs:172:17 | 172 | Ok(Self(field.0)) | ---- ^^^^^^^ expected `GenericArray<u8, ...>`, found a different `GenericArray<u8, ...>` | | | arguments to this function are incorrect | = note: `GenericArray<u8, ...>` and `GenericArray<u8, ...>` have similar names, but are actually distinct types note: `GenericArray<u8, ...>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-1.1.0/src/lib.rs:436:1 | 436 | pub struct GenericArray<T, N: ArrayLength> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: `GenericArray<u8, ...>` is defined in crate `generic_array` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/lib.rs:179:1 | 179 | pub struct GenericArray<T, U: ArrayLength<T>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `generic_array` are being used? note: tuple struct defined here --> src/base64_url.rs:158:19 | 158 | pub(crate) struct Base64UrlEncodedField<C>(pub(crate) FieldBytes<C>) | ^^^^^^^^^^^^^^^^^^^^^
the trait bound `<C as elliptic_curve::Curve>::FieldBytesSize: generic_array::ArrayLength` is not satisfied in `base64_url::Base64UrlOctet<<C as elliptic_curve::Curve>::FieldBytesSize>`: src/base64_url.rs#L170
error[E0277]: the trait bound `<C as elliptic_curve::Curve>::FieldBytesSize: generic_array::ArrayLength` is not satisfied in `base64_url::Base64UrlOctet<<C as elliptic_curve::Curve>::FieldBytesSize>` --> src/base64_url.rs:170:13 | 170 | let field: Base64UrlOctet<C::FieldBytesSize> = Base64UrlOctet::deserialize(deserializer)?; | ^^^^^ within `base64_url::Base64UrlOctet<<C as elliptic_curve::Curve>::FieldBytesSize>`, the trait `generic_array::ArrayLength` is not implemented for `<C as elliptic_curve::Curve>::FieldBytesSize`, which is required by `base64_url::Base64UrlOctet<<C as elliptic_curve::Curve>::FieldBytesSize>: std::marker::Sized` | note: required because it appears within the type `base64_url::Base64UrlOctet<<C as elliptic_curve::Curve>::FieldBytesSize>` --> src/base64_url.rs:125:19 | 125 | pub(crate) struct Base64UrlOctet<N: ArrayLength<u8>>(GenericArray<u8, N>); | ^^^^^^^^^^^^^^ = note: all local variables must have a statically known size = help: unsized locals are gated as an unstable feature help: consider further restricting the associated type | 168 | D: Deserializer<'de>, <C as elliptic_curve::Curve>::FieldBytesSize: generic_array::ArrayLength | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: consider borrowing here | 170 | let field: &Base64UrlOctet<C::FieldBytesSize> = Base64UrlOctet::deserialize(deserializer)?; | +
the trait bound `<C as elliptic_curve::Curve>::FieldBytesSize: generic_array::ArrayLength` is not satisfied: src/base64_url.rs#L170
error[E0277]: the trait bound `<C as elliptic_curve::Curve>::FieldBytesSize: generic_array::ArrayLength` is not satisfied --> src/base64_url.rs:170:56 | 170 | let field: Base64UrlOctet<C::FieldBytesSize> = Base64UrlOctet::deserialize(deserializer)?; | ^^^^^^^^^^^^^^ the trait `generic_array::ArrayLength` is not implemented for `<C as elliptic_curve::Curve>::FieldBytesSize`, which is required by `base64_url::Base64UrlOctet<_>: base64_url::_::_serde::Deserialize<'_>` | note: required for `base64_url::Base64UrlOctet<<C as elliptic_curve::Curve>::FieldBytesSize>` to implement `base64_url::_::_serde::Deserialize<'_>` --> src/base64_url.rs:127:14 | 127 | impl<'de, N> Deserialize<'de> for Base64UrlOctet<N> | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ 128 | where 129 | N: ArrayLength<u8>, | --------------- unsatisfied trait bound introduced here help: consider further restricting the associated type | 168 | D: Deserializer<'de>, <C as elliptic_curve::Curve>::FieldBytesSize: generic_array::ArrayLength | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
the trait bound `<C as elliptic_curve::Curve>::FieldBytesSize: generic_array::ArrayLength` is not satisfied: src/base64_url.rs#L170
error[E0277]: the trait bound `<C as elliptic_curve::Curve>::FieldBytesSize: generic_array::ArrayLength` is not satisfied --> src/base64_url.rs:170:20 | 170 | let field: Base64UrlOctet<C::FieldBytesSize> = Base64UrlOctet::deserialize(deserializer)?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `generic_array::ArrayLength` is not implemented for `<C as elliptic_curve::Curve>::FieldBytesSize` | note: required by a bound in `base64_url::Base64UrlOctet` --> src/base64_url.rs:125:37 | 125 | pub(crate) struct Base64UrlOctet<N: ArrayLength<u8>>(GenericArray<u8, N>); | ^^^^^^^^^^^^^^^ required by this bound in `Base64UrlOctet` help: consider further restricting the associated type | 168 | D: Deserializer<'de>, <C as elliptic_curve::Curve>::FieldBytesSize: generic_array::ArrayLength | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
trait takes 0 generic arguments but 1 generic argument was supplied: src/base64_url.rs#L129
error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied --> src/base64_url.rs:129:8 | 129 | N: ArrayLength<u8>, | ^^^^^^^^^^^ expected 0 generic arguments | note: trait defined here, with 0 generic parameters --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-1.1.0/src/lib.rs:179:18 | 179 | pub unsafe trait ArrayLength: Unsigned + 'static { | ^^^^^^^^^^^ help: replace the generic bound with the associated type | 129 | N: ArrayLength<ArrayType = u8>, | +++++++++++
trait takes 0 generic arguments but 1 generic argument was supplied: src/base64_url.rs#L125
error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied --> src/base64_url.rs:125:37 | 125 | pub(crate) struct Base64UrlOctet<N: ArrayLength<u8>>(GenericArray<u8, N>); | ^^^^^^^^^^^ expected 0 generic arguments | note: trait defined here, with 0 generic parameters --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-1.1.0/src/lib.rs:179:18 | 179 | pub unsafe trait ArrayLength: Unsigned + 'static { | ^^^^^^^^^^^ help: replace the generic bound with the associated type | 125 | pub(crate) struct Base64UrlOctet<N: ArrayLength<ArrayType = u8>>(GenericArray<u8, N>); | +++++++++++
unnecessary qualification: src/jwk/asymmetric.rs#L30
error: unnecessary qualification --> src/jwk/asymmetric.rs:30:43 | 30 | super::JsonWebKeyType::Asymmetric(alloc::boxed::Box::new(x)) | ^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 30 - super::JsonWebKeyType::Asymmetric(alloc::boxed::Box::new(x)) 30 + super::JsonWebKeyType::Asymmetric(Box::new(x)) |
unnecessary qualification: src/jwk/ec.rs#L102
error: unnecessary qualification --> src/jwk/ec.rs:102:43 | 102 | super::JsonWebKeyType::Asymmetric(alloc::boxed::Box::new( | ^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 102 - super::JsonWebKeyType::Asymmetric(alloc::boxed::Box::new( 102 + super::JsonWebKeyType::Asymmetric(Box::new( |
unnecessary qualification: src/jwk/ec.rs#L58
error: unnecessary qualification --> src/jwk/ec.rs:58:43 | 58 | super::JsonWebKeyType::Asymmetric(alloc::boxed::Box::new( | ^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D unused-qualifications` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_qualifications)]` help: remove the unnecessary path segments | 58 - super::JsonWebKeyType::Asymmetric(alloc::boxed::Box::new( 58 + super::JsonWebKeyType::Asymmetric(Box::new( |
macos-latest / stable
Process completed with exit code 101.
ubuntu / stable / minimal-versions
Process completed with exit code 101.
ubuntu / beta
Process completed with exit code 101.
ubuntu / stable
The job was canceled because "beta" failed.
ubuntu / stable
Process completed with exit code 101.
ubuntu / stable / coverage
Process completed with exit code 1.
windows-latest / stable
Process completed with exit code 1.