Build Information
Successful build of SwiftJWT, reference master (29fe08
), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 12:50:22 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.2
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 29fe084 README: Update shields to refer to swift package index
Cloned https://github.com/Kitura/Swift-JWT.git
Revision (git rev-parse @):
29fe084d874045d22546612d85fae1e9408c9091
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Kitura/Swift-JWT.git at master
Fetching https://github.com/Kitura/KituraContracts.git
Fetching https://github.com/Kitura/BlueECC.git
Fetching https://github.com/Kitura/BlueRSA.git
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/LoggerAPI.git
[1/771] Fetching loggerapi
[55/2768] Fetching loggerapi, bluersa
[248/4408] Fetching loggerapi, bluersa, bluecryptor
[316/5429] Fetching loggerapi, bluersa, bluecryptor, blueecc
[763/7975] Fetching loggerapi, bluersa, bluecryptor, blueecc, kituracontracts
Fetched https://github.com/Kitura/BlueCryptor.git from cache (1.10s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (1.10s)
[3365/5564] Fetching bluersa, blueecc, kituracontracts
Fetched https://github.com/Kitura/BlueECC.git from cache (1.34s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (1.34s)
Fetched https://github.com/Kitura/BlueRSA.git from cache (1.34s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 2.0.1 (0.57s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.55s)
Fetching https://github.com/apple/swift-log.git
[1/3723] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.07s)
Computing version for https://github.com/Kitura/BlueRSA.git
Computed https://github.com/Kitura/BlueRSA.git at 1.0.202 (0.55s)
Computing version for https://github.com/Kitura/BlueECC.git
Computed https://github.com/Kitura/BlueECC.git at 1.2.201 (0.55s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 2.0.2 (0.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.49s)
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.202
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.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/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
========================================
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.202",
"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.2",
"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.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
}
]
}
]
}
]
}
]
}
Fetching https://github.com/Kitura/Swift-JWT.git
[1/1591] Fetching swift-jwt
Fetched https://github.com/Kitura/Swift-JWT.git from cache (3.72s)
Fetching https://github.com/Kitura/BlueECC.git from cache
Fetching https://github.com/Kitura/LoggerAPI.git from cache
Fetching https://github.com/Kitura/KituraContracts.git from cache
Fetching https://github.com/Kitura/BlueRSA.git from cache
Fetching https://github.com/Kitura/BlueCryptor.git from cache
Fetched https://github.com/Kitura/BlueRSA.git from cache (0.56s)
Fetched https://github.com/Kitura/BlueECC.git from cache (0.56s)
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.56s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.56s)
Fetched https://github.com/Kitura/KituraContracts.git from cache (0.56s)
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.46s)
Computing version for https://github.com/Kitura/BlueRSA.git
Computed https://github.com/Kitura/BlueRSA.git at 1.0.202 (0.03s)
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/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.02s)
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/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/Swift-JWT.git
Working copy of https://github.com/Kitura/Swift-JWT.git resolved at master (29fe084)
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.2
Creating working copy for https://github.com/Kitura/BlueRSA.git
Working copy of https://github.com/Kitura/BlueRSA.git resolved at 1.0.202
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
{
"dependencies" : [
{
"identity" : "bluersa",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.202",
"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"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version--7754E27361AE5C74.txt
[9/44] Emitting module Cryptor
[10/45] Compiling Logging LogHandler.swift
[11/45] Compiling Logging Locks.swift
[12/45] Emitting module Logging
[13/45] Compiling Logging MetadataProvider.swift
[14/45] Compiling Logging Logging.swift
[15/47] Compiling CryptorRSA SSLPointerTricks.swift
[16/47] Compiling CryptorRSA CryptorRSAErrors.swift
[17/47] Compiling CryptorRSA CryptorRSADigest.swift
[18/47] Compiling LoggerAPI Logger.swift
[19/47] Emitting module LoggerAPI
[20/57] Compiling CryptorRSA Data+Extensions.swift
[21/57] Compiling CryptorRSA CryptorRSAConstants.swift
[22/57] Compiling CryptorECC ECPrivateKey.swift
[23/57] Compiling CryptorECC ECError.swift
[24/58] Compiling Cryptor Updatable.swift
[25/58] Compiling Cryptor Status.swift
[26/58] Compiling Cryptor SSLPointerTricks.swift
[27/58] Compiling Cryptor Random.swift
[28/58] Compiling Cryptor KeyDerivation.swift
[29/58] Compiling Cryptor StreamCryptor.swift
[30/58] Compiling CryptorECC EllipticCurve.swift
[31/58] Compiling CryptorECC ECSignable.swift
[32/58] Compiling CryptorECC ECPublicKey.swift
[33/58] Compiling CryptorECC ECSignature.swift
[34/58] Compiling CryptorECC ECDecryptable.swift
[35/58] Compiling CryptorECC ASN1.swift
[36/58] Compiling CryptorECC Data+Extensions.swift
[37/58] Emitting module CryptorECC
[38/58] Compiling CryptorECC ECEncryptable.swift
[39/58] Compiling Cryptor HMAC.swift
[40/58] Compiling Cryptor Digest.swift
[43/58] Compiling CryptorRSA CryptorRSAKey.swift
[44/58] Compiling CryptorECC SSLPointerTricks.swift
[45/58] Compiling Cryptor Utilities.swift
[46/58] Emitting module CryptorRSA
[47/58] Compiling CryptorRSA CryptorRSA.swift
[48/58] Compiling CryptorRSA CryptorRSAUtilities.swift
[49/58] Compiling KituraContracts ClosureAliases.swift
[50/58] Compiling KituraContracts BodyEncoder.swift
[51/58] Compiling KituraContracts BodyFormat.swift
[52/58] Compiling KituraContracts Extensions.swift
[53/58] Compiling KituraContracts Coder.swift
[54/58] Compiling KituraContracts QueryDecoder.swift
[55/58] Compiling KituraContracts BodyDecoder.swift
[56/58] Emitting module KituraContracts
[57/58] Compiling KituraContracts QueryEncoder.swift
[58/58] Compiling KituraContracts Contracts.swift
[59/77] 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 |
[60/77] 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 |
[61/79] Compiling SwiftJWT ClaimsStandardJWT.swift
[62/79] Compiling SwiftJWT Data+Base64URLEncoded.swift
[63/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
[64/79] Compiling SwiftJWT ClaimsMicroProfile.swift
[65/79] Compiling SwiftJWT ClaimsOpenID.swift
[66/79] Compiling SwiftJWT BlueECDSA.swift
[67/79] Compiling SwiftJWT BlueHMAC.swift
[68/79] Compiling SwiftJWT RSAKeyType.swift
[69/79] Compiling SwiftJWT SignerAlgorithm.swift
[70/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 |
[71/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 |
[72/79] Compiling SwiftJWT BlueRSA.swift
[73/79] Compiling SwiftJWT Claims.swift
[74/79] Compiling SwiftJWT JWTDecoder.swift
[75/79] Compiling SwiftJWT JWTEncoder.swift
[76/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.
[77/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.
[78/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
[79/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
Build complete! (37.85s)
Build complete.
{
"dependencies" : [
{
"identity" : "bluersa",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.202",
"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"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/kitura/swift-jwt/master
Repository: Kitura/Swift-JWT
Swift version used: 6.0
Target: SwiftJWT
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
* branch 88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'SwiftJWT'...
Finished extracting symbol information for 'SwiftJWT'. (4.63s)
Building documentation for 'SwiftJWT'...
warning: Return value documented for initializer returning void
--> Sources/SwiftJWT/Header.swift:70:9-70:47
68 | /// - Parameter cty: The Content Type Header Parameter
69 | /// - Parameter crit: The Critical Header Parameter
70 + /// - Returns: A new instance of `Header`.
| ╰─suggestion: Remove return value documentation
71 | public init(
72 | typ: String? = "JWT",
warning: Return value documented for initializer returning void
--> Sources/SwiftJWT/JWT.swift:48:9-48:44
46 | /// - Parameter header: A JSON Web Token header object.
47 | /// - Parameter claims: A JSON Web Token claims object.
48 + /// - Returns: A new instance of `JWT`.
| ╰─suggestion: Remove return value documentation
49 | public init(header: Header = Header(), claims: T) {
50 | self.header = header
warning: Parameter 'jwt' not found in initializer declaration
--> Sources/SwiftJWT/JWT.swift:59:21-59:24
57 | /// If the string is not a valid JWT, or the verification fails, the initializer returns nil.
58 | ///
59 + /// - Parameter jwt: A String with the encoded and signed JWT.
| ╰─suggestion: Replace 'jwt' with 'jwtString'
60 | /// - Parameter verifier: The `JWTVerifier` used to verify the JWT.
61 | /// - Returns: An instance of `JWT` if the decoding succeeds.
warning: Parameter 'jwtString' is missing documentation
--> Sources/SwiftJWT/JWT.swift:60:72-60:72
58 | ///
59 | /// - Parameter jwt: A String with the encoded and signed JWT.
60 + /// - Parameter verifier: The `JWTVerifier` used to verify the JWT.
| ╰─suggestion: Document 'jwtString' parameter
61 | /// - Returns: An instance of `JWT` if the decoding succeeds.
62 | /// - Throws: `JWTError.invalidJWTString` if the provided String is not in the form mandated by the JWT specification.
warning: Return value documented for initializer returning void
--> Sources/SwiftJWT/JWT.swift:61:9-61:66
59 | /// - Parameter jwt: A String with the encoded and signed JWT.
60 | /// - Parameter verifier: The `JWTVerifier` used to verify the JWT.
61 + /// - Returns: An instance of `JWT` if the decoding succeeds.
| ╰─suggestion: Remove return value documentation
62 | /// - Throws: `JWTError.invalidJWTString` if the provided String is not in the form mandated by the JWT specification.
63 | /// - Throws: `JWTError.failedVerification` if the verifier fails to verify the jwtString.
warning: Parameter 'algorithm' not found in instance method declaration
--> Sources/SwiftJWT/JWT.swift:88:9-88:65
86 | /// - Note: This function will set header.alg field to the name of the signing algorithm.
87 | ///
88 + /// - Parameter using algorithm: The algorithm to sign with.
| ╰─suggestion: Remove 'algorithm' parameter documentation
89 | /// - Returns: A String with the encoded and signed JWT.
90 | /// - Throws: An EncodingError if the JSONEncoder throws an error while encoding the JWT.
warning: Parameter 'jwtSigner' is missing documentation
--> Sources/SwiftJWT/JWT.swift:88:65-88:65
86 | /// - Note: This function will set header.alg field to the name of the signing algorithm.
87 | ///
88 + /// - Parameter using algorithm: The algorithm to sign with.
| ╰─suggestion: Document 'jwtSigner' parameter
89 | /// - Returns: A String with the encoded and signed JWT.
90 | /// - Throws: An EncodingError if the JSONEncoder throws an error while encoding the JWT.
warning: Parameter 'algorithm' not found in type method declaration
--> Sources/SwiftJWT/JWT.swift:105:9-105:67
103 | ///
104 | /// - Parameter jwt: A String with the encoded and signed JWT.
105 + /// - Parameter using algorithm: The algorithm to verify with.
| ╰─suggestion: Remove 'algorithm' parameter documentation
106 | /// - Returns: A Bool indicating whether the verification was successful.
107 | public static func verify(_ jwt: String, using jwtVerifier: JWTVerifier) -> Bool {
warning: Parameter 'jwtVerifier' is missing documentation
--> Sources/SwiftJWT/JWT.swift:105:67-105:67
103 | ///
104 | /// - Parameter jwt: A String with the encoded and signed JWT.
105 + /// - Parameter using algorithm: The algorithm to verify with.
| ╰─suggestion: Document 'jwtVerifier' parameter
106 | /// - Returns: A Bool indicating whether the verification was successful.
107 | public static func verify(_ jwt: String, using jwtVerifier: JWTVerifier) -> Bool {
warning: Parameter 'JWTVerifier' not found in initializer declaration
--> Sources/SwiftJWT/JWTDecoder.swift:48:21-48:32
46 | /// Initialize a `JWTDecoder` instance with a single `JWTVerifier`.
47 | ///
48 + /// - Parameter JWTVerifier: The `JWTVerifier` that will be used to verify the signiture of the JWT.
| ╰─suggestion: Replace 'JWTVerifier' with 'jwtVerifier'
49 | /// - Returns: A new instance of `JWTDecoder`.
50 | public init(jwtVerifier: JWTVerifier) {
warning: Parameter 'jwtVerifier' is missing documentation
--> Sources/SwiftJWT/JWTDecoder.swift:48:105-48:105
46 | /// Initialize a `JWTDecoder` instance with a single `JWTVerifier`.
47 | ///
48 + /// - Parameter JWTVerifier: The `JWTVerifier` that will be used to verify the signiture of the JWT.
| ╰─suggestion: Document 'jwtVerifier' parameter
49 | /// - Returns: A new instance of `JWTDecoder`.
50 | public init(jwtVerifier: JWTVerifier) {
warning: Return value documented for initializer returning void
--> Sources/SwiftJWT/JWTDecoder.swift:49:9-49:51
47 | ///
48 | /// - Parameter JWTVerifier: The `JWTVerifier` that will be used to verify the signiture of the JWT.
49 + /// - Returns: A new instance of `JWTDecoder`.
| ╰─suggestion: Remove return value documentation
50 | public init(jwtVerifier: JWTVerifier) {
51 | self.keyIDToVerifier = {_ in return jwtVerifier }
warning: Return value documented for initializer returning void
--> Sources/SwiftJWT/JWTDecoder.swift:58:9-58:51
56 | ///
57 | /// - Parameter keyIDToVerifier: The function that will generate the `JWTVerifier` using the "kid" header.
58 + /// - Returns: A new instance of `JWTDecoder`.
| ╰─suggestion: Remove return value documentation
59 | public init(keyIDToVerifier: @escaping (String) -> JWTVerifier?) {
60 | self.keyIDToVerifier = keyIDToVerifier
warning: Return value documented for initializer returning void
--> Sources/SwiftJWT/JWTEncoder.swift:50:9-50:51
48 | ///
49 | /// - Parameter jwtSigner: The `JWTSigner` that will be used to sign the JWT.
50 + /// - Returns: A new instance of `JWTEncoder`.
| ╰─suggestion: Remove return value documentation
51 | public init(jwtSigner: JWTSigner) {
52 | self.keyIDToSigner = {_ in return jwtSigner }
warning: Return value documented for initializer returning void
--> Sources/SwiftJWT/JWTEncoder.swift:59:9-59:51
57 | ///
58 | /// - Parameter keyIDToSigner: The function to generate the `JWTSigner` from the JWT `kid` header.
59 + /// - Returns: A new instance of `JWTEncoder`.
| ╰─suggestion: Remove return value documentation
60 | public init(keyIDToSigner: @escaping (String) -> JWTSigner?) {
61 | self.keyIDToSigner = keyIDToSigner
warning: Parameter 'publicKey' not found in type method declaration
--> Sources/SwiftJWT/JWTVerifier.swift:75:9-75:99
73 |
74 | /// Initialize a JWTVerifier using the RSA 256 bits algorithm and the provided certificate.
75 + /// - Parameter publicKey: The UTF8 encoded PEM public key, with a "BEGIN CERTIFICATE" header.
| ╰─suggestion: Remove 'publicKey' parameter documentation
76 | public static func rs256(certificate: Data) -> JWTVerifier {
77 | return JWTVerifier(verifierAlgorithm: BlueRSA(key: certificate, keyType: .certificate, algorithm: .sha256))
warning: Parameter 'certificate' is missing documentation
--> Sources/SwiftJWT/JWTVerifier.swift:75:99-75:99
73 |
74 | /// Initialize a JWTVerifier using the RSA 256 bits algorithm and the provided certificate.
75 + /// - Parameter publicKey: The UTF8 encoded PEM public key, with a "BEGIN CERTIFICATE" header.
| ╰─suggestion: Document 'certificate' parameter
76 | public static func rs256(certificate: Data) -> JWTVerifier {
77 | return JWTVerifier(verifierAlgorithm: BlueRSA(key: certificate, keyType: .certificate, algorithm: .sha256))
warning: Parameter 'publicKey' not found in type method declaration
--> Sources/SwiftJWT/JWTVerifier.swift:81:9-81:99
79 |
80 | /// Initialize a JWTVerifier using the RSA 384 bits algorithm and the provided certificate.
81 + /// - Parameter publicKey: The UTF8 encoded PEM public key, with a "BEGIN CERTIFICATE" header.
| ╰─suggestion: Remove 'publicKey' parameter documentation
82 | public static func rs384(certificate: Data) -> JWTVerifier {
83 | return JWTVerifier(verifierAlgorithm: BlueRSA(key: certificate, keyType: .certificate, algorithm: .sha384))
warning: Parameter 'certificate' is missing documentation
--> Sources/SwiftJWT/JWTVerifier.swift:81:99-81:99
79 |
80 | /// Initialize a JWTVerifier using the RSA 384 bits algorithm and the provided certificate.
81 + /// - Parameter publicKey: The UTF8 encoded PEM public key, with a "BEGIN CERTIFICATE" header.
| ╰─suggestion: Document 'certificate' parameter
82 | public static func rs384(certificate: Data) -> JWTVerifier {
83 | return JWTVerifier(verifierAlgorithm: BlueRSA(key: certificate, keyType: .certificate, algorithm: .sha384))
warning: Parameter 'publicKey' not found in type method declaration
--> Sources/SwiftJWT/JWTVerifier.swift:87:9-87:99
85 |
86 | /// Initialize a JWTVerifier using the RSA 512 bits algorithm and the provided certificate.
87 + /// - Parameter publicKey: The UTF8 encoded PEM public key, with a "BEGIN CERTIFICATE" header.
| ╰─suggestion: Remove 'publicKey' parameter documentation
88 | public static func rs512(certificate: Data) -> JWTVerifier {
89 | return JWTVerifier(verifierAlgorithm: BlueRSA(key: certificate, keyType: .certificate, algorithm: .sha512))
warning: Parameter 'certificate' is missing documentation
--> Sources/SwiftJWT/JWTVerifier.swift:87:99-87:99
85 |
86 | /// Initialize a JWTVerifier using the RSA 512 bits algorithm and the provided certificate.
87 + /// - Parameter publicKey: The UTF8 encoded PEM public key, with a "BEGIN CERTIFICATE" header.
| ╰─suggestion: Document 'certificate' parameter
88 | public static func rs512(certificate: Data) -> JWTVerifier {
89 | return JWTVerifier(verifierAlgorithm: BlueRSA(key: certificate, keyType: .certificate, algorithm: .sha512))Finished building documentation for 'SwiftJWT' (0.15s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/kitura/swift-jwt/master
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/Kitura/BlueECC.git
Updating https://github.com/apple/swift-log.git
Updating https://github.com/Kitura/LoggerAPI.git
Updated https://github.com/Kitura/BlueECC.git (0.43s)
Updated https://github.com/Kitura/LoggerAPI.git (0.55s)
Updated https://github.com/apple/swift-log.git (0.55s)
[1/2044] Fetching swift-docc-plugin
Updating https://github.com/Kitura/BlueRSA.git
Updating https://github.com/Kitura/KituraContracts.git
Updating https://github.com/Kitura/BlueCryptor.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.31s)
Updated https://github.com/Kitura/KituraContracts.git (0.48s)
Updated https://github.com/Kitura/BlueCryptor.git (0.48s)
Updated https://github.com/Kitura/BlueRSA.git (0.48s)
Computing version for https://github.com/Kitura/KituraContracts.git
Computed https://github.com/Kitura/KituraContracts.git at 2.0.1 (0.56s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.53s)
Computing version for https://github.com/Kitura/BlueECC.git
Computed https://github.com/Kitura/BlueECC.git at 1.2.201 (0.56s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 2.0.2 (0.57s)
Computing version for https://github.com/Kitura/BlueRSA.git
Computed https://github.com/Kitura/BlueRSA.git at 1.0.202 (0.58s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.44s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.61s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3188] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.28s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.60s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit DeclarationFragments.swift
[7/53] Compiling SymbolKit Fragment.swift
[8/53] Compiling SymbolKit FragmentKind.swift
[9/53] Compiling SymbolKit FunctionParameter.swift
[10/53] Compiling SymbolKit FunctionSignature.swift
[11/57] Emitting module SymbolKit
[12/57] Compiling SymbolKit Mixin+Equals.swift
[13/57] Compiling SymbolKit Mixin+Hash.swift
[14/57] Compiling SymbolKit Mixin.swift
[15/57] Compiling SymbolKit LineList.swift
[16/57] Compiling SymbolKit Position.swift
[17/57] Compiling SymbolKit Identifier.swift
[18/57] Compiling SymbolKit KindIdentifier.swift
[19/57] Compiling SymbolKit Location.swift
[20/57] Compiling SymbolKit Mutability.swift
[21/57] Compiling SymbolKit SemanticVersion.swift
[22/57] Compiling SymbolKit AccessControl.swift
[23/57] Compiling SymbolKit Availability.swift
[24/57] Compiling SymbolKit AvailabilityItem.swift
[25/57] Compiling SymbolKit Domain.swift
[26/57] Compiling SymbolKit Relationship.swift
[27/57] Compiling SymbolKit RelationshipKind.swift
[28/57] Compiling SymbolKit SourceOrigin.swift
[29/57] Compiling SymbolKit GenericConstraints.swift
[30/57] Compiling SymbolKit Swift.swift
[31/57] Compiling SymbolKit SourceRange.swift
[32/57] Compiling SymbolKit Metadata.swift
[33/57] Compiling SymbolKit Module.swift
[34/57] Compiling SymbolKit OperatingSystem.swift
[35/57] Compiling SymbolKit Platform.swift
[36/57] Compiling SymbolKit Names.swift
[37/57] Compiling SymbolKit SPI.swift
[38/57] Compiling SymbolKit Snippet.swift
[39/57] Compiling SymbolKit Extension.swift
[40/57] Compiling SymbolKit GenericConstraint.swift
[41/57] Compiling SymbolKit GenericParameter.swift
[42/57] Compiling SymbolKit Generics.swift
[43/57] Compiling SymbolKit Namespace.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets Snippet.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets SnippetParser.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Emitting module snippet_extract
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.46s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/37] Compiling CryptorRSA SSLPointerTricks.swift
[3/37] Compiling CryptorRSA Data+Extensions.swift
[4/37] Compiling Cryptor Random.swift
[5/38] Compiling Cryptor Crypto.swift
[6/38] Compiling Cryptor Cryptor.swift
[7/39] Compiling Cryptor Updatable.swift
[8/39] Compiling Cryptor KeyDerivation.swift
[9/39] Compiling CryptorRSA CryptorRSAConstants.swift
[10/39] Compiling CryptorRSA CryptorRSADigest.swift
[11/39] Emitting module Cryptor
[12/39] Compiling Cryptor HMAC.swift
[15/39] Compiling Cryptor Digest.swift
[16/39] Emitting module CryptorRSA
[17/39] Compiling CryptorRSA CryptorRSA.swift
[18/39] Compiling CryptorECC ECSignature.swift
[19/39] Compiling CryptorECC ECSignable.swift
[20/39] Compiling CryptorECC EllipticCurve.swift
[21/39] Compiling CryptorECC ECPublicKey.swift
[22/39] Compiling Cryptor SSLPointerTricks.swift
[23/39] Compiling Cryptor Status.swift
[24/39] Compiling Cryptor StreamCryptor.swift
[25/39] Compiling CryptorRSA CryptorRSAUtilities.swift
[26/39] Compiling Logging LogHandler.swift
[27/39] Compiling Logging Locks.swift
[28/39] Emitting module Logging
[29/39] Compiling Logging Logging.swift
[30/39] Compiling Logging MetadataProvider.swift
[31/39] Compiling CryptorECC ECDecryptable.swift
[32/39] Compiling CryptorECC ECEncryptable.swift
[33/39] Compiling CryptorECC ECError.swift
[34/39] Compiling CryptorECC ECPrivateKey.swift
[35/39] Emitting module CryptorECC
[36/39] Compiling CryptorRSA CryptorRSAErrors.swift
[37/39] Compiling CryptorRSA CryptorRSAKey.swift
[38/39] Compiling CryptorECC SSLPointerTricks.swift
[39/39] Compiling Cryptor Utilities.swift
[40/41] Emitting module LoggerAPI
[41/41] Compiling LoggerAPI Logger.swift
[42/51] Compiling KituraContracts BodyDecoder.swift
[43/51] Compiling KituraContracts BodyEncoder.swift
[44/51] Emitting module KituraContracts
[45/51] Compiling KituraContracts QueryEncoder.swift
[46/51] Compiling KituraContracts QueryDecoder.swift
[47/51] Compiling KituraContracts Coder.swift
[48/51] Compiling KituraContracts Contracts.swift
[49/51] Compiling KituraContracts Extensions.swift
[50/51] Compiling KituraContracts BodyFormat.swift
[51/51] Compiling KituraContracts ClosureAliases.swift
[52/70] Compiling SwiftJWT RSAKeyType.swift
[53/70] Compiling SwiftJWT SignerAlgorithm.swift
[54/72] Compiling SwiftJWT ValidateClaimsResult.swift
[55/72] Compiling SwiftJWT VerifierAlgorithm.swift
[56/72] Compiling SwiftJWT JWTVerifier.swift
[57/72] Compiling SwiftJWT NoneAlgorithm.swift
[58/72] Compiling SwiftJWT Header.swift
[59/72] Compiling SwiftJWT JWT.swift
[60/72] Compiling SwiftJWT JWTError.swift
[61/72] Compiling SwiftJWT JWTSigner.swift
[62/72] Compiling SwiftJWT ClaimsStandardJWT.swift
[63/72] Compiling SwiftJWT Data+Base64URLEncoded.swift
[64/72] Compiling SwiftJWT ClaimsMicroProfile.swift
[65/72] Compiling SwiftJWT ClaimsOpenID.swift
[66/72] Emitting module SwiftJWT
[67/72] Compiling SwiftJWT BlueECDSA.swift
[68/72] Compiling SwiftJWT BlueHMAC.swift
[69/72] Compiling SwiftJWT JWTDecoder.swift
[70/72] Compiling SwiftJWT JWTEncoder.swift
[71/72] Compiling SwiftJWT BlueRSA.swift
[72/72] Compiling SwiftJWT Claims.swift
Build of target: 'SwiftJWT' complete! (2.74s)
404
4 /Users/admin/builder/spi-builder-workspace/.docs/kitura/swift-jwt/master
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/kitura/swift-jwt/master
File count: 404
Doc size: 4.0MB
Preparing doc bundle ...
Uploading prod-kitura-swift-jwt-master-dfaa2c01.zip to s3://spi-docs-inbox/prod-kitura-swift-jwt-master-dfaa2c01.zip
Copying... [17%]
Copying... [26%]
Copying... [35%]
Copying... [44%]
Copying... [52%]
Copying... [61%]
Copying... [78%]
Copying... [87%]
Copying... [96%]
Copying... [100%]
Done.