Build Information
Successful build of SwiftChatGPT, reference main (1fd0f1), with Swift 6.4 for macOS (SPM) on 19 Sep 2026 11:07:57 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/migueldeicaza/SwiftChatGPT.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/migueldeicaza/SwiftChatGPT
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1fd0f18 Assist the user slightly, and handle modern errors that lack a code
Cloned https://github.com/migueldeicaza/SwiftChatGPT.git
Revision (git rev-parse @):
1fd0f18c1ce654fc05714f919004b080e327326e
SUCCESS checkout https://github.com/migueldeicaza/SwiftChatGPT.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/migueldeicaza/SwiftChatGPT.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] SwiftChatGPT
[30 / 66]
[35 / 66]
[38 / 66]
[39 / 66]
[43 / 66]
[45 / 66]
[48 / 66]
[51 / 66]
[53 / 66]
[54 / 66]
[57 / 66] SwiftChatGPT
[63 / 66] SwiftChatGPT
Build complete! (7.02 sec)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChatGPT/SwiftChatGPT.swift:84:13: [1;33mwarning: [1;39mvariable 'prompt' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m82 |[0;0m
[0;36m83 |[0;0m func buildMessageHistory (newPrompt: String) -> [Message] {
[0;36m84 |[0;0m var prompt = Message(role: "user", content: newPrompt)
[0;36m|[0;0m `- [1;33mwarning: [1;39mvariable 'prompt' was never mutated; consider changing to 'let' constant[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
[0;36m85 |[0;0m var requestMessages: [Message] = [defaultSystemMessage]
[0;36m86 |[0;0m requestMessages.append(contentsOf: history)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftChatGPT/SwiftChatGPT.swift:132:13: [1;33mwarning: [1;39munstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
[0;36m130 |[0;0m func processPartialReply<T> (bytes: URLSession.AsyncBytes, _ f: @escaping (Response) -> T, onComplete: @escaping () -> ()) -> AsyncThrowingStream<T,Error> {
[0;36m131 |[0;0m return AsyncThrowingStream (bufferingPolicy: .unbounded) { continuation in
[0;36m132 |[0;0m Task {
[0;36m|[0;0m |- [1;33mwarning: [1;39munstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39mto silence this warning, handle the error inside the task, or store/discard the task value explicitly[0;0m
[0;36m133 |[0;0m for try await line in bytes.lines {
[0;36m134 |[0;0m if line.starts(with: "data: {") {
[#NoUseUnstructuredThrowingTask]: <https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task>
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftChatGPT",
"name" : "SwiftChatGPT",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "SwiftChatGPT",
"targets" : [
"SwiftChatGPT"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftChatGPTTests",
"module_type" : "SwiftTarget",
"name" : "SwiftChatGPTTests",
"path" : "Tests/SwiftChatGPTTests",
"sources" : [
"SwiftChatGPTTests.swift"
],
"target_dependencies" : [
"SwiftChatGPT"
],
"type" : "test"
},
{
"c99name" : "SwiftChatGPT",
"module_type" : "SwiftTarget",
"name" : "SwiftChatGPT",
"path" : "Sources/SwiftChatGPT",
"product_memberships" : [
"SwiftChatGPT"
],
"sources" : [
"Model.swift",
"SwiftChatGPT.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.