Build Information
Successful build of SwiftOpenAI, reference 1.9.0 (b31678
), with Swift 6.0 for macOS (SPM) on 8 Nov 2024 17:16:53 UTC.
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftBeta/SwiftOpenAI.git
Reference: 1.9.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftBeta/SwiftOpenAI
* tag 1.9.0 -> FETCH_HEAD
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 1.9.0
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
[226/5206] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin from cache (1.29s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.29s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.2.0 (0.65s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.68s)
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/1082] Fetching swiftopenai
Fetched https://github.com/SwiftBeta/SwiftOpenAI.git from cache (0.87s)
Creating working copy for https://github.com/SwiftBeta/SwiftOpenAI.git
Working copy of https://github.com/SwiftBeta/SwiftOpenAI.git resolved at 1.9.0 (b316788)
warning: '.resolve-product-dependencies': dependency 'swiftopenai' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/SwiftBeta/SwiftOpenAI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.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: annotate 'finished' with '@MainActor' if property should only be accessed from the main actor
| `- 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 MessageRoleType.swift
[7/64] Compiling SwiftOpenAI ModelDataModel.swift
[8/64] Compiling SwiftOpenAI ModerationsDataModel.swift
[9/64] Compiling SwiftOpenAI OpenAIError.swift
[10/64] Compiling SwiftOpenAI OpenAIModelType.swift
[11/64] Compiling SwiftOpenAI OpenAIBaseEnvironment.swift
[12/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?
[13/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?
[14/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?
[15/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?
[16/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?
[17/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?
[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 BaseEnvironment.swift
[25/64] Compiling SwiftOpenAI Router.swift
[26/64] Compiling SwiftOpenAI CreateTranscriptionDataModel.swift
[27/64] Compiling SwiftOpenAI CreateTranslationDataModel.swift
[28/64] Compiling SwiftOpenAI OpenAIAudioResponseType.swift
[29/64] Compiling SwiftOpenAI OpenAITTSModelType.swift
[30/64] Compiling SwiftOpenAI VariationImageRequest.swift
[31/64] Compiling SwiftOpenAI ListModelsRequest.swift
[32/64] Compiling SwiftOpenAI ModerationsRequest.swift
[33/64] Compiling SwiftOpenAI MultipartFormData.swift
[34/64] Compiling SwiftOpenAI SwiftOpenAI.swift
[35/64] Compiling SwiftOpenAI CompletionsOptionalParameters.swift
[36/64] Compiling SwiftOpenAI EmbeddingDataModel.swift
[37/64] Compiling SwiftOpenAI CreateImageDataModel.swift
[38/64] Compiling SwiftOpenAI ImageSize.swift
[39/64] Compiling SwiftOpenAI MessageChatGPT.swift
[40/64] Compiling SwiftOpenAI MessageChatImageInput.swift
[41/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: annotate 'finished' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | .init(id: UUID().uuidString,
12 | object: "",
[42/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: annotate 'finished' with '@MainActor' if property should only be accessed from the main actor
| `- 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 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: annotate 'finished' with '@MainActor' if property should only be accessed from the main actor
| `- 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 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: annotate 'finished' with '@MainActor' if property should only be accessed from the main actor
| `- 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 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: annotate 'finished' with '@MainActor' if property should only be accessed from the main actor
| `- 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 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: annotate 'finished' with '@MainActor' if property should only be accessed from the main actor
| `- 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 CreateSpeechEndpoint.swift
[48/64] Compiling SwiftOpenAI CreateTranscriptionEndpoint.swift
[49/64] Compiling SwiftOpenAI CreateTranslationEndpoint.swift
[50/64] Compiling SwiftOpenAI ChatCompletionsEndpoint.swift
[51/64] Compiling SwiftOpenAI ChatCompletionsImageInputEndpoint.swift
[52/64] Compiling SwiftOpenAI CompletionsEndpoint.swift
[53/64] Compiling SwiftOpenAI ChatCompletionsStreamMapper.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: annotate 'finished' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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 {
[54/64] Compiling SwiftOpenAI CreateChatCompletionsStreamRequest.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: annotate 'finished' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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 {
[55/64] Compiling SwiftOpenAI CompletionsRequest.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: annotate 'finished' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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 {
[56/64] Compiling SwiftOpenAI EmbeddingsRequest.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: annotate 'finished' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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 {
[57/64] Compiling SwiftOpenAI CreateImagesRequest.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: annotate 'finished' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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 {
[58/64] Compiling SwiftOpenAI EditImageRequest.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: annotate 'finished' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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 {
[59/64] Compiling SwiftOpenAI API.swift
[60/64] Compiling SwiftOpenAI Endpoint.swift
[61/64] Compiling SwiftOpenAI Parser.swift
[62/64] Compiling SwiftOpenAI APIError.swift
[63/64] Compiling SwiftOpenAI RequestBuilder.swift
[64/64] Compiling SwiftOpenAI Requester.swift
Build complete! (32.23s)
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/1.9.0
Repository: SwiftBeta/SwiftOpenAI
Swift version used: 6.0
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.2.0"),
Target: SwiftOpenAI
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
* branch 88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
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.28s)
Generated DocC archive at '/Users/admin/builder/spi-builder-workspace/.docs/swiftbeta/swiftopenai/1.9.0'
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit SemanticVersion.swift
[8/57] Compiling SymbolKit AccessControl.swift
[9/57] Compiling SymbolKit Availability.swift
[10/57] Compiling SymbolKit AvailabilityItem.swift
[11/57] Compiling SymbolKit Domain.swift
[12/57] Compiling SymbolKit Identifier.swift
[13/57] Compiling SymbolKit KindIdentifier.swift
[14/57] Compiling SymbolKit Location.swift
[15/57] Compiling SymbolKit Mutability.swift
[16/57] Compiling SymbolKit Mixin+Equals.swift
[17/57] Compiling SymbolKit Mixin+Hash.swift
[18/57] Compiling SymbolKit Mixin.swift
[19/57] Compiling SymbolKit LineList.swift
[20/57] Compiling SymbolKit Position.swift
[21/57] Compiling Snippets SnippetParser.swift
[22/57] Emitting module Snippets
[23/57] Compiling Snippets Snippet.swift
[24/57] Compiling SymbolKit SourceRange.swift
[25/57] Compiling SymbolKit Metadata.swift
[26/57] Compiling SymbolKit Module.swift
[27/57] Compiling SymbolKit OperatingSystem.swift
[28/57] Compiling SymbolKit Platform.swift
[29/57] Compiling SymbolKit DeclarationFragments.swift
[30/57] Compiling SymbolKit Fragment.swift
[31/57] Compiling SymbolKit FragmentKind.swift
[32/57] Compiling SymbolKit FunctionParameter.swift
[33/57] Compiling SymbolKit FunctionSignature.swift
[34/57] Compiling SymbolKit Relationship.swift
[35/57] Compiling SymbolKit RelationshipKind.swift
[36/57] Compiling SymbolKit SourceOrigin.swift
[37/57] Compiling SymbolKit GenericConstraints.swift
[38/57] Compiling SymbolKit Swift.swift
[39/57] Compiling SymbolKit Names.swift
[40/57] Compiling SymbolKit SPI.swift
[41/57] Compiling SymbolKit Snippet.swift
[42/57] Compiling SymbolKit Extension.swift
[43/57] Compiling SymbolKit GenericConstraint.swift
[44/57] Compiling SymbolKit GenericParameter.swift
[45/57] Compiling SymbolKit Generics.swift
[46/57] Compiling SymbolKit Namespace.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] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.78s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/56] Emitting module SwiftOpenAI
[3/61] Compiling SwiftOpenAI API.swift
[4/61] Compiling SwiftOpenAI Endpoint.swift
[5/61] Compiling SwiftOpenAI Parser.swift
[6/61] Compiling SwiftOpenAI APIError.swift
[7/61] Compiling SwiftOpenAI RequestBuilder.swift
[8/61] Compiling SwiftOpenAI Requester.swift
[9/61] Compiling SwiftOpenAI OpenAITranscriptionModelType.swift
[10/61] Compiling SwiftOpenAI OpenAIVoiceType.swift
[11/61] Compiling SwiftOpenAI ChatCompletionsDataModel.swift
[12/61] Compiling SwiftOpenAI ChatCompletionsOptionalParameters.swift
[13/61] Compiling SwiftOpenAI ChatCompletionsStreamDataModel.swift
[14/61] Compiling SwiftOpenAI CompletionsDataModel.swift
[15/61] Compiling SwiftOpenAI BaseEnvironment.swift
[16/61] Compiling SwiftOpenAI Router.swift
[17/61] Compiling SwiftOpenAI CreateTranscriptionDataModel.swift
[18/61] Compiling SwiftOpenAI CreateTranslationDataModel.swift
[19/61] Compiling SwiftOpenAI OpenAIAudioResponseType.swift
[20/61] Compiling SwiftOpenAI OpenAITTSModelType.swift
[21/61] Compiling SwiftOpenAI EmbeddingsEndpoint.swift
[22/61] Compiling SwiftOpenAI CreateImageEndpoint.swift
[23/61] Compiling SwiftOpenAI EditImageEndpoint.swift
[24/61] Compiling SwiftOpenAI VariationImageEndpoint.swift
[25/61] Compiling SwiftOpenAI ListModelsEndpoint.swift
[26/61] Compiling SwiftOpenAI ModerationEndpoint.swift
[27/61] Compiling SwiftOpenAI CompletionsOptionalParameters.swift
[28/61] Compiling SwiftOpenAI EmbeddingDataModel.swift
[29/61] Compiling SwiftOpenAI CreateImageDataModel.swift
[30/61] Compiling SwiftOpenAI ImageSize.swift
[31/61] Compiling SwiftOpenAI MessageChatGPT.swift
[32/61] Compiling SwiftOpenAI MessageChatImageInput.swift
[33/61] Compiling SwiftOpenAI CreateSpeechEndpoint.swift
[34/61] Compiling SwiftOpenAI CreateTranscriptionEndpoint.swift
[35/61] Compiling SwiftOpenAI CreateTranslationEndpoint.swift
[36/61] Compiling SwiftOpenAI ChatCompletionsEndpoint.swift
[37/61] Compiling SwiftOpenAI ChatCompletionsImageInputEndpoint.swift
[38/61] Compiling SwiftOpenAI CompletionsEndpoint.swift
[39/61] Compiling SwiftOpenAI OpenAIEndpoints.swift
[40/61] Compiling SwiftOpenAI CreateSpeechRequest.swift
[41/61] Compiling SwiftOpenAI CreateTranscriptionRequest.swift
[42/61] Compiling SwiftOpenAI CreateTranslationRequest.swift
[43/61] Compiling SwiftOpenAI CreateChatCompletionsImageInputRequest.swift
[44/61] Compiling SwiftOpenAI CreateChatCompletionsRequest.swift
[45/61] Compiling SwiftOpenAI MessageRoleType.swift
[46/61] Compiling SwiftOpenAI ModelDataModel.swift
[47/61] Compiling SwiftOpenAI ModerationsDataModel.swift
[48/61] Compiling SwiftOpenAI OpenAIError.swift
[49/61] Compiling SwiftOpenAI OpenAIModelType.swift
[50/61] Compiling SwiftOpenAI OpenAIBaseEnvironment.swift
[51/61] Compiling SwiftOpenAI ChatCompletionsStreamMapper.swift
[52/61] Compiling SwiftOpenAI CreateChatCompletionsStreamRequest.swift
[53/61] Compiling SwiftOpenAI CompletionsRequest.swift
[54/61] Compiling SwiftOpenAI EmbeddingsRequest.swift
[55/61] Compiling SwiftOpenAI CreateImagesRequest.swift
[56/61] Compiling SwiftOpenAI EditImageRequest.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.45s)
916
6 /Users/admin/builder/spi-builder-workspace/.docs/swiftbeta/swiftopenai/1.9.0
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/swiftbeta/swiftopenai/1.9.0
File count: 916
Doc size: 6.0MB
Preparing doc bundle ...
Uploading prod-swiftbeta-swiftopenai-1.9.0-421ff82c.zip to s3://spi-docs-inbox/prod-swiftbeta-swiftopenai-1.9.0-421ff82c.zip
Copying... [10%]
Copying... [20%]
Copying... [30%]
Copying... [41%]
Copying... [51%]
Copying... [61%]
Copying... [71%]
Copying... [81%]
Copying... [91%]
Copying... [100%]
Done.