The Swift Package Index logo.Swift Package Index

Build Information

Successful build of OpenAI, reference 0.5.3 (b66c39), with Swift 6.4 for Linux on 13 Oct 2026 11:28:18 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MacPaw/OpenAI.git
Reference: 0.5.3
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/MacPaw/OpenAI
 * tag               0.5.3      -> FETCH_HEAD
HEAD is now at b66c398 Merge pull request #457 from mvanhorn/fix/432-responses-demo-duplicate-function-call
Cloned https://github.com/MacPaw/OpenAI.git
Revision (git rev-parse @):
b66c398c9afd2fb31866d4ac3da4761ce5e3d1c8
SUCCESS checkout https://github.com/MacPaw/OpenAI.git at 0.5.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/MacPaw/OpenAI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:cb09f0c0d537a8668f02529c380785d189fc75032d54572211355a09e050e122
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/apple/swift-openapi-runtime
[1/7197] Fetching swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-runtime (0.55s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.13.0 (0.73s)
Fetching https://github.com/apple/swift-http-types
[1/1939] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types (0.49s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (0.68s)
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.13.0
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.8.0
Building for debugging...
[Pre-planning 1 / 126]
[Planning deferred tasks]
[40 / 62] HTTPTypes
[50 / 72] OpenAPIRuntime
[52 / 72] OpenAPIRuntime
[52 / 72] HTTPTypes
[54 / 72] OpenAPIRuntime
[55 / 73] OpenAPIRuntime
[56 / 73] HTTPTypes
[64 / 74]
[64 / 75] OpenAI
[67 / 83] OpenAI
[69 / 83] OpenAI
[70 / 83] OpenAI
[72 / 83] OpenAI
[73 / 84] OpenAPIRuntime
[76 / 84] OpenAPIRuntime
[76 / 84] OpenAI
/host/spi-builder-workspace/Sources/OpenAI/Private/Extensions for generated code/Schemas+Description.swift:42:183: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
40 | extension Components.Schemas.ResponseOutputTextAnnotationAddedEvent: CustomStringConvertible {
41 |     public var description: String {
42 |         "ResponseOutputTextAnnotationAddedEvent(itemId: \"\(itemId)\", outputIndex: \(outputIndex), contentIndex: \(contentIndex), annotationIndex: \(annotationIndex), annotation: \(annotation))"
   |                                                                                                                                                                                       |- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
   |                                                                                                                                                                                       |- note: use a default value parameter to avoid this warning
   |                                                                                                                                                                                       |- note: provide a default value to avoid this warning
   |                                                                                                                                                                                       `- note: use 'String(describing:)' to silence this warning
43 |     }
44 | }
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:1180:26: warning: 'truncation' is deprecated [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 1178 |                     self.promptCacheOptions = promptCacheOptions
 1179 |                     self.serviceTier = serviceTier
 1180 |                     self.truncation = truncation
      |                          `- warning: 'truncation' is deprecated [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 1181 |                     self.reasoning = reasoning
 1182 |                     self.input = input
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:5246:22: warning: 'user' is deprecated [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 5244 |                 self.temperature = temperature
 5245 |                 self.topP = topP
 5246 |                 self.user = user
      |                      `- warning: 'user' is deprecated [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 5247 |                 self.safetyIdentifier = safetyIdentifier
 5248 |                 self.promptCacheKey = promptCacheKey
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:5249:22: warning: 'promptCacheRetention' is deprecated [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 5247 |                 self.safetyIdentifier = safetyIdentifier
 5248 |                 self.promptCacheKey = promptCacheKey
 5249 |                 self.promptCacheRetention = promptCacheRetention
      |                      `- warning: 'promptCacheRetention' is deprecated [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 5250 |             }
 5251 |             public enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/OpenAI/Public/Schemas/Generated/Components.swift:12474:22: warning: 'query' is deprecated [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
12472 |             ) {
12473 |                 self._type = _type
12474 |                 self.query = query
      |                      `- warning: 'query' is deprecated [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
12475 |                 self.queries = queries
12476 |                 self.sources = sources
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[81 / 84] OpenAI
[84 / 85] OpenAI
Build complete! (32.30 secs)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-openapi-runtime",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-openapi-runtime"
    }
  ],
  "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" : [
        "AsyncClientTests.swift",
        "ChatQueryCodingTests.swift",
        "ChatResultTests.swift",
        "ChatStreamResultTests.swift",
        "ClientTests.swift",
        "CombineClientTests.swift",
        "Extensions/AssistantResult+Mock.swift",
        "Extensions/AssistantsQuery+Mock.swift",
        "Extensions/AudioSpeechQuery+Mock.swift",
        "Extensions/ChatResult+Mock.swift",
        "Extensions/ResponseObject+Mock.swift",
        "Extensions/XCTestCase+Extensions.swift",
        "InputItemCodingTests.swift",
        "ItemCodingTests.swift",
        "JSONResponseErrorDecoderTests.swift",
        "MockServerSentEvent.swift",
        "Mocks/ChatCompletionToolParam+Mock.swift",
        "Mocks/ChatResult+MockJson.swift",
        "Mocks/DataTaskMock.swift",
        "Mocks/MockCancellablesFactory.swift",
        "Mocks/MockDataTaskPublisher.swift",
        "Mocks/MockMiddleware.swift",
        "Mocks/MockStreamingSessionFactory.swift",
        "Mocks/MockURLSessionFactory.swift",
        "Mocks/MovieInfo.swift",
        "Mocks/NeverURLSessionMock.swift",
        "Mocks/NoDispatchExecutionSerializer.swift",
        "Mocks/URLSessionMock.swift",
        "Mocks/WorkSimulatingMockMiddleware.swift",
        "ModelResponseEventsStreamInterpreterTests.swift",
        "ModelSpecTests.swift",
        "OpenAIStreamingTests.swift",
        "OpenAITests.swift",
        "OpenAITestsCombine.swift",
        "OpenAITestsDecoder.swift",
        "OutputItemCodingTests.swift",
        "ResponseFunctionCallArgumentsDoneEventTests.swift",
        "ResponseObjectCodingTests.swift",
        "ResponseStreamEventCodableTests.swift",
        "ResponsesEndpointTests.swift",
        "ServerSentEventsParserTests.swift",
        "ServerSentEventsStreamInterpreterTests.swift",
        "ServerSentEventsStreamParserTests.swift",
        "StreamingClientTests.swift",
        "StreamingSessionErrorHandlingTests.swift",
        "StreamingSessionIntegrationTests.swift",
        "StreamingSessionTests.swift"
      ],
      "target_dependencies" : [
        "OpenAI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OpenAI",
      "module_type" : "SwiftTarget",
      "name" : "OpenAI",
      "path" : "Sources/OpenAI",
      "product_dependencies" : [
        "OpenAPIRuntime"
      ],
      "product_memberships" : [
        "OpenAI"
      ],
      "sources" : [
        "OpenAI+OpenAIAsync.swift",
        "OpenAI+OpenAICombine.swift",
        "OpenAI.swift",
        "Private/AssistantsRequest.swift",
        "Private/CancellablesFactory.swift",
        "Private/ChatQuery+CustomStringConvertible.swift",
        "Private/Client/AsyncClient.swift",
        "Private/Client/Client.swift",
        "Private/Client/CombineClient.swift",
        "Private/Client/StreamingClient.swift",
        "Private/CodingUserInfoKey+ParsingOptions.swift",
        "Private/DataTaskFactory.swift",
        "Private/DescribedError.swift",
        "Private/DispatchQueue+Static.swift",
        "Private/ExecutionSerializer.swift",
        "Private/Extensions for generated code/Schemas+Description.swift",
        "Private/JSONRequest.swift",
        "Private/JSONResponseDecoder.swift",
        "Private/JSONResponseErrorDecoder.swift",
        "Private/KeyedDecodingContainer+ParsingOptions.swift",
        "Private/MultipartFormDataBodyBuilder.swift",
        "Private/MultipartFormDataBodyEncodable.swift",
        "Private/MultipartFormDataEntry.swift",
        "Private/MultipartFormDataRequest.swift",
        "Private/OpenAI+MakeRequest.swift",
        "Private/PropertyValue.swift",
        "Private/SSLDelegateProtocol.swift",
        "Private/SendablePassthroughSubject.swift",
        "Private/StreamableQuery.swift",
        "Private/Streaming/AudioSpeechStreamInterpreter.swift",
        "Private/Streaming/CodableResultStreamInterpreter.swift",
        "Private/Streaming/DataTaskPerformingURLSession.swift",
        "Private/Streaming/InvalidatableSession.swift",
        "Private/Streaming/ModelResponseEventsStreamInterpreter.swift",
        "Private/Streaming/ModelResponseStreamEventType.swift",
        "Private/Streaming/PerformableSession.swift",
        "Private/Streaming/ServerSentEventsStreamInterpreter.swift",
        "Private/Streaming/ServerSentEventsStreamParser.swift",
        "Private/Streaming/ServerSentEventsStreamingSessionFactory.swift",
        "Private/Streaming/SessionInvalidator.swift",
        "Private/Streaming/StreamingError.swift",
        "Private/Streaming/StreamingSession.swift",
        "Private/URLBuilder.swift",
        "Private/URLComponents+.swift",
        "Private/URLRequestBuildable.swift",
        "Private/URLResponseHandler.swift",
        "Private/URLSession+AsyncCompatibility.swift",
        "Private/URLSessionCombine.swift",
        "Private/URLSessionDataDelegateForwarder.swift",
        "Private/URLSessionDataTaskProtocol.swift",
        "Private/URLSessionDataTaskPublisherProtocol.swift",
        "Private/URLSessionDataTaskStore.swift",
        "Private/URLSessionDelegateProtocol.swift",
        "Private/URLSessionFactory.swift",
        "Private/URLSessionProtocol+MakeDataTask.swift",
        "Private/URLSessionProtocol.swift",
        "Private/URLSessionTaskCanceller.swift",
        "Public/Errors/APIError.swift",
        "Public/Errors/GeminiAPIError.swift",
        "Public/JSONSchema/AnyJSONDocument.swift",
        "Public/JSONSchema/JSONDocument.swift",
        "Public/JSONSchema/JSONSchema.swift",
        "Public/JSONSchema/JSONSchemaField.swift",
        "Public/JSONSchema/JSONSchemaInstanceType.swift",
        "Public/JSONSchemaConvertible/JSONSchemaConvertationError.swift",
        "Public/JSONSchemaConvertible/JSONSchemaConvertible.swift",
        "Public/JSONSchemaConvertible/JSONSchemaEnumConvertible.swift",
        "Public/Models/Annotation.swift",
        "Public/Models/AssistantResult.swift",
        "Public/Models/AssistantsQuery.swift",
        "Public/Models/AssistantsResult.swift",
        "Public/Models/AssistantsTool.swift",
        "Public/Models/AudioSpeechQuery.swift",
        "Public/Models/AudioSpeechResult.swift",
        "Public/Models/AudioTranscriptionQuery.swift",
        "Public/Models/AudioTranscriptionResult.swift",
        "Public/Models/AudioTranscriptionStreamResult.swift",
        "Public/Models/AudioTranscriptionVerboseResult.swift",
        "Public/Models/AudioTranslationQuery.swift",
        "Public/Models/AudioTranslationResult.swift",
        "Public/Models/ChatQuery.swift",
        "Public/Models/ChatResult.swift",
        "Public/Models/ChatStreamResult.swift",
        "Public/Models/EmbeddingsQuery.swift",
        "Public/Models/EmbeddingsResult.swift",
        "Public/Models/FilesQuery.swift",
        "Public/Models/FilesResult.swift",
        "Public/Models/FunctionDeclaration.swift",
        "Public/Models/ImageEditsQuery.swift",
        "Public/Models/ImageVariationsQuery.swift",
        "Public/Models/ImagesQuery.swift",
        "Public/Models/ImagesResult.swift",
        "Public/Models/MessageQuery.swift",
        "Public/Models/Models/ModelQuery.swift",
        "Public/Models/Models/ModelResult.swift",
        "Public/Models/Models/Models.swift",
        "Public/Models/Models/ModelsResult.swift",
        "Public/Models/Models/Specs/ModelSpec+GPT56.swift",
        "Public/Models/Models/Specs/ModelSpec+GPT6.swift",
        "Public/Models/Models/Specs/ModelSpec.swift",
        "Public/Models/ModerationsQuery.swift",
        "Public/Models/ModerationsResult.swift",
        "Public/Models/Responses API/CreateModelResponseQuery+TextResponseConfigurationOptions.swift",
        "Public/Models/Responses API/CreateModelResponseQuery.swift",
        "Public/Models/Responses API/CreateModelResponseQueryInput.swift",
        "Public/Models/Responses API/DeleteModelResponseQuery.swift",
        "Public/Models/Responses API/DeleteModelResponseResult.swift",
        "Public/Models/Responses API/ResponseEvent.swift",
        "Public/Models/Responses API/ResponseObject.swift",
        "Public/Models/Responses API/RetrieveModelResponseQuery.swift",
        "Public/Models/RunResult.swift",
        "Public/Models/RunRetrieveQuery.swift",
        "Public/Models/RunRetrieveStepsResult.swift",
        "Public/Models/RunToolOutputsQuery.swift",
        "Public/Models/RunsQuery.swift",
        "Public/Models/ThreadAddMessagesResult.swift",
        "Public/Models/ThreadRunQuery.swift",
        "Public/Models/ThreadsMessagesResult.swift",
        "Public/Models/ThreadsQuery.swift",
        "Public/Models/ThreadsResult.swift",
        "Public/Models/Types/ChatQueryWebSearchOptions.swift",
        "Public/Models/Types/JSONSchemaDefinition.swift",
        "Public/Models/Types/ServiceTier.swift",
        "Public/Protocols/CancellableRequest.swift",
        "Public/Protocols/OpenAIAsync.swift",
        "Public/Protocols/OpenAICombine.swift",
        "Public/Protocols/OpenAIMiddleware.swift",
        "Public/Protocols/OpenAIProtocol.swift",
        "Public/Protocols/ResponsesEndpointAsync.swift",
        "Public/Protocols/ResponsesEndpointCombine.swift",
        "Public/Protocols/ResponsesEndpointModern.swift",
        "Public/Protocols/ResponsesEndpointProtocol.swift",
        "Public/Schemas/Edited/EasyInputMessage.swift",
        "Public/Schemas/Edited/FunctionTool.swift",
        "Public/Schemas/Edited/InputContent.swift",
        "Public/Schemas/Edited/InputImage.swift",
        "Public/Schemas/Edited/InputItem.swift",
        "Public/Schemas/Edited/ResponseFunctionCallArgumentsDoneEvent.swift",
        "Public/Schemas/Edited/ResponseMCPCallArgumentsDeltaEvent.swift",
        "Public/Schemas/Edited/ResponseMCPCallArgumentsDoneEvent.swift",
        "Public/Schemas/Edited/ResponseOutputItemAddedEvent.swift",
        "Public/Schemas/Edited/ResponseOutputItemDoneEvent.swift",
        "Public/Schemas/Edited/Tool.swift",
        "Public/Schemas/Edited/WebSearchToolCall.swift",
        "Public/Schemas/Facade/OutputItem.swift",
        "Public/Schemas/Facade/ResponseStreamEvent.swift",
        "Public/Schemas/Generated/Components.swift",
        "Public/Utilities/ParsingOptions.swift",
        "Public/Utilities/Utilities.swift",
        "ResponsesEndpoint+Async.swift",
        "ResponsesEndpoint+Combine.swift",
        "ResponsesEndpoint.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:cb09f0c0d537a8668f02529c380785d189fc75032d54572211355a09e050e122
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.