Build Information
Successful build of SwiftJWT with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 9
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/Swift-JWT.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Kitura/Swift-JWT
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at f68ec28 Update podspec for 4.0.1
Cloned https://github.com/Kitura/Swift-JWT.git
Revision (git rev-parse @):
f68ec28fbd90a651597e9e825ea7f315f8d52a1f
SUCCESS checkout https://github.com/Kitura/Swift-JWT.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/Kitura/Swift-JWT.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-6F35C1178C84523A.txt
[9/44] Compiling Logging MetadataProvider.swift
[10/44] Compiling Logging Logging.swift
[11/44] Compiling Logging Locks.swift
[12/44] Emitting module Logging
[13/44] Compiling Logging LogHandler.swift
[14/46] Compiling CryptorRSA SSLPointerTricks.swift
[15/46] Compiling CryptorRSA Data+Extensions.swift
[16/46] Compiling Cryptor Updatable.swift
[17/47] Compiling CryptorECC ECSignature.swift
[18/48] Compiling CryptorECC ECSignable.swift
[19/48] Compiling CryptorRSA CryptorRSAUtilities.swift
[20/48] Emitting module CryptorECC
[21/48] Compiling CryptorECC ECPrivateKey.swift
[22/48] Compiling CryptorECC ECDecryptable.swift
[23/48] Emitting module LoggerAPI
[24/48] Compiling CryptorECC ECEncryptable.swift
[25/48] Compiling LoggerAPI Logger.swift
[26/48] Compiling CryptorECC ECError.swift
[27/48] Compiling CryptorECC ASN1.swift
[28/48] Compiling CryptorECC Data+Extensions.swift
[29/48] Compiling CryptorECC ECPublicKey.swift
[30/48] Compiling CryptorECC EllipticCurve.swift
[31/48] Emitting module Cryptor
[34/48] Compiling Cryptor SSLPointerTricks.swift
[35/48] Compiling Cryptor Random.swift
[36/48] Compiling Cryptor Digest.swift
[37/48] Compiling Cryptor HMAC.swift
[38/48] Compiling Cryptor KeyDerivation.swift
[39/48] Compiling Cryptor Status.swift
[40/48] Compiling Cryptor StreamCryptor.swift
[41/48] Compiling CryptorRSA CryptorRSADigest.swift
[42/48] Compiling CryptorRSA CryptorRSAErrors.swift
[43/48] Emitting module CryptorRSA
[44/48] Compiling CryptorRSA CryptorRSAConstants.swift
[45/48] Compiling CryptorRSA CryptorRSAKey.swift
[46/48] Compiling CryptorRSA CryptorRSA.swift
[47/58] Compiling CryptorECC SSLPointerTricks.swift
[48/58] Compiling Cryptor Utilities.swift
[49/58] Compiling KituraContracts BodyFormat.swift
[50/58] Compiling KituraContracts QueryEncoder.swift
[51/58] Compiling KituraContracts Extensions.swift
[52/58] Compiling KituraContracts Coder.swift
[53/58] Compiling KituraContracts BodyEncoder.swift
[54/58] Emitting module KituraContracts
[55/58] Compiling KituraContracts ClosureAliases.swift
[56/58] Compiling KituraContracts QueryDecoder.swift
[57/58] Compiling KituraContracts Contracts.swift
[58/58] Compiling KituraContracts BodyDecoder.swift
[59/77] Compiling SwiftJWT RSAKeyType.swift
[60/77] Compiling SwiftJWT SignerAlgorithm.swift
[61/79] Compiling SwiftJWT JWTVerifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/JWTVerifier.swift:151:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'JWTVerifier' may have shared mutable state; this is an error in the Swift 6 language mode
43 | ```
44 | */
45 | public struct JWTVerifier {
| `- note: consider making struct 'JWTVerifier' conform to the 'Sendable' protocol
46 | let verifierAlgorithm: VerifierAlgorithm
47 |
:
149 |
150 | /// Initialize a JWTVerifier that will always return true when verifying the JWT. This is equivelent to using the "none" alg header.
151 | public static let none = JWTVerifier(verifierAlgorithm: NoneAlgorithm())
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'JWTVerifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:36:23: warning: static property 'prime256v1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
34 |
35 | /// A prime256v1 curve.
36 | public static let prime256v1 = EllipticCurve.p256
| |- warning: static property 'prime256v1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'prime256v1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// A secp384r1 curve.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:39:23: warning: static property 'secp384r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
37 |
38 | /// A secp384r1 curve.
39 | public static let secp384r1 = EllipticCurve.p384
| |- warning: static property 'secp384r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'secp384r1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// A secp521r1 curve.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:42:23: warning: static property 'secp521r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
40 |
41 | /// A secp521r1 curve.
42 | public static let secp521r1 = EllipticCurve.p521
| |- warning: static property 'secp521r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'secp521r1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Checks if two Curves are equal, required for Equatable protocol.
[62/79] Compiling SwiftJWT NoneAlgorithm.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/JWTVerifier.swift:151:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'JWTVerifier' may have shared mutable state; this is an error in the Swift 6 language mode
43 | ```
44 | */
45 | public struct JWTVerifier {
| `- note: consider making struct 'JWTVerifier' conform to the 'Sendable' protocol
46 | let verifierAlgorithm: VerifierAlgorithm
47 |
:
149 |
150 | /// Initialize a JWTVerifier that will always return true when verifying the JWT. This is equivelent to using the "none" alg header.
151 | public static let none = JWTVerifier(verifierAlgorithm: NoneAlgorithm())
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'JWTVerifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:36:23: warning: static property 'prime256v1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
34 |
35 | /// A prime256v1 curve.
36 | public static let prime256v1 = EllipticCurve.p256
| |- warning: static property 'prime256v1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'prime256v1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// A secp384r1 curve.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:39:23: warning: static property 'secp384r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
37 |
38 | /// A secp384r1 curve.
39 | public static let secp384r1 = EllipticCurve.p384
| |- warning: static property 'secp384r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'secp384r1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// A secp521r1 curve.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:42:23: warning: static property 'secp521r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
40 |
41 | /// A secp521r1 curve.
42 | public static let secp521r1 = EllipticCurve.p521
| |- warning: static property 'secp521r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'secp521r1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Checks if two Curves are equal, required for Equatable protocol.
[63/79] Compiling SwiftJWT ValidateClaimsResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:28:23: warning: static property 'success' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
26 |
27 | /// Successful validation.
28 | public static let success = ValidateClaimsResult(description: "Success")
| |- warning: static property 'success' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'success' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Invalid Expiration claim.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:31:23: warning: static property 'invalidExpiration' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
29 |
30 | /// Invalid Expiration claim.
31 | public static let invalidExpiration = ValidateClaimsResult(description: "Invalid Expiration claim")
| |- warning: static property 'invalidExpiration' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidExpiration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Expired token: expiration time claim is in the past.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:34:23: warning: static property 'expired' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
32 |
33 | /// Expired token: expiration time claim is in the past.
34 | public static let expired = ValidateClaimsResult(description: "Expired token")
| |- warning: static property 'expired' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Invalid Not Before claim.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:37:23: warning: static property 'invalidNotBefore' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
35 |
36 | /// Invalid Not Before claim.
37 | public static let invalidNotBefore = ValidateClaimsResult(description: "Invalid Not Before claim")
| |- warning: static property 'invalidNotBefore' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidNotBefore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// Not Before claim is in the future.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:40:23: warning: static property 'notBefore' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
38 |
39 | /// Not Before claim is in the future.
40 | public static let notBefore = ValidateClaimsResult(description: "Token is not valid yet, Not Before claim is greater than the current time")
| |- warning: static property 'notBefore' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notBefore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// Invalid Issued At claim.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:43:23: warning: static property 'invalidIssuedAt' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
41 |
42 | /// Invalid Issued At claim.
43 | public static let invalidIssuedAt = ValidateClaimsResult(description: "Invalid Issued At claim")
| |- warning: static property 'invalidIssuedAt' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidIssuedAt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// Issued At claim is in the future.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:46:23: warning: static property 'issuedAt' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
44 |
45 | /// Issued At claim is in the future.
46 | public static let issuedAt = ValidateClaimsResult(description: "Issued At claim is greater than the current time")
| |- warning: static property 'issuedAt' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'issuedAt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// Check if two ValidateClaimsResults are equal. Required for the Equatable protocol
[64/79] Compiling SwiftJWT VerifierAlgorithm.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:28:23: warning: static property 'success' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
26 |
27 | /// Successful validation.
28 | public static let success = ValidateClaimsResult(description: "Success")
| |- warning: static property 'success' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'success' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Invalid Expiration claim.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:31:23: warning: static property 'invalidExpiration' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
29 |
30 | /// Invalid Expiration claim.
31 | public static let invalidExpiration = ValidateClaimsResult(description: "Invalid Expiration claim")
| |- warning: static property 'invalidExpiration' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidExpiration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Expired token: expiration time claim is in the past.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:34:23: warning: static property 'expired' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
32 |
33 | /// Expired token: expiration time claim is in the past.
34 | public static let expired = ValidateClaimsResult(description: "Expired token")
| |- warning: static property 'expired' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Invalid Not Before claim.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:37:23: warning: static property 'invalidNotBefore' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
35 |
36 | /// Invalid Not Before claim.
37 | public static let invalidNotBefore = ValidateClaimsResult(description: "Invalid Not Before claim")
| |- warning: static property 'invalidNotBefore' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidNotBefore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// Not Before claim is in the future.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:40:23: warning: static property 'notBefore' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
38 |
39 | /// Not Before claim is in the future.
40 | public static let notBefore = ValidateClaimsResult(description: "Token is not valid yet, Not Before claim is greater than the current time")
| |- warning: static property 'notBefore' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notBefore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// Invalid Issued At claim.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:43:23: warning: static property 'invalidIssuedAt' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
41 |
42 | /// Invalid Issued At claim.
43 | public static let invalidIssuedAt = ValidateClaimsResult(description: "Invalid Issued At claim")
| |- warning: static property 'invalidIssuedAt' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidIssuedAt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// Issued At claim is in the future.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:46:23: warning: static property 'issuedAt' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
44 |
45 | /// Issued At claim is in the future.
46 | public static let issuedAt = ValidateClaimsResult(description: "Issued At claim is greater than the current time")
| |- warning: static property 'issuedAt' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'issuedAt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// Check if two ValidateClaimsResults are equal. Required for the Equatable protocol
[65/79] Compiling SwiftJWT JWTError.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/JWTSigner.swift:145:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'JWTSigner' may have shared mutable state; this is an error in the Swift 6 language mode
50 | ```
51 | */
52 | public struct JWTSigner {
| `- note: consider making struct 'JWTSigner' conform to the 'Sendable' protocol
53 |
54 | /// The name of the algorithm that will be set in the "alg" header
:
143 |
144 | /// Initialize a JWTSigner that will not sign the JWT. This is equivelent to using the "none" alg header.
145 | public static let none = JWTSigner(name: "none", signerAlgorithm: NoneAlgorithm())
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'JWTSigner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | }
147 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:36:23: warning: static property 'prime256v1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
34 |
35 | /// A prime256v1 curve.
36 | public static let prime256v1 = EllipticCurve.p256
| |- warning: static property 'prime256v1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'prime256v1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// A secp384r1 curve.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:39:23: warning: static property 'secp384r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
37 |
38 | /// A secp384r1 curve.
39 | public static let secp384r1 = EllipticCurve.p384
| |- warning: static property 'secp384r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'secp384r1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// A secp521r1 curve.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:42:23: warning: static property 'secp521r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
40 |
41 | /// A secp521r1 curve.
42 | public static let secp521r1 = EllipticCurve.p521
| |- warning: static property 'secp521r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'secp521r1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Checks if two Curves are equal, required for Equatable protocol.
[66/79] Compiling SwiftJWT JWTSigner.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/JWTSigner.swift:145:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'JWTSigner' may have shared mutable state; this is an error in the Swift 6 language mode
50 | ```
51 | */
52 | public struct JWTSigner {
| `- note: consider making struct 'JWTSigner' conform to the 'Sendable' protocol
53 |
54 | /// The name of the algorithm that will be set in the "alg" header
:
143 |
144 | /// Initialize a JWTSigner that will not sign the JWT. This is equivelent to using the "none" alg header.
145 | public static let none = JWTSigner(name: "none", signerAlgorithm: NoneAlgorithm())
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'JWTSigner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | }
147 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:36:23: warning: static property 'prime256v1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
34 |
35 | /// A prime256v1 curve.
36 | public static let prime256v1 = EllipticCurve.p256
| |- warning: static property 'prime256v1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'prime256v1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// A secp384r1 curve.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:39:23: warning: static property 'secp384r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
37 |
38 | /// A secp384r1 curve.
39 | public static let secp384r1 = EllipticCurve.p384
| |- warning: static property 'secp384r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'secp384r1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// A secp521r1 curve.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BlueECC/Sources/CryptorECC/EllipticCurve.swift:42:23: warning: static property 'secp521r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// An extensible list of elliptic curves supported by this repository.
25 | @available(macOS 10.13, iOS 11, watchOS 4.0, tvOS 11.0, *)
26 | public struct EllipticCurve: Equatable, CustomStringConvertible {
| `- note: consider making struct 'EllipticCurve' conform to the 'Sendable' protocol
27 |
28 | private let internalRepresentation: InternalRepresentation
:
40 |
41 | /// A secp521r1 curve.
42 | public static let secp521r1 = EllipticCurve.p521
| |- warning: static property 'secp521r1' is not concurrency-safe because non-'Sendable' type 'EllipticCurve' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'secp521r1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Checks if two Curves are equal, required for Equatable protocol.
[67/79] Compiling SwiftJWT ClaimsMicroProfile.swift
[68/79] Compiling SwiftJWT ClaimsOpenID.swift
[69/79] Compiling SwiftJWT Header.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/JWTVerifier.swift:151:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'JWTVerifier' may have shared mutable state; this is an error in the Swift 6 language mode
43 | ```
44 | */
45 | public struct JWTVerifier {
| `- note: consider making struct 'JWTVerifier' conform to the 'Sendable' protocol
46 | let verifierAlgorithm: VerifierAlgorithm
47 |
:
149 |
150 | /// Initialize a JWTVerifier that will always return true when verifying the JWT. This is equivelent to using the "none" alg header.
151 | public static let none = JWTVerifier(verifierAlgorithm: NoneAlgorithm())
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'JWTVerifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:34:23: warning: static property 'expired' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
32 |
33 | /// Expired token: expiration time claim is in the past.
34 | public static let expired = ValidateClaimsResult(description: "Expired token")
| |- warning: static property 'expired' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Invalid Not Before claim.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:40:23: warning: static property 'notBefore' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
38 |
39 | /// Not Before claim is in the future.
40 | public static let notBefore = ValidateClaimsResult(description: "Token is not valid yet, Not Before claim is greater than the current time")
| |- warning: static property 'notBefore' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notBefore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// Invalid Issued At claim.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:46:23: warning: static property 'issuedAt' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
44 |
45 | /// Issued At claim is in the future.
46 | public static let issuedAt = ValidateClaimsResult(description: "Issued At claim is greater than the current time")
| |- warning: static property 'issuedAt' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'issuedAt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// Check if two ValidateClaimsResults are equal. Required for the Equatable protocol
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:28:23: warning: static property 'success' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
26 |
27 | /// Successful validation.
28 | public static let success = ValidateClaimsResult(description: "Success")
| |- warning: static property 'success' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'success' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Invalid Expiration claim.
[70/79] Compiling SwiftJWT JWT.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/JWTVerifier.swift:151:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'JWTVerifier' may have shared mutable state; this is an error in the Swift 6 language mode
43 | ```
44 | */
45 | public struct JWTVerifier {
| `- note: consider making struct 'JWTVerifier' conform to the 'Sendable' protocol
46 | let verifierAlgorithm: VerifierAlgorithm
47 |
:
149 |
150 | /// Initialize a JWTVerifier that will always return true when verifying the JWT. This is equivelent to using the "none" alg header.
151 | public static let none = JWTVerifier(verifierAlgorithm: NoneAlgorithm())
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'JWTVerifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:34:23: warning: static property 'expired' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
32 |
33 | /// Expired token: expiration time claim is in the past.
34 | public static let expired = ValidateClaimsResult(description: "Expired token")
| |- warning: static property 'expired' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Invalid Not Before claim.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:40:23: warning: static property 'notBefore' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
38 |
39 | /// Not Before claim is in the future.
40 | public static let notBefore = ValidateClaimsResult(description: "Token is not valid yet, Not Before claim is greater than the current time")
| |- warning: static property 'notBefore' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notBefore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// Invalid Issued At claim.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:46:23: warning: static property 'issuedAt' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
44 |
45 | /// Issued At claim is in the future.
46 | public static let issuedAt = ValidateClaimsResult(description: "Issued At claim is greater than the current time")
| |- warning: static property 'issuedAt' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'issuedAt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// Check if two ValidateClaimsResults are equal. Required for the Equatable protocol
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:28:23: warning: static property 'success' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
26 |
27 | /// Successful validation.
28 | public static let success = ValidateClaimsResult(description: "Success")
| |- warning: static property 'success' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'success' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Invalid Expiration claim.
[71/79] Emitting module SwiftJWT
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/JWTVerifier.swift:151:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'JWTVerifier' may have shared mutable state; this is an error in the Swift 6 language mode
43 | ```
44 | */
45 | public struct JWTVerifier {
| `- note: consider making struct 'JWTVerifier' conform to the 'Sendable' protocol
46 | let verifierAlgorithm: VerifierAlgorithm
47 |
:
149 |
150 | /// Initialize a JWTVerifier that will always return true when verifying the JWT. This is equivelent to using the "none" alg header.
151 | public static let none = JWTVerifier(verifierAlgorithm: NoneAlgorithm())
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'JWTVerifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/JWTSigner.swift:145:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'JWTSigner' may have shared mutable state; this is an error in the Swift 6 language mode
50 | ```
51 | */
52 | public struct JWTSigner {
| `- note: consider making struct 'JWTSigner' conform to the 'Sendable' protocol
53 |
54 | /// The name of the algorithm that will be set in the "alg" header
:
143 |
144 | /// Initialize a JWTSigner that will not sign the JWT. This is equivelent to using the "none" alg header.
145 | public static let none = JWTSigner(name: "none", signerAlgorithm: NoneAlgorithm())
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'JWTSigner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:28:23: warning: static property 'success' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
26 |
27 | /// Successful validation.
28 | public static let success = ValidateClaimsResult(description: "Success")
| |- warning: static property 'success' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'success' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Invalid Expiration claim.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:31:23: warning: static property 'invalidExpiration' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
29 |
30 | /// Invalid Expiration claim.
31 | public static let invalidExpiration = ValidateClaimsResult(description: "Invalid Expiration claim")
| |- warning: static property 'invalidExpiration' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidExpiration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Expired token: expiration time claim is in the past.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:34:23: warning: static property 'expired' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
32 |
33 | /// Expired token: expiration time claim is in the past.
34 | public static let expired = ValidateClaimsResult(description: "Expired token")
| |- warning: static property 'expired' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Invalid Not Before claim.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:37:23: warning: static property 'invalidNotBefore' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
35 |
36 | /// Invalid Not Before claim.
37 | public static let invalidNotBefore = ValidateClaimsResult(description: "Invalid Not Before claim")
| |- warning: static property 'invalidNotBefore' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidNotBefore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// Not Before claim is in the future.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:40:23: warning: static property 'notBefore' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
38 |
39 | /// Not Before claim is in the future.
40 | public static let notBefore = ValidateClaimsResult(description: "Token is not valid yet, Not Before claim is greater than the current time")
| |- warning: static property 'notBefore' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notBefore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// Invalid Issued At claim.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:43:23: warning: static property 'invalidIssuedAt' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
41 |
42 | /// Invalid Issued At claim.
43 | public static let invalidIssuedAt = ValidateClaimsResult(description: "Invalid Issued At claim")
| |- warning: static property 'invalidIssuedAt' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidIssuedAt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// Issued At claim is in the future.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJWT/ValidateClaimsResult.swift:46:23: warning: static property 'issuedAt' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// In case of successful validation, .success is returned, all other cases list various
21 | /// problems that may occur during claims validation and indicate that the validation failed.
22 | public struct ValidateClaimsResult: CustomStringConvertible, Equatable {
| `- note: consider making struct 'ValidateClaimsResult' conform to the 'Sendable' protocol
23 |
24 | /// The human readable description of the ValidateClaimsResult
:
44 |
45 | /// Issued At claim is in the future.
46 | public static let issuedAt = ValidateClaimsResult(description: "Issued At claim is greater than the current time")
| |- warning: static property 'issuedAt' is not concurrency-safe because non-'Sendable' type 'ValidateClaimsResult' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'issuedAt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// Check if two ValidateClaimsResults are equal. Required for the Equatable protocol
[72/79] Compiling SwiftJWT ClaimsStandardJWT.swift
[73/79] Compiling SwiftJWT Data+Base64URLEncoded.swift
[74/79] Compiling SwiftJWT JWTDecoder.swift
[75/79] Compiling SwiftJWT JWTEncoder.swift
[76/79] Compiling SwiftJWT BlueECDSA.swift
[77/79] Compiling SwiftJWT BlueHMAC.swift
[78/79] Compiling SwiftJWT BlueRSA.swift
[79/79] Compiling SwiftJWT Claims.swift
Build complete! (39.79s)
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/BlueECC.git
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/BlueRSA.git
Fetching https://github.com/Kitura/LoggerAPI.git
[1/1966] Fetching bluersa
[21/2737] Fetching bluersa, loggerapi
[158/3715] Fetching bluersa, loggerapi, blueecc
[406/6258] Fetching bluersa, loggerapi, blueecc, kituracontracts
[575/7910] Fetching bluersa, loggerapi, blueecc, kituracontracts, bluecryptor
Fetched https://github.com/Kitura/BlueRSA.git from cache (1.40s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (1.40s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (1.40s)
Fetched https://github.com/Kitura/BlueCryptor.git from cache (1.40s)
Fetched https://github.com/Kitura/BlueECC.git from cache (1.40s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 2.0.1 (0.66s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.65s)
Fetching https://github.com/apple/swift-log.git
[1/3361] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.25s)
Computing version for https://github.com/Kitura/BlueECC.git
Computed https://github.com/Kitura/BlueECC.git at 1.2.201 (0.66s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 2.0.2 (0.65s)
Computing version for https://github.com/Kitura/BlueRSA.git
Computed https://github.com/Kitura/BlueRSA.git at 1.0.201 (0.65s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.65s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
Creating working copy for https://github.com/Kitura/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 2.0.2
Creating working copy for https://github.com/Kitura/BlueECC.git
Working copy of https://github.com/Kitura/BlueECC.git resolved at 1.2.201
Creating working copy for https://github.com/Kitura/BlueRSA.git
Working copy of https://github.com/Kitura/BlueRSA.git resolved at 1.0.201
Creating working copy for https://github.com/Kitura/KituraContracts.git
Working copy of https://github.com/Kitura/KituraContracts.git resolved at 2.0.1
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.0.0
Build complete.
{
"dependencies" : [
{
"identity" : "bluersa",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.200",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/BlueRSA.git"
},
{
"identity" : "bluecryptor",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/BlueCryptor.git"
},
{
"identity" : "blueecc",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.200",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/BlueECC.git"
},
{
"identity" : "loggerapi",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/LoggerAPI.git"
},
{
"identity" : "kituracontracts",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/KituraContracts.git"
}
],
"manifest_display_name" : "SwiftJWT",
"name" : "SwiftJWT",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftJWT",
"targets" : [
"SwiftJWT"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftJWTTests",
"module_type" : "SwiftTarget",
"name" : "SwiftJWTTests",
"path" : "Tests/SwiftJWTTests",
"sources" : [
"TestJWT.swift"
],
"target_dependencies" : [
"SwiftJWT"
],
"type" : "test"
},
{
"c99name" : "SwiftJWT",
"module_type" : "SwiftTarget",
"name" : "SwiftJWT",
"path" : "Sources/SwiftJWT",
"product_dependencies" : [
"LoggerAPI",
"KituraContracts",
"CryptorRSA",
"Cryptor",
"CryptorECC"
],
"product_memberships" : [
"SwiftJWT"
],
"sources" : [
"BlueECDSA.swift",
"BlueHMAC.swift",
"BlueRSA.swift",
"Claims.swift",
"ClaimsExamples/ClaimsMicroProfile.swift",
"ClaimsExamples/ClaimsOpenID.swift",
"ClaimsExamples/ClaimsStandardJWT.swift",
"Data+Base64URLEncoded.swift",
"Header.swift",
"JWT.swift",
"JWTDecoder.swift",
"JWTEncoder.swift",
"JWTError.swift",
"JWTSigner.swift",
"JWTVerifier.swift",
"NoneAlgorithm.swift",
"RSAKeyType.swift",
"SignerAlgorithm.swift",
"ValidateClaimsResult.swift",
"VerifierAlgorithm.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.