Build Information
Successful build of hcaptcha-swift, reference main (97989b), with Swift 6.1 for macOS (SPM) on 29 Mar 2026 19:41:50 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aronbudinszky/hcaptcha-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/aronbudinszky/hcaptcha-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 97989ba Convert to Swift test
Cloned https://github.com/aronbudinszky/hcaptcha-swift.git
Revision (git rev-parse @):
97989ba176f5236cda852575fe74e8458000e874
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/aronbudinszky/hcaptcha-swift.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/aronbudinszky/hcaptcha-swift.git
https://github.com/aronbudinszky/hcaptcha-swift.git
{
"dependencies" : [
],
"manifest_display_name" : "hcaptcha-swift",
"name" : "hcaptcha-swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "HCaptchaSwift",
"targets" : [
"HCaptchaSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HCaptchaSwiftTests",
"module_type" : "SwiftTarget",
"name" : "HCaptchaSwiftTests",
"path" : "Tests/HCaptchaSwiftTests",
"sources" : [
"HCaptchaSwiftTests.swift"
],
"target_dependencies" : [
"HCaptchaSwift"
],
"type" : "test"
},
{
"c99name" : "HCaptchaSwift",
"module_type" : "SwiftTarget",
"name" : "HCaptchaSwift",
"path" : "Sources/HCaptchaSwift",
"product_memberships" : [
"HCaptchaSwift"
],
"sources" : [
"Client.swift",
"Constants.swift",
"Extensions/URLSession+Async.swift",
"HCaptchaSwift.swift",
"Network/ApiClient.swift",
"Protocols/ApiRequestCommunicating.swift",
"Protocols/ErrorCodeReceiving.swift",
"Protocols/HCaptchaClientCompatible.swift",
"Protocols/RequestResponsePairing.swift",
"Requests/VerifyRequest.swift",
"Responses/ErrorCodes.swift",
"Responses/VerifyResponse.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
warning: 'spi-builder-workspace': the target name HCaptchaSwiftTests has different case on the filesystem and the Package.swift manifest file
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/14] Compiling HCaptchaSwift ApiClient.swift
[4/14] Compiling HCaptchaSwift HCaptchaClientCompatible.swift
[5/15] Compiling HCaptchaSwift ApiRequestCommunicating.swift
[6/15] Compiling HCaptchaSwift URLSession+Async.swift
[7/15] Compiling HCaptchaSwift HCaptchaSwift.swift
[8/15] Compiling HCaptchaSwift ErrorCodeReceiving.swift
[9/15] Compiling HCaptchaSwift ErrorCodes.swift
[10/15] Compiling HCaptchaSwift VerifyRequest.swift
[11/15] Compiling HCaptchaSwift RequestResponsePairing.swift
[12/15] Compiling HCaptchaSwift Client.swift
/Users/admin/builder/spi-builder-workspace/Sources/HCaptchaSwift/Client.swift:42:18: warning: associated value 'hCaptchaError(errors:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HCaptchaSwift.Client.ErrorCode'; this is an error in the Swift 6 language mode
40 | ///
41 | /// The enum-version of the returned hCaptcha error codes are passed in as an array via associated value.
42 | case hCaptchaError(errors: [ErrorCode])
| `- warning: associated value 'hCaptchaError(errors:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HCaptchaSwift.Client.ErrorCode'; this is an error in the Swift 6 language mode
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/HCaptchaSwift/Responses/ErrorCodes.swift:29:10: note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
27 | ///
28 | /// See API [documentation](https://docs.hcaptcha.com/#siteverify-error-codes-table)
29 | enum ErrorCode: String, Decodable {
| `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
30 |
31 | /// Your secret key is missing.
[13/15] Compiling HCaptchaSwift Constants.swift
/Users/admin/builder/spi-builder-workspace/Sources/HCaptchaSwift/Client.swift:42:18: warning: associated value 'hCaptchaError(errors:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HCaptchaSwift.Client.ErrorCode'; this is an error in the Swift 6 language mode
40 | ///
41 | /// The enum-version of the returned hCaptcha error codes are passed in as an array via associated value.
42 | case hCaptchaError(errors: [ErrorCode])
| `- warning: associated value 'hCaptchaError(errors:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HCaptchaSwift.Client.ErrorCode'; this is an error in the Swift 6 language mode
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/HCaptchaSwift/Responses/ErrorCodes.swift:29:10: note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
27 | ///
28 | /// See API [documentation](https://docs.hcaptcha.com/#siteverify-error-codes-table)
29 | enum ErrorCode: String, Decodable {
| `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
30 |
31 | /// Your secret key is missing.
[14/15] Emitting module HCaptchaSwift
/Users/admin/builder/spi-builder-workspace/Sources/HCaptchaSwift/Client.swift:42:18: warning: associated value 'hCaptchaError(errors:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HCaptchaSwift.Client.ErrorCode'; this is an error in the Swift 6 language mode
40 | ///
41 | /// The enum-version of the returned hCaptcha error codes are passed in as an array via associated value.
42 | case hCaptchaError(errors: [ErrorCode])
| `- warning: associated value 'hCaptchaError(errors:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HCaptchaSwift.Client.ErrorCode'; this is an error in the Swift 6 language mode
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/HCaptchaSwift/Responses/ErrorCodes.swift:29:10: note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
27 | ///
28 | /// See API [documentation](https://docs.hcaptcha.com/#siteverify-error-codes-table)
29 | enum ErrorCode: String, Decodable {
| `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
30 |
31 | /// Your secret key is missing.
[15/15] Compiling HCaptchaSwift VerifyResponse.swift
Build complete! (5.57s)
warning: 'spi-builder-workspace': the target name HCaptchaSwiftTests has different case on the filesystem and the Package.swift manifest file
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "hcaptcha-swift",
"name" : "hcaptcha-swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "HCaptchaSwift",
"targets" : [
"HCaptchaSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HCaptchaSwiftTests",
"module_type" : "SwiftTarget",
"name" : "HCaptchaSwiftTests",
"path" : "Tests/HCaptchaSwiftTests",
"sources" : [
"HCaptchaSwiftTests.swift"
],
"target_dependencies" : [
"HCaptchaSwift"
],
"type" : "test"
},
{
"c99name" : "HCaptchaSwift",
"module_type" : "SwiftTarget",
"name" : "HCaptchaSwift",
"path" : "Sources/HCaptchaSwift",
"product_memberships" : [
"HCaptchaSwift"
],
"sources" : [
"Client.swift",
"Constants.swift",
"Extensions/URLSession+Async.swift",
"HCaptchaSwift.swift",
"Network/ApiClient.swift",
"Protocols/ApiRequestCommunicating.swift",
"Protocols/ErrorCodeReceiving.swift",
"Protocols/HCaptchaClientCompatible.swift",
"Protocols/RequestResponsePairing.swift",
"Requests/VerifyRequest.swift",
"Responses/ErrorCodes.swift",
"Responses/VerifyResponse.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
warning: 'spi-builder-workspace': the target name HCaptchaSwiftTests has different case on the filesystem and the Package.swift manifest file
Done.