Skip to content

Convert jwa constants to function calls returning objects #2219

Convert jwa constants to function calls returning objects

Convert jwa constants to function calls returning objects #2219

Triggered via pull request October 5, 2024 09:39
Status Failure
Total duration 1m 5s
Artifacts

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

44 errors and 7 warnings
Test [ Go 1.22 / Tags es256k ]: jwa/secp2561k.go#L7
invalid constant type EllipticCurveAlgorithm
Test [ Go 1.22 / Tags es256k ]: jwa/secp2561k.go#L10
undefined: allEllipticCurveAlgorithms
Test [ Go 1.22 / Tags es256k ]
invalid constant type EllipticCurveAlgorithm
Test [ Go 1.22 / Tags es256k ]
undefined: allEllipticCurveAlgorithms
Test [ Go 1.22 / Tags es256k ]
invalid constant type EllipticCurveAlgorithm
Test [ Go 1.22 / Tags es256k ]
undefined: allEllipticCurveAlgorithms
Test [ Go 1.22 / Tags es256k ]
invalid constant type EllipticCurveAlgorithm
Test [ Go 1.22 / Tags es256k ]
undefined: allEllipticCurveAlgorithms
Test [ Go 1.22 / Tags es256k ]
Process completed with exit code 2.
Test [ Go 1.21 / Tags stdlib ]
The job was canceled because "es256k_1_22" failed.
Test [ Go 1.23 / Tags goccy ]
The job was canceled because "es256k_1_22" failed.
Test [ Go 1.22 / Tags goccy ]
The job was canceled because "es256k_1_22" failed.
Test [ Go 1.23 / Tags stdlib ]
The job was canceled because "es256k_1_22" failed.
Test [ Go 1.21 / Tags secp256k1-pem ]
The job was canceled because "es256k_1_22" failed.
Test [ Go 1.23 / Tags secp256k1-pem ]
The job was canceled because "es256k_1_22" failed.
Test [ Go 1.22 / Tags stdlib ]
The job was canceled because "es256k_1_22" failed.
Test [ Go 1.22 / Tags secp256k1-pem ]
The job was canceled because "es256k_1_22" failed.
Test [ Go 1.21 / Tags goccy ]
The job was canceled because "es256k_1_22" failed.
Test [ Go 1.21 / Tags goccy ]
The operation was canceled.
Test [ Go 1.21 / Tags alltags ]
The job was canceled because "es256k_1_22" failed.
Test [ Go 1.21 / Tags alltags ]
The operation was canceled.
Test [ Go 1.22 / Tags alltags ]
The job was canceled because "es256k_1_22" failed.
Test [ Go 1.22 / Tags alltags ]
The operation was canceled.
Test [ Go 1.23 / Tags es256k ]
The job was canceled because "es256k_1_22" failed.
Test [ Go 1.23 / Tags es256k ]
The operation was canceled.
Test [ Go 1.22 / Tags asmbase64 ]
The job was canceled because "es256k_1_22" failed.
Test [ Go 1.22 / Tags asmbase64 ]: internal/keyconv/keyconv_test.go#L114
cannot use jwa.P521 (value of type func() jwa.EllipticCurveAlgorithm) as jwa.EllipticCurveAlgorithm value in argument to jwxtest.GenerateEcdsaKey
Test [ Go 1.22 / Tags asmbase64 ]: jwe/jwe_test.go#L146
cannot use jwa.RSA_OAEP (value of type func() jwa.KeyEncryptionAlgorithm) as jwa.KeyAlgorithm value in argument to jwe.WithKey: func() jwa.KeyEncryptionAlgorithm does not implement jwa.KeyAlgorithm (missing method String)
Test [ Go 1.22 / Tags asmbase64 ]: jwe/jwe_test.go#L193
cannot use jwa.NoCompress (value of type func() jwa.CompressionAlgorithm) as jwa.CompressionAlgorithm value in array or slice literal
Test [ Go 1.22 / Tags asmbase64 ]: jwe/jwe_test.go#L193
cannot use jwa.Deflate (value of type func() jwa.CompressionAlgorithm) as jwa.CompressionAlgorithm value in array or slice literal
Test [ Go 1.22 / Tags asmbase64 ]: jwe/jwe_test.go#L208
cannot use jwa.RSA_OAEP (value of type func() jwa.KeyEncryptionAlgorithm) as jwa.KeyAlgorithm value in argument to jwe.WithKey: func() jwa.KeyEncryptionAlgorithm does not implement jwa.KeyAlgorithm (missing method String)
Test [ Go 1.22 / Tags asmbase64 ]: jwe/jwe_test.go#L215
cannot use jwa.RSA_OAEP (value of type func() jwa.KeyEncryptionAlgorithm) as jwa.KeyAlgorithm value in argument to jwe.WithKey: func() jwa.KeyEncryptionAlgorithm does not implement jwa.KeyAlgorithm (missing method String)
Test [ Go 1.22 / Tags asmbase64 ]: jwe/jwe_test.go#L284
cannot use jwa.A128CBC_HS256 (value of type func() jwa.ContentEncryptionAlgorithm) as jwa.ContentEncryptionAlgorithm value in argument to jwe.WithContentEncryption
Test [ Go 1.22 / Tags asmbase64 ]: jwe/jwe_test.go#L310
cannot use jwa.A128KW (value of type func() jwa.KeyEncryptionAlgorithm) as jwa.KeyAlgorithm value in argument to jwe.WithKey: func() jwa.KeyEncryptionAlgorithm does not implement jwa.KeyAlgorithm (missing method String)
Test [ Go 1.22 / Tags asmbase64 ]: jwe/jwe_test.go#L310
cannot use jwa.A128CBC_HS256 (value of type func() jwa.ContentEncryptionAlgorithm) as jwa.ContentEncryptionAlgorithm value in argument to jwe.WithContentEncryption
Test [ Go 1.22 / Tags asmbase64 ]: jwe/jwe_test.go#L313
cannot use jwa.A128KW (value of type func() jwa.KeyEncryptionAlgorithm) as jwa.KeyAlgorithm value in argument to jwe.WithKey: func() jwa.KeyEncryptionAlgorithm does not implement jwa.KeyAlgorithm (missing method String)
Test [ Go 1.21 / Tags es256k ]
The job was canceled because "es256k_1_22" failed.
Test [ Go 1.21 / Tags es256k ]
The operation was canceled.
Test [ Go 1.23 / Tags asmbase64 ]
The job was canceled because "es256k_1_22" failed.
Test [ Go 1.23 / Tags asmbase64 ]
The operation was canceled.
Test [ Go 1.21 / Tags asmbase64 ]
The job was canceled because "es256k_1_22" failed.
Test [ Go 1.21 / Tags asmbase64 ]
The operation was canceled.
Test [ Go 1.23 / Tags alltags ]
The job was canceled because "es256k_1_22" failed.
Test [ Go 1.23 / Tags alltags ]
The operation was canceled.
Test [ Go 1.22 / Tags es256k ]
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Test [ Go 1.21 / Tags goccy ]
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Test [ Go 1.21 / Tags alltags ]
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Test [ Go 1.22 / Tags alltags ]
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Test [ Go 1.22 / Tags asmbase64 ]
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Test [ Go 1.21 / Tags es256k ]
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Test [ Go 1.21 / Tags asmbase64 ]
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2