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 main (01c08e), with Swift 6.2 (beta) for macOS (SPM) on 2 Sep 2025 12:46:43 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Recouse/OpenAI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Recouse/OpenAI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 01c08ef Add more response types
Cloned https://github.com/Recouse/OpenAI.git
Revision (git rev-parse @):
01c08efdd5bc3ac48b40ae3a877800056aacfb82
SUCCESS checkout https://github.com/Recouse/OpenAI.git at main
========================================
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] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[9/37] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[10/37] Compiling InternalCollectionsUtilities Debugging.swift
[11/37] Compiling InternalCollectionsUtilities Descriptions.swift
[12/37] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[13/37] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[14/37] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[15/37] Compiling InternalCollectionsUtilities _SortedCollection.swift
[16/37] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[17/37] Compiling InternalCollectionsUtilities UInt+reversed.swift
[18/37] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[19/37] Compiling InternalCollectionsUtilities Integer rank.swift
[20/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[21/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[22/37] Emitting module InternalCollectionsUtilities
[23/93] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[24/93] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[25/93] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[26/93] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[27/93] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[28/93] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[29/93] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[30/93] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[31/93] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[32/93] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[33/93] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[34/93] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[35/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[36/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[37/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[38/99] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[39/99] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[40/99] Compiling OrderedCollections OrderedSet+Sendable.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 OrderedDictionary+Partial MutableCollection.swift
[54/99] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[55/99] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[56/99] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[57/99] Compiling OrderedCollections OrderedDictionary+Values.swift
[58/99] Compiling OrderedCollections OrderedDictionary.swift
[59/99] Compiling OrderedCollections OrderedSet+Hashable.swift
[60/99] Compiling OrderedCollections OrderedSet+Initializers.swift
[61/99] Compiling OrderedCollections OrderedSet+Insertions.swift
[62/99] Compiling OrderedCollections OrderedSet+Invariants.swift
[63/99] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[64/99] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[65/99] Compiling OrderedCollections OrderedSet+Codable.swift
[66/99] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[67/99] Compiling OrderedCollections OrderedSet+Descriptions.swift
[68/99] Compiling OrderedCollections OrderedSet+Diffing.swift
[69/99] Compiling OrderedCollections OrderedSet+Equatable.swift
[70/99] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.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] Emitting module OrderedCollections
[85/102] Compiling Logging MetadataProvider.swift
[86/102] Emitting module Logging
[87/102] Compiling Logging Locks.swift
[88/102] Compiling Logging LogHandler.swift
[89/102] Compiling Logging Logging.swift
[90/102] Compiling EventSource SessionDelegate.swift
[91/102] Compiling EventSource Mutex.swift
[92/102] Compiling EventSource EventSourceError.swift
[93/102] Compiling EventSource Headers.swift
[94/102] Compiling EventSource Extensions.swift
[95/102] Compiling EventSource ServerEvent.swift
[96/102] Compiling EventSource EventParser.swift
[97/102] Emitting module EventSource
[98/102] Compiling EventSource Data+Trim.swift
[99/102] Compiling EventSource EventSource.swift
[100/102] Compiling JSONSchema JSONValue.swift
[101/102] Compiling JSONSchema JSONSchema.swift
[102/102] Emitting module JSONSchema
[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 ResponseError.swift
[117/146] Compiling OpenAI Role.swift
[118/146] Compiling OpenAI ServiceTier.swift
[119/146] Compiling OpenAI TruncationStrategy.swift
[120/146] Compiling OpenAI JSONEncoder.swift
[121/146] Compiling OpenAI OpenAIError.swift
[122/146] Compiling OpenAI PlatformLogger.swift
[123/146] Compiling OpenAI Model.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 BaseRequestHandler.swift
[130/146] Compiling OpenAI RequestHandler.swift
[131/146] Compiling OpenAI Request.swift
[132/146] Compiling OpenAI Responses.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.85s)
Fetching https://github.com/mattt/JSONSchema.git
Fetching https://github.com/Recouse/EventSource.git
Fetching https://github.com/apple/swift-log.git
[4/192] Fetching jsonschema
[159/952] Fetching jsonschema, eventsource
[353/4855] Fetching jsonschema, eventsource, swift-log
Fetched https://github.com/Recouse/EventSource.git from cache (0.88s)
[583/4095] Fetching jsonschema, swift-log
Fetched https://github.com/mattt/JSONSchema.git from cache (1.16s)
Fetched https://github.com/apple/swift-log.git from cache (1.16s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (1.67s)
Computing version for https://github.com/Recouse/EventSource.git
Computed https://github.com/Recouse/EventSource.git at 0.1.5 (0.48s)
Computing version for https://github.com/mattt/JSONSchema.git
Computed https://github.com/mattt/JSONSchema.git at 1.3.1 (0.43s)
Fetching https://github.com/apple/swift-collections.git
[1/17394] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.81s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (2.37s)
Creating working copy for https://github.com/mattt/JSONSchema.git
Working copy of https://github.com/mattt/JSONSchema.git resolved at 1.3.1
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/Recouse/EventSource.git
Working copy of https://github.com/Recouse/EventSource.git resolved at 0.1.5
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
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.