Build Information
Failed to build ChatGPTUI with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.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/TDmZkXJm/2/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
Fetching https://github.com/MacPaw/OpenAI.git from cache
Fetching https://github.com/tichise/TILogger.git from cache
Fetched https://github.com/tichise/TILogger.git (0.23s)
Fetched https://github.com/MacPaw/OpenAI.git (0.35s)
Computing version for https://github.com/MacPaw/OpenAI.git
Computed https://github.com/MacPaw/OpenAI.git at 0.2.6 (0.06s)
Computing version for https://github.com/tichise/TILogger.git
Computed https://github.com/tichise/TILogger.git at 1.3.2 (0.59s)
Creating working copy for https://github.com/tichise/TILogger.git
Working copy of https://github.com/tichise/TILogger.git resolved at 1.3.2
Creating working copy for https://github.com/MacPaw/OpenAI.git
Working copy of https://github.com/MacPaw/OpenAI.git resolved at 0.2.6
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "chatgpt-ui",
"name": "ChatGPTUI",
"url": "https://github.com/tichise/chatgpt-ui.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/chatgpt-ui",
"dependencies": [
{
"identity": "tilogger",
"name": "TILogger",
"url": "https://github.com/tichise/TILogger.git",
"version": "1.3.2",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TILogger",
"dependencies": [
]
},
{
"identity": "openai",
"name": "OpenAI",
"url": "https://github.com/MacPaw/OpenAI.git",
"version": "0.2.6",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OpenAI",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/tichise/chatgpt-ui.git
[2/91] Fetching chatgpt-ui
Fetched https://github.com/tichise/chatgpt-ui.git (0.24s)
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.20s)
Fetched https://github.com/MacPaw/OpenAI.git (0.32s)
Computing version for https://github.com/MacPaw/OpenAI.git
Computed https://github.com/MacPaw/OpenAI.git at 0.2.6 (0.04s)
Computing version for https://github.com/tichise/TILogger.git
Computed https://github.com/tichise/TILogger.git at 1.3.2 (0.03s)
Creating working copy for https://github.com/tichise/TILogger.git
Working copy of https://github.com/tichise/TILogger.git resolved at 1.3.2
Creating working copy for https://github.com/tichise/chatgpt-ui.git
Working copy of https://github.com/tichise/chatgpt-ui.git resolved at 1.1.0
Creating working copy for https://github.com/MacPaw/OpenAI.git
Working copy of https://github.com/MacPaw/OpenAI.git resolved at 0.2.6
warning: '.resolve-product-dependencies': dependency 'chatgpt-ui' is not used by any target
Found 2 product dependencies
- TILogger
- OpenAI
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $workDir
https://github.com/tichise/chatgpt-ui.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.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 ImageVariationsQuery.swift
[8/45] Compiling OpenAI ImagesQuery.swift
[9/45] Compiling OpenAI ImagesResult.swift
[10/45] Compiling OpenAI ModelQuery.swift
[11/45] Compiling OpenAI ModelResult.swift
[12/45] Compiling OpenAI Models.swift
[13/45] Compiling OpenAI ModelsResult.swift
[14/45] Compiling OpenAI ModerationsQuery.swift
[15/45] Compiling OpenAI ModerationsResult.swift
[16/45] Compiling OpenAI StreamableQuery.swift
[17/45] Compiling OpenAI OpenAI.swift
[18/45] Compiling OpenAI JSONRequest.swift
[19/45] Compiling OpenAI MultipartFormDataBodyBuilder.swift
[20/45] Compiling OpenAI MultipartFormDataBodyEncodable.swift
[21/45] Compiling OpenAI MultipartFormDataEntry.swift
[22/45] Compiling OpenAI MultipartFormDataRequest.swift
[23/45] Compiling OpenAI AudioSpeechResult.swift
[24/45] Compiling OpenAI AudioTranscriptionQuery.swift
[25/45] Compiling OpenAI AudioTranscriptionResult.swift
[26/45] Compiling OpenAI AudioTranslationQuery.swift
[27/45] Compiling OpenAI AudioTranslationResult.swift
[28/45] Compiling OpenAI StreamingSession.swift
[29/45] Compiling OpenAI URLRequestBuildable.swift
[30/45] Compiling OpenAI URLSessionDataTaskProtocol.swift
[31/45] Compiling OpenAI URLSessionProtocol.swift
[32/45] Compiling OpenAI APIError.swift
[33/45] Compiling OpenAI AudioSpeechQuery.swift
[34/45] Compiling TILogger TILogger.swift
[35/45] Emitting module TILogger
[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 ChatView.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[47/54] Compiling ChatGPTUI ChatBubbleView.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[48/54] Compiling ChatGPTUI ConversationsView.swift
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[50/55] Compiling ChatGPTUI ChatViewModel.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[51/55] Compiling ChatGPTUI AvailableModelsView.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[52/55] Compiling ChatGPTUI AvailableModelsViewModel.swift
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/9] Compiling ChatGPTUI ConversationsView.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[2/10] Compiling ChatGPTUI AvailableModelsViewModel.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[3/10] Compiling ChatGPTUI ChatView.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[4/10] Compiling ChatGPTUI ChatBubbleView.swift
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/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)
[6/10] Emitting module ChatGPTUI
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[7/10] Compiling ChatGPTUI ChatViewModel.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[8/10] Compiling ChatGPTUI Conversation.swift
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
[9/10] Compiling ChatGPTUI Message.swift
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ChatGPTUI/View/DetailView.swift:5:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.9 macosSpm