Build Information
Failed to build ChatGPTUI 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 --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.10
Building package at path: $workDir
https://github.com/tichise/chatgpt-ui.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 --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 from cache (0.34s)
Fetched https://github.com/MacPaw/OpenAI.git from cache (0.34s)
Computing version for https://github.com/MacPaw/OpenAI.git
Computed https://github.com/MacPaw/OpenAI.git at 0.2.6 (1.03s)
Computing version for https://github.com/tichise/TILogger.git
Computed https://github.com/tichise/TILogger.git at 1.3.2 (0.40s)
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...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/44] Emitting module OpenAI
[6/49] Compiling OpenAI Models.swift
[7/49] Compiling OpenAI ModelsResult.swift
[8/49] Compiling OpenAI ModerationsQuery.swift
[9/49] Compiling OpenAI ModerationsResult.swift
[10/49] Compiling OpenAI StreamableQuery.swift
[11/49] Compiling OpenAI ImageVariationsQuery.swift
[12/49] Compiling OpenAI ImagesQuery.swift
[13/49] Compiling OpenAI ImagesResult.swift
[14/49] Compiling OpenAI ModelQuery.swift
[15/49] Compiling OpenAI ModelResult.swift
[16/49] Compiling OpenAI OpenAIProtocol+Async.swift
[17/49] Compiling OpenAI OpenAIProtocol+Combine.swift
[18/49] Compiling OpenAI OpenAIProtocol.swift
[19/49] Compiling OpenAI ArrayWithThreadSafety.swift
[20/49] Compiling OpenAI Utilities.swift
[21/49] Compiling OpenAI StreamingSession.swift
[22/49] Compiling OpenAI URLRequestBuildable.swift
[23/49] Compiling OpenAI URLSessionDataTaskProtocol.swift
[24/49] Compiling OpenAI URLSessionProtocol.swift
[25/49] Compiling OpenAI APIError.swift
[26/49] Compiling OpenAI AudioSpeechQuery.swift
[27/49] Compiling OpenAI AudioSpeechResult.swift
[28/49] Compiling OpenAI AudioTranscriptionQuery.swift
[29/49] Compiling OpenAI AudioTranscriptionResult.swift
[30/49] Compiling OpenAI AudioTranslationQuery.swift
[31/49] Compiling OpenAI AudioTranslationResult.swift
[32/49] Compiling OpenAI ChatQuery.swift
[33/49] Compiling OpenAI ChatResult.swift
[34/49] Compiling OpenAI ChatStreamResult.swift
[35/49] Compiling OpenAI CompletionsQuery.swift
[36/49] Compiling OpenAI CompletionsResult.swift
[37/49] Compiling OpenAI EditsQuery.swift
[38/49] Compiling OpenAI EditsResult.swift
[39/49] Compiling OpenAI EmbeddingsQuery.swift
[40/49] Compiling OpenAI EmbeddingsResult.swift
[41/49] Compiling OpenAI ImageEditsQuery.swift
[42/49] Compiling OpenAI OpenAI.swift
[43/49] Compiling OpenAI JSONRequest.swift
[44/49] Compiling OpenAI MultipartFormDataBodyBuilder.swift
[45/49] Compiling OpenAI MultipartFormDataBodyEncodable.swift
[46/49] Compiling OpenAI MultipartFormDataEntry.swift
[47/49] Compiling OpenAI MultipartFormDataRequest.swift
[48/50] Compiling TILogger TILogger.swift
[49/50] Emitting module TILogger
[52/60] Compiling ChatGPTUI AvailableModelsView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[53/61] Compiling ChatGPTUI ChatView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[54/61] Compiling ChatGPTUI ChatBubbleView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[55/61] 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)
[56/61] Emitting module ChatGPTUI
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[57/61] Compiling ChatGPTUI ChatViewModel.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[58/61] Compiling ChatGPTUI AvailableModelsViewModel.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[59/61] Compiling ChatGPTUI Conversation.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[60/61] Compiling ChatGPTUI Message.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[61/61] Compiling ChatGPTUI DetailView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6: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/10] Compiling ChatGPTUI AvailableModelsView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[3/11] Compiling ChatGPTUI ChatBubbleView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[4/11] Compiling ChatGPTUI ConversationsView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[5/11] Compiling ChatGPTUI ChatView.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/11] Emitting module ChatGPTUI
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[7/11] Compiling ChatGPTUI AvailableModelsViewModel.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[8/11] Compiling ChatGPTUI ChatViewModel.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[9/11] Compiling ChatGPTUI Conversation.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[10/11] Compiling ChatGPTUI Message.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
[11/11] Compiling ChatGPTUI DetailView.swift
/host/spi-builder-workspace/Sources/ChatGPTUI/ObservableObject/ChatViewModel.swift:6:8: error: no such module 'Combine'
import Combine
^
error: fatalError
BUILD FAILURE 5.10 linux