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 SwiftOpenAI, reference main (b31678), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 19:55:39 UTC.

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftBeta/SwiftOpenAI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftBeta/SwiftOpenAI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b316788 Edits and variations images (#45)
Cloned https://github.com/SwiftBeta/SwiftOpenAI.git
Revision (git rev-parse @):
b316788cf0e6584cc730d8231112dd2c76458713
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SwiftBeta/SwiftOpenAI.git at main
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
[227/5426] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin from cache (1.22s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.22s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.2.0 (1.84s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.64s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftopenai",
      "name": "SwiftOpenAI",
      "url": "https://github.com/SwiftBeta/SwiftOpenAI.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftOpenAI",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/SwiftBeta/SwiftOpenAI.git
[1/1090] Fetching swiftopenai
Fetched https://github.com/SwiftBeta/SwiftOpenAI.git from cache (1.01s)
Creating working copy for https://github.com/SwiftBeta/SwiftOpenAI.git
Working copy of https://github.com/SwiftBeta/SwiftOpenAI.git resolved at main (b316788)
warning: '.resolve-product-dependencies': dependency 'swiftopenai' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SwiftBeta/SwiftOpenAI.git
https://github.com/SwiftBeta/SwiftOpenAI.git
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "SwiftOpenAI",
  "name" : "SwiftOpenAI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftOpenAI",
      "targets" : [
        "SwiftOpenAI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftOpenAITests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftOpenAITests",
      "path" : "Tests/SwiftOpenAITests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftOpenAITests/OpenAITests/Unit Tests/JSON/chat.completions.error.invalid_api_key.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftOpenAITests/OpenAITests/Unit Tests/JSON/chat.completions.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftOpenAITests/OpenAITests/Unit Tests/JSON/completions.error.invalid_api_key.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftOpenAITests/OpenAITests/Unit Tests/JSON/completions.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftOpenAITests/OpenAITests/Unit Tests/JSON/create.image.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftOpenAITests/OpenAITests/Unit Tests/JSON/embeddings.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftOpenAITests/OpenAITests/Unit Tests/JSON/models.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftOpenAITests/OpenAITests/Unit Tests/JSON/moderations.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "APIClientTests/Endpoint/EndpointSpec.swift",
        "APIClientTests/Endpoint/Mocks/EmptyEndpointMock.swift",
        "APIClientTests/Endpoint/Mocks/EndpointGetMock.swift",
        "APIClientTests/Endpoint/Mocks/EndpointPostMock.swift",
        "APIClientTests/Parser/ParserSpec.swift",
        "APIClientTests/Parser/SwiftBetaModel.swift",
        "APIClientTests/Requester/Mocks/RequesterMock.swift",
        "APIClientTests/Requester/Mocks/URLProtocolMock.swift",
        "APIClientTests/Requester/RequesterBuilderSpec.swift",
        "APIClientTests/Requester/RequesterSpec.swift",
        "APIClientTests/Router/BaseEnvironmentMock.swift",
        "APIClientTests/Router/RouterSpec.swift",
        "OpenAITests/Helpers/URLStreamProtocolMock.swift",
        "OpenAITests/Helpers/dataToJSON.swift",
        "OpenAITests/Helpers/loadJSON.swift",
        "OpenAITests/Unit Tests/Audio/CreateSpeech/CreateSpeechEndpointSpec.swift",
        "OpenAITests/Unit Tests/Audio/CreateSpeech/CreateSpeechRequestSpec.swift",
        "OpenAITests/Unit Tests/Audio/CreateTranscription/CreateTranscriptionEndpointSpec.swift",
        "OpenAITests/Unit Tests/Audio/CreateTranscription/CreateTranscriptionRequestSpec.swift",
        "OpenAITests/Unit Tests/ChatCompletions/ChatCompletionsAPIClientSpec.swift",
        "OpenAITests/Unit Tests/ChatCompletions/ChatCompletionsEndpointSpec.swift",
        "OpenAITests/Unit Tests/ChatCompletions/ChatCompletionsParserSpec.swift",
        "OpenAITests/Unit Tests/ChatCompletions/ChatCompletionsRequestSpec.swift",
        "OpenAITests/Unit Tests/ChatCompletions/ChatCompletionsStreamAPIClientSpec.swift",
        "OpenAITests/Unit Tests/ChatCompletions/ChatCompletionsStreamMapperSpec.swift",
        "OpenAITests/Unit Tests/Completions/CompletionParserSpec.swift",
        "OpenAITests/Unit Tests/Completions/CompletionRequestSpec.swift",
        "OpenAITests/Unit Tests/Completions/CompletionsAPIClientSpec.swift",
        "OpenAITests/Unit Tests/Completions/CompletionsEndpointSpec.swift",
        "OpenAITests/Unit Tests/Embeddings/EmbeddingsAPIClientSpec.swift",
        "OpenAITests/Unit Tests/Embeddings/EmbeddingsEndpointSpec.swift",
        "OpenAITests/Unit Tests/Embeddings/EmbeddingsParserSpec.swift",
        "OpenAITests/Unit Tests/Embeddings/EmbeddingsRequestSpec.swift",
        "OpenAITests/Unit Tests/Images/CreateImageAPIClientSpec.swift",
        "OpenAITests/Unit Tests/Images/CreateImageEndpointSpec.swift",
        "OpenAITests/Unit Tests/Images/CreateImageParserSpec.swift",
        "OpenAITests/Unit Tests/Images/CreateImageRequestSpec.swift",
        "OpenAITests/Unit Tests/ListModels/ListModelsAPIClientSpec.swift",
        "OpenAITests/Unit Tests/ListModels/ListModelsEndpointSpec.swift",
        "OpenAITests/Unit Tests/ListModels/ListModelsParserSpec.swift",
        "OpenAITests/Unit Tests/ListModels/ListModelsRequestSpec.swift",
        "OpenAITests/Unit Tests/Moderations/ModerationsAPIClientSpec.swift",
        "OpenAITests/Unit Tests/Moderations/ModerationsEndpointSpec.swift",
        "OpenAITests/Unit Tests/Moderations/ModerationsParserSpec.swift",
        "OpenAITests/Unit Tests/Moderations/ModerationsRequestSpec.swift"
      ],
      "target_dependencies" : [
        "SwiftOpenAI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftOpenAI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftOpenAI",
      "path" : "Sources/SwiftOpenAI",
      "product_memberships" : [
        "SwiftOpenAI"
      ],
      "sources" : [
        "APIClient/API.swift",
        "APIClient/Endpoint/Endpoint.swift",
        "APIClient/Parser/Parser.swift",
        "APIClient/Requester/APIError.swift",
        "APIClient/Requester/RequestBuilder.swift",
        "APIClient/Requester/Requester.swift",
        "APIClient/Router/BaseEnvironment.swift",
        "APIClient/Router/Router.swift",
        "OpenAI/DataModels/Audio/CreateTranscriptionDataModel.swift",
        "OpenAI/DataModels/Audio/CreateTranslationDataModel.swift",
        "OpenAI/DataModels/Audio/OpenAIAudioResponseType.swift",
        "OpenAI/DataModels/Audio/OpenAITTSModelType.swift",
        "OpenAI/DataModels/Audio/OpenAITranscriptionModelType.swift",
        "OpenAI/DataModels/Audio/OpenAIVoiceType.swift",
        "OpenAI/DataModels/Chat/ChatCompletionsDataModel.swift",
        "OpenAI/DataModels/Chat/ChatCompletionsOptionalParameters.swift",
        "OpenAI/DataModels/Chat/ChatCompletionsStreamDataModel.swift",
        "OpenAI/DataModels/Completions/CompletionsDataModel.swift",
        "OpenAI/DataModels/Completions/CompletionsOptionalParameters.swift",
        "OpenAI/DataModels/Embedding/EmbeddingDataModel.swift",
        "OpenAI/DataModels/Images/CreateImageDataModel.swift",
        "OpenAI/DataModels/Images/ImageSize.swift",
        "OpenAI/DataModels/Message/MessageChatGPT.swift",
        "OpenAI/DataModels/Message/MessageChatImageInput.swift",
        "OpenAI/DataModels/Message/MessageRoleType.swift",
        "OpenAI/DataModels/Models/ModelDataModel.swift",
        "OpenAI/DataModels/Moderations/ModerationsDataModel.swift",
        "OpenAI/DataModels/OpenAIError.swift",
        "OpenAI/DataModels/OpenAIModelType.swift",
        "OpenAI/Environment/OpenAIBaseEnvironment.swift",
        "OpenAI/OpenAIEndpoints/List/Audio/CreateSpeechEndpoint.swift",
        "OpenAI/OpenAIEndpoints/List/Audio/CreateTranscriptionEndpoint.swift",
        "OpenAI/OpenAIEndpoints/List/Audio/CreateTranslationEndpoint.swift",
        "OpenAI/OpenAIEndpoints/List/Chat/ChatCompletionsEndpoint.swift",
        "OpenAI/OpenAIEndpoints/List/Chat/ChatCompletionsImageInputEndpoint.swift",
        "OpenAI/OpenAIEndpoints/List/Chat/CompletionsEndpoint.swift",
        "OpenAI/OpenAIEndpoints/List/Embeddings/EmbeddingsEndpoint.swift",
        "OpenAI/OpenAIEndpoints/List/Image/CreateImageEndpoint.swift",
        "OpenAI/OpenAIEndpoints/List/Image/EditImageEndpoint.swift",
        "OpenAI/OpenAIEndpoints/List/Image/VariationImageEndpoint.swift",
        "OpenAI/OpenAIEndpoints/List/Models/ListModelsEndpoint.swift",
        "OpenAI/OpenAIEndpoints/List/Moderation/ModerationEndpoint.swift",
        "OpenAI/OpenAIEndpoints/OpenAIEndpoints.swift",
        "OpenAI/Requests/Audio/CreateSpeechRequest.swift",
        "OpenAI/Requests/Audio/CreateTranscriptionRequest.swift",
        "OpenAI/Requests/Audio/CreateTranslationRequest.swift",
        "OpenAI/Requests/ChatCompletions/CreateChatCompletionsImageInputRequest.swift",
        "OpenAI/Requests/ChatCompletions/CreateChatCompletionsRequest.swift",
        "OpenAI/Requests/ChatCompletions/Stream/ChatCompletionsStreamMapper.swift",
        "OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift",
        "OpenAI/Requests/Completions/CompletionsRequest.swift",
        "OpenAI/Requests/Embeddings/EmbeddingsRequest.swift",
        "OpenAI/Requests/Images/CreateImagesRequest.swift",
        "OpenAI/Requests/Images/EditImageRequest.swift",
        "OpenAI/Requests/Images/VariationImageRequest.swift",
        "OpenAI/Requests/Models/ListModelsRequest.swift",
        "OpenAI/Requests/Moderations/ModerationsRequest.swift",
        "OpenAI/Requests/MultipartFormData.swift",
        "OpenAI/SwiftOpenAI.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/59] Emitting module SwiftOpenAI
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Chat/ChatCompletionsStreamDataModel.swift:10:16: warning: static property 'finished' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |     public var choices: [ChoicesStreamDataModel]
 9 |
10 |     static var finished: ChatCompletionsStreamDataModel = {
   |                |- warning: static property 'finished' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'finished' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'finished' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |         .init(id: UUID().uuidString,
12 |               object: "",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:24:17: warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranscriptionRequest' is mutable; this is an error in the Swift 6 language mode
22 |                              _ temperature: Double) async throws -> AsyncThrowingStream<CreateTranscriptionDataModel, Error>
23 |
24 |     private var urlSession: URLSession?
   |                 `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranscriptionRequest' is mutable; this is an error in the Swift 6 language mode
25 |     private var dataTask: URLSessionDataTask?
26 |     private var continuation: AsyncThrowingStream<CreateTranscriptionDataModel, Error>.Continuation?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:22:17: warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranslationRequest' is mutable; this is an error in the Swift 6 language mode
20 |                              _ temperature: Double) async throws -> AsyncThrowingStream<CreateTranslationDataModel, Error>
21 |
22 |     private var urlSession: URLSession?
   |                 `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranslationRequest' is mutable; this is an error in the Swift 6 language mode
23 |     private var dataTask: URLSessionDataTask?
24 |     private var continuation: AsyncThrowingStream<CreateTranslationDataModel, Error>.Continuation?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:21:17: warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateChatCompletionsStreamRequest' is mutable; this is an error in the Swift 6 language mode
19 |                              _ optionalParameters: ChatCompletionsOptionalParameters?) throws -> AsyncThrowingStream<ChatCompletionsStreamDataModel, Error>
20 |
21 |     private var urlSession: URLSession?
   |                 `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateChatCompletionsStreamRequest' is mutable; this is an error in the Swift 6 language mode
22 |     private var dataTask: URLSessionDataTask?
23 |     private var streamMapper: ChatCompletionsStreamMappeable
[6/64] Compiling SwiftOpenAI CreateSpeechEndpoint.swift
[7/64] Compiling SwiftOpenAI CreateTranscriptionEndpoint.swift
[8/64] Compiling SwiftOpenAI CreateTranslationEndpoint.swift
[9/64] Compiling SwiftOpenAI ChatCompletionsEndpoint.swift
[10/64] Compiling SwiftOpenAI ChatCompletionsImageInputEndpoint.swift
[11/64] Compiling SwiftOpenAI CompletionsEndpoint.swift
[12/64] Compiling SwiftOpenAI ChatCompletionsStreamMapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:21:17: warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateChatCompletionsStreamRequest' is mutable; this is an error in the Swift 6 language mode
19 |                              _ optionalParameters: ChatCompletionsOptionalParameters?) throws -> AsyncThrowingStream<ChatCompletionsStreamDataModel, Error>
20 |
21 |     private var urlSession: URLSession?
   |                 `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateChatCompletionsStreamRequest' is mutable; this is an error in the Swift 6 language mode
22 |     private var dataTask: URLSessionDataTask?
23 |     private var streamMapper: ChatCompletionsStreamMappeable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:64:37: warning: sending 'newMessage' risks causing data races; this is an error in the Swift 6 language mode
62 |         do {
63 |             try streamMapper.parse(data: data).forEach { [weak self] newMessage in
64 |                 self?.continuation?.yield(newMessage)
   |                                     |- warning: sending 'newMessage' risks causing data races; this is an error in the Swift 6 language mode
   |                                     `- note: task-isolated 'newMessage' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
65 |             }
66 |         } catch {
[13/64] Compiling SwiftOpenAI CreateChatCompletionsStreamRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:21:17: warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateChatCompletionsStreamRequest' is mutable; this is an error in the Swift 6 language mode
19 |                              _ optionalParameters: ChatCompletionsOptionalParameters?) throws -> AsyncThrowingStream<ChatCompletionsStreamDataModel, Error>
20 |
21 |     private var urlSession: URLSession?
   |                 `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateChatCompletionsStreamRequest' is mutable; this is an error in the Swift 6 language mode
22 |     private var dataTask: URLSessionDataTask?
23 |     private var streamMapper: ChatCompletionsStreamMappeable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:64:37: warning: sending 'newMessage' risks causing data races; this is an error in the Swift 6 language mode
62 |         do {
63 |             try streamMapper.parse(data: data).forEach { [weak self] newMessage in
64 |                 self?.continuation?.yield(newMessage)
   |                                     |- warning: sending 'newMessage' risks causing data races; this is an error in the Swift 6 language mode
   |                                     `- note: task-isolated 'newMessage' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
65 |             }
66 |         } catch {
[14/64] Compiling SwiftOpenAI CompletionsRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:21:17: warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateChatCompletionsStreamRequest' is mutable; this is an error in the Swift 6 language mode
19 |                              _ optionalParameters: ChatCompletionsOptionalParameters?) throws -> AsyncThrowingStream<ChatCompletionsStreamDataModel, Error>
20 |
21 |     private var urlSession: URLSession?
   |                 `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateChatCompletionsStreamRequest' is mutable; this is an error in the Swift 6 language mode
22 |     private var dataTask: URLSessionDataTask?
23 |     private var streamMapper: ChatCompletionsStreamMappeable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:64:37: warning: sending 'newMessage' risks causing data races; this is an error in the Swift 6 language mode
62 |         do {
63 |             try streamMapper.parse(data: data).forEach { [weak self] newMessage in
64 |                 self?.continuation?.yield(newMessage)
   |                                     |- warning: sending 'newMessage' risks causing data races; this is an error in the Swift 6 language mode
   |                                     `- note: task-isolated 'newMessage' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
65 |             }
66 |         } catch {
[15/64] Compiling SwiftOpenAI EmbeddingsRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:21:17: warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateChatCompletionsStreamRequest' is mutable; this is an error in the Swift 6 language mode
19 |                              _ optionalParameters: ChatCompletionsOptionalParameters?) throws -> AsyncThrowingStream<ChatCompletionsStreamDataModel, Error>
20 |
21 |     private var urlSession: URLSession?
   |                 `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateChatCompletionsStreamRequest' is mutable; this is an error in the Swift 6 language mode
22 |     private var dataTask: URLSessionDataTask?
23 |     private var streamMapper: ChatCompletionsStreamMappeable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:64:37: warning: sending 'newMessage' risks causing data races; this is an error in the Swift 6 language mode
62 |         do {
63 |             try streamMapper.parse(data: data).forEach { [weak self] newMessage in
64 |                 self?.continuation?.yield(newMessage)
   |                                     |- warning: sending 'newMessage' risks causing data races; this is an error in the Swift 6 language mode
   |                                     `- note: task-isolated 'newMessage' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
65 |             }
66 |         } catch {
[16/64] Compiling SwiftOpenAI CreateImagesRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:21:17: warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateChatCompletionsStreamRequest' is mutable; this is an error in the Swift 6 language mode
19 |                              _ optionalParameters: ChatCompletionsOptionalParameters?) throws -> AsyncThrowingStream<ChatCompletionsStreamDataModel, Error>
20 |
21 |     private var urlSession: URLSession?
   |                 `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateChatCompletionsStreamRequest' is mutable; this is an error in the Swift 6 language mode
22 |     private var dataTask: URLSessionDataTask?
23 |     private var streamMapper: ChatCompletionsStreamMappeable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:64:37: warning: sending 'newMessage' risks causing data races; this is an error in the Swift 6 language mode
62 |         do {
63 |             try streamMapper.parse(data: data).forEach { [weak self] newMessage in
64 |                 self?.continuation?.yield(newMessage)
   |                                     |- warning: sending 'newMessage' risks causing data races; this is an error in the Swift 6 language mode
   |                                     `- note: task-isolated 'newMessage' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
65 |             }
66 |         } catch {
[17/64] Compiling SwiftOpenAI EditImageRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:21:17: warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateChatCompletionsStreamRequest' is mutable; this is an error in the Swift 6 language mode
19 |                              _ optionalParameters: ChatCompletionsOptionalParameters?) throws -> AsyncThrowingStream<ChatCompletionsStreamDataModel, Error>
20 |
21 |     private var urlSession: URLSession?
   |                 `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateChatCompletionsStreamRequest' is mutable; this is an error in the Swift 6 language mode
22 |     private var dataTask: URLSessionDataTask?
23 |     private var streamMapper: ChatCompletionsStreamMappeable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift:64:37: warning: sending 'newMessage' risks causing data races; this is an error in the Swift 6 language mode
62 |         do {
63 |             try streamMapper.parse(data: data).forEach { [weak self] newMessage in
64 |                 self?.continuation?.yield(newMessage)
   |                                     |- warning: sending 'newMessage' risks causing data races; this is an error in the Swift 6 language mode
   |                                     `- note: task-isolated 'newMessage' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
65 |             }
66 |         } catch {
[18/64] Compiling SwiftOpenAI EmbeddingsEndpoint.swift
[19/64] Compiling SwiftOpenAI CreateImageEndpoint.swift
[20/64] Compiling SwiftOpenAI EditImageEndpoint.swift
[21/64] Compiling SwiftOpenAI VariationImageEndpoint.swift
[22/64] Compiling SwiftOpenAI ListModelsEndpoint.swift
[23/64] Compiling SwiftOpenAI ModerationEndpoint.swift
[24/64] Compiling SwiftOpenAI API.swift
[25/64] Compiling SwiftOpenAI Endpoint.swift
[26/64] Compiling SwiftOpenAI Parser.swift
[27/64] Compiling SwiftOpenAI APIError.swift
[28/64] Compiling SwiftOpenAI RequestBuilder.swift
[29/64] Compiling SwiftOpenAI Requester.swift
[30/64] Compiling SwiftOpenAI MessageRoleType.swift
[31/64] Compiling SwiftOpenAI ModelDataModel.swift
[32/64] Compiling SwiftOpenAI ModerationsDataModel.swift
[33/64] Compiling SwiftOpenAI OpenAIError.swift
[34/64] Compiling SwiftOpenAI OpenAIModelType.swift
[35/64] Compiling SwiftOpenAI OpenAIBaseEnvironment.swift
[36/64] Compiling SwiftOpenAI CompletionsOptionalParameters.swift
[37/64] Compiling SwiftOpenAI EmbeddingDataModel.swift
[38/64] Compiling SwiftOpenAI CreateImageDataModel.swift
[39/64] Compiling SwiftOpenAI ImageSize.swift
[40/64] Compiling SwiftOpenAI MessageChatGPT.swift
[41/64] Compiling SwiftOpenAI MessageChatImageInput.swift
[42/64] Compiling SwiftOpenAI OpenAITranscriptionModelType.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Chat/ChatCompletionsStreamDataModel.swift:10:16: warning: static property 'finished' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |     public var choices: [ChoicesStreamDataModel]
 9 |
10 |     static var finished: ChatCompletionsStreamDataModel = {
   |                |- warning: static property 'finished' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'finished' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'finished' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |         .init(id: UUID().uuidString,
12 |               object: "",
[43/64] Compiling SwiftOpenAI OpenAIVoiceType.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Chat/ChatCompletionsStreamDataModel.swift:10:16: warning: static property 'finished' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |     public var choices: [ChoicesStreamDataModel]
 9 |
10 |     static var finished: ChatCompletionsStreamDataModel = {
   |                |- warning: static property 'finished' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'finished' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'finished' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |         .init(id: UUID().uuidString,
12 |               object: "",
[44/64] Compiling SwiftOpenAI ChatCompletionsDataModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Chat/ChatCompletionsStreamDataModel.swift:10:16: warning: static property 'finished' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |     public var choices: [ChoicesStreamDataModel]
 9 |
10 |     static var finished: ChatCompletionsStreamDataModel = {
   |                |- warning: static property 'finished' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'finished' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'finished' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |         .init(id: UUID().uuidString,
12 |               object: "",
[45/64] Compiling SwiftOpenAI ChatCompletionsOptionalParameters.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Chat/ChatCompletionsStreamDataModel.swift:10:16: warning: static property 'finished' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |     public var choices: [ChoicesStreamDataModel]
 9 |
10 |     static var finished: ChatCompletionsStreamDataModel = {
   |                |- warning: static property 'finished' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'finished' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'finished' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |         .init(id: UUID().uuidString,
12 |               object: "",
[46/64] Compiling SwiftOpenAI ChatCompletionsStreamDataModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Chat/ChatCompletionsStreamDataModel.swift:10:16: warning: static property 'finished' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |     public var choices: [ChoicesStreamDataModel]
 9 |
10 |     static var finished: ChatCompletionsStreamDataModel = {
   |                |- warning: static property 'finished' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'finished' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'finished' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |         .init(id: UUID().uuidString,
12 |               object: "",
[47/64] Compiling SwiftOpenAI CompletionsDataModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/DataModels/Chat/ChatCompletionsStreamDataModel.swift:10:16: warning: static property 'finished' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |     public var choices: [ChoicesStreamDataModel]
 9 |
10 |     static var finished: ChatCompletionsStreamDataModel = {
   |                |- warning: static property 'finished' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'finished' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'finished' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |         .init(id: UUID().uuidString,
12 |               object: "",
[48/64] Compiling SwiftOpenAI BaseEnvironment.swift
[49/64] Compiling SwiftOpenAI Router.swift
[50/64] Compiling SwiftOpenAI CreateTranscriptionDataModel.swift
[51/64] Compiling SwiftOpenAI CreateTranslationDataModel.swift
[52/64] Compiling SwiftOpenAI OpenAIAudioResponseType.swift
[53/64] Compiling SwiftOpenAI OpenAITTSModelType.swift
[54/64] Compiling SwiftOpenAI OpenAIEndpoints.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:24:17: warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranscriptionRequest' is mutable; this is an error in the Swift 6 language mode
22 |                              _ temperature: Double) async throws -> AsyncThrowingStream<CreateTranscriptionDataModel, Error>
23 |
24 |     private var urlSession: URLSession?
   |                 `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranscriptionRequest' is mutable; this is an error in the Swift 6 language mode
25 |     private var dataTask: URLSessionDataTask?
26 |     private var continuation: AsyncThrowingStream<CreateTranscriptionDataModel, Error>.Continuation?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:22:17: warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranslationRequest' is mutable; this is an error in the Swift 6 language mode
20 |                              _ temperature: Double) async throws -> AsyncThrowingStream<CreateTranslationDataModel, Error>
21 |
22 |     private var urlSession: URLSession?
   |                 `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranslationRequest' is mutable; this is an error in the Swift 6 language mode
23 |     private var dataTask: URLSessionDataTask?
24 |     private var continuation: AsyncThrowingStream<CreateTranslationDataModel, Error>.Continuation?
[55/64] Compiling SwiftOpenAI CreateSpeechRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:24:17: warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranscriptionRequest' is mutable; this is an error in the Swift 6 language mode
22 |                              _ temperature: Double) async throws -> AsyncThrowingStream<CreateTranscriptionDataModel, Error>
23 |
24 |     private var urlSession: URLSession?
   |                 `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranscriptionRequest' is mutable; this is an error in the Swift 6 language mode
25 |     private var dataTask: URLSessionDataTask?
26 |     private var continuation: AsyncThrowingStream<CreateTranscriptionDataModel, Error>.Continuation?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:22:17: warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranslationRequest' is mutable; this is an error in the Swift 6 language mode
20 |                              _ temperature: Double) async throws -> AsyncThrowingStream<CreateTranslationDataModel, Error>
21 |
22 |     private var urlSession: URLSession?
   |                 `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranslationRequest' is mutable; this is an error in the Swift 6 language mode
23 |     private var dataTask: URLSessionDataTask?
24 |     private var continuation: AsyncThrowingStream<CreateTranslationDataModel, Error>.Continuation?
[56/64] Compiling SwiftOpenAI CreateTranscriptionRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:24:17: warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranscriptionRequest' is mutable; this is an error in the Swift 6 language mode
22 |                              _ temperature: Double) async throws -> AsyncThrowingStream<CreateTranscriptionDataModel, Error>
23 |
24 |     private var urlSession: URLSession?
   |                 `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranscriptionRequest' is mutable; this is an error in the Swift 6 language mode
25 |     private var dataTask: URLSessionDataTask?
26 |     private var continuation: AsyncThrowingStream<CreateTranscriptionDataModel, Error>.Continuation?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:22:17: warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranslationRequest' is mutable; this is an error in the Swift 6 language mode
20 |                              _ temperature: Double) async throws -> AsyncThrowingStream<CreateTranslationDataModel, Error>
21 |
22 |     private var urlSession: URLSession?
   |                 `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranslationRequest' is mutable; this is an error in the Swift 6 language mode
23 |     private var dataTask: URLSessionDataTask?
24 |     private var continuation: AsyncThrowingStream<CreateTranslationDataModel, Error>.Continuation?
[57/64] Compiling SwiftOpenAI CreateTranslationRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:24:17: warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranscriptionRequest' is mutable; this is an error in the Swift 6 language mode
22 |                              _ temperature: Double) async throws -> AsyncThrowingStream<CreateTranscriptionDataModel, Error>
23 |
24 |     private var urlSession: URLSession?
   |                 `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranscriptionRequest' is mutable; this is an error in the Swift 6 language mode
25 |     private var dataTask: URLSessionDataTask?
26 |     private var continuation: AsyncThrowingStream<CreateTranscriptionDataModel, Error>.Continuation?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:22:17: warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranslationRequest' is mutable; this is an error in the Swift 6 language mode
20 |                              _ temperature: Double) async throws -> AsyncThrowingStream<CreateTranslationDataModel, Error>
21 |
22 |     private var urlSession: URLSession?
   |                 `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranslationRequest' is mutable; this is an error in the Swift 6 language mode
23 |     private var dataTask: URLSessionDataTask?
24 |     private var continuation: AsyncThrowingStream<CreateTranslationDataModel, Error>.Continuation?
[58/64] Compiling SwiftOpenAI CreateChatCompletionsImageInputRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:24:17: warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranscriptionRequest' is mutable; this is an error in the Swift 6 language mode
22 |                              _ temperature: Double) async throws -> AsyncThrowingStream<CreateTranscriptionDataModel, Error>
23 |
24 |     private var urlSession: URLSession?
   |                 `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranscriptionRequest' is mutable; this is an error in the Swift 6 language mode
25 |     private var dataTask: URLSessionDataTask?
26 |     private var continuation: AsyncThrowingStream<CreateTranscriptionDataModel, Error>.Continuation?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:22:17: warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranslationRequest' is mutable; this is an error in the Swift 6 language mode
20 |                              _ temperature: Double) async throws -> AsyncThrowingStream<CreateTranslationDataModel, Error>
21 |
22 |     private var urlSession: URLSession?
   |                 `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranslationRequest' is mutable; this is an error in the Swift 6 language mode
23 |     private var dataTask: URLSessionDataTask?
24 |     private var continuation: AsyncThrowingStream<CreateTranslationDataModel, Error>.Continuation?
[59/64] Compiling SwiftOpenAI CreateChatCompletionsRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranscriptionRequest.swift:24:17: warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranscriptionRequest' is mutable; this is an error in the Swift 6 language mode
22 |                              _ temperature: Double) async throws -> AsyncThrowingStream<CreateTranscriptionDataModel, Error>
23 |
24 |     private var urlSession: URLSession?
   |                 `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranscriptionRequest' is mutable; this is an error in the Swift 6 language mode
25 |     private var dataTask: URLSessionDataTask?
26 |     private var continuation: AsyncThrowingStream<CreateTranscriptionDataModel, Error>.Continuation?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftOpenAI/OpenAI/Requests/Audio/CreateTranslationRequest.swift:22:17: warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranslationRequest' is mutable; this is an error in the Swift 6 language mode
20 |                              _ temperature: Double) async throws -> AsyncThrowingStream<CreateTranslationDataModel, Error>
21 |
22 |     private var urlSession: URLSession?
   |                 `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'CreateTranslationRequest' is mutable; this is an error in the Swift 6 language mode
23 |     private var dataTask: URLSessionDataTask?
24 |     private var continuation: AsyncThrowingStream<CreateTranslationDataModel, Error>.Continuation?
[60/64] Compiling SwiftOpenAI VariationImageRequest.swift
[61/64] Compiling SwiftOpenAI ListModelsRequest.swift
[62/64] Compiling SwiftOpenAI ModerationsRequest.swift
[63/64] Compiling SwiftOpenAI MultipartFormData.swift
[64/64] Compiling SwiftOpenAI SwiftOpenAI.swift
Build complete! (15.29s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "SwiftOpenAI",
  "name" : "SwiftOpenAI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftOpenAI",
      "targets" : [
        "SwiftOpenAI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftOpenAITests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftOpenAITests",
      "path" : "Tests/SwiftOpenAITests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftOpenAITests/OpenAITests/Unit Tests/JSON/chat.completions.error.invalid_api_key.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftOpenAITests/OpenAITests/Unit Tests/JSON/chat.completions.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftOpenAITests/OpenAITests/Unit Tests/JSON/completions.error.invalid_api_key.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftOpenAITests/OpenAITests/Unit Tests/JSON/completions.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftOpenAITests/OpenAITests/Unit Tests/JSON/create.image.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftOpenAITests/OpenAITests/Unit Tests/JSON/embeddings.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftOpenAITests/OpenAITests/Unit Tests/JSON/models.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftOpenAITests/OpenAITests/Unit Tests/JSON/moderations.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "APIClientTests/Endpoint/EndpointSpec.swift",
        "APIClientTests/Endpoint/Mocks/EmptyEndpointMock.swift",
        "APIClientTests/Endpoint/Mocks/EndpointGetMock.swift",
        "APIClientTests/Endpoint/Mocks/EndpointPostMock.swift",
        "APIClientTests/Parser/ParserSpec.swift",
        "APIClientTests/Parser/SwiftBetaModel.swift",
        "APIClientTests/Requester/Mocks/RequesterMock.swift",
        "APIClientTests/Requester/Mocks/URLProtocolMock.swift",
        "APIClientTests/Requester/RequesterBuilderSpec.swift",
        "APIClientTests/Requester/RequesterSpec.swift",
        "APIClientTests/Router/BaseEnvironmentMock.swift",
        "APIClientTests/Router/RouterSpec.swift",
        "OpenAITests/Helpers/URLStreamProtocolMock.swift",
        "OpenAITests/Helpers/dataToJSON.swift",
        "OpenAITests/Helpers/loadJSON.swift",
        "OpenAITests/Unit Tests/Audio/CreateSpeech/CreateSpeechEndpointSpec.swift",
        "OpenAITests/Unit Tests/Audio/CreateSpeech/CreateSpeechRequestSpec.swift",
        "OpenAITests/Unit Tests/Audio/CreateTranscription/CreateTranscriptionEndpointSpec.swift",
        "OpenAITests/Unit Tests/Audio/CreateTranscription/CreateTranscriptionRequestSpec.swift",
        "OpenAITests/Unit Tests/ChatCompletions/ChatCompletionsAPIClientSpec.swift",
        "OpenAITests/Unit Tests/ChatCompletions/ChatCompletionsEndpointSpec.swift",
        "OpenAITests/Unit Tests/ChatCompletions/ChatCompletionsParserSpec.swift",
        "OpenAITests/Unit Tests/ChatCompletions/ChatCompletionsRequestSpec.swift",
        "OpenAITests/Unit Tests/ChatCompletions/ChatCompletionsStreamAPIClientSpec.swift",
        "OpenAITests/Unit Tests/ChatCompletions/ChatCompletionsStreamMapperSpec.swift",
        "OpenAITests/Unit Tests/Completions/CompletionParserSpec.swift",
        "OpenAITests/Unit Tests/Completions/CompletionRequestSpec.swift",
        "OpenAITests/Unit Tests/Completions/CompletionsAPIClientSpec.swift",
        "OpenAITests/Unit Tests/Completions/CompletionsEndpointSpec.swift",
        "OpenAITests/Unit Tests/Embeddings/EmbeddingsAPIClientSpec.swift",
        "OpenAITests/Unit Tests/Embeddings/EmbeddingsEndpointSpec.swift",
        "OpenAITests/Unit Tests/Embeddings/EmbeddingsParserSpec.swift",
        "OpenAITests/Unit Tests/Embeddings/EmbeddingsRequestSpec.swift",
        "OpenAITests/Unit Tests/Images/CreateImageAPIClientSpec.swift",
        "OpenAITests/Unit Tests/Images/CreateImageEndpointSpec.swift",
        "OpenAITests/Unit Tests/Images/CreateImageParserSpec.swift",
        "OpenAITests/Unit Tests/Images/CreateImageRequestSpec.swift",
        "OpenAITests/Unit Tests/ListModels/ListModelsAPIClientSpec.swift",
        "OpenAITests/Unit Tests/ListModels/ListModelsEndpointSpec.swift",
        "OpenAITests/Unit Tests/ListModels/ListModelsParserSpec.swift",
        "OpenAITests/Unit Tests/ListModels/ListModelsRequestSpec.swift",
        "OpenAITests/Unit Tests/Moderations/ModerationsAPIClientSpec.swift",
        "OpenAITests/Unit Tests/Moderations/ModerationsEndpointSpec.swift",
        "OpenAITests/Unit Tests/Moderations/ModerationsParserSpec.swift",
        "OpenAITests/Unit Tests/Moderations/ModerationsRequestSpec.swift"
      ],
      "target_dependencies" : [
        "SwiftOpenAI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftOpenAI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftOpenAI",
      "path" : "Sources/SwiftOpenAI",
      "product_memberships" : [
        "SwiftOpenAI"
      ],
      "sources" : [
        "APIClient/API.swift",
        "APIClient/Endpoint/Endpoint.swift",
        "APIClient/Parser/Parser.swift",
        "APIClient/Requester/APIError.swift",
        "APIClient/Requester/RequestBuilder.swift",
        "APIClient/Requester/Requester.swift",
        "APIClient/Router/BaseEnvironment.swift",
        "APIClient/Router/Router.swift",
        "OpenAI/DataModels/Audio/CreateTranscriptionDataModel.swift",
        "OpenAI/DataModels/Audio/CreateTranslationDataModel.swift",
        "OpenAI/DataModels/Audio/OpenAIAudioResponseType.swift",
        "OpenAI/DataModels/Audio/OpenAITTSModelType.swift",
        "OpenAI/DataModels/Audio/OpenAITranscriptionModelType.swift",
        "OpenAI/DataModels/Audio/OpenAIVoiceType.swift",
        "OpenAI/DataModels/Chat/ChatCompletionsDataModel.swift",
        "OpenAI/DataModels/Chat/ChatCompletionsOptionalParameters.swift",
        "OpenAI/DataModels/Chat/ChatCompletionsStreamDataModel.swift",
        "OpenAI/DataModels/Completions/CompletionsDataModel.swift",
        "OpenAI/DataModels/Completions/CompletionsOptionalParameters.swift",
        "OpenAI/DataModels/Embedding/EmbeddingDataModel.swift",
        "OpenAI/DataModels/Images/CreateImageDataModel.swift",
        "OpenAI/DataModels/Images/ImageSize.swift",
        "OpenAI/DataModels/Message/MessageChatGPT.swift",
        "OpenAI/DataModels/Message/MessageChatImageInput.swift",
        "OpenAI/DataModels/Message/MessageRoleType.swift",
        "OpenAI/DataModels/Models/ModelDataModel.swift",
        "OpenAI/DataModels/Moderations/ModerationsDataModel.swift",
        "OpenAI/DataModels/OpenAIError.swift",
        "OpenAI/DataModels/OpenAIModelType.swift",
        "OpenAI/Environment/OpenAIBaseEnvironment.swift",
        "OpenAI/OpenAIEndpoints/List/Audio/CreateSpeechEndpoint.swift",
        "OpenAI/OpenAIEndpoints/List/Audio/CreateTranscriptionEndpoint.swift",
        "OpenAI/OpenAIEndpoints/List/Audio/CreateTranslationEndpoint.swift",
        "OpenAI/OpenAIEndpoints/List/Chat/ChatCompletionsEndpoint.swift",
        "OpenAI/OpenAIEndpoints/List/Chat/ChatCompletionsImageInputEndpoint.swift",
        "OpenAI/OpenAIEndpoints/List/Chat/CompletionsEndpoint.swift",
        "OpenAI/OpenAIEndpoints/List/Embeddings/EmbeddingsEndpoint.swift",
        "OpenAI/OpenAIEndpoints/List/Image/CreateImageEndpoint.swift",
        "OpenAI/OpenAIEndpoints/List/Image/EditImageEndpoint.swift",
        "OpenAI/OpenAIEndpoints/List/Image/VariationImageEndpoint.swift",
        "OpenAI/OpenAIEndpoints/List/Models/ListModelsEndpoint.swift",
        "OpenAI/OpenAIEndpoints/List/Moderation/ModerationEndpoint.swift",
        "OpenAI/OpenAIEndpoints/OpenAIEndpoints.swift",
        "OpenAI/Requests/Audio/CreateSpeechRequest.swift",
        "OpenAI/Requests/Audio/CreateTranscriptionRequest.swift",
        "OpenAI/Requests/Audio/CreateTranslationRequest.swift",
        "OpenAI/Requests/ChatCompletions/CreateChatCompletionsImageInputRequest.swift",
        "OpenAI/Requests/ChatCompletions/CreateChatCompletionsRequest.swift",
        "OpenAI/Requests/ChatCompletions/Stream/ChatCompletionsStreamMapper.swift",
        "OpenAI/Requests/ChatCompletions/Stream/CreateChatCompletionsStreamRequest.swift",
        "OpenAI/Requests/Completions/CompletionsRequest.swift",
        "OpenAI/Requests/Embeddings/EmbeddingsRequest.swift",
        "OpenAI/Requests/Images/CreateImagesRequest.swift",
        "OpenAI/Requests/Images/EditImageRequest.swift",
        "OpenAI/Requests/Images/VariationImageRequest.swift",
        "OpenAI/Requests/Models/ListModelsRequest.swift",
        "OpenAI/Requests/Moderations/ModerationsRequest.swift",
        "OpenAI/Requests/MultipartFormData.swift",
        "OpenAI/SwiftOpenAI.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7.1"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/swiftbeta/swiftopenai/main
Repository:               SwiftBeta/SwiftOpenAI
Swift version used:       6.1
        .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.2.0"),
Target:                   SwiftOpenAI
Generating documentation for 'SwiftOpenAI'...
Converting documentation...
warning: Parameter 'model' is missing documentation
   --> Sources/SwiftOpenAI/OpenAI/SwiftOpenAI.swift:257:7-257:7
255 |         - numberOfImages: An `Int` representing the number of images to be generated.
256 |         - size: An `ImageSize` value representing the desired size of the generated images.
257 +
258 |       - Throws: An error if the API call fails, or if there is a problem with parsing the received JSON data.
259 |
Conversion complete! (0.30s)
Generated DocC archive at '/Users/admin/builder/spi-builder-workspace/.docs/swiftbeta/swiftopenai/main'
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module Snippets
[7/53] Compiling Snippets Snippet.swift
[8/53] Compiling Snippets SnippetParser.swift
[9/53] Compiling SymbolKit GenericConstraint.swift
[10/53] Compiling SymbolKit GenericParameter.swift
[11/53] Compiling SymbolKit Generics.swift
[12/53] Compiling SymbolKit Namespace.swift
[13/53] Compiling SymbolKit SourceRange.swift
[14/53] Compiling SymbolKit Metadata.swift
[15/53] Compiling SymbolKit Module.swift
[16/53] Compiling SymbolKit OperatingSystem.swift
[17/53] Compiling SymbolKit Platform.swift
[18/57] Emitting module SymbolKit
[19/57] Compiling SymbolKit SemanticVersion.swift
[20/57] Compiling SymbolKit AccessControl.swift
[21/57] Compiling SymbolKit Availability.swift
[22/57] Compiling SymbolKit AvailabilityItem.swift
[23/57] Compiling SymbolKit Domain.swift
[24/57] Compiling SymbolKit DeclarationFragments.swift
[25/57] Compiling SymbolKit Fragment.swift
[26/57] Compiling SymbolKit FragmentKind.swift
[27/57] Compiling SymbolKit FunctionParameter.swift
[28/57] Compiling SymbolKit FunctionSignature.swift
[29/57] Compiling SymbolKit Identifier.swift
[30/57] Compiling SymbolKit KindIdentifier.swift
[31/57] Compiling SymbolKit Location.swift
[32/57] Compiling SymbolKit Mutability.swift
[33/57] Compiling SymbolKit Relationship.swift
[34/57] Compiling SymbolKit RelationshipKind.swift
[35/57] Compiling SymbolKit SourceOrigin.swift
[36/57] Compiling SymbolKit GenericConstraints.swift
[37/57] Compiling SymbolKit Swift.swift
[38/57] Compiling SymbolKit Names.swift
[39/57] Compiling SymbolKit SPI.swift
[40/57] Compiling SymbolKit Snippet.swift
[41/57] Compiling SymbolKit Extension.swift
[42/57] Compiling SymbolKit Mixin+Equals.swift
[43/57] Compiling SymbolKit Mixin+Hash.swift
[44/57] Compiling SymbolKit Mixin.swift
[45/57] Compiling SymbolKit LineList.swift
[46/57] Compiling SymbolKit Position.swift
[47/57] Compiling SymbolKit Symbol.swift
[48/57] Compiling SymbolKit SymbolKind.swift
[49/57] Compiling SymbolKit SymbolGraph.swift
[50/57] Compiling SymbolKit GraphCollector.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.21s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/56] Emitting module SwiftOpenAI
[3/61] Compiling SwiftOpenAI BaseEnvironment.swift
[4/61] Compiling SwiftOpenAI Router.swift
[5/61] Compiling SwiftOpenAI CreateTranscriptionDataModel.swift
[6/61] Compiling SwiftOpenAI CreateTranslationDataModel.swift
[7/61] Compiling SwiftOpenAI OpenAIAudioResponseType.swift
[8/61] Compiling SwiftOpenAI OpenAITTSModelType.swift
[9/61] Compiling SwiftOpenAI OpenAIEndpoints.swift
[10/61] Compiling SwiftOpenAI CreateSpeechRequest.swift
[11/61] Compiling SwiftOpenAI CreateTranscriptionRequest.swift
[12/61] Compiling SwiftOpenAI CreateTranslationRequest.swift
[13/61] Compiling SwiftOpenAI CreateChatCompletionsImageInputRequest.swift
[14/61] Compiling SwiftOpenAI CreateChatCompletionsRequest.swift
[15/61] Compiling SwiftOpenAI CreateSpeechEndpoint.swift
[16/61] Compiling SwiftOpenAI CreateTranscriptionEndpoint.swift
[17/61] Compiling SwiftOpenAI CreateTranslationEndpoint.swift
[18/61] Compiling SwiftOpenAI ChatCompletionsEndpoint.swift
[19/61] Compiling SwiftOpenAI ChatCompletionsImageInputEndpoint.swift
[20/61] Compiling SwiftOpenAI CompletionsEndpoint.swift
[21/61] Compiling SwiftOpenAI API.swift
[22/61] Compiling SwiftOpenAI Endpoint.swift
[23/61] Compiling SwiftOpenAI Parser.swift
[24/61] Compiling SwiftOpenAI APIError.swift
[25/61] Compiling SwiftOpenAI RequestBuilder.swift
[26/61] Compiling SwiftOpenAI Requester.swift
[27/61] Compiling SwiftOpenAI EmbeddingsEndpoint.swift
[28/61] Compiling SwiftOpenAI CreateImageEndpoint.swift
[29/61] Compiling SwiftOpenAI EditImageEndpoint.swift
[30/61] Compiling SwiftOpenAI VariationImageEndpoint.swift
[31/61] Compiling SwiftOpenAI ListModelsEndpoint.swift
[32/61] Compiling SwiftOpenAI ModerationEndpoint.swift
[33/61] Compiling SwiftOpenAI MessageRoleType.swift
[34/61] Compiling SwiftOpenAI ModelDataModel.swift
[35/61] Compiling SwiftOpenAI ModerationsDataModel.swift
[36/61] Compiling SwiftOpenAI OpenAIError.swift
[37/61] Compiling SwiftOpenAI OpenAIModelType.swift
[38/61] Compiling SwiftOpenAI OpenAIBaseEnvironment.swift
[39/61] Compiling SwiftOpenAI OpenAITranscriptionModelType.swift
[40/61] Compiling SwiftOpenAI OpenAIVoiceType.swift
[41/61] Compiling SwiftOpenAI ChatCompletionsDataModel.swift
[42/61] Compiling SwiftOpenAI ChatCompletionsOptionalParameters.swift
[43/61] Compiling SwiftOpenAI ChatCompletionsStreamDataModel.swift
[44/61] Compiling SwiftOpenAI CompletionsDataModel.swift
[45/61] Compiling SwiftOpenAI ChatCompletionsStreamMapper.swift
[46/61] Compiling SwiftOpenAI CreateChatCompletionsStreamRequest.swift
[47/61] Compiling SwiftOpenAI CompletionsRequest.swift
[48/61] Compiling SwiftOpenAI EmbeddingsRequest.swift
[49/61] Compiling SwiftOpenAI CreateImagesRequest.swift
[50/61] Compiling SwiftOpenAI EditImageRequest.swift
[51/61] Compiling SwiftOpenAI CompletionsOptionalParameters.swift
[52/61] Compiling SwiftOpenAI EmbeddingDataModel.swift
[53/61] Compiling SwiftOpenAI CreateImageDataModel.swift
[54/61] Compiling SwiftOpenAI ImageSize.swift
[55/61] Compiling SwiftOpenAI MessageChatGPT.swift
[56/61] Compiling SwiftOpenAI MessageChatImageInput.swift
[57/61] Compiling SwiftOpenAI VariationImageRequest.swift
[58/61] Compiling SwiftOpenAI ListModelsRequest.swift
[59/61] Compiling SwiftOpenAI ModerationsRequest.swift
[60/61] Compiling SwiftOpenAI MultipartFormData.swift
[61/61] Compiling SwiftOpenAI SwiftOpenAI.swift
Build of target: 'SwiftOpenAI' complete! (1.50s)
     916
6	/Users/admin/builder/spi-builder-workspace/.docs/swiftbeta/swiftopenai/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/swiftbeta/swiftopenai/main
File count: 916
Doc size:   6.0MB
Preparing doc bundle ...
Uploading prod-swiftbeta-swiftopenai-main-68a2b01c.zip to s3://spi-docs-inbox/prod-swiftbeta-swiftopenai-main-68a2b01c.zip
Copying... [10%]
Copying... [21%]
Copying... [31%]
Copying... [41%]
Copying... [51%]
Copying... [62%]
Copying... [72%]
Copying... [82%]
Copying... [93%]
Copying... [100%]
Done.