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

Failed to build OpenAIKit, reference master (d95088), with Swift 5.10 for Linux on 27 Jun 2025 12:46:35 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/marcusziade/OpenAIKit.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/OpenAIKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d95088d docs: Add missing code files for DeepResearch streaming tutorial section 5
Cloned https://github.com/marcusziade/OpenAIKit.git
Revision (git rev-parse @):
d95088d74f21986e9e0b722ec155a99150ce5aae
SUCCESS checkout https://github.com/marcusziade/OpenAIKit.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/marcusziade/OpenAIKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:c30bb8beee7254e839cc0142f4ae78578b8fc8e8159324cc3637097cc1b395b6
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-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 (0.41s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (1.31s)
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.43s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.55s)
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
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/9] Write sources
[4/9] Write swift-version-24593BA9C3E375BF.txt
[6/38] Emitting module OpenAIKit
/host/spi-builder-workspace/Sources/OpenAIKit/OpenAIKit.swift:185:16: warning: stored property 'baseURL' of 'Sendable'-conforming struct 'Configuration' has non-sendable type 'URL'
    public let baseURL: URL
               ^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
              ^
/host/spi-builder-workspace/Sources/OpenAIKit/OpenAIKit.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[7/41] Compiling OpenAIKit AssistantsEndpoint.swift
[8/41] Compiling OpenAIKit AudioEndpoint.swift
[9/41] Compiling OpenAIKit BatchEndpoint.swift
[10/41] Compiling OpenAIKit BatchesEndpoint.swift
[11/41] Compiling OpenAIKit ChatEndpoint.swift
[12/41] Compiling OpenAIKit EmbeddingsEndpoint.swift
[13/41] Compiling OpenAIKit FilesEndpoint.swift
[14/41] Compiling OpenAIKit FineTuningEndpoint.swift
[15/41] Compiling OpenAIKit NetworkClient.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:34:50: error: value of type 'URLSession' has no member 'data'
        let (data, response) = try await session.data(for: urlRequest)
                                         ~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:163:50: error: value of type 'URLSession' has no member 'data'
        let (data, response) = try await session.data(for: urlRequest)
                                         ~~~~~~~ ^~~~
[16/41] Compiling OpenAIKit OpenAIError.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:34:50: error: value of type 'URLSession' has no member 'data'
        let (data, response) = try await session.data(for: urlRequest)
                                         ~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:163:50: error: value of type 'URLSession' has no member 'data'
        let (data, response) = try await session.data(for: urlRequest)
                                         ~~~~~~~ ^~~~
[17/41] Compiling OpenAIKit Request.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:34:50: error: value of type 'URLSession' has no member 'data'
        let (data, response) = try await session.data(for: urlRequest)
                                         ~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:163:50: error: value of type 'URLSession' has no member 'data'
        let (data, response) = try await session.data(for: urlRequest)
                                         ~~~~~~~ ^~~~
[18/41] Compiling OpenAIKit RetryHandler.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:34:50: error: value of type 'URLSession' has no member 'data'
        let (data, response) = try await session.data(for: urlRequest)
                                         ~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/OpenAIKit/Core/NetworkClient.swift:163:50: error: value of type 'URLSession' has no member 'data'
        let (data, response) = try await session.data(for: urlRequest)
                                         ~~~~~~~ ^~~~
[19/41] Compiling OpenAIKit Images.swift
[20/41] Compiling OpenAIKit ModelConstants.swift
[21/41] Compiling OpenAIKit Models.swift
[22/41] Compiling OpenAIKit Moderations.swift
[23/41] Compiling OpenAIKit Responses.swift
/host/spi-builder-workspace/Sources/OpenAIKit/OpenAIKit.swift:185:16: warning: stored property 'baseURL' of 'Sendable'-conforming struct 'Configuration' has non-sendable type 'URL'
    public let baseURL: URL
               ^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
              ^
/host/spi-builder-workspace/Sources/OpenAIKit/OpenAIKit.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[24/41] Compiling OpenAIKit OpenAIKit.swift
/host/spi-builder-workspace/Sources/OpenAIKit/OpenAIKit.swift:185:16: warning: stored property 'baseURL' of 'Sendable'-conforming struct 'Configuration' has non-sendable type 'URL'
    public let baseURL: URL
               ^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
              ^
/host/spi-builder-workspace/Sources/OpenAIKit/OpenAIKit.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[25/41] Compiling OpenAIKit JSONValue.swift
/host/spi-builder-workspace/Sources/OpenAIKit/OpenAIKit.swift:185:16: warning: stored property 'baseURL' of 'Sendable'-conforming struct 'Configuration' has non-sendable type 'URL'
    public let baseURL: URL
               ^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
              ^
/host/spi-builder-workspace/Sources/OpenAIKit/OpenAIKit.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[26/41] Compiling OpenAIKit ImagesEndpoint.swift
[27/41] Compiling OpenAIKit ModelsEndpoint.swift
[28/41] Compiling OpenAIKit ModerationsEndpoint.swift
[29/41] Compiling OpenAIKit ResponsesEndpoint.swift
[30/41] Compiling OpenAIKit ThreadsEndpoint.swift
[31/41] Compiling OpenAIKit VectorStoresEndpoint.swift
[32/41] Compiling OpenAIKit OpenAIError+UI.swift
[33/41] Compiling OpenAIKit Audio.swift
[34/41] Compiling OpenAIKit Batch.swift
[35/41] Compiling OpenAIKit Chat.swift
[36/41] Compiling OpenAIKit Embeddings.swift
[37/41] Compiling OpenAIKit Files.swift
error: fatalError
BUILD FAILURE 5.10 linux