The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftAnthropic, reference 2.2.2 (b7d030), with Swift 6.4 for macOS (SPM) on 24 Sep 2026 21:29:15 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jamesrochabrun/SwiftAnthropic.git
Reference: 2.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jamesrochabrun/SwiftAnthropic
 * tag               2.2.2      -> FETCH_HEAD
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 2.2.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/jamesrochabrun/SwiftAnthropic.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]
[19 / 28]
[20 / 29] SwiftAnthropic
[30 / 78]
[35 / 78]
[39 / 78]
[40 / 78]
[44 / 78]
[46 / 78]
[49 / 78]
[53 / 78]
[55 / 78]
[56 / 78]
[69 / 78] SwiftAnthropic
[70 / 78] SwiftAnthropic
Build complete! (9.25 sec)
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio.git
[1/86091] Fetching swift-nio
[2/102309] Fetching swift-nio, async-http-client
Fetched https://github.com/apple/swift-nio.git (18.86s)
Fetched https://github.com/swift-server/async-http-client.git (18.86s)
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 (19.54s)
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-algorithms.git
[1/1383] Fetching swift-service-context
[15/5162] Fetching swift-service-context, swift-configuration
[16/7043] Fetching swift-service-context, swift-configuration, swift-atomics
[110/13188] Fetching swift-service-context, swift-configuration, swift-atomics, swift-algorithms
[489/19878] Fetching swift-service-context, swift-configuration, swift-atomics, swift-algorithms, swift-nio-extras
[1635/32130] Fetching swift-service-context, swift-configuration, swift-atomics, swift-algorithms, swift-nio-extras, swift-nio-http2
[11148/38475] Fetching swift-service-context, swift-configuration, swift-atomics, swift-algorithms, swift-nio-extras, swift-nio-http2, swift-distributed-tracing
Fetched https://github.com/apple/swift-service-context.git (1.24s)
Fetched https://github.com/apple/swift-atomics.git (1.25s)
Fetched https://github.com/apple/swift-configuration.git (1.25s)
[13033/31432] Fetching swift-algorithms, swift-nio-extras, swift-nio-http2, swift-distributed-tracing
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-ssl.git
[31433/34295] Fetching swift-algorithms, swift-nio-extras, swift-nio-http2, swift-distributed-tracing, swift-nio-transport-services
Fetched https://github.com/apple/swift-algorithms.git (2.01s)
Fetched https://github.com/apple/swift-nio-http2.git (2.01s)
Fetched https://github.com/apple/swift-distributed-tracing.git (2.01s)
Fetched https://github.com/apple/swift-nio-extras.git (2.01s)
[2/11028] Fetching swift-nio-transport-services, swift-log
[570/27093] Fetching swift-nio-transport-services, swift-log, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git (1.14s)
[3828/24230] Fetching swift-log, swift-nio-ssl
Fetched https://github.com/apple/swift-log.git (2.46s)
Fetched https://github.com/apple/swift-nio-ssl.git (2.46s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (4.35s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.67s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (4.66s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (5.24s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (2.18s)
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-collections
[1/2843] Fetching swift-service-lifecycle
[712/9759] Fetching swift-service-lifecycle, swift-system
[713/37461] Fetching swift-service-lifecycle, swift-system, swift-collections
Fetched https://github.com/swift-server/swift-service-lifecycle (1.23s)
[901/34618] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system (2.97s)
Fetched https://github.com/apple/swift-collections (2.97s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.56s)
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.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.68s)
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.58s)
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.53s)
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.38s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (1.98s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.6 (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.59s)
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-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-asn1.git
[1/1935] Fetching swift-http-types
[2/3918] Fetching swift-http-types, swift-asn1
[3919/11493] Fetching swift-http-types, swift-asn1, swift-certificates
[4298/12746] Fetching swift-http-types, swift-asn1, swift-certificates, swift-http-structured-headers
Fetched https://github.com/apple/swift-asn1.git (1.68s)
Fetched https://github.com/apple/swift-http-types.git (1.68s)
Fetched https://github.com/apple/swift-certificates.git (1.68s)
[1203/1253] Fetching swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git (1.75s)
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.35s)
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.58s)
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.69s)
Fetching https://github.com/apple/swift-crypto.git
[1/18549] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (3.28s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (4.01s)
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-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-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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.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/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.5.0
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-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
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-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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
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-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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.6
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/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/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-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-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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
/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: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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
616 |     }
617 |
618 |     if let encryptedContent = self.encryptedContent {
    |            `- warning: value 'encryptedContent' was defined but never used; consider replacing with boolean test [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
619 |       // Just indicate presence rather than showing the whole encrypted content
620 |       result += "  Encrypted Content: [Present]\n"
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/Users/admin/builder/spi-builder-workspace/Sources/Anthropic/Service/AnthropicService.swift:350:11: warning: variable 'errorMessage' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
351 |       // Note: We can't easily collect error data from the stream here
352 |       // This is a limitation we accept for now
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
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.