Build Information
Successful build of SwiftJWT, reference master (f68ec2
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 01:06:59 UTC.
Swift 6 data race errors: 9
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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
Fetching https://github.com/Kitura/BlueECC.git
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/Kitura/BlueRSA.git
[1/771] Fetching loggerapi
[71/1749] Fetching loggerapi, blueecc
[191/3726] Fetching loggerapi, blueecc, bluersa
[369/5378] Fetching loggerapi, blueecc, bluersa, bluecryptor
[667/7921] Fetching loggerapi, blueecc, bluersa, bluecryptor, kituracontracts
Fetched https://github.com/Kitura/BlueECC.git from cache (1.13s)
[4985/6943] Fetching loggerapi, bluersa, bluecryptor, kituracontracts
Fetched https://github.com/Kitura/KituraContracts.git from cache (1.39s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (1.39s)
Fetched https://github.com/Kitura/BlueCryptor.git from cache (1.39s)
Fetched https://github.com/Kitura/BlueRSA.git from cache (1.39s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 2.0.1 (0.75s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.66s)
Fetching https://github.com/apple/swift-log.git
[1/3660] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.13s)
Computing version for https://github.com/Kitura/BlueECC.git
Computed https://github.com/Kitura/BlueECC.git at 1.2.201 (0.76s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 2.0.2 (0.69s)
Computing version for https://github.com/Kitura/BlueRSA.git
Computed https://github.com/Kitura/BlueRSA.git at 1.0.201 (0.68s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.52s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
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/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 2.0.2
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.0.0
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/BlueRSA.git
Working copy of https://github.com/Kitura/BlueRSA.git resolved at 1.0.201
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-jwt",
"name": "SwiftJWT",
"url": "https://github.com/Kitura/Swift-JWT.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Swift-JWT",
"dependencies": [
{
"identity": "bluersa",
"name": "CryptorRSA",
"url": "https://github.com/Kitura/BlueRSA.git",
"version": "1.0.201",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlueRSA",
"dependencies": [
]
},
{
"identity": "bluecryptor",
"name": "Cryptor",
"url": "https://github.com/Kitura/BlueCryptor.git",
"version": "2.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlueCryptor",
"dependencies": [
]
},
{
"identity": "blueecc",
"name": "CryptorECC",
"url": "https://github.com/Kitura/BlueECC.git",
"version": "1.2.201",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlueECC",
"dependencies": [
]
},
{
"identity": "loggerapi",
"name": "LoggerAPI",
"url": "https://github.com/Kitura/LoggerAPI.git",
"version": "2.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LoggerAPI",
"dependencies": [
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.6.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
}
]
},
{
"identity": "kituracontracts",
"name": "KituraContracts",
"url": "https://github.com/Kitura/KituraContracts.git",
"version": "2.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/KituraContracts",
"dependencies": [
{
"identity": "loggerapi",
"name": "LoggerAPI",
"url": "https://github.com/Kitura/LoggerAPI.git",
"version": "2.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LoggerAPI",
"dependencies": [
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.6.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
}
]
}
]
}
]
}
]
}
Fetching https://github.com/Kitura/Swift-JWT.git
[1/1579] Fetching swift-jwt
Fetched https://github.com/Kitura/Swift-JWT.git from cache (1.14s)
Fetching https://github.com/Kitura/LoggerAPI.git from cache
Fetching https://github.com/Kitura/BlueCryptor.git from cache
Fetching https://github.com/Kitura/BlueECC.git from cache
Fetching https://github.com/Kitura/BlueRSA.git from cache
Fetching https://github.com/Kitura/KituraContracts.git from cache
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.51s)
Fetched https://github.com/Kitura/BlueRSA.git from cache (0.51s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.51s)
Fetched https://github.com/Kitura/BlueECC.git from cache (0.54s)
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.54s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 2.0.1 (0.02s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.02s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.57s)
Computing version for https://github.com/Kitura/BlueECC.git
Computed https://github.com/Kitura/BlueECC.git at 1.2.201 (0.03s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 2.0.2 (0.02s)
Computing version for https://github.com/Kitura/BlueRSA.git
Computed https://github.com/Kitura/BlueRSA.git at 1.0.201 (0.04s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.03s)
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/Swift-JWT.git
Working copy of https://github.com/Kitura/Swift-JWT.git resolved at master (f68ec28)
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/BlueECC.git
Working copy of https://github.com/Kitura/BlueECC.git resolved at 1.2.201
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.0.0
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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
warning: '.resolve-product-dependencies': dependency 'swift-jwt' is not used by any target
Found 5 product dependencies
- CryptorRSA
- Cryptor
- CryptorECC
- LoggerAPI
- KituraContracts
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/Kitura/Swift-JWT.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.txt
[9/44] Compiling Logging LogHandler.swift
[10/44] Compiling Logging MetadataProvider.swift
[11/44] Emitting module Logging
[12/44] Compiling Logging Locks.swift
[13/44] Compiling Logging Logging.swift
[14/46] Emitting module LoggerAPI
[15/46] Compiling CryptorRSA SSLPointerTricks.swift
[16/46] Compiling Cryptor SSLPointerTricks.swift
[17/47] Compiling LoggerAPI Logger.swift
[18/57] Compiling CryptorRSA Data+Extensions.swift
[19/57] Compiling CryptorECC ECSignable.swift
[20/58] Compiling CryptorECC EllipticCurve.swift
[21/58] Compiling KituraContracts BodyDecoder.swift
[22/58] Emitting module CryptorECC
[23/58] Compiling CryptorECC SSLPointerTricks.swift
[24/58] Compiling CryptorECC ASN1.swift
[25/58] Compiling CryptorECC Data+Extensions.swift
[26/58] Compiling CryptorECC ECDecryptable.swift
[27/58] Compiling CryptorECC ECEncryptable.swift
[28/58] Compiling Cryptor Digest.swift
[31/58] Emitting module Cryptor
[32/58] Compiling CryptorECC ECSignature.swift
[33/58] Compiling Cryptor Updatable.swift
[34/58] Compiling Cryptor Random.swift
[35/58] Compiling CryptorECC ECError.swift
[36/58] Compiling CryptorRSA CryptorRSAUtilities.swift
[37/58] Compiling Cryptor StreamCryptor.swift
[38/58] Compiling CryptorECC ECPrivateKey.swift
[39/58] Compiling CryptorECC ECPublicKey.swift
[40/58] Compiling Cryptor Status.swift
[41/58] Compiling Cryptor HMAC.swift
[42/58] Compiling Cryptor KeyDerivation.swift
[43/58] Compiling CryptorRSA CryptorRSAErrors.swift
[44/58] Compiling CryptorRSA CryptorRSADigest.swift
[45/58] Compiling CryptorRSA CryptorRSA.swift
[46/58] Emitting module CryptorRSA
[47/58] Compiling CryptorRSA CryptorRSAKey.swift
[48/58] Compiling CryptorRSA CryptorRSAConstants.swift
[49/58] Compiling Cryptor Utilities.swift
[50/58] Compiling KituraContracts BodyFormat.swift
[51/58] Compiling KituraContracts BodyEncoder.swift
[52/58] Compiling KituraContracts ClosureAliases.swift
[53/58] Emitting module KituraContracts
[54/58] Compiling KituraContracts QueryDecoder.swift
[55/58] Compiling KituraContracts Contracts.swift
[56/58] Compiling KituraContracts Coder.swift
[57/58] Compiling KituraContracts QueryEncoder.swift
[58/58] Compiling KituraContracts Extensions.swift
[59/77] Compiling SwiftJWT RSAKeyType.swift
[60/77] Compiling SwiftJWT SignerAlgorithm.swift
[61/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
[62/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
[63/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 |
[64/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 |
[65/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 |
[66/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 |
[67/79] Compiling SwiftJWT ClaimsStandardJWT.swift
[68/79] Compiling SwiftJWT Data+Base64URLEncoded.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] Compiling SwiftJWT JWTDecoder.swift
[72/79] Compiling SwiftJWT JWTEncoder.swift
[73/79] Compiling SwiftJWT BlueRSA.swift
[74/79] Compiling SwiftJWT Claims.swift
[75/79] Compiling SwiftJWT BlueECDSA.swift
[76/79] Compiling SwiftJWT BlueHMAC.swift
[77/79] Compiling SwiftJWT ClaimsMicroProfile.swift
[78/79] Compiling SwiftJWT ClaimsOpenID.swift
[79/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
Build complete! (37.45s)
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.