The Swift Package Index logo.Swift Package Index

Build Information

Successful build of OpenAI, reference main (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-1":/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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-1":/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/mattt/JSONSchema.git
Fetching https://github.com/Recouse/EventSource.git
Fetching https://github.com/apple/swift-log.git
[1/192] Fetching jsonschema
[193/1013] Fetching jsonschema, eventsource
[1014/7648] Fetching jsonschema, eventsource, swift-log
Fetched https://github.com/mattt/JSONSchema.git from cache (2.29s)
Fetched https://github.com/Recouse/EventSource.git from cache (2.29s)
Fetched https://github.com/apple/swift-log.git from cache (2.76s)
Computing version for https://github.com/mattt/JSONSchema.git
Computed https://github.com/mattt/JSONSchema.git at 1.3.1 (3.61s)
Fetching https://github.com/apple/swift-collections.git
[1/23569] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.71s)
Computing version for https://github.com/Recouse/EventSource.git
Computed https://github.com/Recouse/EventSource.git at 0.1.7 (2.14s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.47s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.72s)
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/40] Emitting module Logging
[9/40] Emitting module InternalCollectionsUtilities
[10/42] Emitting module EventSource
[11/43] Compiling InternalCollectionsUtilities Integer rank.swift
[12/43] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[13/43] Compiling InternalCollectionsUtilities UInt+reversed.swift
[14/43] Compiling Logging LogHandler.swift
[15/43] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[16/43] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[17/43] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[18/43] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[19/43] Compiling InternalCollectionsUtilities Span+Extras.swift
[20/43] Compiling InternalCollectionsUtilities Debugging.swift
[21/43] Compiling InternalCollectionsUtilities Descriptions.swift
[22/43] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[23/43] Compiling InternalCollectionsUtilities _SortedCollection.swift
[24/43] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[25/43] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[26/43] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[27/43] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[28/43] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[29/43] Compiling InternalCollectionsUtilities String+Padding.swift
[30/43] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[32/99] Compiling Logging Locks.swift
[33/99] Compiling Logging MetadataProvider.swift
[34/99] Compiling OrderedCollections OrderedSet+Initializers.swift
[35/99] Compiling OrderedCollections OrderedSet+Insertions.swift
[36/99] Compiling OrderedCollections OrderedSet+Invariants.swift
[37/99] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[38/99] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[39/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[40/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[41/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[42/106] Compiling OrderedCollections OrderedDictionary+Codable.swift
[43/106] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[44/106] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[45/106] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[46/106] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[47/106] Compiling OrderedCollections OrderedDictionary+Elements.swift
[48/106] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[49/106] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[50/106] Compiling EventSource EventSourceError.swift
[51/106] Compiling EventSource ServerEvent.swift
[52/106] Compiling OrderedCollections OrderedDictionary.swift
[53/106] Compiling OrderedCollections OrderedSet+Codable.swift
[54/106] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[55/106] Compiling OrderedCollections OrderedSet+Descriptions.swift
[56/106] Compiling OrderedCollections OrderedSet+Diffing.swift
[57/106] Compiling OrderedCollections OrderedSet+Equatable.swift
[58/106] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[59/106] Compiling OrderedCollections OrderedSet+Hashable.swift
[60/106] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[61/106] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[62/106] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[63/106] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[64/106] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[65/106] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[66/106] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[67/106] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[68/106] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[69/106] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[70/106] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[71/106] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[72/106] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[73/106] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[74/106] Compiling OrderedCollections OrderedDictionary+Values.swift
[75/106] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[76/106] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[77/106] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[78/106] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[79/106] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[80/106] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[81/106] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[82/106] Compiling EventSource Extensions.swift
[83/106] Compiling EventSource Headers.swift
[84/106] Compiling EventSource Mutex.swift
[85/106] Compiling EventSource SessionDelegate.swift
[86/106] Compiling Logging Logging.swift
[87/106] Compiling Logging LogEvent.swift
[88/106] Compiling OrderedCollections _HashTable+Bucket.swift
[89/106] Compiling OrderedCollections _HashTable+BucketIterator.swift
[90/106] Compiling EventSource EventSource.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 CompletionsWrapper.swift
[115/152] Compiling OpenAI Configuration.swift
[116/152] Compiling OpenAI APIError.swift
[117/152] Compiling OpenAI JSONDecoder.swift
[118/152] Compiling OpenAI JSONEncoder.swift
[119/157] Emitting module OpenAI
[120/157] Compiling OpenAI Modality.swift
[121/157] Compiling OpenAI Prompt.swift
[122/157] Compiling OpenAI ReponseFormat.swift
[123/157] Compiling OpenAI ResponseError.swift
[124/157] Compiling OpenAI Role.swift
[125/157] Compiling OpenAI ServiceTier.swift
[126/157] Compiling OpenAI OpenAIError.swift
[127/157] Compiling OpenAI PlatformLogger.swift
[128/157] Compiling OpenAI Model.swift
[129/157] Compiling OpenAI ModelsRequest.swift
[130/157] Compiling OpenAI ModelsResponse.swift
[131/157] Compiling OpenAI ModelsWrapper.swift
[132/157] Compiling OpenAI OpenAI.swift
[133/157] Compiling OpenAI BaseRequestHandler.swift
[134/157] Compiling OpenAI RequestHandler.swift
[135/157] Compiling OpenAI Request.swift
[136/157] Compiling OpenAI TruncationStrategy.swift
[137/157] Compiling OpenAI CompletionResponse.swift
[138/157] Compiling OpenAI Completions.swift
[139/157] Compiling OpenAI CompletionsBody.swift
[140/157] Compiling OpenAI CompletionsRequest.swift
[141/157] Compiling OpenAI AudioRequest.swift
[142/157] Compiling OpenAI AudioResponse.swift
[143/157] Compiling OpenAI AudioVoice.swift
[144/157] Compiling OpenAI Content.swift
[145/157] Compiling OpenAI Effort.swift
[146/157] Compiling OpenAI FinishReason.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! (52.64s)
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.