Build Information
Successful build of ClaudeCodeSDK, reference main (f626d1), with Swift 6.4 for macOS (SPM) on 23 Sep 2026 16:52:02 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jamesrochabrun/ClaudeCodeSDK.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jamesrochabrun/ClaudeCodeSDK
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f626d1d Add CLI parity with 21 new flags from Claude Code Agent SDK (#30)
Cloned https://github.com/jamesrochabrun/ClaudeCodeSDK.git
Revision (git rev-parse @):
f626d1d1eab3bf43a1eef2f70b2a493903f7e5e8
SUCCESS checkout https://github.com/jamesrochabrun/ClaudeCodeSDK.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/jamesrochabrun/ClaudeCodeSDK.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[41 / 67] ClaudeCodeSDK_ClaudeCodeSDK
[43 / 67]
[44 / 68] SwiftAnthropic
[54 / 117]
[59 / 117]
[63 / 117]
[64 / 117]
[68 / 117]
[70 / 117]
[73 / 117]
[77 / 117]
[79 / 117]
[80 / 117]
[93 / 117] SwiftAnthropic
[94 / 117] SwiftAnthropic
[102 / 118] ClaudeCodeSDK
[112 / 167]
[117 / 167]
[121 / 167]
[122 / 167]
[126 / 167]
[128 / 167]
[131 / 167]
[135 / 167]
[137 / 167]
[138 / 167]
[151 / 167] ClaudeCodeSDK
[160 / 168] ClaudeCodeSDK
[162 / 170] QuickTest-product
[164 / 170] ClaudeCodeSDK
[168 / 170] QuickTest-product
Build complete! (13.74 sec)
Fetching https://github.com/jamesrochabrun/SwiftAnthropic
[1/1332] Fetching swiftanthropic
Fetched https://github.com/jamesrochabrun/SwiftAnthropic (1.16s)
Computing version for https://github.com/jamesrochabrun/SwiftAnthropic
Computed https://github.com/jamesrochabrun/SwiftAnthropic at 2.2.0 (1.78s)
Fetching https://github.com/swift-server/async-http-client.git
[1/16209] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git (11.92s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.36.1 (12.55s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/3779] Fetching swift-configuration
[39/6642] Fetching swift-configuration, swift-nio-transport-services
[40/8517] Fetching swift-configuration, swift-nio-transport-services, swift-atomics
[59/16681] Fetching swift-configuration, swift-nio-transport-services, swift-atomics, swift-log
[439/22826] Fetching swift-configuration, swift-nio-transport-services, swift-atomics, swift-log, swift-algorithms
[534/29171] Fetching swift-configuration, swift-nio-transport-services, swift-atomics, swift-log, swift-algorithms, swift-distributed-tracing
[6924/30547] Fetching swift-configuration, swift-nio-transport-services, swift-atomics, swift-log, swift-algorithms, swift-distributed-tracing, swift-service-context
Fetched https://github.com/apple/swift-configuration.git (1.63s)
Fetched https://github.com/apple/swift-nio-transport-services.git (1.63s)
Fetched https://github.com/apple/swift-service-context.git (1.63s)
Fetched https://github.com/apple/swift-atomics.git (1.63s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-algorithms.git (1.69s)
Fetched https://github.com/apple/swift-log.git (1.69s)
Fetched https://github.com/apple/swift-distributed-tracing.git (1.69s)
[1/6690] Fetching swift-nio-extras
[2/18942] Fetching swift-nio-extras, swift-nio-http2
[3/35007] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl
[11353/121072] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (2.98s)
[64091/105007] Fetching swift-nio-extras, swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git (4.67s)
Fetched https://github.com/apple/swift-nio-http2.git (4.67s)
[62828/86065] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (9.22s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (11.48s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.70s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (1.84s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (2.42s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (2.33s)
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swift-server/swift-service-lifecycle
[1/2843] Fetching swift-service-lifecycle
[201/9759] Fetching swift-service-lifecycle, swift-system
[4159/37452] Fetching swift-service-lifecycle, swift-system, swift-collections
Fetched https://github.com/apple/swift-collections (2.99s)
Fetched https://github.com/swift-server/swift-service-lifecycle (2.99s)
Fetched https://github.com/apple/swift-system (2.99s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.58s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.55s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.65s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.66s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.12.0 (0.55s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6732] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (1.31s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (1.91s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.61s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.0 (0.64s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.55s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.58s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.56s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.72s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-types.git
[1/1983] Fetching swift-asn1
[41/3236] Fetching swift-asn1, swift-http-structured-headers
[560/10811] Fetching swift-asn1, swift-http-structured-headers, swift-certificates
[1272/12746] Fetching swift-asn1, swift-http-structured-headers, swift-certificates, swift-http-types
Fetched https://github.com/apple/swift-asn1.git (1.49s)
Fetched https://github.com/apple/swift-certificates.git (1.49s)
Fetched https://github.com/apple/swift-http-types.git (1.49s)
Fetched https://github.com/apple/swift-http-structured-headers.git (1.49s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (2.08s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.57s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.64s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.66s)
Fetching https://github.com/apple/swift-crypto.git
[1/18549] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (8.12s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (8.84s)
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/jamesrochabrun/SwiftAnthropic
Working copy of https://github.com/jamesrochabrun/SwiftAnthropic resolved at 2.2.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.5
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.12.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.36.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.5.0
/Users/admin/builder/spi-builder-workspace/Sources/ClaudeCodeSDK/Examples/ErrorHandlingExample.swift:141:5: [1;33mwarning: [1;39munstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
[0;36m139 |[0;0m
[0;36m140 |[0;0m // Start a long-running task
[0;36m141 |[0;0m Task {
[0;36m|[0;0m |- [1;33mwarning: [1;39munstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39mto silence this warning, handle the error inside the task, or store/discard the task value explicitly[0;0m
[0;36m142 |[0;0m do {
[0;36m143 |[0;0m let result = try await client.runSinglePrompt(
[#NoUseUnstructuredThrowingTask]: <https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task>
Build complete.
{
"dependencies" : [
{
"identity" : "swiftanthropic",
"requirement" : {
"exact" : [
"2.2.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/jamesrochabrun/SwiftAnthropic"
}
],
"manifest_display_name" : "ClaudeCodeSDK",
"name" : "ClaudeCodeSDK",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "ClaudeCodeSDK",
"targets" : [
"ClaudeCodeSDK"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "QuickTest",
"targets" : [
"QuickTest"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "QuickTest",
"module_type" : "SwiftTarget",
"name" : "QuickTest",
"path" : "Sources/QuickTest",
"product_memberships" : [
"QuickTest"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"ClaudeCodeSDK"
],
"type" : "executable"
},
{
"c99name" : "ClaudeCodeSDKTests",
"module_type" : "SwiftTarget",
"name" : "ClaudeCodeSDKTests",
"path" : "Tests/ClaudeCodeSDKTests",
"sources" : [
"BackendConfigurationTests.swift",
"BackendTests.swift",
"BasicClientTests.swift",
"CancellationTests.swift",
"ClaudeCodeSDKTests.swift",
"ErrorHandlingTests.swift",
"MCPConfigurationTests.swift",
"NodePathDetectorTests.swift",
"OptionsTests.swift",
"OutputFormatTests.swift",
"ProcessLaunchTests.swift",
"RateLimitingTests.swift",
"RetryLogicTests.swift",
"SDKWrapperTests.swift",
"ShellEscapingTests.swift"
],
"target_dependencies" : [
"ClaudeCodeSDK"
],
"type" : "test"
},
{
"c99name" : "ClaudeCodeSDK",
"module_type" : "SwiftTarget",
"name" : "ClaudeCodeSDK",
"path" : "Sources/ClaudeCodeSDK",
"product_dependencies" : [
"SwiftAnthropic"
],
"product_memberships" : [
"ClaudeCodeSDK",
"QuickTest"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ClaudeCodeSDK/Resources/sdk-wrapper.mjs",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"API/AbortController.swift",
"API/ApiKeySource.swift",
"API/AssistantMessage.swift",
"API/ClaudeCode.swift",
"API/ClaudeCodeConfiguration.swift",
"API/ClaudeCodeOptions.swift",
"API/ClaudeCodeOutputFormat.swift",
"API/ClaudeCodeResult.swift",
"API/ConfigScope.swift",
"API/ExecutedCommandInfo.swift",
"API/InitSystemMessage.swift",
"API/InputFormat.swift",
"API/McpServerConfig.swift",
"API/PermissionMode.swift",
"API/ResponseChunk.swift",
"API/ResultMessage.swift",
"API/SessionInfo.swift",
"API/SettingSource.swift",
"API/SubagentDefinition.swift",
"API/UserMessage.swift",
"Backend/AgentSDKBackend.swift",
"Backend/BackendFactory.swift",
"Backend/ClaudeCodeBackend.swift",
"Backend/HeadlessBackend.swift",
"ClaudeCodeSDK.swift",
"Client/ClaudeCodeClient.swift",
"Client/ClaudeCodeError.swift",
"Examples/ErrorHandlingExample.swift",
"Storage/ClaudeNativeSessionStorage.swift",
"Storage/ClaudeSessionModels.swift",
"Storage/ClaudeSessionProtocol.swift",
"Utilities/MCPToolFormatter.swift",
"Utilities/NodePathDetector.swift",
"Utilities/NvmPathDetector.swift",
"Utilities/RateLimiter.swift",
"Utilities/RetryPolicy.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.