Build Information
Successful build of LLMChatOpenAI, reference 1.1.0 (7f5473
), with Swift 6.0 for macOS (SPM) on 15 Oct 2024 02:56:20 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kevinhermawan/swift-llm-chat-openai.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kevinhermawan/swift-llm-chat-openai
* tag 1.1.0 -> FETCH_HEAD
HEAD is now at 7f54739 release: 1.1.0
Cloned https://github.com/kevinhermawan/swift-llm-chat-openai.git
Revision (git rev-parse @):
7f54739d4fa44decb09c3e13f561db1b0dc27d3c
SUCCESS checkout https://github.com/kevinhermawan/swift-llm-chat-openai.git at 1.1.0
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/kevinhermawan/swift-json-schema.git
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/88] Fetching swift-json-schema
[89/2126] Fetching swift-json-schema, swift-docc-plugin
[314/5267] Fetching swift-json-schema, swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.33s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (1.33s)
Fetched https://github.com/kevinhermawan/swift-json-schema.git from cache (1.33s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.3 (3.48s)
Computing version for https://github.com/kevinhermawan/swift-json-schema.git
Computed https://github.com/kevinhermawan/swift-json-schema.git at 1.0.3 (0.52s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.75s)
Creating working copy for https://github.com/kevinhermawan/swift-json-schema.git
Working copy of https://github.com/kevinhermawan/swift-json-schema.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-llm-chat-openai",
"name": "LLMChatOpenAI",
"url": "https://github.com/kevinhermawan/swift-llm-chat-openai.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-llm-chat-openai",
"dependencies": [
{
"identity": "swift-json-schema",
"name": "JSONSchema",
"url": "https://github.com/kevinhermawan/swift-json-schema.git",
"version": "1.0.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-json-schema",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/kevinhermawan/swift-llm-chat-openai.git
[1/152] Fetching swift-llm-chat-openai
Fetched https://github.com/kevinhermawan/swift-llm-chat-openai.git from cache (0.75s)
Fetching https://github.com/kevinhermawan/swift-json-schema.git from cache
Fetched https://github.com/kevinhermawan/swift-json-schema.git from cache (0.44s)
Computing version for https://github.com/kevinhermawan/swift-json-schema.git
Computed https://github.com/kevinhermawan/swift-json-schema.git at 1.0.3 (0.02s)
Creating working copy for https://github.com/kevinhermawan/swift-json-schema.git
Working copy of https://github.com/kevinhermawan/swift-json-schema.git resolved at 1.0.3
Creating working copy for https://github.com/kevinhermawan/swift-llm-chat-openai.git
Working copy of https://github.com/kevinhermawan/swift-llm-chat-openai.git resolved at 1.1.0 (7f54739)
warning: '.resolve-product-dependencies': dependency 'swift-llm-chat-openai' is not used by any target
Found 1 product dependencies
- JSONSchema
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/kevinhermawan/swift-llm-chat-openai.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version--4A847ED0836F2485.txt
[6/15] Compiling JSONSchema JSONSchema+Number.swift
[7/15] Compiling JSONSchema JSONSchema.swift
[8/15] Emitting module JSONSchema
[9/15] Compiling JSONSchema JSONSchema+Enum.swift
[10/15] Compiling JSONSchema JSONSchema+String.swift
[11/15] Compiling JSONSchema JSONSchema+Array.swift
[12/15] Compiling JSONSchema JSONSchema+Null.swift
[13/15] Compiling JSONSchema JSONSchema+Object.swift
[14/15] Compiling JSONSchema JSONSchema+Boolean.swift
[15/15] Compiling JSONSchema JSONSchema+Integer.swift
[16/21] Compiling LLMChatOpenAI ChatOptions.swift
[17/21] Compiling LLMChatOpenAI LLMChatOpenAI.swift
/Users/admin/builder/spi-builder-workspace/Sources/LLMChatOpenAI/LLMChatOpenAI.swift:60:13: warning: task-isolated value of type '() async -> ()' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
58 | public func stream(model: String, messages: [ChatMessage], options: ChatOptions? = nil) -> AsyncThrowingStream<ChatCompletionChunk, Error> {
59 | AsyncThrowingStream { continuation in
60 | Task {
| `- warning: task-isolated value of type '() async -> ()' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
61 | do {
62 | let body = RequestBody(stream: true, model: model, messages: messages, options: options)
[18/21] Compiling LLMChatOpenAI ChatMessage.swift
[19/21] Compiling LLMChatOpenAI ChatCompletionChunk.swift
[20/21] Emitting module LLMChatOpenAI
[21/21] Compiling LLMChatOpenAI ChatCompletion.swift
Build complete! (34.89s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-json-schema",
"requirement" : {
"exact" : [
"1.0.3"
]
},
"type" : "sourceControl",
"url" : "https://github.com/kevinhermawan/swift-json-schema.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin.git"
}
],
"manifest_display_name" : "LLMChatOpenAI",
"name" : "LLMChatOpenAI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "LLMChatOpenAI",
"targets" : [
"LLMChatOpenAI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LLMChatOpenAITests",
"module_type" : "SwiftTarget",
"name" : "LLMChatOpenAITests",
"path" : "Tests/LLMChatOpenAITests",
"sources" : [
"ChatCompletionTests.swift",
"ResponseFormatTests.swift",
"ToolUseTests.swift",
"Utils/URLProtocolMock.swift",
"VisionTests.swift"
],
"target_dependencies" : [
"LLMChatOpenAI"
],
"type" : "test"
},
{
"c99name" : "LLMChatOpenAI",
"module_type" : "SwiftTarget",
"name" : "LLMChatOpenAI",
"path" : "Sources/LLMChatOpenAI",
"product_dependencies" : [
"JSONSchema"
],
"product_memberships" : [
"LLMChatOpenAI"
],
"sources" : [
"ChatCompletion.swift",
"ChatCompletionChunk.swift",
"ChatMessage.swift",
"ChatOptions.swift",
"LLMChatOpenAI.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.