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 Android on 16 Aug 2025 06:33:42 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.66.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Recouse/OpenAI.git
Reference: 0.1.5
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.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:         android
Swift version:             6.2
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" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/mattt/JSONSchema.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Recouse/EventSource.git
[1/188] Fetching jsonschema
[189/942] Fetching jsonschema, eventsource
[438/4828] Fetching jsonschema, eventsource, swift-log
Fetched https://github.com/Recouse/EventSource.git from cache (0.26s)
[3103/4074] Fetching jsonschema, swift-log
Fetched https://github.com/mattt/JSONSchema.git from cache (0.37s)
Fetched https://github.com/apple/swift-log.git from cache (0.37s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (1.57s)
Computing version for https://github.com/mattt/JSONSchema.git
Computed https://github.com/mattt/JSONSchema.git at 1.3.0 (0.38s)
Fetching https://github.com/apple/swift-collections.git
[1/16977] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.22s)
Computing version for https://github.com/Recouse/EventSource.git
Computed https://github.com/Recouse/EventSource.git at 0.1.5 (1.63s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.70s)
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/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/mattt/JSONSchema.git
Working copy of https://github.com/mattt/JSONSchema.git resolved at 1.3.0
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-8C5A4AE7A8CE2BA.txt
[8/35] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[9/35] Compiling InternalCollectionsUtilities Debugging.swift
[10/36] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[11/36] Compiling InternalCollectionsUtilities Integer rank.swift
[12/36] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[13/36] Compiling InternalCollectionsUtilities UInt+reversed.swift
[14/36] Emitting module InternalCollectionsUtilities
[15/36] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[16/36] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[17/36] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[18/36] Compiling InternalCollectionsUtilities _SortedCollection.swift
[19/36] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[20/36] Compiling InternalCollectionsUtilities Descriptions.swift
[21/36] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[22/36] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[24/92] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[25/92] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[26/92] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[27/92] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[28/92] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[29/92] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[30/92] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[31/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[32/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[33/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[34/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[35/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[36/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[37/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[38/99] Compiling OrderedCollections OrderedDictionary.swift
[39/99] Compiling OrderedCollections OrderedSet+Codable.swift
[40/99] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[41/99] Compiling OrderedCollections OrderedSet+Descriptions.swift
[42/99] Compiling OrderedCollections OrderedSet+Diffing.swift
[43/99] Compiling OrderedCollections OrderedSet+Equatable.swift
[44/99] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[45/99] Compiling OrderedCollections OrderedSet+Hashable.swift
[46/99] Compiling OrderedCollections OrderedSet+Initializers.swift
[47/99] Compiling OrderedCollections OrderedSet+Insertions.swift
[48/99] Compiling OrderedCollections OrderedSet+Invariants.swift
[49/99] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[50/99] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[51/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[52/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[53/99] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[54/99] Compiling OrderedCollections OrderedDictionary+Codable.swift
[55/99] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[56/99] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[57/99] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[58/99] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[59/99] Compiling OrderedCollections OrderedDictionary+Elements.swift
[60/99] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[61/99] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[62/99] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[63/99] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[64/99] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[65/99] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[66/99] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[67/99] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[68/99] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[69/99] Compiling OrderedCollections OrderedDictionary+Values.swift
[70/99] Emitting module OrderedCollections
[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 _Hashtable+Header.swift
[79/99] Compiling OrderedCollections OrderedSet+Sendable.swift
[80/99] Compiling OrderedCollections OrderedSet+SubSequence.swift
[81/99] Compiling OrderedCollections OrderedSet+Testing.swift
[82/99] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[83/99] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[84/99] Compiling OrderedCollections OrderedSet.swift
[85/99] Compiling OrderedCollections _UnsafeBitset.swift
[87/100] Compiling Logging MetadataProvider.swift
[88/103] Compiling Logging LogHandler.swift
[89/103] Compiling Logging Locks.swift
[90/103] Emitting module Logging
[91/103] Compiling Logging Logging.swift
[93/104] Compiling EventSource EventSourceError.swift
[94/104] Compiling EventSource Headers.swift
[95/105] Compiling EventSource Mutex.swift
[96/105] Compiling EventSource Extensions.swift
[97/105] Compiling EventSource ServerEvent.swift
[98/105] Emitting module EventSource
[99/105] Compiling JSONSchema JSONValue.swift
[100/105] Compiling EventSource EventSource.swift
[103/105] Compiling EventSource SessionDelegate.swift
[105/106] Emitting module JSONSchema
[106/106] Compiling JSONSchema JSONSchema.swift
[108/146] Compiling OpenAI CompletionsWrapper.swift
[109/146] Compiling OpenAI Configuration.swift
[110/146] Compiling OpenAI APIError.swift
[111/146] Compiling OpenAI JSONDecoder.swift
[112/146] Compiling OpenAI JSONEncoder.swift
[113/151] Compiling OpenAI ModelsWrapper.swift
[114/151] Compiling OpenAI OpenAI.swift
[115/151] Compiling OpenAI BaseRequestHandler.swift
[116/151] Compiling OpenAI RequestHandler.swift
[117/151] Compiling OpenAI Request.swift
[118/151] Compiling OpenAI AudioRequest.swift
[119/151] Compiling OpenAI AudioResponse.swift
[120/151] Compiling OpenAI AudioVoice.swift
[121/151] Compiling OpenAI Content.swift
[122/151] Compiling OpenAI Effort.swift
[123/151] Compiling OpenAI FinishReason.swift
[124/151] Compiling OpenAI OpenAIError.swift
[125/151] Compiling OpenAI PlatformLogger.swift
[126/151] Compiling OpenAI Model.swift
[127/151] Compiling OpenAI ModelsRequest.swift
[128/151] Compiling OpenAI ModelsResponse.swift
[129/151] Compiling OpenAI Modality.swift
[130/151] Compiling OpenAI Prompt.swift
[131/151] Compiling OpenAI ReponseFormat.swift
[132/151] Compiling OpenAI ResponseError.swift
[133/151] Compiling OpenAI Role.swift
[134/151] Compiling OpenAI ServiceTier.swift
[135/151] Compiling OpenAI TruncationStrategy.swift
[136/151] Compiling OpenAI CompletionResponse.swift
[137/151] Compiling OpenAI Completions.swift
[138/151] Compiling OpenAI CompletionsBody.swift
[139/151] Compiling OpenAI CompletionsRequest.swift
[140/151] Emitting module OpenAI
[141/151] Compiling OpenAI ChatCompletions.swift
[142/151] Compiling OpenAI ChatCompletionsBody.swift
[143/151] Compiling OpenAI ChatCompletionsRequest.swift
[144/151] Compiling OpenAI ChatCompletionsResponse.swift
[145/151] Compiling OpenAI ChatWrapper.swift
[146/151] Compiling OpenAI AudioFormat.swift
[147/151] Compiling OpenAI Responses.swift
[148/151] Compiling OpenAI ResponsesBody.swift
[149/151] Compiling OpenAI ResponsesRequest.swift
[150/151] Compiling OpenAI ResponsesResponse.swift
[151/151] Compiling OpenAI ResponsesWrapper.swift
Build complete! (33.39s)
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"
}
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Done.