The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftLLM, reference v0.1.0 (308156), with Swift 6.1 for macOS (SPM) on 28 Jun 2026 19:19:59 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pintaste/swift-llm.git
Reference: v0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pintaste/swift-llm
 * tag               v0.1.0     -> FETCH_HEAD
HEAD is now at 3081563 Add GitHub Actions CI workflow to run swift test on push and pull_request
Cloned https://github.com/pintaste/swift-llm.git
Revision (git rev-parse @):
3081563dc3295ce10ec3fa75b7fb60974720f81c
SUCCESS checkout https://github.com/pintaste/swift-llm.git at v0.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/pintaste/swift-llm.git
https://github.com/pintaste/swift-llm.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftLLM",
  "name" : "SwiftLLM",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftLLM",
      "targets" : [
        "SwiftLLM"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftLLMTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLLMTests",
      "path" : "Tests/SwiftLLMTests",
      "sources" : [
        "ClaudeClientTests.swift",
        "MockHTTPClient.swift"
      ],
      "target_dependencies" : [
        "SwiftLLM"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftLLM",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLLM",
      "path" : "Sources/SwiftLLM",
      "product_memberships" : [
        "SwiftLLM"
      ],
      "sources" : [
        "Claude/ClaudeClient.swift",
        "Claude/ClaudeModels.swift",
        "OpenAI/OpenAIClient.swift",
        "OpenAI/OpenAIModels.swift",
        "Shared/HTTPClient.swift",
        "Shared/HTTPClientProtocol.swift",
        "Shared/LLMError.swift",
        "SwiftLLM.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/11] Compiling SwiftLLM SwiftLLM.swift
[4/11] Compiling SwiftLLM LLMError.swift
[5/11] Compiling SwiftLLM HTTPClient.swift
[6/11] Compiling SwiftLLM HTTPClientProtocol.swift
[7/11] Compiling SwiftLLM OpenAIClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLLM/OpenAI/OpenAIClient.swift:54:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 52 |     ) -> AsyncThrowingStream<String, Error> {
 53 |         AsyncThrowingStream { continuation in
 54 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 55 |                 do {
 56 |                     let req = OpenAIRequest(
    :
 61 |                     )
 62 |                     let body = try JSONEncoder().encode(req)
 63 |                     let inner = self.http.stream(url: Self.baseURL, headers: self.headers, body: body)
    |                                 `- note: closure captures 'self' which is accessible to code in the current task
 64 |                     for try await jsonString in inner {
 65 |                         guard
[8/11] Compiling SwiftLLM ClaudeModels.swift
[9/11] Compiling SwiftLLM ClaudeClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLLM/Claude/ClaudeClient.swift:56:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 54 |     ) -> AsyncThrowingStream<String, Error> {
 55 |         AsyncThrowingStream { continuation in
 56 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 57 |                 do {
 58 |                     let req = ClaudeRequest(
    :
 64 |                     )
 65 |                     let body = try JSONEncoder().encode(req)
 66 |                     let inner = self.http.stream(url: Self.baseURL, headers: self.headers, body: body)
    |                                 `- note: closure captures 'self' which is accessible to code in the current task
 67 |                     for try await jsonString in inner {
 68 |                         guard
[10/11] Emitting module SwiftLLM
[11/11] Compiling SwiftLLM OpenAIModels.swift
Build complete! (5.16s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftLLM",
  "name" : "SwiftLLM",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftLLM",
      "targets" : [
        "SwiftLLM"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftLLMTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLLMTests",
      "path" : "Tests/SwiftLLMTests",
      "sources" : [
        "ClaudeClientTests.swift",
        "MockHTTPClient.swift"
      ],
      "target_dependencies" : [
        "SwiftLLM"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftLLM",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLLM",
      "path" : "Sources/SwiftLLM",
      "product_memberships" : [
        "SwiftLLM"
      ],
      "sources" : [
        "Claude/ClaudeClient.swift",
        "Claude/ClaudeModels.swift",
        "OpenAI/OpenAIClient.swift",
        "OpenAI/OpenAIModels.swift",
        "Shared/HTTPClient.swift",
        "Shared/HTTPClientProtocol.swift",
        "Shared/LLMError.swift",
        "SwiftLLM.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.