Build Information
Failed to build ChatGPTUI with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-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: 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/tichise/chatgpt-ui
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-4606859-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/tichise/TILogger.git
Fetching https://github.com/MacPaw/OpenAI.git
[1/251] Fetching tilogger
[252/3853] Fetching tilogger, openai
Fetched https://github.com/tichise/TILogger.git (0.33s)
Fetched https://github.com/MacPaw/OpenAI.git (0.33s)
Computing version for https://github.com/MacPaw/OpenAI.git
Computed https://github.com/MacPaw/OpenAI.git at 0.2.6 (0.89s)
Computing version for https://github.com/tichise/TILogger.git
Computed https://github.com/tichise/TILogger.git at 1.3.2 (0.32s)
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 OpenAIProtocol+Async.swift
[3/45] Compiling OpenAI OpenAIProtocol+Combine.swift
[4/45] Compiling OpenAI OpenAIProtocol.swift
[5/45] Compiling OpenAI ArrayWithThreadSafety.swift
[6/45] Compiling OpenAI Utilities.swift
[7/45] Compiling OpenAI Models.swift
[8/45] Compiling OpenAI ModelsResult.swift
[9/45] Compiling OpenAI ModerationsQuery.swift
[10/45] Compiling OpenAI ModerationsResult.swift
[11/45] Compiling OpenAI StreamableQuery.swift
[12/45] Compiling OpenAI EditsQuery.swift
[13/45] Compiling OpenAI EditsResult.swift
[14/45] Compiling OpenAI EmbeddingsQuery.swift
[15/45] Compiling OpenAI EmbeddingsResult.swift
[16/45] Compiling OpenAI ImageEditsQuery.swift
[17/45] Compiling OpenAI ImageVariationsQuery.swift
[18/45] Compiling OpenAI ImagesQuery.swift
[19/45] Compiling OpenAI ImagesResult.swift
[20/45] Compiling OpenAI ModelQuery.swift
[21/45] Compiling OpenAI ModelResult.swift
[22/45] Emitting module TILogger
[23/45] Compiling TILogger TILogger.swift
[24/46] Compiling OpenAI StreamingSession.swift
[25/46] Compiling OpenAI URLRequestBuildable.swift
[26/46] Compiling OpenAI URLSessionDataTaskProtocol.swift
[27/46] Compiling OpenAI URLSessionProtocol.swift
[28/46] Compiling OpenAI APIError.swift
[29/46] Compiling OpenAI AudioSpeechQuery.swift
[31/47] Compiling OpenAI ChatQuery.swift
[32/47] Compiling OpenAI ChatResult.swift
[33/47] Compiling OpenAI ChatStreamResult.swift
[34/47] Compiling OpenAI CompletionsQuery.swift
[35/47] Compiling OpenAI CompletionsResult.swift
[36/47] Compiling OpenAI AudioSpeechResult.swift
[37/47] Compiling OpenAI AudioTranscriptionQuery.swift
[38/47] Compiling OpenAI AudioTranscriptionResult.swift
[39/47] Compiling OpenAI AudioTranslationQuery.swift
[40/47] Compiling OpenAI AudioTranslationResult.swift
[42/47] Compiling OpenAI OpenAI.swift
[43/47] Compiling OpenAI JSONRequest.swift
[44/47] Compiling OpenAI MultipartFormDataBodyBuilder.swift
[45/47] Compiling OpenAI MultipartFormDataBodyEncodable.swift
[46/47] Compiling OpenAI MultipartFormDataEntry.swift
[47/47] Compiling OpenAI MultipartFormDataRequest.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/58] Emitting module ChatGPTUI
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[51/58] Compiling ChatGPTUI Conversation.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[52/58] Compiling ChatGPTUI Message.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[53/58] Compiling ChatGPTUI ChatBubbleView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[54/58] Compiling ChatGPTUI ConversationsView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[55/58] Compiling ChatGPTUI ChatView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[56/59] Compiling ChatGPTUI AvailableModelsViewModel.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[57/59] Compiling ChatGPTUI ChatViewModel.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[58/59] Compiling ChatGPTUI AvailableModelsView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[59/59] Compiling ChatGPTUI DetailView.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...
[1/9] Compiling ChatGPTUI ChatView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[2/9] Compiling ChatGPTUI AvailableModelsView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[3/9] 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
^
[5/10] Compiling ChatGPTUI DetailView.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)
[6/10] Compiling ChatGPTUI AvailableModelsViewModel.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[7/10] Emitting module ChatGPTUI
/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