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 OpenAIKit, reference 1.2.0 (e2e04f), with Swift 6.1 for Linux on 27 Jun 2025 20:15:20 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/marcusziade/OpenAIKit.git
Reference: 1.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/marcusziade/OpenAIKit
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at e2e04f9 Fix release workflow for Swift Package releases
Cloned https://github.com/marcusziade/OpenAIKit.git
Revision (git rev-parse @):
e2e04f9a35d70100cc95221afbd0fa5ba09538be
SUCCESS checkout https://github.com/marcusziade/OpenAIKit.git at 1.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/marcusziade/OpenAIKit.git
https://github.com/marcusziade/OpenAIKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "OpenAIKit",
  "name" : "OpenAIKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenAIKit",
      "targets" : [
        "OpenAIKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "OpenAIKitTester",
      "targets" : [
        "OpenAIKitTester"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpenAIKitTests",
      "module_type" : "SwiftTarget",
      "name" : "OpenAIKitTests",
      "path" : "Tests/OpenAIKitTests",
      "sources" : [
        "AudioModelsTests.swift",
        "ChatModelsTests.swift",
        "ConfigurationTests.swift",
        "EmbeddingModelsTests.swift",
        "EnhancedErrorHandlingTests.swift",
        "ErrorHandlingTests.swift",
        "JSONValueTests.swift",
        "ModelConstantsTests.swift",
        "OpenAIKitTests.swift",
        "RequestSerializationTests.swift",
        "ResponseParsingTests.swift"
      ],
      "target_dependencies" : [
        "OpenAIKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OpenAIKitTester",
      "module_type" : "SwiftTarget",
      "name" : "OpenAIKitTester",
      "path" : "Sources/OpenAIKitTester",
      "product_memberships" : [
        "OpenAIKitTester"
      ],
      "sources" : [
        "Configuration/TestConfiguration.swift",
        "OpenAIKitTester.swift",
        "TestRunner.swift",
        "Tests/AdvancedTests.swift",
        "Tests/AudioTests.swift",
        "Tests/BatchTests.swift",
        "Tests/ChatTests.swift",
        "Tests/DeepResearchTests.swift",
        "Tests/EdgeCaseTests.swift",
        "Tests/EmbeddingTests.swift",
        "Tests/FileTests.swift",
        "Tests/ImageTests.swift",
        "Tests/ModelTests.swift",
        "Tests/ModerationTests.swift",
        "Utilities/TestProtocol.swift"
      ],
      "target_dependencies" : [
        "OpenAIKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "OpenAIKit",
      "module_type" : "SwiftTarget",
      "name" : "OpenAIKit",
      "path" : "Sources/OpenAIKit",
      "product_memberships" : [
        "OpenAIKit",
        "OpenAIKitTester"
      ],
      "sources" : [
        "Core/NetworkClient.swift",
        "Core/OpenAIError.swift",
        "Core/Request.swift",
        "Core/RetryHandler.swift",
        "Endpoints/AssistantsEndpoint.swift",
        "Endpoints/AudioEndpoint.swift",
        "Endpoints/BatchEndpoint.swift",
        "Endpoints/BatchesEndpoint.swift",
        "Endpoints/ChatEndpoint.swift",
        "Endpoints/EmbeddingsEndpoint.swift",
        "Endpoints/FilesEndpoint.swift",
        "Endpoints/FineTuningEndpoint.swift",
        "Endpoints/ImagesEndpoint.swift",
        "Endpoints/ModelsEndpoint.swift",
        "Endpoints/ModerationsEndpoint.swift",
        "Endpoints/ResponsesEndpoint.swift",
        "Endpoints/ThreadsEndpoint.swift",
        "Endpoints/VectorStoresEndpoint.swift",
        "Extensions/OpenAIError+UI.swift",
        "Models/Audio.swift",
        "Models/Batch.swift",
        "Models/Chat.swift",
        "Models/Embeddings.swift",
        "Models/Files.swift",
        "Models/Images.swift",
        "Models/ModelConstants.swift",
        "Models/Models.swift",
        "Models/Moderations.swift",
        "Models/Responses.swift",
        "OpenAIKit.swift",
        "Utilities/JSONValue.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.63s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (4.75s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3418] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.49s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.61s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/9] Write sources
[4/9] Write swift-version-24593BA9C3E375BF.txt
[6/38] Compiling OpenAIKit Images.swift
[7/38] Compiling OpenAIKit ModelConstants.swift
[8/38] Compiling OpenAIKit Models.swift
[9/38] Compiling OpenAIKit Moderations.swift
[10/41] Compiling OpenAIKit Batch.swift
[11/41] Compiling OpenAIKit Chat.swift
[12/41] Compiling OpenAIKit Embeddings.swift
[13/41] Compiling OpenAIKit Files.swift
[14/41] Compiling OpenAIKit AssistantsEndpoint.swift
[15/41] Compiling OpenAIKit AudioEndpoint.swift
[16/41] Compiling OpenAIKit BatchEndpoint.swift
[17/41] Compiling OpenAIKit BatchesEndpoint.swift
[18/41] Compiling OpenAIKit ChatEndpoint.swift
[19/41] Compiling OpenAIKit EmbeddingsEndpoint.swift
[20/41] Compiling OpenAIKit FilesEndpoint.swift
[21/41] Compiling OpenAIKit FineTuningEndpoint.swift
[22/41] Emitting module OpenAIKit
[23/41] Compiling OpenAIKit NetworkClient.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:120:29: warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
118 |
119 |                         if let data = data {
120 |                             receivedData.append(data)
    |                             `- warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
121 |
122 |                             // Process complete lines
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:123:58: warning: reference to captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
121 |
122 |                             // Process complete lines
123 |                             if let string = String(data: receivedData, encoding: .utf8) {
    |                                                          `- warning: reference to captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
124 |                                 let lines = string.components(separatedBy: "\n")
125 |
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:152:37: warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
150 |                                 // Keep the incomplete last line
151 |                                 if let lastLine = lines.last, !lastLine.isEmpty {
152 |                                     receivedData = lastLine.data(using: .utf8) ?? Data()
    |                                     `- warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
153 |                                 } else {
154 |                                     receivedData = Data()
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:154:37: warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |                                     receivedData = lastLine.data(using: .utf8) ?? Data()
153 |                                 } else {
154 |                                     receivedData = Data()
    |                                     `- warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
155 |                                 }
156 |                             }
[24/41] Compiling OpenAIKit OpenAIError.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:120:29: warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
118 |
119 |                         if let data = data {
120 |                             receivedData.append(data)
    |                             `- warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
121 |
122 |                             // Process complete lines
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:123:58: warning: reference to captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
121 |
122 |                             // Process complete lines
123 |                             if let string = String(data: receivedData, encoding: .utf8) {
    |                                                          `- warning: reference to captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
124 |                                 let lines = string.components(separatedBy: "\n")
125 |
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:152:37: warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
150 |                                 // Keep the incomplete last line
151 |                                 if let lastLine = lines.last, !lastLine.isEmpty {
152 |                                     receivedData = lastLine.data(using: .utf8) ?? Data()
    |                                     `- warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
153 |                                 } else {
154 |                                     receivedData = Data()
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:154:37: warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |                                     receivedData = lastLine.data(using: .utf8) ?? Data()
153 |                                 } else {
154 |                                     receivedData = Data()
    |                                     `- warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
155 |                                 }
156 |                             }
[25/41] Compiling OpenAIKit Request.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:120:29: warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
118 |
119 |                         if let data = data {
120 |                             receivedData.append(data)
    |                             `- warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
121 |
122 |                             // Process complete lines
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:123:58: warning: reference to captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
121 |
122 |                             // Process complete lines
123 |                             if let string = String(data: receivedData, encoding: .utf8) {
    |                                                          `- warning: reference to captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
124 |                                 let lines = string.components(separatedBy: "\n")
125 |
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:152:37: warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
150 |                                 // Keep the incomplete last line
151 |                                 if let lastLine = lines.last, !lastLine.isEmpty {
152 |                                     receivedData = lastLine.data(using: .utf8) ?? Data()
    |                                     `- warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
153 |                                 } else {
154 |                                     receivedData = Data()
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:154:37: warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |                                     receivedData = lastLine.data(using: .utf8) ?? Data()
153 |                                 } else {
154 |                                     receivedData = Data()
    |                                     `- warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
155 |                                 }
156 |                             }
[26/41] Compiling OpenAIKit RetryHandler.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:120:29: warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
118 |
119 |                         if let data = data {
120 |                             receivedData.append(data)
    |                             `- warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
121 |
122 |                             // Process complete lines
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:123:58: warning: reference to captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
121 |
122 |                             // Process complete lines
123 |                             if let string = String(data: receivedData, encoding: .utf8) {
    |                                                          `- warning: reference to captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
124 |                                 let lines = string.components(separatedBy: "\n")
125 |
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:152:37: warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
150 |                                 // Keep the incomplete last line
151 |                                 if let lastLine = lines.last, !lastLine.isEmpty {
152 |                                     receivedData = lastLine.data(using: .utf8) ?? Data()
    |                                     `- warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
153 |                                 } else {
154 |                                     receivedData = Data()
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:154:37: warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
152 |                                     receivedData = lastLine.data(using: .utf8) ?? Data()
153 |                                 } else {
154 |                                     receivedData = Data()
    |                                     `- warning: mutation of captured var 'receivedData' in concurrently-executing code; this is an error in the Swift 6 language mode
155 |                                 }
156 |                             }
[27/41] Compiling OpenAIKit ImagesEndpoint.swift
[28/41] Compiling OpenAIKit ModelsEndpoint.swift
[29/41] Compiling OpenAIKit ModerationsEndpoint.swift
[30/41] Compiling OpenAIKit ResponsesEndpoint.swift
[31/41] Compiling OpenAIKit ThreadsEndpoint.swift
[32/41] Compiling OpenAIKit VectorStoresEndpoint.swift
[33/41] Compiling OpenAIKit OpenAIError+UI.swift
[34/41] Compiling OpenAIKit Audio.swift
[35/41] Compiling OpenAIKit Responses.swift
[36/41] Compiling OpenAIKit OpenAIKit.swift
[37/41] Compiling OpenAIKit JSONValue.swift
[38/42] Wrapping AST for OpenAIKit for debugging
[40/57] Compiling OpenAIKitTester ModelTests.swift
[41/57] Compiling OpenAIKitTester ModerationTests.swift
[42/58] Compiling OpenAIKitTester TestProtocol.swift
[43/58] Compiling OpenAIKitTester FileTests.swift
[44/58] Compiling OpenAIKitTester ImageTests.swift
[45/58] Compiling OpenAIKitTester EdgeCaseTests.swift
[46/58] Compiling OpenAIKitTester EmbeddingTests.swift
[47/58] Compiling OpenAIKitTester ChatTests.swift
/host/spi-builder-workspace/Sources/OpenAIKitTester/Tests/ChatTests.swift:67:28: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 65 |                 if let content = chunk.choices.first?.delta.content {
 66 |                     print(content, terminator: "")
 67 |                     fflush(stdout)
    |                            `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 68 |                 }
 69 |             }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/OpenAIKitTester/Tests/DeepResearchTests.swift:462:44: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
460 |                                     // Print content as it arrives
461 |                                     print(content, terminator: "")
462 |                                     fflush(stdout)
    |                                            `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
463 |                                 }
464 |                             }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[48/58] Compiling OpenAIKitTester DeepResearchTests.swift
/host/spi-builder-workspace/Sources/OpenAIKitTester/Tests/ChatTests.swift:67:28: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 65 |                 if let content = chunk.choices.first?.delta.content {
 66 |                     print(content, terminator: "")
 67 |                     fflush(stdout)
    |                            `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 68 |                 }
 69 |             }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/OpenAIKitTester/Tests/DeepResearchTests.swift:462:44: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
460 |                                     // Print content as it arrives
461 |                                     print(content, terminator: "")
462 |                                     fflush(stdout)
    |                                            `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
463 |                                 }
464 |                             }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[49/58] Emitting module OpenAIKitTester
[50/58] Compiling OpenAIKitTester AudioTests.swift
[51/58] Compiling OpenAIKitTester BatchTests.swift
[52/58] Compiling OpenAIKitTester TestConfiguration.swift
[53/58] Compiling OpenAIKitTester OpenAIKitTester.swift
[54/58] Compiling OpenAIKitTester TestRunner.swift
/host/spi-builder-workspace/Sources/OpenAIKitTester/Tests/AdvancedTests.swift:52:35: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 50 |         print("\n  Testing parallel chat requests...")
 51 |         do {
 52 |             async let response1 = performChatRequest(openAI: openAI, message: "What is 2+2?")
    |                                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
 53 |             async let response2 = performChatRequest(openAI: openAI, message: "What is the capital of France?")
 54 |             async let response3 = performChatRequest(openAI: openAI, message: "Name a color")
/host/spi-builder-workspace/Sources/OpenAIKitTester/Tests/AdvancedTests.swift:53:35: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 51 |         do {
 52 |             async let response1 = performChatRequest(openAI: openAI, message: "What is 2+2?")
 53 |             async let response2 = performChatRequest(openAI: openAI, message: "What is the capital of France?")
    |                                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
 54 |             async let response3 = performChatRequest(openAI: openAI, message: "Name a color")
 55 |
/host/spi-builder-workspace/Sources/OpenAIKitTester/Tests/AdvancedTests.swift:54:35: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 52 |             async let response1 = performChatRequest(openAI: openAI, message: "What is 2+2?")
 53 |             async let response2 = performChatRequest(openAI: openAI, message: "What is the capital of France?")
 54 |             async let response3 = performChatRequest(openAI: openAI, message: "Name a color")
    |                                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
 55 |
 56 |             let responses = await [try response1, try response2, try response3]
[55/58] Compiling OpenAIKitTester AdvancedTests.swift
/host/spi-builder-workspace/Sources/OpenAIKitTester/Tests/AdvancedTests.swift:52:35: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 50 |         print("\n  Testing parallel chat requests...")
 51 |         do {
 52 |             async let response1 = performChatRequest(openAI: openAI, message: "What is 2+2?")
    |                                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
 53 |             async let response2 = performChatRequest(openAI: openAI, message: "What is the capital of France?")
 54 |             async let response3 = performChatRequest(openAI: openAI, message: "Name a color")
/host/spi-builder-workspace/Sources/OpenAIKitTester/Tests/AdvancedTests.swift:53:35: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 51 |         do {
 52 |             async let response1 = performChatRequest(openAI: openAI, message: "What is 2+2?")
 53 |             async let response2 = performChatRequest(openAI: openAI, message: "What is the capital of France?")
    |                                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
 54 |             async let response3 = performChatRequest(openAI: openAI, message: "Name a color")
 55 |
/host/spi-builder-workspace/Sources/OpenAIKitTester/Tests/AdvancedTests.swift:54:35: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 52 |             async let response1 = performChatRequest(openAI: openAI, message: "What is 2+2?")
 53 |             async let response2 = performChatRequest(openAI: openAI, message: "What is the capital of France?")
 54 |             async let response3 = performChatRequest(openAI: openAI, message: "Name a color")
    |                                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
 55 |
 56 |             let responses = await [try response1, try response2, try response3]
[56/59] Wrapping AST for OpenAIKitTester for debugging
[57/59] Write Objects.LinkFileList
[58/59] Linking OpenAIKitTester
Build complete! (48.38s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "OpenAIKit",
  "name" : "OpenAIKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenAIKit",
      "targets" : [
        "OpenAIKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "OpenAIKitTester",
      "targets" : [
        "OpenAIKitTester"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpenAIKitTests",
      "module_type" : "SwiftTarget",
      "name" : "OpenAIKitTests",
      "path" : "Tests/OpenAIKitTests",
      "sources" : [
        "AudioModelsTests.swift",
        "ChatModelsTests.swift",
        "ConfigurationTests.swift",
        "EmbeddingModelsTests.swift",
        "EnhancedErrorHandlingTests.swift",
        "ErrorHandlingTests.swift",
        "JSONValueTests.swift",
        "ModelConstantsTests.swift",
        "OpenAIKitTests.swift",
        "RequestSerializationTests.swift",
        "ResponseParsingTests.swift"
      ],
      "target_dependencies" : [
        "OpenAIKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OpenAIKitTester",
      "module_type" : "SwiftTarget",
      "name" : "OpenAIKitTester",
      "path" : "Sources/OpenAIKitTester",
      "product_memberships" : [
        "OpenAIKitTester"
      ],
      "sources" : [
        "Configuration/TestConfiguration.swift",
        "OpenAIKitTester.swift",
        "TestRunner.swift",
        "Tests/AdvancedTests.swift",
        "Tests/AudioTests.swift",
        "Tests/BatchTests.swift",
        "Tests/ChatTests.swift",
        "Tests/DeepResearchTests.swift",
        "Tests/EdgeCaseTests.swift",
        "Tests/EmbeddingTests.swift",
        "Tests/FileTests.swift",
        "Tests/ImageTests.swift",
        "Tests/ModelTests.swift",
        "Tests/ModerationTests.swift",
        "Utilities/TestProtocol.swift"
      ],
      "target_dependencies" : [
        "OpenAIKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "OpenAIKit",
      "module_type" : "SwiftTarget",
      "name" : "OpenAIKit",
      "path" : "Sources/OpenAIKit",
      "product_memberships" : [
        "OpenAIKit",
        "OpenAIKitTester"
      ],
      "sources" : [
        "Core/NetworkClient.swift",
        "Core/OpenAIError.swift",
        "Core/Request.swift",
        "Core/RetryHandler.swift",
        "Endpoints/AssistantsEndpoint.swift",
        "Endpoints/AudioEndpoint.swift",
        "Endpoints/BatchEndpoint.swift",
        "Endpoints/BatchesEndpoint.swift",
        "Endpoints/ChatEndpoint.swift",
        "Endpoints/EmbeddingsEndpoint.swift",
        "Endpoints/FilesEndpoint.swift",
        "Endpoints/FineTuningEndpoint.swift",
        "Endpoints/ImagesEndpoint.swift",
        "Endpoints/ModelsEndpoint.swift",
        "Endpoints/ModerationsEndpoint.swift",
        "Endpoints/ResponsesEndpoint.swift",
        "Endpoints/ThreadsEndpoint.swift",
        "Endpoints/VectorStoresEndpoint.swift",
        "Extensions/OpenAIError+UI.swift",
        "Models/Audio.swift",
        "Models/Batch.swift",
        "Models/Chat.swift",
        "Models/Embeddings.swift",
        "Models/Files.swift",
        "Models/Images.swift",
        "Models/ModelConstants.swift",
        "Models/Models.swift",
        "Models/Moderations.swift",
        "Models/Responses.swift",
        "OpenAIKit.swift",
        "Utilities/JSONValue.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.