Build Information
Successful build of SwiftAnthropic, reference main (b7d030), with Swift 6.0 for macOS (SPM) on 21 Apr 2026 05:51:42 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jamesrochabrun/SwiftAnthropic.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jamesrochabrun/SwiftAnthropic
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b7d030c Merge pull request #58 from jamesrochabrun/add-mit-license
Cloned https://github.com/jamesrochabrun/SwiftAnthropic.git
Revision (git rev-parse @):
b7d030cd7453f314c780f5492385f73d704cbd5d
SUCCESS checkout https://github.com/jamesrochabrun/SwiftAnthropic.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/jamesrochabrun/SwiftAnthropic.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/28] Emitting module SwiftAnthropic
/Users/admin/builder/spi-builder-workspace/Sources/Anthropic/Public/ResponseModels/Message/MessageResponse.swift:551:3: warning: 'public' modifier is redundant for enum declared in a public extension
549 | public extension MessageResponse.Content {
550 |
551 | public enum ToolResultContent: Codable {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
552 | case string(String)
553 | case items([ContentItem])
[4/30] Compiling SwiftAnthropic AnthropicServiceFactory.swift
[5/30] Compiling SwiftAnthropic DefaultAnthropicService.swift
[6/30] Compiling SwiftAnthropic TextCompletionResponse.swift
[7/30] Compiling SwiftAnthropic TextCompletionStreamResponse.swift
[8/30] Compiling SwiftAnthropic AIProxyCertificatePinning.swift
[9/30] Compiling SwiftAnthropic AIProxyService.swift
[10/30] Compiling SwiftAnthropic Endpoint+AIProxy.swift
[11/30] Compiling SwiftAnthropic ErrorResponse.swift
[12/30] Compiling SwiftAnthropic MessageInputTokens.swift
[13/30] Compiling SwiftAnthropic MessageResponse+DynamicContent.swift
[14/30] Compiling SwiftAnthropic JSONSchema.swift
[15/30] Compiling SwiftAnthropic MessageParameter+Web.swift
[16/30] Compiling SwiftAnthropic MessageParameter.swift
[17/30] Compiling SwiftAnthropic MessageResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Anthropic/Public/ResponseModels/Message/MessageResponse.swift:551:3: warning: 'public' modifier is redundant for enum declared in a public extension
549 | public extension MessageResponse.Content {
550 |
551 | public enum ToolResultContent: Codable {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
552 | case string(String)
553 | case items([ContentItem])
/Users/admin/builder/spi-builder-workspace/Sources/Anthropic/Public/ResponseModels/Message/MessageResponse.swift:618:12: warning: value 'encryptedContent' was defined but never used; consider replacing with boolean test
616 | }
617 |
618 | if let encryptedContent = self.encryptedContent {
| `- warning: value 'encryptedContent' was defined but never used; consider replacing with boolean test
619 | // Just indicate presence rather than showing the whole encrypted content
620 | result += " Encrypted Content: [Present]\n"
[18/30] Compiling SwiftAnthropic MessageStreamResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Anthropic/Public/ResponseModels/Message/MessageResponse.swift:551:3: warning: 'public' modifier is redundant for enum declared in a public extension
549 | public extension MessageResponse.Content {
550 |
551 | public enum ToolResultContent: Codable {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
552 | case string(String)
553 | case items([ContentItem])
/Users/admin/builder/spi-builder-workspace/Sources/Anthropic/Public/ResponseModels/Message/MessageResponse.swift:618:12: warning: value 'encryptedContent' was defined but never used; consider replacing with boolean test
616 | }
617 |
618 | if let encryptedContent = self.encryptedContent {
| `- warning: value 'encryptedContent' was defined but never used; consider replacing with boolean test
619 | // Just indicate presence rather than showing the whole encrypted content
620 | result += " Encrypted Content: [Present]\n"
[19/30] Compiling SwiftAnthropic SkillResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Anthropic/Public/ResponseModels/Message/MessageResponse.swift:551:3: warning: 'public' modifier is redundant for enum declared in a public extension
549 | public extension MessageResponse.Content {
550 |
551 | public enum ToolResultContent: Codable {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
552 | case string(String)
553 | case items([ContentItem])
/Users/admin/builder/spi-builder-workspace/Sources/Anthropic/Public/ResponseModels/Message/MessageResponse.swift:618:12: warning: value 'encryptedContent' was defined but never used; consider replacing with boolean test
616 | }
617 |
618 | if let encryptedContent = self.encryptedContent {
| `- warning: value 'encryptedContent' was defined but never used; consider replacing with boolean test
619 | // Just indicate presence rather than showing the whole encrypted content
620 | result += " Encrypted Content: [Present]\n"
[20/30] Compiling SwiftAnthropic StreamHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Anthropic/Service/AnthropicService.swift:350:11: warning: variable 'errorMessage' was never mutated; consider changing to 'let' constant
348 | }
349 | guard response.statusCode == 200 else {
350 | var errorMessage = "status code \(response.statusCode)"
| `- warning: variable 'errorMessage' was never mutated; consider changing to 'let' constant
351 | // Note: We can't easily collect error data from the stream here
352 | // This is a limitation we accept for now
[21/30] Compiling SwiftAnthropic AnthropicService.swift
/Users/admin/builder/spi-builder-workspace/Sources/Anthropic/Service/AnthropicService.swift:350:11: warning: variable 'errorMessage' was never mutated; consider changing to 'let' constant
348 | }
349 | guard response.statusCode == 200 else {
350 | var errorMessage = "status code \(response.statusCode)"
| `- warning: variable 'errorMessage' was never mutated; consider changing to 'let' constant
351 | // Note: We can't easily collect error data from the stream here
352 | // This is a limitation we accept for now
[22/30] Compiling SwiftAnthropic MessageTokenCountParameter.swift
[23/30] Compiling SwiftAnthropic SkillParameter.swift
[24/30] Compiling SwiftAnthropic TextCompletionParameter.swift
[25/30] Compiling SwiftAnthropic AnthropicAPI.swift
[26/30] Compiling SwiftAnthropic Endpoint.swift
[27/30] Compiling SwiftAnthropic AsyncHTTPClientAdapter.swift
[28/30] Compiling SwiftAnthropic HTTPClient.swift
[29/30] Compiling SwiftAnthropic URLSessionHTTPClientAdapter.swift
[30/30] Compiling SwiftAnthropic Model.swift
Build complete! (56.98s)
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio.git
[1/15703] Fetching async-http-client
[7382/98867] Fetching async-http-client, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (12.47s)
Fetched https://github.com/swift-server/async-http-client.git from cache (12.47s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.33.1 (0.49s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-log.git
[1/2843] Fetching swift-nio-transport-services
[30/8607] Fetching swift-nio-transport-services, swift-distributed-tracing
[345/10427] Fetching swift-nio-transport-services, swift-distributed-tracing, swift-atomics
[418/16485] Fetching swift-nio-transport-services, swift-distributed-tracing, swift-atomics, swift-algorithms
[1263/23120] Fetching swift-nio-transport-services, swift-distributed-tracing, swift-atomics, swift-algorithms, swift-log
[2106/29630] Fetching swift-nio-transport-services, swift-distributed-tracing, swift-atomics, swift-algorithms, swift-log, swift-nio-extras
[4186/41738] Fetching swift-nio-transport-services, swift-distributed-tracing, swift-atomics, swift-algorithms, swift-log, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (1.08s)
[24700/35680] Fetching swift-nio-transport-services, swift-distributed-tracing, swift-atomics, swift-log, swift-nio-extras, swift-nio-http2
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-atomics.git from cache (1.20s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.20s)
[18027/27350] Fetching swift-nio-transport-services, swift-distributed-tracing, swift-log, swift-nio-http2
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.60s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.60s)
Fetched https://github.com/apple/swift-log.git from cache (1.60s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.60s)
[1/15419] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.09s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (0.44s)
Fetching https://github.com/apple/swift-service-context.git
[1/1276] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.92s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.03s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.09s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.47s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.53s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.48s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.49s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.45s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.42.0 (0.46s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.1 (0.46s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.33.0 (0.50s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-types.git
[1/1803] Fetching swift-asn1
[164/8955] Fetching swift-asn1, swift-certificates
[236/11700] Fetching swift-asn1, swift-certificates, swift-service-lifecycle
[429/12743] Fetching swift-asn1, swift-certificates, swift-service-lifecycle, swift-http-types
[1418/18990] Fetching swift-asn1, swift-certificates, swift-service-lifecycle, swift-http-types, swift-async-algorithms
[5164/20232] Fetching swift-asn1, swift-certificates, swift-service-lifecycle, swift-http-types, swift-async-algorithms, swift-http-structured-headers
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.89s)
[9793/17487] Fetching swift-asn1, swift-certificates, swift-http-types, swift-async-algorithms, swift-http-structured-headers
Fetched https://github.com/apple/swift-certificates.git from cache (1.03s)
Fetched https://github.com/apple/swift-http-types.git from cache (1.06s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.06s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.06s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.06s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.46s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.46s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.55s)
Fetching https://github.com/apple/swift-collections.git
[1/23583] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.12s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (0.57s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.08s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (2.31s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.18.0 (0.56s)
Fetching https://github.com/apple/swift-crypto.git
[1/17436] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.87s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.44s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.48s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.57s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.3.1 (1.15s)
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.33.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.33.0
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.3
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.4.1
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.26.0
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.6.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.11.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.11.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.0
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.5.1
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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.18.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.3.1
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.36.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.42.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.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.97.1
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
Build complete.
{
"dependencies" : [
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.25.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/async-http-client.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.81.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
}
],
"manifest_display_name" : "SwiftAnthropic",
"name" : "SwiftAnthropic",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SwiftAnthropic",
"targets" : [
"SwiftAnthropic"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftAnthropicTests",
"module_type" : "SwiftTarget",
"name" : "SwiftAnthropicTests",
"path" : "Tests/SwiftAnthropicTests",
"sources" : [
"SwiftAnthropicTests.swift"
],
"target_dependencies" : [
"SwiftAnthropic"
],
"type" : "test"
},
{
"c99name" : "SwiftAnthropic",
"module_type" : "SwiftTarget",
"name" : "SwiftAnthropic",
"path" : "Sources/Anthropic",
"product_dependencies" : [
"AsyncHTTPClient",
"NIOFoundationCompat"
],
"product_memberships" : [
"SwiftAnthropic"
],
"sources" : [
"AIProxy/AIProxyCertificatePinning.swift",
"AIProxy/AIProxyService.swift",
"AIProxy/Endpoint+AIProxy.swift",
"Private/Network/AnthropicAPI.swift",
"Private/Network/Endpoint.swift",
"Private/Networking/AsyncHTTPClientAdapter.swift",
"Private/Networking/HTTPClient.swift",
"Private/Networking/URLSessionHTTPClientAdapter.swift",
"Public/Model.swift",
"Public/Parameters/Message/JSONSchema.swift",
"Public/Parameters/Message/MessageParameter+Web.swift",
"Public/Parameters/Message/MessageParameter.swift",
"Public/Parameters/Message/MessageTokenCountParameter.swift",
"Public/Parameters/Skill/SkillParameter.swift",
"Public/Parameters/TextCompletion/TextCompletionParameter.swift",
"Public/ResponseModels/ErrorResponse.swift",
"Public/ResponseModels/Message/MessageInputTokens.swift",
"Public/ResponseModels/Message/MessageResponse+DynamicContent.swift",
"Public/ResponseModels/Message/MessageResponse.swift",
"Public/ResponseModels/Message/MessageStreamResponse.swift",
"Public/ResponseModels/Skill/SkillResponse.swift",
"Public/ResponseModels/TextCompletion/TextCompletionResponse.swift",
"Public/ResponseModels/TextCompletion/TextCompletionStreamResponse.swift",
"Public/StreamHandler.swift",
"Service/AnthropicService.swift",
"Service/AnthropicServiceFactory.swift",
"Service/DefaultAnthropicService.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.