Skip to content

Convert jwa constants to function calls returning objects #2227

Convert jwa constants to function calls returning objects

Convert jwa constants to function calls returning objects #2227

Triggered via pull request October 5, 2024 22:58
Status Failure
Total duration 1m 34s
Artifacts

ci.yml

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

Annotations

54 errors and 8 warnings
Test [ Go 1.22 / Tags es256k ]: jwk/es256k_test.go#L21
cannot use jwa.Secp256k1 (value of type func() jwa.EllipticCurveAlgorithm) as jwa.EllipticCurveAlgorithm value in argument to ourecdsa.IsCurveAvailable
Test [ Go 1.22 / Tags es256k ]: jws/es256k_test.go#L23
cannot use jwa.Secp256k1 (value of type func() jwa.EllipticCurveAlgorithm) as jwa.EllipticCurveAlgorithm value in argument to jwxtest.GenerateEcdsaKey
Test [ Go 1.22 / Tags es256k ]: jws/es256k_test.go#L31
cannot use jwa.ES256K (value of type func() jwa.SignatureAlgorithm) as jwa.SignatureAlgorithm value in argument to testRoundtrip
Test [ Go 1.22 / Tags es256k ]
cannot use jwa.HS256 (value of type func() jwa.SignatureAlgorithm) as jwa.KeyAlgorithm value in argument to jwt.WithKey: func() jwa.SignatureAlgorithm does not implement jwa.KeyAlgorithm (missing method String)
Test [ Go 1.22 / Tags es256k ]
cannot use jwa.HS256 (value of type func() jwa.SignatureAlgorithm) as jwa.KeyAlgorithm value in argument to jws.WithKey: func() jwa.SignatureAlgorithm does not implement jwa.KeyAlgorithm (missing method String)
Test [ Go 1.22 / Tags es256k ]
invalid constant type jwa.EllipticCurveAlgorithm
Test [ Go 1.22 / Tags es256k ]
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 es256k ]
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 es256k ]
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 es256k ]
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 secp256k1-pem ]
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.23 / Tags secp256k1-pem ]
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.21 / Tags stdlib ]
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.23 / Tags es256k ]
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.22 / Tags asmbase64 ]
The job was canceled because "es256k_1_22" failed.
Test [ Go 1.22 / Tags asmbase64 ]
cannot use jwa.HS256 (value of type func() jwa.SignatureAlgorithm) as jwa.KeyAlgorithm value in argument to jwt.WithKey: func() jwa.SignatureAlgorithm does not implement jwa.KeyAlgorithm (missing method String)
Test [ Go 1.22 / Tags asmbase64 ]
cannot use jwa.HS256 (value of type func() jwa.SignatureAlgorithm) as jwa.KeyAlgorithm value in argument to jws.WithKey: func() jwa.SignatureAlgorithm does not implement jwa.KeyAlgorithm (missing method String)
Test [ Go 1.22 / Tags asmbase64 ]
invalid constant type jwa.EllipticCurveAlgorithm
Test [ Go 1.22 / Tags asmbase64 ]
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 ]
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 ]
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 ]
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 ]
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 ]
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 ]
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 alltags ]
The job was canceled because "es256k_1_22" failed.
Test [ Go 1.22 / Tags alltags ]: jwk/es256k_test.go#L21
cannot use jwa.Secp256k1 (value of type func() jwa.EllipticCurveAlgorithm) as jwa.EllipticCurveAlgorithm value in argument to ourecdsa.IsCurveAvailable
Test [ Go 1.22 / Tags alltags ]: jws/es256k_test.go#L23
cannot use jwa.Secp256k1 (value of type func() jwa.EllipticCurveAlgorithm) as jwa.EllipticCurveAlgorithm value in argument to jwxtest.GenerateEcdsaKey
Test [ Go 1.22 / Tags alltags ]: jws/es256k_test.go#L31
cannot use jwa.ES256K (value of type func() jwa.SignatureAlgorithm) as jwa.SignatureAlgorithm value in argument to testRoundtrip
Test [ Go 1.22 / Tags alltags ]
cannot use jwa.HS256 (value of type func() jwa.SignatureAlgorithm) as jwa.KeyAlgorithm value in argument to jwt.WithKey: func() jwa.SignatureAlgorithm does not implement jwa.KeyAlgorithm (missing method String)
Test [ Go 1.22 / Tags alltags ]
cannot use jwa.HS256 (value of type func() jwa.SignatureAlgorithm) as jwa.KeyAlgorithm value in argument to jws.WithKey: func() jwa.SignatureAlgorithm does not implement jwa.KeyAlgorithm (missing method String)
Test [ Go 1.22 / Tags alltags ]
invalid constant type jwa.EllipticCurveAlgorithm
Test [ Go 1.22 / Tags alltags ]
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 alltags ]
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 alltags ]
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 alltags ]
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.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.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.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.22 / Tags goccy ]
The job was canceled because "es256k_1_22" failed.
Test [ Go 1.22 / Tags goccy ]
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.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.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.21 / 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 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.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.22 / Tags goccy ]
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2