The Swift Package Index logo.Swift Package Index

Build Information

Successful build of OpenAI, reference 0.1.6 (da6223), with Swift 6.3 for Linux on 18 Apr 2026 19:22:05 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Recouse/OpenAI.git
Reference: 0.1.6
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Recouse/OpenAI
 * tag               0.1.6      -> FETCH_HEAD
HEAD is now at da6223c Update swift-log to version 1.10.1
Cloned https://github.com/Recouse/OpenAI.git
Revision (git rev-parse @):
da6223c56c66a04ebc0a6fbc6d851b8384a7e6f3
SUCCESS checkout https://github.com/Recouse/OpenAI.git at 0.1.6
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Recouse/OpenAI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/Recouse/EventSource.git
Fetching https://github.com/mattt/JSONSchema.git
Fetching https://github.com/apple/swift-log.git
[1/192] Fetching jsonschema
[2/1013] Fetching jsonschema, eventsource
[1014/7648] Fetching jsonschema, eventsource, swift-log
Fetched https://github.com/mattt/JSONSchema.git from cache (1.03s)
[2547/7456] Fetching eventsource, swift-log
Fetched https://github.com/Recouse/EventSource.git from cache (1.22s)
Fetched https://github.com/apple/swift-log.git from cache (1.23s)
Computing version for https://github.com/mattt/JSONSchema.git
Computed https://github.com/mattt/JSONSchema.git at 1.3.1 (1.68s)
Fetching https://github.com/apple/swift-collections.git
[1/23569] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.75s)
Computing version for https://github.com/Recouse/EventSource.git
Computed https://github.com/Recouse/EventSource.git at 0.1.7 (2.17s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.46s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.41s)
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/Recouse/EventSource.git
Working copy of https://github.com/Recouse/EventSource.git resolved at 0.1.7
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/40] Emitting module InternalCollectionsUtilities
[9/42] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[10/42] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[11/42] Compiling InternalCollectionsUtilities _SortedCollection.swift
[12/42] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[13/42] Compiling InternalCollectionsUtilities Debugging.swift
[14/42] Compiling InternalCollectionsUtilities Descriptions.swift
[15/42] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[16/42] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[17/42] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[18/42] Compiling InternalCollectionsUtilities Span+Extras.swift
[19/42] Compiling InternalCollectionsUtilities Integer rank.swift
[20/42] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[21/42] Compiling InternalCollectionsUtilities UInt+reversed.swift
[22/42] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[23/42] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[24/42] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[25/42] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[26/42] Compiling InternalCollectionsUtilities String+Padding.swift
[27/42] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[29/98] Compiling Logging MetadataProvider.swift
[30/98] Compiling Logging Locks.swift
[31/98] Compiling OrderedCollections OrderedDictionary.swift
[32/98] Compiling OrderedCollections OrderedSet+Codable.swift
[33/98] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[34/98] Compiling OrderedCollections OrderedSet+Descriptions.swift
[35/98] Compiling OrderedCollections OrderedSet+Diffing.swift
[36/98] Compiling OrderedCollections OrderedSet+Equatable.swift
[37/98] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[38/98] Compiling OrderedCollections OrderedSet+Hashable.swift
[39/105] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[40/105] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[41/105] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[42/105] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[43/105] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[44/105] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[45/105] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[46/105] Emitting module EventSource
[47/106] Compiling EventSource EventSourceError.swift
[48/106] Compiling EventSource Extensions.swift
[49/106] Compiling EventSource Headers.swift
[50/106] Compiling EventSource Mutex.swift
[51/106] Compiling EventSource ServerEvent.swift
[52/106] Compiling OrderedCollections OrderedDictionary+Codable.swift
[53/106] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[54/106] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[55/106] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[56/106] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[57/106] Compiling OrderedCollections OrderedDictionary+Elements.swift
[58/106] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[59/106] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[60/106] Emitting module Logging
[61/106] Compiling Logging LogHandler.swift
[62/106] Compiling Logging Logging.swift
[63/106] Compiling Logging LogEvent.swift
[64/107] Compiling OrderedCollections _HashTable+Bucket.swift
[65/107] Compiling OrderedCollections _HashTable+BucketIterator.swift
[66/107] Compiling EventSource EventSource.swift
[68/107] Compiling EventSource SessionDelegate.swift
[70/108] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[71/108] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[72/108] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[73/108] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[74/108] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[75/108] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[76/108] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[77/108] Compiling OrderedCollections OrderedDictionary+Values.swift
[78/108] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[79/108] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[80/108] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[81/108] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[82/108] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[83/108] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[84/108] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[85/108] Compiling OrderedCollections OrderedSet+Initializers.swift
[86/108] Compiling OrderedCollections OrderedSet+Insertions.swift
[87/108] Compiling OrderedCollections OrderedSet+Invariants.swift
[88/108] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[89/108] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[90/108] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[91/108] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[92/108] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[95/108] Compiling OrderedCollections _HashTable+Constants.swift
[96/108] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[97/108] Compiling OrderedCollections _HashTable+Testing.swift
[98/108] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[99/108] Compiling OrderedCollections _HashTable.swift
[100/108] Compiling OrderedCollections _Hashtable+Header.swift
[101/108] Emitting module OrderedCollections
[102/108] Compiling OrderedCollections OrderedSet+Sendable.swift
[103/108] Compiling OrderedCollections OrderedSet+SubSequence.swift
[104/108] Compiling OrderedCollections OrderedSet+Testing.swift
[105/108] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[106/108] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[107/108] Compiling OrderedCollections OrderedSet.swift
[108/108] Compiling OrderedCollections _UnsafeBitset.swift
[110/112] Compiling JSONSchema JSONValue.swift
[111/112] Emitting module JSONSchema
[112/112] Compiling JSONSchema JSONSchema.swift
[114/152] Compiling OpenAI Modality.swift
[115/152] Compiling OpenAI Prompt.swift
[116/152] Compiling OpenAI ReponseFormat.swift
[117/152] Compiling OpenAI ResponseError.swift
[118/152] Compiling OpenAI Role.swift
[119/152] Compiling OpenAI ServiceTier.swift
[120/152] Emitting module OpenAI
[121/157] Compiling OpenAI CompletionsWrapper.swift
[122/157] Compiling OpenAI Configuration.swift
[123/157] Compiling OpenAI APIError.swift
[124/157] Compiling OpenAI JSONDecoder.swift
[125/157] Compiling OpenAI JSONEncoder.swift
[126/157] Compiling OpenAI ModelsWrapper.swift
[127/157] Compiling OpenAI OpenAI.swift
[128/157] Compiling OpenAI BaseRequestHandler.swift
[129/157] Compiling OpenAI RequestHandler.swift
[130/157] Compiling OpenAI Request.swift
[131/157] Compiling OpenAI AudioRequest.swift
[132/157] Compiling OpenAI AudioResponse.swift
[133/157] Compiling OpenAI AudioVoice.swift
[134/157] Compiling OpenAI Content.swift
[135/157] Compiling OpenAI Effort.swift
[136/157] Compiling OpenAI FinishReason.swift
[137/157] Compiling OpenAI TruncationStrategy.swift
[138/157] Compiling OpenAI CompletionResponse.swift
[139/157] Compiling OpenAI Completions.swift
[140/157] Compiling OpenAI CompletionsBody.swift
[141/157] Compiling OpenAI CompletionsRequest.swift
[142/157] Compiling OpenAI OpenAIError.swift
[143/157] Compiling OpenAI PlatformLogger.swift
[144/157] Compiling OpenAI Model.swift
[145/157] Compiling OpenAI ModelsRequest.swift
[146/157] Compiling OpenAI ModelsResponse.swift
[147/157] Compiling OpenAI ChatCompletions.swift
[148/157] Compiling OpenAI ChatCompletionsBody.swift
[149/157] Compiling OpenAI ChatCompletionsRequest.swift
[150/157] Compiling OpenAI ChatCompletionsResponse.swift
[151/157] Compiling OpenAI ChatWrapper.swift
[152/157] Compiling OpenAI AudioFormat.swift
[153/157] Compiling OpenAI Responses.swift
[154/157] Compiling OpenAI ResponsesBody.swift
[155/157] Compiling OpenAI ResponsesRequest.swift
[156/157] Compiling OpenAI ResponsesResponse.swift
[157/157] Compiling OpenAI ResponsesWrapper.swift
Build complete! (50.33s)
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" : "/host/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"
}
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Done.