The Swift Package Index logo.Swift Package Index

Build Information

Successful build of GPTSwift, reference main (94fffc), with Swift 6.3 for macOS (SPM) on 22 Apr 2026 13:31:37 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftedMind/GPTSwift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftedMind/GPTSwift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 94fffc2 Update README.md
Cloned https://github.com/SwiftedMind/GPTSwift.git
Revision (git rev-parse @):
94fffc26a5978bdf3720e5c31d225ae4dc69507d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SwiftedMind/GPTSwift.git at main
Fetching https://github.com/kean/Get
[1/2349] Fetching get
Fetched https://github.com/kean/Get from cache (1.09s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.1.6 (1.76s)
Creating working copy for https://github.com/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.1.6
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "gptswift",
      "name": "GPTSwift",
      "url": "https://github.com/SwiftedMind/GPTSwift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GPTSwift",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "get",
          "name": "Get",
          "url": "https://github.com/kean/Get",
          "version": "2.2.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Get",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/SwiftedMind/GPTSwift.git
[1/370] Fetching gptswift
Fetched https://github.com/SwiftedMind/GPTSwift.git from cache (0.70s)
Fetching https://github.com/kean/Get from cache
Fetched https://github.com/kean/Get from cache (0.41s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.2.1 (0.47s)
Creating working copy for https://github.com/SwiftedMind/GPTSwift.git
Working copy of https://github.com/SwiftedMind/GPTSwift.git resolved at main (94fffc2)
Creating working copy for https://github.com/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.2.1
warning: '.resolve-product-dependencies': dependency 'gptswift' is not used by any target
Found 1 product dependencies
  - Get
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/SwiftedMind/GPTSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version--6988338F2F200930.txt
[8/17] Compiling GPTSwiftSharedTypes URLRequest+curl.swift
[9/17] Compiling Get Response.swift
[10/17] Compiling GPTSwiftSharedTypes GPTSwiftError.swift
[11/17] Emitting module GPTSwiftSharedTypes
[12/17] Compiling GPTSwiftSharedTypes OpenAIError.swift
[13/17] Compiling Get Request.swift
[14/17] Compiling Get APIClientDelegate.swift
[15/17] Compiling Get APIClient.swift
[16/17] Emitting module Get
[17/17] Compiling Get DataLoader.swift
[18/20] Compiling Base API.swift
[19/20] Compiling Base APIClientRequestHandler.swift
[20/20] Emitting module Base
[21/40] Compiling GPT GPTModel.swift
[22/40] Compiling OpenAI OpenAI.swift
[23/40] Compiling ChatGPT ChatMessage.swift
[24/40] Compiling ChatGPT ChatGPTModel.swift
[25/40] Compiling ChatGPT ChatStreamedResponse.swift
[26/40] Compiling ChatGPT ChatStreamedMessage.swift
[27/40] Compiling ChatGPT ChatGPT.swift
[28/40] Compiling ChatGPT ChatMessageRole.swift
[29/40] Compiling ChatGPT ChatRequest.swift
[30/40] Compiling ChatGPT ChatResponse.swift
[31/40] Compiling GPT CompletionStreamedResponse.swift
[32/40] Compiling GPT CompletionResponse.swift
[33/40] Emitting module OpenAI
[34/40] Compiling GPT GPT.swift
[35/40] Compiling OpenAI ModelList.swift
[36/40] Emitting module GPT
[37/40] Compiling GPT GPT+StreamedAnswer.swift
[38/40] Compiling GPT CompletionRequest.swift
[39/40] Emitting module ChatGPT
[40/40] Compiling ChatGPT ChatGPT+StreamedAnswer.swift
Build complete! (6.56s)
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"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/swiftedmind/gptswift/main
Repository:               SwiftedMind/GPTSwift
Swift version used:       6.3
Target:                   GPTSwift
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/kean/Get
Updated https://github.com/kean/Get (0.47s)
[1/2277] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.24s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.1.6 (1.93s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (0.65s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3674] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.23s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.02s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/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
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version--6988338F2F200930.txt
[6/53] Compiling Snippets Snippet.swift
[7/53] Emitting module Snippets
[8/53] Compiling Snippets SnippetParser.swift
[9/53] Compiling SymbolKit Names.swift
[10/53] Compiling SymbolKit SPI.swift
[11/53] Compiling SymbolKit Snippet.swift
[12/53] Compiling SymbolKit Extension.swift
[13/53] Compiling SymbolKit SourceRange.swift
[14/53] Compiling SymbolKit Metadata.swift
[15/53] Compiling SymbolKit Module.swift
[16/53] Compiling SymbolKit OperatingSystem.swift
[17/53] Compiling SymbolKit Platform.swift
[18/57] Compiling SymbolKit Identifier.swift
[19/57] Compiling SymbolKit KindIdentifier.swift
[20/57] Compiling SymbolKit Location.swift
[21/57] Compiling SymbolKit Mutability.swift
[22/57] Compiling SymbolKit DeclarationFragments.swift
[23/57] Compiling SymbolKit Fragment.swift
[24/57] Compiling SymbolKit FragmentKind.swift
[25/57] Compiling SymbolKit FunctionParameter.swift
[26/57] Compiling SymbolKit FunctionSignature.swift
[27/57] Compiling SymbolKit Relationship.swift
[28/57] Compiling SymbolKit RelationshipKind.swift
[29/57] Compiling SymbolKit SourceOrigin.swift
[30/57] Compiling SymbolKit GenericConstraints.swift
[31/57] Compiling SymbolKit Swift.swift
[32/57] Emitting module SymbolKit
[33/57] Compiling SymbolKit Mixin+Equals.swift
[34/57] Compiling SymbolKit Mixin+Hash.swift
[35/57] Compiling SymbolKit Mixin.swift
[36/57] Compiling SymbolKit LineList.swift
[37/57] Compiling SymbolKit Position.swift
[38/57] Compiling SymbolKit SemanticVersion.swift
[39/57] Compiling SymbolKit AccessControl.swift
[40/57] Compiling SymbolKit Availability.swift
[41/57] Compiling SymbolKit AvailabilityItem.swift
[42/57] Compiling SymbolKit Domain.swift
[43/57] Compiling SymbolKit GenericConstraint.swift
[44/57] Compiling SymbolKit GenericParameter.swift
[45/57] Compiling SymbolKit Generics.swift
[46/57] Compiling SymbolKit Namespace.swift
[47/57] Compiling SymbolKit Symbol.swift
[48/57] Compiling SymbolKit SymbolKind.swift
[49/57] Compiling SymbolKit SymbolGraph.swift
[50/57] Compiling SymbolKit GraphCollector.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.96s)
error: no target named 'GPTSwift'
compatible targets: 'ChatGPT', 'GPTSwiftSharedTypes', 'GPT', 'OpenAI', 'Base', 'Get'
       1
0	/Users/admin/builder/spi-builder-workspace/.docs/swiftedmind/gptswift/main
✅  Doc result (uploading) reported
Error while generating docs: Error Domain=NSCocoaErrorDomain Code=260 "The folder “documentation” doesn’t exist." UserInfo={NSUserStringVariant=(
    Folder
), NSFilePath=/Users/admin/builder/spi-builder-workspace/.docs/swiftedmind/gptswift/main/documentation, NSURL=file:///Users/admin/builder/spi-builder-workspace/.docs/swiftedmind/gptswift/main/documentation, NSUnderlyingError=0x7c9250a50 {Error Domain=NSOSStatusErrorDomain Code=-43 "fnfErr: File not found"}}
✅  Doc result (failed) reported
Done.