Build Information
Successful build of OpenAIStreamingCompletions, reference main (dc294e), with Swift 6.4 for macOS (SPM) on 19 Sep 2026 02:31:22 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/nate-parrott/openai-streaming-completions-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nate-parrott/openai-streaming-completions-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at dc294e4 doc
Cloned https://github.com/nate-parrott/openai-streaming-completions-swift.git
Revision (git rev-parse @):
dc294e47cb6dab5113cdb9c6e5b7efdd7f56ca96
SUCCESS checkout https://github.com/nate-parrott/openai-streaming-completions-swift.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/nate-parrott/openai-streaming-completions-swift.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] OpenAIStreamingCompletions
[30 / 70]
[35 / 70]
[38 / 70]
[39 / 70]
[43 / 70]
[45 / 70]
[48 / 70]
[51 / 70]
[53 / 70]
[54 / 70]
[61 / 70] OpenAIStreamingCompletions
[67 / 70] OpenAIStreamingCompletions
[69 / 70] OpenAIStreamingCompletions
Build complete! (7.93 sec)
/Users/admin/builder/spi-builder-workspace/Sources/OpenAIStreamingCompletions/EventSource/Event.swift:87:17: [1;33mwarning: [1;39m'scanUpTo(_:into:)' was deprecated in macOS 10.15[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m85 |[0;0m var key: NSString?, value: NSString?
[0;36m86 |[0;0m let scanner = Scanner(string: line)
[0;36m87 |[0;0m scanner.scanUpTo(":", into: &key)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'scanUpTo(_:into:)' was deprecated in macOS 10.15[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m88 |[0;0m scanner.scanString(":", into: nil)
[0;36m89 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/OpenAIStreamingCompletions/EventSource/Event.swift:88:17: [1;33mwarning: [1;39m'scanString(_:into:)' was deprecated in macOS 10.15[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m86 |[0;0m let scanner = Scanner(string: line)
[0;36m87 |[0;0m scanner.scanUpTo(":", into: &key)
[0;36m88 |[0;0m scanner.scanString(":", into: nil)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'scanString(_:into:)' was deprecated in macOS 10.15[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m89 |[0;0m
[0;36m90 |[0;0m for newline in newLineCharacters {
/Users/admin/builder/spi-builder-workspace/Sources/OpenAIStreamingCompletions/EventSource/Event.swift:91:24: [1;33mwarning: [1;39m'scanUpTo(_:into:)' was deprecated in macOS 10.15[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m89 |[0;0m
[0;36m90 |[0;0m for newline in newLineCharacters {
[0;36m91 |[0;0m if scanner.scanUpTo(newline, into: &value) {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'scanUpTo(_:into:)' was deprecated in macOS 10.15[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m92 |[0;0m break
[0;36m93 |[0;0m }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/OpenAIStreamingCompletions/OpenAI+ChatCompletion.swift:97:25: [1;33mwarning: [1;39mcapture of 'completion' with non-Sendable type 'StreamingCompletion' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m95 |[0;0m for await message in try self.completeChatStreaming(completionRequest) {
[0;36m96 |[0;0m DispatchQueue.main.async {
[0;36m97 |[0;0m completion.text = message.content
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'completion' with non-Sendable type 'StreamingCompletion' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m98 |[0;0m }
[0;36m99 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/OpenAIStreamingCompletions/OpenAI+TextCompletion.swift:90:14: [1;39mnote: [1;39mclass 'StreamingCompletion' does not conform to the 'Sendable' protocol[0;0m
[0;36m88 |[0;0m }
[0;36m89 |[0;0m
[0;36m90 |[0;0m public class StreamingCompletion: ObservableObject {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'StreamingCompletion' does not conform to the 'Sendable' protocol[0;0m
[0;36m91 |[0;0m public enum Status: Equatable {
[0;36m92 |[0;0m case loading
/Users/admin/builder/spi-builder-workspace/Sources/OpenAIStreamingCompletions/OpenAI+ChatCompletion.swift:97:43: [1;33mwarning: [1;39mcapture of 'message' with non-Sendable type 'OpenAIAPI.Message' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m2 |[0;0m
[0;36m3 |[0;0m extension OpenAIAPI {
[0;36m4 |[0;0m public struct Message: Equatable, Codable, Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Message' conform to the 'Sendable' protocol[0;0m
[0;36m5 |[0;0m public enum Role: String, Equatable, Codable, Hashable {
[0;36m6 |[0;0m case system
[0;36m:[0;0m
[0;36m95 |[0;0m for await message in try self.completeChatStreaming(completionRequest) {
[0;36m96 |[0;0m DispatchQueue.main.async {
[0;36m97 |[0;0m completion.text = message.content
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'message' with non-Sendable type 'OpenAIAPI.Message' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m98 |[0;0m }
[0;36m99 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/OpenAIStreamingCompletions/OpenAI+ChatCompletion.swift:101:21: [1;33mwarning: [1;39mcapture of 'completion' with non-Sendable type 'StreamingCompletion' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m99 |[0;0m }
[0;36m100 |[0;0m DispatchQueue.main.async {
[0;36m101 |[0;0m completion.status = .complete
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'completion' with non-Sendable type 'StreamingCompletion' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m102 |[0;0m }
[0;36m103 |[0;0m } catch {
/Users/admin/builder/spi-builder-workspace/Sources/OpenAIStreamingCompletions/OpenAI+TextCompletion.swift:90:14: [1;39mnote: [1;39mclass 'StreamingCompletion' does not conform to the 'Sendable' protocol[0;0m
[0;36m88 |[0;0m }
[0;36m89 |[0;0m
[0;36m90 |[0;0m public class StreamingCompletion: ObservableObject {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'StreamingCompletion' does not conform to the 'Sendable' protocol[0;0m
[0;36m91 |[0;0m public enum Status: Equatable {
[0;36m92 |[0;0m case loading
/Users/admin/builder/spi-builder-workspace/Sources/OpenAIStreamingCompletions/OpenAI+ChatCompletion.swift:105:21: [1;33mwarning: [1;39mcapture of 'completion' with non-Sendable type 'StreamingCompletion' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m103 |[0;0m } catch {
[0;36m104 |[0;0m DispatchQueue.main.async {
[0;36m105 |[0;0m completion.status = .error
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'completion' with non-Sendable type 'StreamingCompletion' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m106 |[0;0m }
[0;36m107 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/OpenAIStreamingCompletions/OpenAI+TextCompletion.swift:90:14: [1;39mnote: [1;39mclass 'StreamingCompletion' does not conform to the 'Sendable' protocol[0;0m
[0;36m88 |[0;0m }
[0;36m89 |[0;0m
[0;36m90 |[0;0m public class StreamingCompletion: ObservableObject {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'StreamingCompletion' does not conform to the 'Sendable' protocol[0;0m
[0;36m91 |[0;0m public enum Status: Equatable {
[0;36m92 |[0;0m case loading
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "OpenAIStreamingCompletions",
"name" : "OpenAIStreamingCompletions",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "OpenAIStreamingCompletions",
"targets" : [
"OpenAIStreamingCompletions"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OpenAIStreamingCompletionsTests",
"module_type" : "SwiftTarget",
"name" : "OpenAIStreamingCompletionsTests",
"path" : "Tests/OpenAIStreamingCompletionsTests",
"sources" : [
"OpenAIStreamingCompletionsTests.swift"
],
"target_dependencies" : [
"OpenAIStreamingCompletions"
],
"type" : "test"
},
{
"c99name" : "OpenAIStreamingCompletions",
"module_type" : "SwiftTarget",
"name" : "OpenAIStreamingCompletions",
"path" : "Sources/OpenAIStreamingCompletions",
"product_memberships" : [
"OpenAIStreamingCompletions"
],
"sources" : [
"EventSource/Event.swift",
"EventSource/EventSource.swift",
"EventSource/EventStreamParser.swift",
"OpenAI+ChatCompletion.swift",
"OpenAI+TextCompletion.swift",
"OpenAI.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.