The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftAnthropic, reference main (b7d030), with Swift 6.4 for macOS (SPM) on 24 Sep 2026 21:28:54 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: 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.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.32 sec)
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio.git
[1/16218] Fetching async-http-client
[1461/102309] Fetching async-http-client, swift-nio
Fetched https://github.com/apple/swift-nio.git (8.56s)
Fetched https://github.com/swift-server/async-http-client.git (8.56s)
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 (9.24s)
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-log.git
[1/1383] Fetching swift-service-context
[15/5162] Fetching swift-service-context, swift-configuration
[53/7043] Fetching swift-service-context, swift-configuration, swift-atomics
[342/13733] Fetching swift-service-context, swift-configuration, swift-atomics, swift-nio-extras
[343/20078] Fetching swift-service-context, swift-configuration, swift-atomics, swift-nio-extras, swift-distributed-tracing
[344/28243] Fetching swift-service-context, swift-configuration, swift-atomics, swift-nio-extras, swift-distributed-tracing, swift-log
[400/31106] Fetching swift-service-context, swift-configuration, swift-atomics, swift-nio-extras, swift-distributed-tracing, swift-log, swift-nio-transport-services
Fetched https://github.com/apple/swift-service-context.git (1.10s)
[9529/29723] Fetching swift-configuration, swift-atomics, swift-nio-extras, swift-distributed-tracing, swift-log, swift-nio-transport-services
Fetching https://github.com/apple/swift-algorithms.git
Fetched https://github.com/apple/swift-nio-extras.git (1.44s)
Fetched https://github.com/apple/swift-nio-transport-services.git (1.46s)
Fetched https://github.com/apple/swift-distributed-tracing.git (1.46s)
Fetched https://github.com/apple/swift-log.git (1.47s)
Fetched https://github.com/apple/swift-atomics.git (1.47s)
Fetched https://github.com/apple/swift-configuration.git (1.47s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/6145] Fetching swift-algorithms
[5962/22210] Fetching swift-algorithms, swift-nio-ssl
[6147/34462] Fetching swift-algorithms, swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git (1.34s)
[124/28317] Fetching swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git (1.94s)
[7230/16065] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (2.64s)
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.76s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.74s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (1.76s)
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.45s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (2.30s)
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-system
[1/2843] Fetching swift-service-lifecycle
[115/9759] Fetching swift-service-lifecycle, swift-system
[2096/37461] Fetching swift-service-lifecycle, swift-system, swift-collections
Fetched https://github.com/apple/swift-system (3.17s)
Fetched https://github.com/swift-server/swift-service-lifecycle (3.17s)
Fetched https://github.com/apple/swift-collections (3.17s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.79s)
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.71s)
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.59s)
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.57s)
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.34s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (2.00s)
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.65s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.0 (0.66s)
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.58s)
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.62s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.62s)
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.77s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1253] Fetching swift-http-structured-headers
[52/3188] Fetching swift-http-structured-headers, swift-http-types
[130/10763] Fetching swift-http-structured-headers, swift-http-types, swift-certificates
[131/12746] Fetching swift-http-structured-headers, swift-http-types, swift-certificates, swift-asn1
Fetched https://github.com/apple/swift-certificates.git (1.41s)
Fetched https://github.com/apple/swift-http-types.git (1.41s)
Fetched https://github.com/apple/swift-asn1.git (1.41s)
Fetched https://github.com/apple/swift-http-structured-headers.git (1.41s)
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.05s)
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.60s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.66s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.70s)
Fetching https://github.com/apple/swift-crypto.git
[1/18549] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (13.66s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (14.43s)
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/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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.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-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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
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-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-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-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-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-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-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-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-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-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-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-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-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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
/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/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>
/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>
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.