Skip to content

maintenance: add swift 6 support #52

maintenance: add swift 6 support

maintenance: add swift 6 support #52

GitHub Actions / Xcode test results failed Oct 28, 2024 in 0s

Xcode test results

Build Summary

Emitting module for JWKTests
Compile JWKThumbprintTests.swift (x86_64)
Emitting module for JSONWebAlgorithms
error: Swift Compiler Error: Expected 'var' keyword in property declaration
error: Swift Compiler Error: Consecutive declarations on a line must be separated by ';'
error: Swift Compiler Error: Expected 'var' keyword in property declaration
error: Swift Compiler Error: Consecutive declarations on a line must be separated by ';'
error: Swift Compiler Error: Type annotation missing in pattern
error: Swift Compiler Error: Type annotation missing in pattern
error: Swift Compiler Error: 'nonisolated' can not be applied to stored properties
error: Swift Compiler Error: 'nonisolated' can not be applied to stored properties
error: Swift Compiler Error: Expected 'var' keyword in property declaration
error: Swift Compiler Error: Consecutive declarations on a line must be separated by ';'
error: Swift Compiler Error: Type annotation missing in pattern
error: Swift Compiler Error: 'nonisolated' can not be applied to stored properties

jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift:33:16: error: expected 'var' keyword in property declaration
    nonisolated(unsafe) public static var outputFormat = ES256KSigner.SignatureFormat.raw
               ^
               var 
jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift:33:24: error: consecutive declarations on a line must be separated by ';'
    nonisolated(unsafe) public static var outputFormat = ES256KSigner.SignatureFormat.raw
                       ^
                       ;
jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift:35:16: error: expected 'var' keyword in property declaration
    nonisolated(unsafe) public static var invertedBytesR_S = false
               ^
               var 
jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift:35:24: error: consecutive declarations on a line must be separated by ';'
    nonisolated(unsafe) public static var invertedBytesR_S = false
                       ^
                       ;
jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift:33:17: error: type annotation missing in pattern
    nonisolated(unsafe) public static var outputFormat = ES256KSigner.SignatureFormat.raw
                ^
jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift:35:17: error: type annotation missing in pattern
    nonisolated(unsafe) public static var invertedBytesR_S = false
                ^
jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift:33:5: error: 'nonisolated' can not be applied to stored properties
    nonisolated(unsafe) public static var outputFormat = ES256KSigner.SignatureFormat.raw
    ^~~~~~~~~~~
    
jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift:35:5: error: 'nonisolated' can not be applied to stored properties
    nonisolated(unsafe) public static var invertedBytesR_S = false
    ^~~~~~~~~~~
    
jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES256KVerifier.swift:25:16: error: expected 'var' keyword in property declaration
    nonisolated(unsafe) public static var bouncyCastleFailSafe = false
               ^
               var 
jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES256KVerifier.swift:25:24: error: consecutive declarations on a line must be separated by ';'
    nonisolated(unsafe) public static var bouncyCastleFailSafe = false
                       ^
                       ;
jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES256KVerifier.swift:25:17: error: type annotation missing in pattern
    nonisolated(unsafe) public static var bouncyCastleFailSafe = false
                ^
jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES256KVerifier.swift:25:5: error: 'nonisolated' can not be applied to stored properties
    nonisolated(unsafe) public static var bouncyCastleFailSafe = false
    ^~~~~~~~~~~
    

Compile HS256Verifier.swift (x86_64)
Compile HS384Verifier.swift (x86_64)
Compile HS512Verifier.swift (x86_64)
Compile MockedSigner.swift (x86_64)
Compile MockedVerifier.swift (x86_64)
Compile RSA+Security.swift (x86_64)
Compile PS256Signer.swift (x86_64)
Compile PS384Signer.swift (x86_64)
Compile PS512Signer.swift (x86_64)
Compile RS256Signer.swift (x86_64)
Compile RS384Signer.swift (x86_64)
Compile RS512Signer.swift (x86_64)
Compile PS256Verifier.swift (x86_64)
Compile PS384Verifier.swift (x86_64)
Compile PS512Verifier.swift (x86_64)
Compile RS256Verifier.swift (x86_64)
Compile RS384Verifier.swift (x86_64)
Compile RS512Verifier.swift (x86_64)
Compile Signer.swift (x86_64)
Compile SigningAlgorithm.swift (x86_64)
error: Swift Compiler Error: Expected 'var' keyword in property declaration
error: Swift Compiler Error: Consecutive declarations on a line must be separated by ';'
error: Swift Compiler Error: Expected 'var' keyword in property declaration
error: Swift Compiler Error: Consecutive declarations on a line must be separated by ';'
error: Swift Compiler Error: Type annotation missing in pattern
error: Swift Compiler Error: Type annotation missing in pattern
error: Swift Compiler Error: Expected 'var' keyword in property declaration
error: Swift Compiler Error: Consecutive declarations on a line must be separated by ';'
error: Swift Compiler Error: Type annotation missing in pattern

jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift:33:16: error: expected 'var' keyword in property declaration
    nonisolated(unsafe) public static var outputFormat = ES256KSigner.SignatureFormat.raw
               ^
               var 
jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift:33:24: error: consecutive declarations on a line must be separated by ';'
    nonisolated(unsafe) public static var outputFormat = ES256KSigner.SignatureFormat.raw
                       ^
                       ;
jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift:35:16: error: expected 'var' keyword in property declaration
    nonisolated(unsafe) public static var invertedBytesR_S = false
               ^
               var 
jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift:35:24: error: consecutive declarations on a line must be separated by ';'
    nonisolated(unsafe) public static var invertedBytesR_S = false
                       ^
                       ;
jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift:33:17: error: type annotation missing in pattern
    nonisolated(unsafe) public static var outputFormat = ES256KSigner.SignatureFormat.raw
                ^
jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift:35:17: error: type annotation missing in pattern
    nonisolated(unsafe) public static var invertedBytesR_S = false
                ^
jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES256KVerifier.swift:25:16: error: expected 'var' keyword in property declaration
    nonisolated(unsafe) public static var bouncyCastleFailSafe = false
               ^
               var 
jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES256KVerifier.swift:25:24: error: consecutive declarations on a line must be separated by ';'
    nonisolated(unsafe) public static var bouncyCastleFailSafe = false
                       ^
                       ;
jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES256KVerifier.swift:25:17: error: type annotation missing in pattern
    nonisolated(unsafe) public static var bouncyCastleFailSafe = false
                ^

Compile Verifier.swift (x86_64)
Compiling JWKCryptoPresentation.swift, Curve25519+KeyAgreement.swift, P256+KeyAgreement.swift, P384+KeyAgreement.swift, P521+KeyAgreement.swift, secp256k1+KeyAgreement.swift, JWK+KeyAgreement.swift, SharedKeyAgreement.swift, Curve25519+KeyGeneration.swift, P256+KeyGeneration.swift, P384+KeyGeneration.swift, P521+KeyGeneration.swift, secp256k1+KeyGeneration.swift, JWK+KeyGeneration.swift, KeyGeneration.swift, SecureRandom.swift, JWARegisteredFieldsHeader.swift, JWKRepresentable.swift, ECDH1PU+KeyAgreementZ.swift, ECDHES+KeyAgreementZ.swift, KeyAgreementZ.swift
error: Command SwiftCompile failed with a nonzero exit code

Command SwiftCompile failed with a nonzero exit code

Unblock downstream dependents of JSONWebAlgorithms (x86_64)

Annotations

Check failure on line 33 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Expected 'var' keyword in property declaration

Check failure on line 33 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Consecutive declarations on a line must be separated by ';'

Check failure on line 35 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Expected 'var' keyword in property declaration

Check failure on line 35 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Consecutive declarations on a line must be separated by ';'

Check failure on line 33 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Type annotation missing in pattern

Check failure on line 35 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Type annotation missing in pattern

Check failure on line 33 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

'nonisolated' can not be applied to stored properties

Check failure on line 35 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

'nonisolated' can not be applied to stored properties

Check failure on line 25 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES256KVerifier.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Expected 'var' keyword in property declaration

Check failure on line 25 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES256KVerifier.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Consecutive declarations on a line must be separated by ';'

Check failure on line 25 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES256KVerifier.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Type annotation missing in pattern

Check failure on line 25 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES256KVerifier.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

'nonisolated' can not be applied to stored properties

Check failure on line 33 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Expected 'var' keyword in property declaration

Check failure on line 33 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Consecutive declarations on a line must be separated by ';'

Check failure on line 35 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Expected 'var' keyword in property declaration

Check failure on line 35 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Consecutive declarations on a line must be separated by ';'

Check failure on line 33 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Type annotation missing in pattern

Check failure on line 35 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Type annotation missing in pattern

Check failure on line 33 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

'nonisolated' can not be applied to stored properties

Check failure on line 35 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

'nonisolated' can not be applied to stored properties

Check failure on line 25 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES256KVerifier.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Expected 'var' keyword in property declaration

Check failure on line 25 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES256KVerifier.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Consecutive declarations on a line must be separated by ';'

Check failure on line 25 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES256KVerifier.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Type annotation missing in pattern

Check failure on line 25 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Verifiers/ES256KVerifier.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

'nonisolated' can not be applied to stored properties

Check failure on line 33 in jose-swift/Sources/JSONWebAlgorithms/Signatures/EC/Signers/ES256KSigner.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

error

Expected 'var' keyword in property declaration