Build Information
Successful build of OpenAI, reference main (01c08e
), with Swift 6.2 (beta) for Android on 2 Sep 2025 12:45:55 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
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 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: 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-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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/Recouse/EventSource.git
Fetching https://github.com/apple/swift-log.git
[1/760] Fetching eventsource
[731/952] Fetching eventsource, jsonschema
[923/4855] Fetching eventsource, jsonschema, swift-log
Fetched https://github.com/Recouse/EventSource.git from cache (0.36s)
Fetched https://github.com/mattt/JSONSchema.git from cache (0.36s)
Fetched https://github.com/apple/swift-log.git from cache (0.36s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.74s)
Computing version for https://github.com/Recouse/EventSource.git
Computed https://github.com/Recouse/EventSource.git at 0.1.5 (0.37s)
Computing version for https://github.com/mattt/JSONSchema.git
Computed https://github.com/mattt/JSONSchema.git at 1.3.1 (0.31s)
Fetching https://github.com/apple/swift-collections.git
[1/17394] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.14s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (2.42s)
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.5
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
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-8C5A4AE7A8CE2BA.txt
[8/35] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[9/35] Compiling EventSource Data+Trim.swift
[10/35] Compiling EventSource EventParser.swift
[11/35] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[12/35] Compiling InternalCollectionsUtilities UInt+reversed.swift
[13/35] Emitting module InternalCollectionsUtilities
[14/35] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[15/35] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[16/35] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[17/35] Compiling InternalCollectionsUtilities Integer rank.swift
[18/35] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[19/35] Compiling InternalCollectionsUtilities Debugging.swift
[20/35] Compiling InternalCollectionsUtilities Descriptions.swift
[21/35] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[22/36] Compiling EventSource Extensions.swift
[23/37] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[25/93] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[26/93] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[27/93] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[28/93] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[29/93] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[30/93] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[31/93] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[32/100] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[33/100] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[34/100] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[35/100] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[36/100] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[37/100] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[38/100] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[39/100] Compiling OrderedCollections OrderedSet+Initializers.swift
[40/100] Compiling OrderedCollections OrderedSet+Insertions.swift
[41/100] Compiling OrderedCollections OrderedSet+Invariants.swift
[42/100] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[43/100] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[44/100] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[45/100] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[46/100] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[47/100] Compiling OrderedCollections OrderedDictionary.swift
[48/100] Compiling OrderedCollections OrderedSet+Codable.swift
[49/100] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[50/100] Compiling OrderedCollections OrderedSet+Descriptions.swift
[51/100] Compiling OrderedCollections OrderedSet+Diffing.swift
[52/100] Compiling OrderedCollections OrderedSet+Equatable.swift
[53/100] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[54/100] Compiling OrderedCollections OrderedSet+Hashable.swift
[55/100] Compiling OrderedCollections OrderedDictionary+Codable.swift
[56/100] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[57/100] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[58/100] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[59/100] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[60/100] Compiling OrderedCollections OrderedDictionary+Elements.swift
[61/100] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[62/100] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[63/100] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[64/100] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[65/100] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[66/100] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[67/100] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[68/100] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[69/100] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[70/100] Compiling OrderedCollections OrderedDictionary+Values.swift
[71/100] Compiling Logging MetadataProvider.swift
[72/100] Compiling OrderedCollections _HashTable+Bucket.swift
[73/100] Compiling OrderedCollections _HashTable+BucketIterator.swift
[74/100] Compiling OrderedCollections _HashTable+Constants.swift
[75/100] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[76/100] Compiling OrderedCollections _HashTable+Testing.swift
[77/100] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[78/100] Compiling OrderedCollections _HashTable.swift
[79/100] Compiling OrderedCollections _Hashtable+Header.swift
[80/100] Compiling OrderedCollections OrderedSet+Sendable.swift
[81/100] Compiling OrderedCollections OrderedSet+SubSequence.swift
[82/100] Compiling OrderedCollections OrderedSet+Testing.swift
[83/100] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[84/100] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[85/100] Compiling OrderedCollections OrderedSet.swift
[86/100] Compiling OrderedCollections _UnsafeBitset.swift
[87/100] Compiling Logging LogHandler.swift
[88/100] Compiling Logging Locks.swift
[89/100] Emitting module Logging
[90/100] Compiling Logging Logging.swift
[92/101] Emitting module OrderedCollections
[93/102] Compiling EventSource EventSourceError.swift
[94/102] Compiling EventSource Headers.swift
[95/102] Compiling EventSource ServerEvent.swift
[96/102] Compiling EventSource Mutex.swift
[98/102] Compiling EventSource SessionDelegate.swift
[101/105] Compiling EventSource EventSource.swift
[102/105] Emitting module EventSource
[104/106] Compiling JSONSchema JSONValue.swift
[105/106] Compiling JSONSchema JSONSchema.swift
[106/106] Emitting module JSONSchema
[108/146] Compiling OpenAI ModelsWrapper.swift
[109/146] Compiling OpenAI OpenAI.swift
[110/146] Compiling OpenAI BaseRequestHandler.swift
[111/146] Compiling OpenAI RequestHandler.swift
[112/146] Compiling OpenAI Request.swift
[113/151] Compiling OpenAI AudioRequest.swift
[114/151] Compiling OpenAI AudioResponse.swift
[115/151] Compiling OpenAI AudioVoice.swift
[116/151] Compiling OpenAI Content.swift
[117/151] Compiling OpenAI Effort.swift
[118/151] Compiling OpenAI FinishReason.swift
[119/151] Compiling OpenAI CompletionsWrapper.swift
[120/151] Compiling OpenAI Configuration.swift
[121/151] Compiling OpenAI APIError.swift
[122/151] Compiling OpenAI JSONDecoder.swift
[123/151] Compiling OpenAI JSONEncoder.swift
[124/151] Compiling OpenAI TruncationStrategy.swift
[125/151] Compiling OpenAI CompletionResponse.swift
[126/151] Compiling OpenAI Completions.swift
[127/151] Compiling OpenAI CompletionsBody.swift
[128/151] Compiling OpenAI CompletionsRequest.swift
[129/151] Compiling OpenAI OpenAIError.swift
[130/151] Compiling OpenAI PlatformLogger.swift
[131/151] Compiling OpenAI Model.swift
[132/151] Compiling OpenAI ModelsRequest.swift
[133/151] Compiling OpenAI ModelsResponse.swift
[134/151] Compiling OpenAI Modality.swift
[135/151] Compiling OpenAI Prompt.swift
[136/151] Compiling OpenAI ReponseFormat.swift
[137/151] Compiling OpenAI ResponseError.swift
[138/151] Compiling OpenAI Role.swift
[139/151] Compiling OpenAI ServiceTier.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! (28.98s)
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.