The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build OpenAIKit with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FuturraGroup/OpenAI.git
Reference: 1.9.3
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/FuturraGroup/OpenAI
 * tag               1.9.3      -> FETCH_HEAD
HEAD is now at 0f50bc2 Updated SSL handshake for stream
Cloned https://github.com/FuturraGroup/OpenAI.git
Revision (git rev-parse @):
0f50bc2531639e1093d93d5a02dc2a99e0697ef5
SUCCESS checkout https://github.com/FuturraGroup/OpenAI.git at 1.9.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/FuturraGroup/OpenAI.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling OpenAIKit OpenAIKit.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[4/17] Compiling OpenAIKit Chat.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[5/18] Compiling OpenAIKit Completions.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[6/18] Compiling OpenAIKit Edits.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/18] Emitting module OpenAIKit
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[8/18] Compiling OpenAIKit Extensions.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[9/18] Compiling OpenAIKit AIEventStream.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[10/18] Compiling OpenAIKit NetworkRoutes.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[11/18] Compiling OpenAIKit OpenAIKitNetwork.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[12/18] Compiling OpenAIKit OpenAISSLDelegate.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[13/18] Compiling OpenAIKit AIModel.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[14/18] Compiling OpenAIKit Images.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[15/18] Compiling OpenAIKit EditsModels.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[16/18] Compiling OpenAIKit ImagesModels.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[17/18] Compiling OpenAIKit ChatCompletionsRequest.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[18/18] Compiling OpenAIKit CompletionsModels.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/16] Compiling OpenAIKit ChatCompletionsRequest.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[3/16] Compiling OpenAIKit CompletionsModels.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[4/17] Compiling OpenAIKit NetworkRoutes.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[5/17] Compiling OpenAIKit OpenAIKitNetwork.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[6/17] Compiling OpenAIKit OpenAISSLDelegate.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[7/17] Compiling OpenAIKit AIModel.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[8/17] Compiling OpenAIKit OpenAIKit.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[9/17] Compiling OpenAIKit Chat.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[10/17] Compiling OpenAIKit Completions.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[11/17] Compiling OpenAIKit Edits.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[12/17] Compiling OpenAIKit EditsModels.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[13/17] Compiling OpenAIKit ImagesModels.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[14/17] Compiling OpenAIKit Images.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/17] Emitting module OpenAIKit
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[16/17] Compiling OpenAIKit Extensions.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[17/17] Compiling OpenAIKit AIEventStream.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Helpers/AIEventStream.swift:8:8: error: no such module 'Combine'
import Combine
       ^
error: fatalError
BUILD FAILURE 5.10 linux