The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of AnthropicKit, reference 1.0.1 (90d8e1), with Swift 5.10 for Linux on 13 Jul 2025 11:22:55 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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:             5.10
Building package at path:  $PWD
https://github.com/guitaripod/AnthropicKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:c30bb8beee7254e839cc0142f4ae78578b8fc8e8159324cc3637097cc1b395b6
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser.git
[1/2094] Fetching swift-docc-plugin
[2095/17618] Fetching swift-docc-plugin, swift-argument-parser
Fetched https://github.com/apple/swift-docc-plugin from cache (0.84s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.85s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (1.10s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3425] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.60s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.43s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.90s)
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.6.1
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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
[1/1] Compiling plugin GenerateDoccReference
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin Swift-DocC
[4/4] Compiling plugin Swift-DocC Preview
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/77] Compiling ArgumentParser FishCompletionsGenerator.swift
[15/77] Compiling ArgumentParser ZshCompletionsGenerator.swift
[16/77] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:3:17: remark: '@preconcurrency' attribute on module 'FoundationNetworking' is unused
@preconcurrency import FoundationNetworking
~~~~~~~~~~~~~~~~^
[17/77] Compiling ArgumentParser OptionGroup.swift
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:3:17: remark: '@preconcurrency' attribute on module 'FoundationNetworking' is unused
@preconcurrency import FoundationNetworking
~~~~~~~~~~~~~~~~^
[18/78] Compiling ArgumentParser Argument.swift
[19/78] Compiling ArgumentParser ArgumentDiscussion.swift
[20/78] Compiling ArgumentParser ArgumentVisibility.swift
/host/spi-builder-workspace/Sources/AnthropicKit/API/APIConfiguration.swift:9:16: warning: stored property 'baseURL' of 'Sendable'-conforming struct 'APIConfiguration' has non-sendable type 'URL'
    public let baseURL: URL
               ^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
              ^
/host/spi-builder-workspace/Sources/AnthropicKit/API/APIConfiguration.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[21/78] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/Sources/AnthropicKit/API/APIConfiguration.swift:9:16: warning: stored property 'baseURL' of 'Sendable'-conforming struct 'APIConfiguration' has non-sendable type 'URL'
    public let baseURL: URL
               ^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
              ^
/host/spi-builder-workspace/Sources/AnthropicKit/API/APIConfiguration.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[22/78] Compiling ArgumentParser BashCompletionsGenerator.swift
[23/78] Compiling ArgumentParser CompletionsGenerator.swift
[24/78] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:75:17: warning: stored property 'encoder' of 'Sendable'-conforming class 'AnthropicAPI' has non-sendable type 'JSONEncoder'
    private let encoder: JSONEncoder
                ^
