Build Information
Failed to build ChatGPTUI with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.30.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tichise/chatgpt-ui.git
Reference: 1.1.0
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/tichise/chatgpt-ui
* tag 1.1.0 -> FETCH_HEAD
HEAD is now at f3ff0d7 Merge pull request #9 from tichise/feature/update-lib
Cloned https://github.com/tichise/chatgpt-ui.git
Revision (git rev-parse @):
f3ff0d76beff94f2220d141a8525c9d694fba456
SUCCESS checkout https://github.com/tichise/chatgpt-ui.git at 1.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $workDir
https://github.com/tichise/chatgpt-ui.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/MacPaw/OpenAI.git
Fetching https://github.com/tichise/TILogger.git
[1/251] Fetching tilogger
Fetched https://github.com/tichise/TILogger.git (0.24s)
[1/3602] Fetching openai
Fetched https://github.com/MacPaw/OpenAI.git (0.43s)
Computing version for https://github.com/MacPaw/OpenAI.git
Computed https://github.com/MacPaw/OpenAI.git at 0.2.6 (1.08s)
Computing version for https://github.com/tichise/TILogger.git
Computed https://github.com/tichise/TILogger.git at 1.3.2 (0.35s)
Creating working copy for https://github.com/MacPaw/OpenAI.git
Working copy of https://github.com/MacPaw/OpenAI.git resolved at 0.2.6
Creating working copy for https://github.com/tichise/TILogger.git
Working copy of https://github.com/tichise/TILogger.git resolved at 1.3.2
Building for debugging...
[1/40] Emitting module OpenAI
[2/45] Compiling OpenAI OpenAI.swift
[3/45] Compiling OpenAI JSONRequest.swift
[4/45] Compiling OpenAI MultipartFormDataBodyBuilder.swift
[5/45] Compiling OpenAI MultipartFormDataBodyEncodable.swift
[6/45] Compiling OpenAI MultipartFormDataEntry.swift
[7/45] Compiling OpenAI MultipartFormDataRequest.swift
[8/45] Compiling OpenAI EditsQuery.swift
[9/45] Compiling OpenAI EditsResult.swift
[10/45] Compiling OpenAI EmbeddingsQuery.swift
[11/45] Compiling OpenAI EmbeddingsResult.swift
[12/45] Compiling OpenAI ImageEditsQuery.swift
[13/45] Emitting module TILogger
[14/45] Compiling TILogger TILogger.swift
[15/45] Compiling OpenAI OpenAIProtocol+Async.swift
[16/45] Compiling OpenAI OpenAIProtocol+Combine.swift
[17/45] Compiling OpenAI OpenAIProtocol.swift
[18/45] Compiling OpenAI ArrayWithThreadSafety.swift
[19/45] Compiling OpenAI Utilities.swift
[22/47] Compiling OpenAI StreamingSession.swift
[23/47] Compiling OpenAI URLRequestBuildable.swift
[24/47] Compiling OpenAI URLSessionDataTaskProtocol.swift
[25/47] Compiling OpenAI URLSessionProtocol.swift
[26/47] Compiling OpenAI APIError.swift
[27/47] Compiling OpenAI AudioSpeechQuery.swift
[28/47] Compiling OpenAI Models.swift
[29/47] Compiling OpenAI ModelsResult.swift
[30/47] Compiling OpenAI ModerationsQuery.swift
[31/47] Compiling OpenAI ModerationsResult.swift
[32/47] Compiling OpenAI StreamableQuery.swift
[33/47] Compiling OpenAI ImageVariationsQuery.swift
[34/47] Compiling OpenAI ImagesQuery.swift
[35/47] Compiling OpenAI ImagesResult.swift
[36/47] Compiling OpenAI ModelQuery.swift
[37/47] Compiling OpenAI ModelResult.swift
[38/47] Compiling OpenAI AudioSpeechResult.swift
[39/47] Compiling OpenAI AudioTranscriptionQuery.swift
[40/47] Compiling OpenAI AudioTranscriptionResult.swift
[41/47] Compiling OpenAI AudioTranslationQuery.swift
[42/47] Compiling OpenAI AudioTranslationResult.swift
[43/47] Compiling OpenAI ChatQuery.swift
[44/47] Compiling OpenAI ChatResult.swift
[45/47] Compiling OpenAI ChatStreamResult.swift
[46/47] Compiling OpenAI CompletionsQuery.swift
[47/47] Compiling OpenAI CompletionsResult.swift
[50/58] Compiling ChatGPTUI AvailableModelsView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[51/59] Compiling ChatGPTUI ChatBubbleView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[52/59] Compiling ChatGPTUI ChatView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[53/59] Compiling ChatGPTUI ConversationsView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/59] Emitting module ChatGPTUI
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[55/59] Compiling ChatGPTUI Conversation.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[56/59] Compiling ChatGPTUI Message.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[57/59] Compiling ChatGPTUI DetailView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[58/59] Compiling ChatGPTUI ChatViewModel.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[59/59] Compiling ChatGPTUI AvailableModelsViewModel.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[0/1] Planning build
Building for debugging...
warning: Will not do cross-module incremental builds, priors saved at TimePoint(seconds: 1709749629, nanoseconds: 0)), but the previous build started at TimePoint(seconds: 1709749629, nanoseconds: 573085000), at '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ChatGPTUI.build/master.priors'
[1/9] Compiling ChatGPTUI AvailableModelsView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[2/10] Compiling ChatGPTUI ChatView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[3/10] Compiling ChatGPTUI ChatBubbleView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[4/10] Compiling ChatGPTUI ConversationsView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/10] Emitting module ChatGPTUI
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[6/10] Compiling ChatGPTUI DetailView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[7/10] Compiling ChatGPTUI AvailableModelsViewModel.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[8/10] Compiling ChatGPTUI ChatViewModel.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[9/10] Compiling ChatGPTUI Conversation.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[10/10] Compiling ChatGPTUI Message.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
BUILD FAILURE 5.8 linux