Skip to content

Convert jwa constants to function calls returning objects #2228

Convert jwa constants to function calls returning objects

Convert jwa constants to function calls returning objects #2228

Triggered via pull request October 5, 2024 23:08
Status Failure
Total duration 1m 42s
Artifacts

ci.yml

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

Annotations

58 errors and 7 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 alg (variable 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 alg (variable 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 alg (variable 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 alg (variable 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 alg (variable 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 ]
keyenc.Accept undefined (type jwa.KeyEncryptionAlgorithm has no field or method Accept)
Test [ Go 1.22 / Tags es256k ]
cntenc.Accept undefined (type jwa.ContentEncryptionAlgorithm has no field or method Accept)
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 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.21 / Tags secp256k1-pem ]
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.23 / 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.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 alg (variable 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 alg (variable 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 alg (variable 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 alg (variable 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 alg (variable 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 ]
keyenc.Accept undefined (type jwa.KeyEncryptionAlgorithm has no field or method Accept)
Test [ Go 1.22 / Tags alltags ]
cntenc.Accept undefined (type jwa.ContentEncryptionAlgorithm has no field or method Accept)
Test [ Go 1.22 / Tags asmbase64 ]
The job was canceled because "es256k_1_22" failed.
Test [ Go 1.22 / Tags asmbase64 ]
cannot use alg (variable 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 alg (variable 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 alg (variable 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 alg (variable 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 alg (variable 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 ]
keyenc.Accept undefined (type jwa.KeyEncryptionAlgorithm has no field or method Accept)
Test [ Go 1.22 / Tags asmbase64 ]
cntenc.Accept undefined (type jwa.ContentEncryptionAlgorithm has no field or method Accept)
Test [ Go 1.22 / Tags asmbase64 ]
cannot use compress (variable of type func() jwa.CompressionAlgorithm) as jwa.CompressionAlgorithm value in argument to jwe.WithCompress
Test [ Go 1.22 / Tags asmbase64 ]
keyenc.Accept undefined (type jwa.KeyEncryptionAlgorithm has no field or method Accept)
Test [ Go 1.22 / Tags asmbase64 ]
multiple-value r.Headers().Algorithm() (value of type (jwa.KeyEncryptionAlgorithm, bool)) in single-value context
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 es256k ]
The job was canceled because "es256k_1_22" failed.
Test [ Go 1.21 / 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.21 / 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.21 / 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.21 / Tags es256k ]
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 ]: 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.23 / Tags alltags ]
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 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 goccy ]
The job was canceled because "es256k_1_22" failed.
Test [ Go 1.21 / Tags goccy ]
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 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 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 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 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 goccy ]
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2