Foundation.JSONEncoder:1:12: note: class 'JSONEncoder' does not conform to the 'Sendable' protocol
open class JSONEncoder {
           ^
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:76:17: warning: stored property 'decoder' of 'Sendable'-conforming class 'AnthropicAPI' has non-sendable type 'JSONDecoder'
    private let decoder: JSONDecoder
                ^
Foundation.JSONDecoder:1:12: note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
open class JSONDecoder {
           ^
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:3:17: remark: '@preconcurrency' attribute on module 'FoundationNetworking' is unused
@preconcurrency import FoundationNetworking
~~~~~~~~~~~~~~~~^
[25/78] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:75:17: warning: stored property 'encoder' of 'Sendable'-conforming class 'AnthropicAPI' has non-sendable type 'JSONEncoder'
    private let encoder: JSONEncoder
                ^
Foundation.JSONEncoder:1:12: note: class 'JSONEncoder' does not conform to the 'Sendable' protocol
open class JSONEncoder {
           ^
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:76:17: warning: stored property 'decoder' of 'Sendable'-conforming class 'AnthropicAPI' has non-sendable type 'JSONDecoder'
    private let decoder: JSONDecoder
                ^
Foundation.JSONDecoder:1:12: note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
open class JSONDecoder {
           ^
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:3:17: remark: '@preconcurrency' attribute on module 'FoundationNetworking' is unused
@preconcurrency import FoundationNetworking
~~~~~~~~~~~~~~~~^
[26/78] Emitting module AnthropicKit
/host/spi-builder-workspace/Sources/AnthropicKit/API/APIConfiguration.swift:9:16: warning: stored property 'baseURL' of 'Sendable'-conforming struct 'APIConfiguration' has non-sendable type 'URL'
    public let baseURL: URL
               ^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
              ^
/host/spi-builder-workspace/Sources/AnthropicKit/API/APIConfiguration.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:75:17: warning: stored property 'encoder' of 'Sendable'-conforming class 'AnthropicAPI' has non-sendable type 'JSONEncoder'
    private let encoder: JSONEncoder
                ^
Foundation.JSONEncoder:1:12: note: class 'JSONEncoder' does not conform to the 'Sendable' protocol
open class JSONEncoder {
           ^
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:76:17: warning: stored property 'decoder' of 'Sendable'-conforming class 'AnthropicAPI' has non-sendable type 'JSONDecoder'
    private let decoder: JSONDecoder
                ^
Foundation.JSONDecoder:1:12: note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
open class JSONDecoder {
           ^
[27/78] Compiling ArgumentParser NameSpecification.swift
[28/78] Compiling ArgumentParser Option.swift
[29/78] Compiling AnthropicKit URLSessionHTTPClient.swift
[30/79] Wrapping AST for AnthropicKit for debugging
[33/79] Compiling ArgumentParser AsyncParsableCommand.swift
[34/79] Compiling ArgumentParser CommandConfiguration.swift
[35/79] Compiling ArgumentParser CommandGroup.swift
[36/79] Compiling ArgumentParser EnumerableFlag.swift
[37/79] Compiling ArgumentParser ExpressibleByArgument.swift
[38/79] Compiling ArgumentParser CollectionExtensions.swift
[39/79] Compiling ArgumentParser Mutex.swift
[40/79] Compiling ArgumentParser Platform.swift
[41/79] Compiling ArgumentParser SequenceExtensions.swift
[42/79] Compiling ArgumentParser StringExtensions.swift
[43/79] Compiling ArgumentParser SwiftExtensions.swift
[44/85] Emitting module ArgumentParser
[51/85] Compiling ArgumentParser Tree.swift
[52/85] Compiling ArgumentParser CodingKeyValidator.swift
[53/85] Compiling ArgumentParser NonsenseFlagsValidator.swift
[54/85] Compiling ArgumentParser ParsableArgumentsValidation.swift
[55/85] Compiling ArgumentParser PositionalArgumentsValidator.swift
[56/85] Compiling ArgumentParser UniqueNamesValidator.swift
[64/85] Compiling ArgumentParser SplitArguments.swift
[65/85] Compiling ArgumentParser DumpHelpGenerator.swift
[66/85] Compiling ArgumentParser HelpCommand.swift
[67/85] Compiling ArgumentParser HelpGenerator.swift
[68/85] Compiling ArgumentParser MessageInfo.swift
[69/85] Compiling ArgumentParser UsageGenerator.swift
[70/85] Compiling ArgumentParser InputKey.swift
[71/85] Compiling ArgumentParser InputOrigin.swift
[72/85] Compiling ArgumentParser Name.swift
[73/85] Compiling ArgumentParser Parsed.swift
[74/85] Compiling ArgumentParser ParsedValues.swift
[75/85] Compiling ArgumentParser ParserError.swift
[76/85] Compiling ArgumentParser ParsableArguments.swift
[77/85] Compiling ArgumentParser ParsableCommand.swift
[78/85] Compiling ArgumentParser ArgumentDecoder.swift
[79/85] Compiling ArgumentParser ArgumentDefinition.swift
[80/85] Compiling ArgumentParser ArgumentSet.swift
[81/85] Compiling ArgumentParser CommandParser.swift
[82/86] Wrapping AST for ArgumentParser for debugging
[84/88] Emitting module AnthropicKitCLI
[85/88] Compiling AnthropicKitCLI main.swift
/host/spi-builder-workspace/Sources/AnthropicKitCLI/main.swift:133:13: warning: default will never be executed
            default:
            ^
[86/89] Wrapping AST for AnthropicKitCLI for debugging
[87/89] Write Objects.LinkFileList
[88/89] Linking anthropic-cli
Build complete! (34.05s)
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-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:c30bb8beee7254e839cc0142f4ae78578b8fc8e8159324cc3637097cc1b395b6
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Done.