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 OpenAI, reference 0.1.5 (79932a), with Swift 6.2 (beta) for macOS (SPM) on 16 Aug 2025 06:33:51 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.66.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Recouse/OpenAI.git
Reference: 0.1.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Recouse/OpenAI
 * tag               0.1.5      -> FETCH_HEAD
HEAD is now at 79932a7 Fix reasoning output in Responses
Cloned https://github.com/Recouse/OpenAI.git
Revision (git rev-parse @):
79932a75402e3cd28a4519e9633f7ec59fb9cc5d
SUCCESS checkout https://github.com/Recouse/OpenAI.git at 0.1.5
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Recouse/OpenAI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-1EA4D86E10B52AF.txt
[8/36] Emitting module InternalCollectionsUtilities
[9/37] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[10/37] Compiling InternalCollectionsUtilities Debugging.swift
[11/37] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[12/37] Compiling InternalCollectionsUtilities Descriptions.swift
[13/37] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[14/37] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[15/37] Compiling InternalCollectionsUtilities Integer rank.swift
[16/37] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[17/37] Compiling InternalCollectionsUtilities UInt+reversed.swift
[18/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[19/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[20/37] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[21/37] Compiling InternalCollectionsUtilities _SortedCollection.swift
[22/37] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[23/93] Compiling OrderedCollections OrderedSet+Codable.swift
[24/93] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[25/93] Compiling OrderedCollections OrderedSet+Descriptions.swift
[26/93] Compiling OrderedCollections OrderedSet+Diffing.swift
[27/93] Compiling OrderedCollections OrderedSet+Equatable.swift
[28/93] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[29/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[30/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[31/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[32/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[33/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[34/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[35/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[36/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[37/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[38/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[39/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[40/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[41/99] Compiling OrderedCollections OrderedDictionary+Elements.swift
[42/99] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[43/99] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[44/99] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[45/99] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[46/99] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[47/99] Compiling OrderedCollections _Hashtable+Header.swift
[48/99] Compiling OrderedCollections OrderedDictionary+Codable.swift
[49/99] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[50/99] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[51/99] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[52/99] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[53/99] Compiling OrderedCollections OrderedSet+Hashable.swift
[54/99] Compiling OrderedCollections OrderedSet+Initializers.swift
[55/99] Compiling OrderedCollections OrderedSet+Insertions.swift
[56/99] Compiling OrderedCollections OrderedSet+Invariants.swift
[57/99] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[58/99] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[59/99] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[60/99] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[61/99] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[62/99] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[63/99] Compiling OrderedCollections OrderedDictionary+Values.swift
[64/99] Compiling OrderedCollections OrderedDictionary.swift
[65/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[66/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[67/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[68/99] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[69/99] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[70/99] Compiling OrderedCollections OrderedSet+Sendable.swift
[71/99] Compiling OrderedCollections _HashTable+Bucket.swift
[72/99] Compiling OrderedCollections _HashTable+BucketIterator.swift
[73/99] Compiling OrderedCollections _HashTable+Constants.swift
[74/99] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[75/99] Compiling OrderedCollections _HashTable+Testing.swift
[76/99] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[77/99] Compiling OrderedCollections _HashTable.swift
[78/99] Compiling OrderedCollections OrderedSet+SubSequence.swift
[79/99] Compiling OrderedCollections OrderedSet+Testing.swift
[80/99] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[81/99] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[82/99] Compiling OrderedCollections OrderedSet.swift
[83/99] Compiling OrderedCollections _UnsafeBitset.swift
[84/99] Compiling Logging MetadataProvider.swift
[85/99] Emitting module OrderedCollections
[86/99] Compiling Logging Locks.swift
[87/99] Compiling Logging Logging.swift
[88/99] Compiling Logging LogHandler.swift
[89/99] Emitting module Logging
[90/102] Compiling EventSource ServerEvent.swift
[91/102] Compiling EventSource Extensions.swift
[92/102] Compiling EventSource Headers.swift
[93/102] Compiling EventSource EventSourceError.swift
[94/102] Compiling EventSource Mutex.swift
[95/102] Compiling EventSource SessionDelegate.swift
[96/102] Compiling JSONSchema JSONValue.swift
[97/102] Compiling EventSource EventParser.swift
[98/102] Emitting module EventSource
[99/102] Compiling EventSource EventSource.swift
[100/102] Compiling EventSource Data+Trim.swift
[101/102] Emitting module JSONSchema
[102/102] Compiling JSONSchema JSONSchema.swift
[103/142] Compiling OpenAI Effort.swift
[104/142] Compiling OpenAI FinishReason.swift
[105/142] Compiling OpenAI Modality.swift
[106/142] Compiling OpenAI Prompt.swift
[107/142] Compiling OpenAI ReponseFormat.swift
[108/146] Compiling OpenAI ModelsRequest.swift
[109/146] Compiling OpenAI ModelsResponse.swift
[110/146] Compiling OpenAI ModelsWrapper.swift
[111/146] Compiling OpenAI OpenAI.swift
[112/146] Compiling OpenAI CompletionsWrapper.swift
[113/146] Compiling OpenAI Configuration.swift
[114/146] Compiling OpenAI APIError.swift
[115/146] Compiling OpenAI JSONDecoder.swift
[116/146] Compiling OpenAI JSONEncoder.swift
[117/146] Compiling OpenAI OpenAIError.swift
[118/146] Compiling OpenAI PlatformLogger.swift
[119/146] Compiling OpenAI Model.swift
[120/146] Compiling OpenAI BaseRequestHandler.swift
[121/146] Compiling OpenAI RequestHandler.swift
[122/146] Compiling OpenAI Request.swift
[123/146] Compiling OpenAI Responses.swift
[124/146] Emitting module OpenAI
[125/146] Compiling OpenAI CompletionResponse.swift
[126/146] Compiling OpenAI Completions.swift
[127/146] Compiling OpenAI CompletionsBody.swift
[128/146] Compiling OpenAI CompletionsRequest.swift
[129/146] Compiling OpenAI ResponseError.swift
[130/146] Compiling OpenAI Role.swift
[131/146] Compiling OpenAI ServiceTier.swift
[132/146] Compiling OpenAI TruncationStrategy.swift
[133/146] Compiling OpenAI AudioFormat.swift
[134/146] Compiling OpenAI AudioRequest.swift
[135/146] Compiling OpenAI AudioResponse.swift
[136/146] Compiling OpenAI AudioVoice.swift
[137/146] Compiling OpenAI Content.swift
[138/146] Compiling OpenAI ChatCompletions.swift
[139/146] Compiling OpenAI ChatCompletionsBody.swift
[140/146] Compiling OpenAI ChatCompletionsRequest.swift
[141/146] Compiling OpenAI ChatCompletionsResponse.swift
[142/146] Compiling OpenAI ChatWrapper.swift
[143/146] Compiling OpenAI ResponsesBody.swift
[144/146] Compiling OpenAI ResponsesRequest.swift
[145/146] Compiling OpenAI ResponsesResponse.swift
[146/146] Compiling OpenAI ResponsesWrapper.swift
Build complete! (13.84s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/mattt/JSONSchema.git
Fetching https://github.com/Recouse/EventSource.git
[1/188] Fetching jsonschema
[5/942] Fetching jsonschema, eventsource
[310/4828] Fetching jsonschema, eventsource, swift-log
Fetched https://github.com/Recouse/EventSource.git from cache (1.03s)
Fetched https://github.com/apple/swift-log.git from cache (1.03s)
Fetched https://github.com/mattt/JSONSchema.git from cache (1.03s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (1.50s)
Computing version for https://github.com/mattt/JSONSchema.git
Computed https://github.com/mattt/JSONSchema.git at 1.3.0 (0.40s)
Fetching https://github.com/apple/swift-collections.git
[1/16977] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.70s)
Computing version for https://github.com/Recouse/EventSource.git
Computed https://github.com/Recouse/EventSource.git at 0.1.5 (2.14s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.56s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/mattt/JSONSchema.git
Working copy of https://github.com/mattt/JSONSchema.git resolved at 1.3.0
Creating working copy for https://github.com/Recouse/EventSource.git
Working copy of https://github.com/Recouse/EventSource.git resolved at 0.1.5
Build complete.
{
  "dependencies" : [
    {
      "identity" : "eventsource",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.5",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Recouse/EventSource.git"
    },
    {
      "identity" : "jsonschema",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattt/JSONSchema.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "OpenAI",
  "name" : "OpenAI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenAI",
      "targets" : [
        "OpenAI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpenAITests",
      "module_type" : "SwiftTarget",
      "name" : "OpenAITests",
      "path" : "Tests/OpenAITests",
      "sources" : [
        "OpenAITests.swift"
      ],
      "target_dependencies" : [
        "OpenAI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OpenAI",
      "module_type" : "SwiftTarget",
      "name" : "OpenAI",
      "path" : "Sources/OpenAI",
      "product_dependencies" : [
        "EventSource",
        "JSONSchema",
        "Logging"
      ],
      "product_memberships" : [
        "OpenAI"
      ],
      "sources" : [
        "Chat/ChatCompletions.swift",
        "Chat/ChatCompletionsBody.swift",
        "Chat/ChatCompletionsRequest.swift",
        "Chat/ChatCompletionsResponse.swift",
        "Chat/ChatWrapper.swift",
        "Common/Audio/AudioFormat.swift",
        "Common/Audio/AudioRequest.swift",
        "Common/Audio/AudioResponse.swift",
        "Common/Audio/AudioVoice.swift",
        "Common/Content.swift",
        "Common/Effort.swift",
        "Common/FinishReason.swift",
        "Common/Modality.swift",
        "Common/Prompt.swift",
        "Common/ReponseFormat.swift",
        "Common/ResponseError.swift",
        "Common/Role.swift",
        "Common/ServiceTier.swift",
        "Common/TruncationStrategy.swift",
        "Completions/CompletionResponse.swift",
        "Completions/Completions.swift",
        "Completions/CompletionsBody.swift",
        "Completions/CompletionsRequest.swift",
        "Completions/CompletionsWrapper.swift",
        "Configuration.swift",
        "Extensions/APIError.swift",
        "Extensions/JSONDecoder.swift",
        "Extensions/JSONEncoder.swift",
        "Extensions/OpenAIError.swift",
        "Logger/PlatformLogger.swift",
        "Model.swift",
        "Models/ModelsRequest.swift",
        "Models/ModelsResponse.swift",
        "Models/ModelsWrapper.swift",
        "OpenAI.swift",
        "Request/Handler/BaseRequestHandler.swift",
        "Request/Handler/RequestHandler.swift",
        "Request/Request.swift",
        "Responses/Responses.swift",
        "Responses/ResponsesBody.swift",
        "Responses/ResponsesRequest.swift",
        "Responses/ResponsesResponse.swift",
        "Responses/ResponsesWrapper.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Done.