The Swift Package Index logo.Swift Package Index

Build Information

Successful build of GPTSwift, reference 3.0.1 (c90d3f), with Swift 6.4 for macOS (SPM) on 19 Sep 2026 05:21:22 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/SwiftedMind/GPTSwift.git
Reference: 3.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftedMind/GPTSwift
 * tag               3.0.1      -> FETCH_HEAD
HEAD is now at c90d3fc Fixed a bug where streaming would not be enabled where needed
Cloned https://github.com/SwiftedMind/GPTSwift.git
Revision (git rev-parse @):
c90d3fc4418119aa6cc796ded049fa73f4b28185
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SwiftedMind/GPTSwift.git at 3.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/SwiftedMind/GPTSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 270]
[Planning deferred tasks]
[51 / 102]
[53 / 104] GPTSwiftSharedTypes
[63 / 148]
[68 / 148]
[71 / 148]
[72 / 148]
[76 / 148]
[78 / 148]
[81 / 148]
[84 / 148]
[86 / 148]
[87 / 148]
[97 / 148] GPTSwiftSharedTypes
[110 / 149] Base
[113 / 152] Base
[114 / 152] Base
[125 / 155]
[128 / 155] OpenAI
[139 / 175] ChatGPT
[157 / 175] GPT-product
[163 / 175]
[172 / 175] ChatGPT
Build complete! (10.02 sec)
Fetching https://github.com/kean/Get
[1/2351] Fetching get
Fetched https://github.com/kean/Get (1.47s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.2.1 (2.16s)
Creating working copy for https://github.com/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.2.1
/Users/admin/builder/spi-builder-workspace/Sources/OpenAI/OpenAI.swift:117:37: warning: conformance of 'Response' to protocol 'Decodable' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
115 |     private func send<Response: Codable>(request: Request<Response>) async throws -> Response {
116 |         do {
117 |             return try await client.send(request).value
    |                                     `- warning: conformance of 'Response' to protocol 'Decodable' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
118 |         } catch {
119 |             throw _errorToGPTSwiftError(error)
[#IsolatedConformances]: <https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances>
/Users/admin/builder/spi-builder-workspace/Sources/GPT/GPT.swift:124:37: warning: conformance of 'Response' to protocol 'Decodable' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
122 |     private func send<Response: Codable>(request: Request<Response>) async throws -> Response {
123 |         do {
124 |             return try await client.send(request).value
    |                                     `- warning: conformance of 'Response' to protocol 'Decodable' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
125 |         } catch {
126 |             throw _errorToGPTSwiftError(error)
[#IsolatedConformances]: <https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances>
/Users/admin/builder/spi-builder-workspace/Sources/GPT/GPT+StreamedAnswer.swift:92:21: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
 90 |
 91 |                 return AsyncThrowingStream { continuation in
 92 |                     Task {
    |                     |- warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
    |                     `- note: to silence this warning, handle the error inside the task, or store/discard the task value explicitly
 93 |                         do {
 94 |                             for try await line in result.lines {
[#NoUseUnstructuredThrowingTask]: <https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task>
/Users/admin/builder/spi-builder-workspace/Sources/ChatGPT/ChatGPT.swift:157:37: warning: conformance of 'Response' to protocol 'Decodable' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
155 |     private func send<Response: Codable>(request: Request<Response>) async throws -> Response {
156 |         do {
157 |             return try await client.send(request).value
    |                                     `- warning: conformance of 'Response' to protocol 'Decodable' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
158 |         } catch {
159 |             throw _errorToGPTSwiftError(error)
[#IsolatedConformances]: <https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances>
/Users/admin/builder/spi-builder-workspace/Sources/ChatGPT/ChatGPT+StreamedAnswer.swift:109:21: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
107 |
108 |                 return AsyncThrowingStream { continuation in
109 |                     Task {
    |                     |- warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
    |                     `- note: to silence this warning, handle the error inside the task, or store/discard the task value explicitly
110 |                         do {
111 |                             for try await line in result.lines {
[#NoUseUnstructuredThrowingTask]: <https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "get",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.6",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kean/Get"
    }
  ],
  "manifest_display_name" : "GPTSwift",
  "name" : "GPTSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "ChatGPT",
      "targets" : [
        "ChatGPT",
        "GPTSwiftSharedTypes"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "GPT",
      "targets" : [
        "GPT",
        "GPTSwiftSharedTypes"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "OpenAI",
      "targets" : [
        "OpenAI",
        "GPTSwiftSharedTypes"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpenAI",
      "module_type" : "SwiftTarget",
      "name" : "OpenAI",
      "path" : "Sources/OpenAI",
      "product_dependencies" : [
        "Get"
      ],
      "product_memberships" : [
        "OpenAI"
      ],
      "sources" : [
        "Models/ModelList.swift",
        "OpenAI.swift"
      ],
      "target_dependencies" : [
        "Base",
        "GPTSwiftSharedTypes"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GPTSwiftSharedTypes",
      "module_type" : "SwiftTarget",
      "name" : "GPTSwiftSharedTypes",
      "path" : "Sources/GPTSwiftSharedTypes",
      "product_memberships" : [
        "ChatGPT",
        "GPT",
        "OpenAI"
      ],
      "sources" : [
        "GPTSwiftError.swift",
        "OpenAIError.swift",
        "URLRequest+curl.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GPT",
      "module_type" : "SwiftTarget",
      "name" : "GPT",
      "path" : "Sources/GPT",
      "product_dependencies" : [
        "Get"
      ],
      "product_memberships" : [
        "GPT"
      ],
      "sources" : [
        "GPT+StreamedAnswer.swift",
        "GPT.swift",
        "Models/CompletionRequest.swift",
        "Models/CompletionResponse.swift",
        "Models/CompletionStreamedResponse.swift",
        "Models/GPTModel.swift"
      ],
      "target_dependencies" : [
        "Base",
        "GPTSwiftSharedTypes"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ChatGPT",
      "module_type" : "SwiftTarget",
      "name" : "ChatGPT",
      "path" : "Sources/ChatGPT",
      "product_dependencies" : [
        "Get"
      ],
      "product_memberships" : [
        "ChatGPT"
      ],
      "sources" : [
        "ChatGPT+StreamedAnswer.swift",
        "ChatGPT.swift",
        "Models/ChatGPTModel.swift",
        "Models/ChatMessage.swift",
        "Models/ChatMessageRole.swift",
        "Models/ChatRequest.swift",
        "Models/ChatResponse.swift",
        "Models/ChatStreamedMessage.swift",
        "Models/ChatStreamedResponse.swift"
      ],
      "target_dependencies" : [
        "Base",
        "GPTSwiftSharedTypes"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Base",
      "module_type" : "SwiftTarget",
      "name" : "Base",
      "path" : "Sources/Base",
      "product_dependencies" : [
        "Get"
      ],
      "product_memberships" : [
        "ChatGPT",
        "GPT",
        "OpenAI"
      ],
      "sources" : [
        "API.swift",
        "APIClientRequestHandler.swift"
      ],
      "target_dependencies" : [
        "GPTSwiftSharedTypes"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.