Build Information
Failed to build OllamaKit, reference main (f94752
), with Swift 5.10 for Linux on 6 Aug 2024 22:34:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.48.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kevinhermawan/OllamaKit.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/kevinhermawan/OllamaKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:f0b51be07fbc8a0d4d15ad969175777a256c8ed4ef7ff1497c5f9d7800160a18
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
[1/1610] Fetching swift-docc-plugin
[1483/4650] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (3.43s)
Fetched https://github.com/apple/swift-docc-plugin from cache (3.44s)
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.34s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.47s)
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...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/30] Emitting module OllamaKit
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[6/33] Compiling OllamaKit OllamaKit.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[7/33] Compiling OllamaKit OKCompletionOptions.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[8/33] Compiling OllamaKit OKChatRequestData.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[9/33] Compiling OllamaKit OKCopyModelRequestData.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[10/33] Compiling OllamaKit OKJSONValue.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[11/33] Compiling OllamaKit OKRouter.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[12/33] Compiling OllamaKit StreamingDelegate.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[13/33] Compiling OllamaKit OllamaKit+Chat.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[14/33] Compiling OllamaKit OllamaKit+CopyModel.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[15/33] Compiling OllamaKit OllamaKit+DeleteModel.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[16/33] Compiling OllamaKit OllamaKit+Embeddings.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[17/33] Compiling OllamaKit OKCompletionResponse.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[18/33] Compiling OllamaKit OKChatResponse.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[19/33] Compiling OllamaKit OKEmbeddingsResponse.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[20/33] Compiling OllamaKit OllamaKit+Generate.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[21/33] Compiling OllamaKit OllamaKit+ModelInfo.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[22/33] Compiling OllamaKit OllamaKit+Models.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[23/33] Compiling OllamaKit OllamaKit+Reachable.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[24/33] Compiling OllamaKit JSONDecoder+Default.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[25/33] Compiling OllamaKit JSONEncoder+Default.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[26/33] Compiling OllamaKit OKHTTPClient.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[27/33] Compiling OllamaKit OKGenerateResponse.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[28/33] Compiling OllamaKit OKModelInfoResponse.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[29/33] Compiling OllamaKit OKModelResponse.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[30/33] Compiling OllamaKit OKDeleteModelRequestData.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[31/33] Compiling OllamaKit OKEmbeddingsRequestData.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[32/33] Compiling OllamaKit OKGenerateRequestData.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
[33/33] Compiling OllamaKit OKModelInfoRequestData.swift
/host/spi-builder-workspace/Sources/OllamaKit/OllamaKit+Chat.swift:8:8: error: no such module 'Combine'
import Combine
^
error: fatalError
BUILD FAILURE 5.10 linux