Build Information
Failed to build proofofhuman, reference main (094208), with Swift 6.1 for macOS (SPM) on 13 Oct 2026 10:32:42 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/iamaihub/sdk-ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/iamaihub/sdk-ios
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 094208d docs: package URL follows the iamaihub org rename
Cloned https://github.com/iamaihub/sdk-ios.git
Revision (git rev-parse @):
094208d535ae2e277b4b5618e55a9283ce96df4f
SUCCESS checkout https://github.com/iamaihub/sdk-ios.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/iamaihub/sdk-ios.git
https://github.com/iamaihub/sdk-ios.git
{
"dependencies" : [
],
"manifest_display_name" : "proofofhuman",
"name" : "proofofhuman",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "POHKit",
"targets" : [
"POHKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "POHKitTests",
"module_type" : "SwiftTarget",
"name" : "POHKitTests",
"path" : "Tests/POHKitTests",
"sources" : [
"DAIChatCryptoTests.swift",
"DAIClientTests.swift",
"DAISigningTests.swift",
"MockSession.swift"
],
"target_dependencies" : [
"POHKit"
],
"type" : "test"
},
{
"c99name" : "POHKit",
"module_type" : "SwiftTarget",
"name" : "POHKit",
"path" : "Sources/POHKit",
"product_memberships" : [
"POHKit"
],
"sources" : [
"DAIChatCrypto.swift",
"DAIClient.swift",
"DAIError.swift",
"DAISigning.swift",
"Internal.swift",
"Models.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
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/9] Compiling POHKit Internal.swift
[4/9] Compiling POHKit DAIError.swift
/Users/admin/builder/spi-builder-workspace/Sources/POHKit/DAIError.swift:8:10: warning: associated value 'httpError(statusCode:message:body:)' of 'Sendable'-conforming enum 'DAIError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | /// HTTP non-2xx. `body` is the parsed JSON dictionary when available
7 | /// (e.g. 412 HF_DATASET_DOWNLOAD_REQUIRED with datasetId).
8 | case httpError(statusCode: Int, message: String, body: [String: Any]? = nil)
| `- warning: associated value 'httpError(statusCode:message:body:)' of 'Sendable'-conforming enum 'DAIError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
9 | case decodingError(Error)
10 | case requestTimeout
[5/9] Compiling POHKit Models.swift
/Users/admin/builder/spi-builder-workspace/Sources/POHKit/Models.swift:440:13: error: operator can throw but expression is not marked with 'try'
438 | type = try c.decodeIfPresent(String.self, forKey: .type)
439 | message = (try c.decodeIfPresent(String.self, forKey: .message))
440 | ?? (try c.decodeIfPresent(String.self, forKey: .reply))
| | `- note: call is to 'rethrows' function, but argument function can throw
| `- error: operator can throw but expression is not marked with 'try'
441 | ?? ""
442 | skill = try c.decodeIfPresent(String.self, forKey: .skill)
[6/9] Compiling POHKit DAISigning.swift
[7/9] Compiling POHKit DAIClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/POHKit/DAIClient.swift:401:12: error: initializer for conditional binding must have Optional type, not 'String'
399 | let route: ChatRouteResponse = try await requestAny("POST", path: "/chat/route", anyBody: routeBody)
400 | let freeTypes: Set<String> = ["cascade", "tasks", "dataset", "hf-model", "sequence"]
401 | if let t = route.type, freeTypes.contains(t) {
| `- error: initializer for conditional binding must have Optional type, not 'String'
402 | throw DAIError.httpError(
403 | statusCode: 422,
[8/9] Emitting module POHKit
/Users/admin/builder/spi-builder-workspace/Sources/POHKit/DAIError.swift:8:10: warning: associated value 'httpError(statusCode:message:body:)' of 'Sendable'-conforming enum 'DAIError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | /// HTTP non-2xx. `body` is the parsed JSON dictionary when available
7 | /// (e.g. 412 HF_DATASET_DOWNLOAD_REQUIRED with datasetId).
8 | case httpError(statusCode: Int, message: String, body: [String: Any]? = nil)
| `- warning: associated value 'httpError(statusCode:message:body:)' of 'Sendable'-conforming enum 'DAIError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
9 | case decodingError(Error)
10 | case requestTimeout
[9/9] Compiling POHKit DAIChatCrypto.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/8] Compiling POHKit Internal.swift
[3/8] Compiling POHKit DAISigning.swift
[4/8] Compiling POHKit Models.swift
/Users/admin/builder/spi-builder-workspace/Sources/POHKit/Models.swift:440:13: error: operator can throw but expression is not marked with 'try'
438 | type = try c.decodeIfPresent(String.self, forKey: .type)
439 | message = (try c.decodeIfPresent(String.self, forKey: .message))
440 | ?? (try c.decodeIfPresent(String.self, forKey: .reply))
| | `- note: call is to 'rethrows' function, but argument function can throw
| `- error: operator can throw but expression is not marked with 'try'
441 | ?? ""
442 | skill = try c.decodeIfPresent(String.self, forKey: .skill)
[5/8] Compiling POHKit DAIError.swift
[6/8] Compiling POHKit DAIChatCrypto.swift
[7/8] Emitting module POHKit
[8/8] Compiling POHKit DAIClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/POHKit/DAIClient.swift:401:12: error: initializer for conditional binding must have Optional type, not 'String'
399 | let route: ChatRouteResponse = try await requestAny("POST", path: "/chat/route", anyBody: routeBody)
400 | let freeTypes: Set<String> = ["cascade", "tasks", "dataset", "hf-model", "sequence"]
401 | if let t = route.type, freeTypes.contains(t) {
| `- error: initializer for conditional binding must have Optional type, not 'String'
402 | throw DAIError.httpError(
403 | statusCode: 422,
BUILD FAILURE 6.1 macosSpm