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 OpenAIImagesKit, reference master (e771c5), with Swift 6.2 (beta) for Android on 23 Jun 2025 20:36:33 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/marcusziade/OpenAIImagesKit.git
Reference: master
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/OpenAIImagesKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e771c5c Update OpenAIImagesKit repository URL in README
Cloned https://github.com/marcusziade/OpenAIImagesKit.git
Revision (git rev-parse @):
e771c5c13c826668ac78ac467ad82f7abad7d1c0
SUCCESS checkout https://github.com/marcusziade/OpenAIImagesKit.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/marcusziade/OpenAIImagesKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-8C5A4AE7A8CE2BA.txt
[4/15] Compiling OpenAIImagesKit ImageUtils.swift
[5/15] Compiling OpenAIImagesKit OpenAIImagesKit.swift
[6/15] Emitting module OpenAIImagesKit
[7/15] Compiling OpenAIImagesKit Errors.swift
[8/15] Compiling OpenAIImagesKit NetworkSession.swift
/host/spi-builder-workspace/Sources/OpenAIImagesKit/NetworkSession.swift:35:34: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 33 |         Task {
 34 |             do {
 35 |                 let result = try await performRequest(url: url, method: method, headers: headers, body: body) as T
    |                                  `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 36 |                 completion(.success(result))
 37 |             } catch {
/host/spi-builder-workspace/Sources/OpenAIImagesKit/NetworkSession.swift:31:9: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 29 |         headers: [String: String],
 30 |         body: Data?,
 31 |         completion: @escaping (Result<T, Error>) -> Void
    |         `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 32 |     ) {
 33 |         Task {
/host/spi-builder-workspace/Sources/OpenAIImagesKit/NetworkSession.swift:67:21: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 65 |             let task = URLSession.shared.dataTask(with: request) { data, response, error in
 66 |                 if let error = error {
 67 |                     continuation.resume(throwing: OpenAIImagesError.networkError(error))
    |                     `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 68 |                     return
 69 |                 }
/host/spi-builder-workspace/Sources/OpenAIImagesKit/NetworkSession.swift:64:60: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 62 |         #if canImport(FoundationNetworking)
 63 |         // For platforms without native URLSession async/await support (Linux)
 64 |         return try await withCheckedThrowingContinuation { continuation in
    |                                                            `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 65 |             let task = URLSession.shared.dataTask(with: request) { data, response, error in
 66 |                 if let error = error {
[9/15] Compiling OpenAIImagesKit OpenAIImagesClient.swift
[10/15] Compiling OpenAIImagesKit Examples.swift
[11/15] Compiling OpenAIImagesKit Models.swift
[12/16] Wrapping AST for OpenAIImagesKit for debugging
[14/18] Emitting module OpenAIImagesCLI
[15/18] Compiling OpenAIImagesCLI main.swift
[16/19] Wrapping AST for OpenAIImagesCLI for debugging
[17/19] Write Objects.LinkFileList
[18/19] Linking OpenAIImagesCLI
Build complete! (24.21s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "OpenAIImagesKit",
  "name" : "OpenAIImagesKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenAIImagesKit",
      "targets" : [
        "OpenAIImagesKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "OpenAIImagesCLI",
      "targets" : [
        "OpenAIImagesCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpenAIImagesKitTests",
      "module_type" : "SwiftTarget",
      "name" : "OpenAIImagesKitTests",
      "path" : "Tests/OpenAIImagesKitTests",
      "sources" : [
        "Fixtures/TestFixtures.swift",
        "Mocks/MockNetworkSession.swift",
        "ModelsTests.swift",
        "OpenAIImagesClientTests.swift"
      ],
      "target_dependencies" : [
        "OpenAIImagesKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OpenAIImagesKit",
      "module_type" : "SwiftTarget",
      "name" : "OpenAIImagesKit",
      "path" : "Sources/OpenAIImagesKit",
      "product_memberships" : [
        "OpenAIImagesKit",
        "OpenAIImagesCLI"
      ],
      "sources" : [
        "Errors.swift",
        "Examples.swift",
        "ImageUtils.swift",
        "Models.swift",
        "NetworkSession.swift",
        "OpenAIImagesClient.swift",
        "OpenAIImagesKit.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "OpenAIImagesCLI",
      "module_type" : "SwiftTarget",
      "name" : "OpenAIImagesCLI",
      "path" : "Sources/OpenAIImagesCLI",
      "product_memberships" : [
        "OpenAIImagesCLI"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "OpenAIImagesKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.7"
}
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Done.