Build Information
Failed to build ChatGPTUI with Swift 5.8 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
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 /Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 5.8
Building package at path: $workDir
https://github.com/tichise/chatgpt-ui.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/40] Emitting module OpenAI
[2/45] Compiling OpenAI EditsQuery.swift
[3/45] Compiling OpenAI EditsResult.swift
[4/45] Compiling OpenAI EmbeddingsQuery.swift
[5/45] Compiling OpenAI EmbeddingsResult.swift
[6/45] Compiling OpenAI ImageEditsQuery.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] Emitting module TILogger
[13/45] Compiling TILogger TILogger.swift
[14/45] Compiling OpenAI ImageVariationsQuery.swift
[15/45] Compiling OpenAI ImagesQuery.swift
[16/45] Compiling OpenAI ImagesResult.swift
[17/45] Compiling OpenAI ModelQuery.swift
[18/45] Compiling OpenAI ModelResult.swift
[19/45] Compiling OpenAI StreamingSession.swift
[20/45] Compiling OpenAI URLRequestBuildable.swift
[21/45] Compiling OpenAI URLSessionDataTaskProtocol.swift
[22/45] Compiling OpenAI URLSessionProtocol.swift
[23/45] Compiling OpenAI APIError.swift
[24/45] Compiling OpenAI AudioSpeechQuery.swift
[25/45] Compiling OpenAI AudioSpeechResult.swift
[26/45] Compiling OpenAI AudioTranscriptionQuery.swift
[27/45] Compiling OpenAI AudioTranscriptionResult.swift
[28/45] Compiling OpenAI AudioTranslationQuery.swift
[29/45] Compiling OpenAI AudioTranslationResult.swift
[30/45] Compiling OpenAI OpenAI.swift
[31/45] Compiling OpenAI JSONRequest.swift
[32/45] Compiling OpenAI MultipartFormDataBodyBuilder.swift
[33/45] Compiling OpenAI MultipartFormDataBodyEncodable.swift
[34/45] Compiling OpenAI MultipartFormDataEntry.swift
[35/45] Compiling OpenAI MultipartFormDataRequest.swift
[36/45] Compiling OpenAI ChatQuery.swift
[37/45] Compiling OpenAI ChatResult.swift
[38/45] Compiling OpenAI ChatStreamResult.swift
[39/45] Compiling OpenAI CompletionsQuery.swift
[40/45] Compiling OpenAI CompletionsResult.swift
[41/45] Compiling OpenAI OpenAIProtocol+Async.swift
[42/45] Compiling OpenAI OpenAIProtocol+Combine.swift
[43/45] Compiling OpenAI OpenAIProtocol.swift
[44/45] Compiling OpenAI ArrayWithThreadSafety.swift
[45/45] Compiling OpenAI Utilities.swift
[46/54] Compiling ChatGPTUI ChatViewModel.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[47/55] Compiling ChatGPTUI AvailableModelsViewModel.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[48/55] Compiling ChatGPTUI ChatView.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/55] Emitting module ChatGPTUI
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[50/55] Compiling ChatGPTUI AvailableModelsView.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[51/55] Compiling ChatGPTUI ConversationsView.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[52/55] Compiling ChatGPTUI ChatBubbleView.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[53/55] Compiling ChatGPTUI Conversation.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[54/55] Compiling ChatGPTUI Message.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[55/55] Compiling ChatGPTUI DetailView.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
Fetching https://github.com/tichise/TILogger.git from cache
Fetching https://github.com/MacPaw/OpenAI.git from cache
Fetched https://github.com/tichise/TILogger.git (0.45s)
Fetched https://github.com/MacPaw/OpenAI.git (0.51s)
Computing version for https://github.com/MacPaw/OpenAI.git
Computed https://github.com/MacPaw/OpenAI.git at 0.2.6 (0.75s)
Computing version for https://github.com/tichise/TILogger.git
Computed https://github.com/tichise/TILogger.git at 1.3.2 (0.46s)
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
[0/1] Planning build
Building for debugging...
[1/9] Compiling ChatGPTUI ChatView.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[2/10] Compiling ChatGPTUI ChatBubbleView.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[3/10] Compiling ChatGPTUI ConversationsView.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/10] Emitting module ChatGPTUI
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[5/10] Compiling ChatGPTUI AvailableModelsView.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[6/10] Compiling ChatGPTUI ChatViewModel.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[7/10] Compiling ChatGPTUI Conversation.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[8/10] Compiling ChatGPTUI Message.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[9/10] Compiling ChatGPTUI AvailableModelsViewModel.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[10/10] Compiling ChatGPTUI DetailView.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
BUILD FAILURE 5.8 macosSpm