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 OllamaKit, reference 5.0.5 (f94752), with Swift 5.9 for Linux on 6 Aug 2024 22:35:12 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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.48.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kevinhermawan/OllamaKit.git
Reference: 5.0.5
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/kevinhermawan/OllamaKit
 * tag               5.0.5      -> FETCH_HEAD
HEAD is now at f947524 release: 5.0.5
Cloned https://github.com/kevinhermawan/OllamaKit.git
Revision (git rev-parse @):
f947524e08fa8b0ddb875834a81ed7b4cf9ea23a
SUCCESS checkout https://github.com/kevinhermawan/OllamaKit.git at 5.0.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/kevinhermawan/OllamaKit.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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:ab95bcf8ae8f59ab6d4725f4fd8a1a6162581ba0800402e498200829aee2a822
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-docc-symbolkit
[1/1610] Fetching swift-docc-plugin
[1499/4650] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit (0.42s)
Fetched https://github.com/apple/swift-docc-plugin (0.42s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.3.0 (1.17s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.38s)
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
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/28] Emitting module OllamaKit
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[4/31] Compiling OllamaKit JSONDecoder+Default.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[5/31] Compiling OllamaKit JSONEncoder+Default.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[6/31] Compiling OllamaKit OKHTTPClient.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[7/31] Compiling OllamaKit OllamaKit.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[8/31] Compiling OllamaKit OKCompletionOptions.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[9/31] Compiling OllamaKit OKChatRequestData.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[10/31] Compiling OllamaKit OKCopyModelRequestData.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[11/31] Compiling OllamaKit OKJSONValue.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[12/31] Compiling OllamaKit OKRouter.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[13/31] Compiling OllamaKit StreamingDelegate.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[14/31] Compiling OllamaKit OKGenerateResponse.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[15/31] Compiling OllamaKit OKModelInfoResponse.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[16/31] Compiling OllamaKit OKModelResponse.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[17/31] Compiling OllamaKit OKDeleteModelRequestData.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[18/31] Compiling OllamaKit OKEmbeddingsRequestData.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[19/31] Compiling OllamaKit OKGenerateRequestData.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[20/31] Compiling OllamaKit OKModelInfoRequestData.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[21/31] Compiling OllamaKit OKCompletionResponse.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[22/31] Compiling OllamaKit OKChatResponse.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[23/31] Compiling OllamaKit OKEmbeddingsResponse.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[24/31] Compiling OllamaKit OllamaKit+Chat.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[25/31] Compiling OllamaKit OllamaKit+CopyModel.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[26/31] Compiling OllamaKit OllamaKit+DeleteModel.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[27/31] Compiling OllamaKit OllamaKit+Embeddings.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[28/31] Compiling OllamaKit OllamaKit+Generate.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[29/31] Compiling OllamaKit OllamaKit+ModelInfo.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[30/31] Compiling OllamaKit OllamaKit+Models.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
[31/31] Compiling OllamaKit OllamaKit+Reachable.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
       ^
error: fatalError
BUILD FAILURE 5.9 linux