The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AnthropicKit, reference 1.0.1 (90d8e1), with Swift 6.3 for Linux on 16 Apr 2026 13:10:20 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/guitaripod/AnthropicKit.git
Reference: 1.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/guitaripod/AnthropicKit
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 90d8e17 Improve docs
Cloned https://github.com/guitaripod/AnthropicKit.git
Revision (git rev-parse @):
90d8e1779a003615a3729f6b5132b311c018c0a6
SUCCESS checkout https://github.com/guitaripod/AnthropicKit.git at 1.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/guitaripod/AnthropicKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2277] Fetching swift-docc-plugin
[229/19800] Fetching swift-docc-plugin, swift-argument-parser
Fetched https://github.com/apple/swift-docc-plugin from cache (1.07s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.08s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (3.56s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.41s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.98s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.49s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.1
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/15] Write sources
[8/15] Write swift-version-24593BA9C3E375BF.txt
[10/32] Emitting module ArgumentParserToolInfo
[11/32] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/33] Wrapping AST for ArgumentParserToolInfo for debugging
[14/79] Compiling ArgumentParser ParentCommand.swift
[15/79] Compiling ArgumentParser AsyncParsableCommand.swift
[16/79] Compiling ArgumentParser CommandConfiguration.swift
[17/79] Compiling ArgumentParser CommandGroup.swift
[18/79] Compiling ArgumentParser EnumerableFlag.swift
[19/79] Compiling ArgumentParser ExpressibleByArgument.swift
[20/79] Compiling ArgumentParser ParsableArguments.swift
[21/85] Compiling ArgumentParser Argument.swift
[22/85] Compiling ArgumentParser ArgumentDiscussion.swift
[23/86] Compiling ArgumentParser BashCompletionsGenerator.swift
[24/86] Compiling ArgumentParser CompletionsGenerator.swift
[25/86] Compiling AnthropicKit URLSessionHTTPClient.swift
[26/86] Compiling ArgumentParser ArgumentHelp.swift
[28/86] Compiling ArgumentParser ArgumentVisibility.swift
[29/86] Compiling ArgumentParser CompletionKind.swift
[30/86] Compiling ArgumentParser Errors.swift
[31/86] Compiling ArgumentParser Flag.swift
[32/86] Compiling ArgumentParser NameSpecification.swift
[33/86] Compiling ArgumentParser Option.swift
[34/86] Compiling ArgumentParser OptionGroup.swift
[35/86] Compiling ArgumentParser FishCompletionsGenerator.swift
[36/86] Compiling ArgumentParser ZshCompletionsGenerator.swift
[37/86] Emitting module AnthropicKit
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/CURLHTTPClient.swift:15:13: warning: mutation of captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 13 |
 14 |         let task = URLSession.shared.dataTask(with: request) { data, response, error in
 15 |             resultData = data
    |             `- warning: mutation of captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 16 |             resultResponse = response
 17 |             resultError = error
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/CURLHTTPClient.swift:16:13: warning: mutation of captured var 'resultResponse' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 14 |         let task = URLSession.shared.dataTask(with: request) { data, response, error in
 15 |             resultData = data
 16 |             resultResponse = response
    |             `- warning: mutation of captured var 'resultResponse' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 17 |             resultError = error
 18 |             semaphore.signal()
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/CURLHTTPClient.swift:17:13: warning: mutation of captured var 'resultError' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 15 |             resultData = data
 16 |             resultResponse = response
 17 |             resultError = error
    |             `- warning: mutation of captured var 'resultError' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 18 |             semaphore.signal()
 19 |         }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/CURLHTTPClient.swift:15:13: warning: mutation of captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 13 |
 14 |         let task = URLSession.shared.dataTask(with: request) { data, response, error in
 15 |             resultData = data
    |             `- warning: mutation of captured var 'resultData' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 16 |             resultResponse = response
 17 |             resultError = error
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/CURLHTTPClient.swift:16:13: warning: mutation of captured var 'resultResponse' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 14 |         let task = URLSession.shared.dataTask(with: request) { data, response, error in
 15 |             resultData = data
 16 |             resultResponse = response
    |             `- warning: mutation of captured var 'resultResponse' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 17 |             resultError = error
 18 |             semaphore.signal()
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/CURLHTTPClient.swift:17:13: warning: mutation of captured var 'resultError' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 15 |             resultData = data
 16 |             resultResponse = response
 17 |             resultError = error
    |             `- warning: mutation of captured var 'resultError' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 18 |             semaphore.signal()
 19 |         }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[45/87] Emitting module ArgumentParser
[52/87] Wrapping AST for AnthropicKit for debugging
[54/87] Compiling ArgumentParser Tree.swift
[55/87] Compiling ArgumentParser CodingKeyValidator.swift
[56/87] Compiling ArgumentParser NonsenseFlagsValidator.swift
[57/87] Compiling ArgumentParser ParsableArgumentsValidation.swift
[58/87] Compiling ArgumentParser PositionalArgumentsValidator.swift
[59/87] Compiling ArgumentParser UniqueNamesValidator.swift
[60/87] Compiling ArgumentParser InputOrigin.swift
[61/87] Compiling ArgumentParser Name.swift
[62/87] Compiling ArgumentParser Parsed.swift
[63/87] Compiling ArgumentParser ParsedValues.swift
[64/87] Compiling ArgumentParser ParserError.swift
[65/87] Compiling ArgumentParser SplitArguments.swift
[66/87] Compiling ArgumentParser DumpHelpGenerator.swift
[67/87] Compiling ArgumentParser HelpCommand.swift
[68/87] Compiling ArgumentParser HelpGenerator.swift
[69/87] Compiling ArgumentParser MessageInfo.swift
[70/87] Compiling ArgumentParser UsageGenerator.swift
[71/87] Compiling ArgumentParser CollectionExtensions.swift
[72/87] Compiling ArgumentParser ParsableCommand.swift
[73/87] Compiling ArgumentParser ArgumentDecoder.swift
[74/87] Compiling ArgumentParser ArgumentDefinition.swift
[75/87] Compiling ArgumentParser ArgumentSet.swift
[76/87] Compiling ArgumentParser CommandParser.swift
[77/87] Compiling ArgumentParser InputKey.swift
[78/87] Compiling ArgumentParser Foundation.swift
[79/87] Compiling ArgumentParser Mutex.swift
[80/87] Compiling ArgumentParser Platform.swift
[81/87] Compiling ArgumentParser SequenceExtensions.swift
[82/87] Compiling ArgumentParser StringExtensions.swift
[83/87] Compiling ArgumentParser SwiftExtensions.swift
[84/88] Wrapping AST for ArgumentParser for debugging
[86/90] Compiling AnthropicKitCLI main.swift
/host/spi-builder-workspace/Sources/AnthropicKitCLI/main.swift:133:13: warning: default will never be executed
131 |                 // Ignore these events for cleaner output
132 |                 break
133 |             default:
    |             `- warning: default will never be executed
134 |                 // Ignore other events
135 |                 break
[87/90] Emitting module AnthropicKitCLI
[88/91] Wrapping AST for AnthropicKitCLI for debugging
[89/91] Write Objects.LinkFileList
[90/91] Linking anthropic-cli
Build complete! (50.41s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "AnthropicKit",
  "name" : "AnthropicKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "AnthropicKit",
      "targets" : [
        "AnthropicKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "anthropic-cli",
      "targets" : [
        "AnthropicKitCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AnthropicKitTests",
      "module_type" : "SwiftTarget",
      "name" : "AnthropicKitTests",
      "path" : "Tests/AnthropicKitTests",
      "sources" : [
        "APIConfigurationTests.swift",
        "ErrorTests.swift",
        "MessageRequestTests.swift",
        "MessageTests.swift",
        "StreamEventParserTests.swift"
      ],
      "target_dependencies" : [
        "AnthropicKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AnthropicKitIntegrationTests",
      "module_type" : "SwiftTarget",
      "name" : "AnthropicKitIntegrationTests",
      "path" : "Tests/AnthropicKitIntegrationTests",
      "sources" : [
        "IntegrationTests.swift"
      ],
      "target_dependencies" : [
        "AnthropicKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AnthropicKitCLI",
      "module_type" : "SwiftTarget",
      "name" : "AnthropicKitCLI",
      "path" : "Sources/AnthropicKitCLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "anthropic-cli"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "AnthropicKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "AnthropicKit",
      "module_type" : "SwiftTarget",
      "name" : "AnthropicKit",
      "path" : "Sources/AnthropicKit",
      "product_memberships" : [
        "AnthropicKit",
        "anthropic-cli"
      ],
      "sources" : [
        "API/APIConfiguration.swift",
        "API/APIProtocol.swift",
        "API/AnthropicAPI.swift",
        "Models/APIError.swift",
        "Models/Batch.swift",
        "Models/File.swift",
        "Models/Message.swift",
        "Models/MessageRequest.swift",
        "Models/MessageResponse.swift",
        "Models/Model.swift",
        "Models/Organization.swift",
        "Networking/CURLHTTPClient.swift",
        "Networking/HTTPClient.swift",
        "Networking/StreamEventParser.swift",
        "Networking/URLSessionHTTPClient.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Done.