Build Information
Successful build of CleverBird, reference main (8b1fa8
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 12:32:28 UTC.
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/btfranklin/CleverBird.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/btfranklin/CleverBird
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8b1fa83 Added banner image to the README
Cloned https://github.com/btfranklin/CleverBird.git
Revision (git rev-parse @):
8b1fa839e9eb92bc889a42a7b887375805bb5064
SUCCESS checkout https://github.com/btfranklin/CleverBird.git at main
Fetching https://github.com/kean/Get
[1/2335] Fetching get
Fetched https://github.com/kean/Get from cache (1.16s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.1.6 (0.66s)
Creating working copy for https://github.com/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.1.6
========================================
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": "cleverbird",
"name": "CleverBird",
"url": "https://github.com/btfranklin/CleverBird.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CleverBird",
"dependencies": [
{
"identity": "get",
"name": "Get",
"url": "https://github.com/kean/Get",
"version": "2.2.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Get",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/btfranklin/CleverBird.git
[1/1160] Fetching cleverbird
Fetched https://github.com/btfranklin/CleverBird.git from cache (1.14s)
Fetching https://github.com/kean/Get from cache
Fetched https://github.com/kean/Get from cache (0.50s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.2.1 (0.02s)
Creating working copy for https://github.com/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.2.1
Creating working copy for https://github.com/btfranklin/CleverBird.git
Working copy of https://github.com/btfranklin/CleverBird.git resolved at main (8b1fa83)
warning: '.resolve-product-dependencies': dependency 'cleverbird' is not used by any target
Found 1 product dependencies
- Get
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/btfranklin/CleverBird.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/5] Write sources
[2/5] Copying gpt3-vocab.bpe
[3/5] Copying gpt3-encoder.json
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/11] Compiling Get Request.swift
[7/11] Compiling Get Response.swift
[8/11] Compiling Get APIClientDelegate.swift
[9/11] Emitting module Get
[10/11] Compiling Get APIClient.swift
[11/11] Compiling Get DataLoader.swift
[12/46] Compiling CleverBird ChatThread+withStreaming.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread+complete.swift:52:25: warning: capture of 'strongSelf' with non-sendable type 'StreamableChatThread' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 | defer {
51 | DispatchQueue.main.async {
52 | strongSelf.streamingTask = nil
| `- warning: capture of 'strongSelf' with non-sendable type 'StreamableChatThread' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | }
54 | if let responseMessageRole, let responseMessageContent {
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread.swift:3:20: note: class 'StreamableChatThread' does not conform to the 'Sendable' protocol
1 | // Created by B.T. Franklin on 5/11/23
2 |
3 | public final class StreamableChatThread {
| `- note: class 'StreamableChatThread' does not conform to the 'Sendable' protocol
4 |
5 | var streamingTask: Task<Void, Error>?
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread+complete.swift:44:45: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
42 | return
43 | }
44 | strongSelf.streamingTask = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
45 |
46 | var responseMessageId: String?
:
58 | id: responseMessageId)
59 | streamedMessage.id = responseMessageId ?? "unspecified"
60 | addStreamedMessageToThread(streamedMessage)
| `- note: closure captures 'addStreamedMessageToThread' which is accessible to code in the current task
61 | } catch {
62 | print("error while creating streamed message: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread+complete.swift:52:25: warning: sending 'strongSelf' risks causing data races; this is an error in the Swift 6 language mode
50 | defer {
51 | DispatchQueue.main.async {
52 | strongSelf.streamingTask = nil
| |- warning: sending 'strongSelf' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'strongSelf' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
53 | }
54 | if let responseMessageRole, let responseMessageContent {
[13/46] Compiling CleverBird OpenAIAPIConnection+createChatCompletionAsyncByteStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread+complete.swift:52:25: warning: capture of 'strongSelf' with non-sendable type 'StreamableChatThread' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 | defer {
51 | DispatchQueue.main.async {
52 | strongSelf.streamingTask = nil
| `- warning: capture of 'strongSelf' with non-sendable type 'StreamableChatThread' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | }
54 | if let responseMessageRole, let responseMessageContent {
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread.swift:3:20: note: class 'StreamableChatThread' does not conform to the 'Sendable' protocol
1 | // Created by B.T. Franklin on 5/11/23
2 |
3 | public final class StreamableChatThread {
| `- note: class 'StreamableChatThread' does not conform to the 'Sendable' protocol
4 |
5 | var streamingTask: Task<Void, Error>?
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread+complete.swift:44:45: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
42 | return
43 | }
44 | strongSelf.streamingTask = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
45 |
46 | var responseMessageId: String?
:
58 | id: responseMessageId)
59 | streamedMessage.id = responseMessageId ?? "unspecified"
60 | addStreamedMessageToThread(streamedMessage)
| `- note: closure captures 'addStreamedMessageToThread' which is accessible to code in the current task
61 | } catch {
62 | print("error while creating streamed message: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread+complete.swift:52:25: warning: sending 'strongSelf' risks causing data races; this is an error in the Swift 6 language mode
50 | defer {
51 | DispatchQueue.main.async {
52 | strongSelf.streamingTask = nil
| |- warning: sending 'strongSelf' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'strongSelf' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
53 | }
54 | if let responseMessageRole, let responseMessageContent {
[14/46] Compiling CleverBird StreamOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread+complete.swift:52:25: warning: capture of 'strongSelf' with non-sendable type 'StreamableChatThread' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 | defer {
51 | DispatchQueue.main.async {
52 | strongSelf.streamingTask = nil
| `- warning: capture of 'strongSelf' with non-sendable type 'StreamableChatThread' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | }
54 | if let responseMessageRole, let responseMessageContent {
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread.swift:3:20: note: class 'StreamableChatThread' does not conform to the 'Sendable' protocol
1 | // Created by B.T. Franklin on 5/11/23
2 |
3 | public final class StreamableChatThread {
| `- note: class 'StreamableChatThread' does not conform to the 'Sendable' protocol
4 |
5 | var streamingTask: Task<Void, Error>?
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread+complete.swift:44:45: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
42 | return
43 | }
44 | strongSelf.streamingTask = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
45 |
46 | var responseMessageId: String?
:
58 | id: responseMessageId)
59 | streamedMessage.id = responseMessageId ?? "unspecified"
60 | addStreamedMessageToThread(streamedMessage)
| `- note: closure captures 'addStreamedMessageToThread' which is accessible to code in the current task
61 | } catch {
62 | print("error while creating streamed message: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread+complete.swift:52:25: warning: sending 'strongSelf' risks causing data races; this is an error in the Swift 6 language mode
50 | defer {
51 | DispatchQueue.main.async {
52 | strongSelf.streamingTask = nil
| |- warning: sending 'strongSelf' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'strongSelf' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
53 | }
54 | if let responseMessageRole, let responseMessageContent {
[15/46] Compiling CleverBird StreamableChatThread+complete.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread+complete.swift:52:25: warning: capture of 'strongSelf' with non-sendable type 'StreamableChatThread' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 | defer {
51 | DispatchQueue.main.async {
52 | strongSelf.streamingTask = nil
| `- warning: capture of 'strongSelf' with non-sendable type 'StreamableChatThread' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | }
54 | if let responseMessageRole, let responseMessageContent {
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread.swift:3:20: note: class 'StreamableChatThread' does not conform to the 'Sendable' protocol
1 | // Created by B.T. Franklin on 5/11/23
2 |
3 | public final class StreamableChatThread {
| `- note: class 'StreamableChatThread' does not conform to the 'Sendable' protocol
4 |
5 | var streamingTask: Task<Void, Error>?
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread+complete.swift:44:45: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
42 | return
43 | }
44 | strongSelf.streamingTask = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
45 |
46 | var responseMessageId: String?
:
58 | id: responseMessageId)
59 | streamedMessage.id = responseMessageId ?? "unspecified"
60 | addStreamedMessageToThread(streamedMessage)
| `- note: closure captures 'addStreamedMessageToThread' which is accessible to code in the current task
61 | } catch {
62 | print("error while creating streamed message: \(error.localizedDescription)")
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/StreamableChatThread+complete.swift:52:25: warning: sending 'strongSelf' risks causing data races; this is an error in the Swift 6 language mode
50 | defer {
51 | DispatchQueue.main.async {
52 | strongSelf.streamingTask = nil
| |- warning: sending 'strongSelf' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'strongSelf' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
53 | }
54 | if let responseMessageRole, let responseMessageContent {
[16/49] Compiling CleverBird ChatMessage.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/FunctionRegistry.swift:5:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // Created by B.T. Franklin on 6/16/23
2 |
3 | class FunctionRegistry {
| `- note: class 'FunctionRegistry' does not conform to the 'Sendable' protocol
4 |
5 | static let shared: FunctionRegistry = FunctionRegistry()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | private var functionsByName: [String:Function] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/ChatThread+complete.swift:62:56: warning: non-sendable type 'Response<ChatCompletionResponse>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
60 |
61 | let request = try await connection.createChatCompletionRequest(for: requestBody)
62 | let response = try await connection.client.send(request)
| `- warning: non-sendable type 'Response<ChatCompletionResponse>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
63 | let completion = response.value
64 | guard let firstChoiceMessage = completion.choices.first?.message else {
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/ChatCompletionResponse.swift:11:8: note: consider making struct 'ChatCompletionResponse' conform to the 'Sendable' protocol
9 | }
10 |
11 | struct ChatCompletionResponse: Codable, Identifiable {
| `- note: consider making struct 'ChatCompletionResponse' conform to the 'Sendable' protocol
12 |
13 | struct Choice: Codable {
[17/49] Compiling CleverBird ChatModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/FunctionRegistry.swift:5:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // Created by B.T. Franklin on 6/16/23
2 |
3 | class FunctionRegistry {
| `- note: class 'FunctionRegistry' does not conform to the 'Sendable' protocol
4 |
5 | static let shared: FunctionRegistry = FunctionRegistry()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | private var functionsByName: [String:Function] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/ChatThread+complete.swift:62:56: warning: non-sendable type 'Response<ChatCompletionResponse>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
60 |
61 | let request = try await connection.createChatCompletionRequest(for: requestBody)
62 | let response = try await connection.client.send(request)
| `- warning: non-sendable type 'Response<ChatCompletionResponse>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
63 | let completion = response.value
64 | guard let firstChoiceMessage = completion.choices.first?.message else {
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/ChatCompletionResponse.swift:11:8: note: consider making struct 'ChatCompletionResponse' conform to the 'Sendable' protocol
9 | }
10 |
11 | struct ChatCompletionResponse: Codable, Identifiable {
| `- note: consider making struct 'ChatCompletionResponse' conform to the 'Sendable' protocol
12 |
13 | struct Choice: Codable {
[18/49] Compiling CleverBird ChatThread+complete.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/FunctionRegistry.swift:5:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // Created by B.T. Franklin on 6/16/23
2 |
3 | class FunctionRegistry {
| `- note: class 'FunctionRegistry' does not conform to the 'Sendable' protocol
4 |
5 | static let shared: FunctionRegistry = FunctionRegistry()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | private var functionsByName: [String:Function] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/ChatThread+complete.swift:62:56: warning: non-sendable type 'Response<ChatCompletionResponse>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
60 |
61 | let request = try await connection.createChatCompletionRequest(for: requestBody)
62 | let response = try await connection.client.send(request)
| `- warning: non-sendable type 'Response<ChatCompletionResponse>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
63 | let completion = response.value
64 | guard let firstChoiceMessage = completion.choices.first?.message else {
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/ChatCompletionResponse.swift:11:8: note: consider making struct 'ChatCompletionResponse' conform to the 'Sendable' protocol
9 | }
10 |
11 | struct ChatCompletionResponse: Codable, Identifiable {
| `- note: consider making struct 'ChatCompletionResponse' conform to the 'Sendable' protocol
12 |
13 | struct Choice: Codable {
[19/49] Compiling CleverBird ChatThread+tokenCount.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/FunctionRegistry.swift:5:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // Created by B.T. Franklin on 6/16/23
2 |
3 | class FunctionRegistry {
| `- note: class 'FunctionRegistry' does not conform to the 'Sendable' protocol
4 |
5 | static let shared: FunctionRegistry = FunctionRegistry()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | private var functionsByName: [String:Function] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/ChatThread+complete.swift:62:56: warning: non-sendable type 'Response<ChatCompletionResponse>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
60 |
61 | let request = try await connection.createChatCompletionRequest(for: requestBody)
62 | let response = try await connection.client.send(request)
| `- warning: non-sendable type 'Response<ChatCompletionResponse>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
63 | let completion = response.value
64 | guard let firstChoiceMessage = completion.choices.first?.message else {
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/ChatCompletionResponse.swift:11:8: note: consider making struct 'ChatCompletionResponse' conform to the 'Sendable' protocol
9 | }
10 |
11 | struct ChatCompletionResponse: Codable, Identifiable {
| `- note: consider making struct 'ChatCompletionResponse' conform to the 'Sendable' protocol
12 |
13 | struct Choice: Codable {
[20/49] Compiling CleverBird CleverBirdError.swift
[21/49] Compiling CleverBird OpenAIAPIConnection.swift
[22/49] Compiling CleverBird ChatCompletionRequestParameters.swift
[23/49] Compiling CleverBird ChatCompletionResponse.swift
[24/49] Compiling CleverBird OpenAIAPIConnection+createChatCompletionRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/ChatStreamedResponseChunk.swift:26:24: warning: static property 'CHUNK_DECODER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension ChatStreamedResponseChunk {
26 | static private var CHUNK_DECODER: JSONDecoder = {
| |- warning: static property 'CHUNK_DECODER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'CHUNK_DECODER' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'CHUNK_DECODER' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | let decoder = JSONDecoder()
28 | decoder.keyDecodingStrategy = .convertFromSnakeCase
[25/49] Compiling CleverBird Penalty.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/ChatStreamedResponseChunk.swift:26:24: warning: static property 'CHUNK_DECODER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension ChatStreamedResponseChunk {
26 | static private var CHUNK_DECODER: JSONDecoder = {
| |- warning: static property 'CHUNK_DECODER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'CHUNK_DECODER' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'CHUNK_DECODER' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | let decoder = JSONDecoder()
28 | decoder.keyDecodingStrategy = .convertFromSnakeCase
[26/49] Compiling CleverBird Percentage.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/ChatStreamedResponseChunk.swift:26:24: warning: static property 'CHUNK_DECODER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension ChatStreamedResponseChunk {
26 | static private var CHUNK_DECODER: JSONDecoder = {
| |- warning: static property 'CHUNK_DECODER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'CHUNK_DECODER' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'CHUNK_DECODER' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | let decoder = JSONDecoder()
28 | decoder.keyDecodingStrategy = .convertFromSnakeCase
[27/49] Compiling CleverBird ChatStreamedResponseChunk.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/ChatStreamedResponseChunk.swift:26:24: warning: static property 'CHUNK_DECODER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension ChatStreamedResponseChunk {
26 | static private var CHUNK_DECODER: JSONDecoder = {
| |- warning: static property 'CHUNK_DECODER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'CHUNK_DECODER' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'CHUNK_DECODER' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | let decoder = JSONDecoder()
28 | decoder.keyDecodingStrategy = .convertFromSnakeCase
[28/49] Compiling CleverBird FunctionRegistry.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/FunctionRegistry.swift:5:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // Created by B.T. Franklin on 6/16/23
2 |
3 | class FunctionRegistry {
| `- note: class 'FunctionRegistry' does not conform to the 'Sendable' protocol
4 |
5 | static let shared: FunctionRegistry = FunctionRegistry()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | private var functionsByName: [String:Function] = [:]
[29/49] Compiling CleverBird JSONType.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/FunctionRegistry.swift:5:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // Created by B.T. Franklin on 6/16/23
2 |
3 | class FunctionRegistry {
| `- note: class 'FunctionRegistry' does not conform to the 'Sendable' protocol
4 |
5 | static let shared: FunctionRegistry = FunctionRegistry()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | private var functionsByName: [String:Function] = [:]
[30/49] Compiling CleverBird JSONValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/FunctionRegistry.swift:5:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // Created by B.T. Franklin on 6/16/23
2 |
3 | class FunctionRegistry {
| `- note: class 'FunctionRegistry' does not conform to the 'Sendable' protocol
4 |
5 | static let shared: FunctionRegistry = FunctionRegistry()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | private var functionsByName: [String:Function] = [:]
[31/49] Compiling CleverBird MessageContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/FunctionRegistry.swift:5:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // Created by B.T. Franklin on 6/16/23
2 |
3 | class FunctionRegistry {
| `- note: class 'FunctionRegistry' does not conform to the 'Sendable' protocol
4 |
5 | static let shared: FunctionRegistry = FunctionRegistry()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | private var functionsByName: [String:Function] = [:]
[32/49] Compiling CleverBird EmbeddingModel.swift
[33/49] Compiling CleverBird EmbeddingRequestParameters.swift
[34/49] Compiling CleverBird EmbeddingResponse.swift
[35/49] Emitting module CleverBird
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/Function.swift:6:23: warning: static property 'EMPTY_PARAMETERS' is not concurrency-safe because non-'Sendable' type 'Function.Parameters' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public struct Function: Codable {
5 |
6 | static public let EMPTY_PARAMETERS = Function.Parameters(
| |- warning: static property 'EMPTY_PARAMETERS' is not concurrency-safe because non-'Sendable' type 'Function.Parameters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY_PARAMETERS' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | properties: [:],
8 | required: []
:
24 | }
25 |
26 | public struct Parameters: Codable {
| `- note: consider making struct 'Parameters' conform to the 'Sendable' protocol
27 |
28 | /// Parameter names mapped to their descriptions
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/FunctionRegistry.swift:5:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // Created by B.T. Franklin on 6/16/23
2 |
3 | class FunctionRegistry {
| `- note: class 'FunctionRegistry' does not conform to the 'Sendable' protocol
4 |
5 | static let shared: FunctionRegistry = FunctionRegistry()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | private var functionsByName: [String:Function] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/streaming/ChatStreamedResponseChunk.swift:26:24: warning: static property 'CHUNK_DECODER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension ChatStreamedResponseChunk {
26 | static private var CHUNK_DECODER: JSONDecoder = {
| |- warning: static property 'CHUNK_DECODER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'CHUNK_DECODER' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'CHUNK_DECODER' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | let decoder = JSONDecoder()
28 | decoder.keyDecodingStrategy = .convertFromSnakeCase
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/tokenization/TokenEncoder.swift:149:14: warning: associated value 'invalidToken(value:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
147 | case invalidBytePair(value: String)
148 | case invalidEncoding(value: String)
149 | case invalidToken(value: Token)
| `- warning: associated value 'invalidToken(value:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
150 | case invalidCharacter(value: Character)
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/tokenization/Token.swift:1:15: note: consider making struct 'Token' conform to the 'Sendable' protocol
1 | public struct Token: Equatable, Hashable {
| `- note: consider making struct 'Token' conform to the 'Sendable' protocol
2 | public let value: Int
3 |
[36/49] Compiling CleverBird ChatThread.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/Function.swift:6:23: warning: static property 'EMPTY_PARAMETERS' is not concurrency-safe because non-'Sendable' type 'Function.Parameters' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public struct Function: Codable {
5 |
6 | static public let EMPTY_PARAMETERS = Function.Parameters(
| |- warning: static property 'EMPTY_PARAMETERS' is not concurrency-safe because non-'Sendable' type 'Function.Parameters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY_PARAMETERS' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | properties: [:],
8 | required: []
:
24 | }
25 |
26 | public struct Parameters: Codable {
| `- note: consider making struct 'Parameters' conform to the 'Sendable' protocol
27 |
28 | /// Parameter names mapped to their descriptions
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/FunctionRegistry.swift:5:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // Created by B.T. Franklin on 6/16/23
2 |
3 | class FunctionRegistry {
| `- note: class 'FunctionRegistry' does not conform to the 'Sendable' protocol
4 |
5 | static let shared: FunctionRegistry = FunctionRegistry()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | private var functionsByName: [String:Function] = [:]
[37/49] Compiling CleverBird Function.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/Function.swift:6:23: warning: static property 'EMPTY_PARAMETERS' is not concurrency-safe because non-'Sendable' type 'Function.Parameters' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public struct Function: Codable {
5 |
6 | static public let EMPTY_PARAMETERS = Function.Parameters(
| |- warning: static property 'EMPTY_PARAMETERS' is not concurrency-safe because non-'Sendable' type 'Function.Parameters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY_PARAMETERS' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | properties: [:],
8 | required: []
:
24 | }
25 |
26 | public struct Parameters: Codable {
| `- note: consider making struct 'Parameters' conform to the 'Sendable' protocol
27 |
28 | /// Parameter names mapped to their descriptions
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/FunctionRegistry.swift:5:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // Created by B.T. Franklin on 6/16/23
2 |
3 | class FunctionRegistry {
| `- note: class 'FunctionRegistry' does not conform to the 'Sendable' protocol
4 |
5 | static let shared: FunctionRegistry = FunctionRegistry()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | private var functionsByName: [String:Function] = [:]
[38/49] Compiling CleverBird FunctionCall.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/Function.swift:6:23: warning: static property 'EMPTY_PARAMETERS' is not concurrency-safe because non-'Sendable' type 'Function.Parameters' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public struct Function: Codable {
5 |
6 | static public let EMPTY_PARAMETERS = Function.Parameters(
| |- warning: static property 'EMPTY_PARAMETERS' is not concurrency-safe because non-'Sendable' type 'Function.Parameters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY_PARAMETERS' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | properties: [:],
8 | required: []
:
24 | }
25 |
26 | public struct Parameters: Codable {
| `- note: consider making struct 'Parameters' conform to the 'Sendable' protocol
27 |
28 | /// Parameter names mapped to their descriptions
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/FunctionRegistry.swift:5:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // Created by B.T. Franklin on 6/16/23
2 |
3 | class FunctionRegistry {
| `- note: class 'FunctionRegistry' does not conform to the 'Sendable' protocol
4 |
5 | static let shared: FunctionRegistry = FunctionRegistry()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | private var functionsByName: [String:Function] = [:]
[39/49] Compiling CleverBird FunctionCallMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/Function.swift:6:23: warning: static property 'EMPTY_PARAMETERS' is not concurrency-safe because non-'Sendable' type 'Function.Parameters' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public struct Function: Codable {
5 |
6 | static public let EMPTY_PARAMETERS = Function.Parameters(
| |- warning: static property 'EMPTY_PARAMETERS' is not concurrency-safe because non-'Sendable' type 'Function.Parameters' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY_PARAMETERS' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | properties: [:],
8 | required: []
:
24 | }
25 |
26 | public struct Parameters: Codable {
| `- note: consider making struct 'Parameters' conform to the 'Sendable' protocol
27 |
28 | /// Parameter names mapped to their descriptions
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/chat/FunctionRegistry.swift:5:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // Created by B.T. Franklin on 6/16/23
2 |
3 | class FunctionRegistry {
| `- note: class 'FunctionRegistry' does not conform to the 'Sendable' protocol
4 |
5 | static let shared: FunctionRegistry = FunctionRegistry()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FunctionRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | private var functionsByName: [String:Function] = [:]
[40/49] Compiling CleverBird Token.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/tokenization/TokenEncoder.swift:149:14: warning: associated value 'invalidToken(value:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
147 | case invalidBytePair(value: String)
148 | case invalidEncoding(value: String)
149 | case invalidToken(value: Token)
| `- warning: associated value 'invalidToken(value:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
150 | case invalidCharacter(value: Character)
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/tokenization/Token.swift:1:15: note: consider making struct 'Token' conform to the 'Sendable' protocol
1 | public struct Token: Equatable, Hashable {
| `- note: consider making struct 'Token' conform to the 'Sendable' protocol
2 | public let value: Int
3 |
[41/49] Compiling CleverBird TokenEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/tokenization/TokenEncoder.swift:149:14: warning: associated value 'invalidToken(value:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
147 | case invalidBytePair(value: String)
148 | case invalidEncoding(value: String)
149 | case invalidToken(value: Token)
| `- warning: associated value 'invalidToken(value:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
150 | case invalidCharacter(value: Character)
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/tokenization/Token.swift:1:15: note: consider making struct 'Token' conform to the 'Sendable' protocol
1 | public struct Token: Equatable, Hashable {
| `- note: consider making struct 'Token' conform to the 'Sendable' protocol
2 | public let value: Int
3 |
[42/49] Compiling CleverBird resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/tokenization/TokenEncoder.swift:149:14: warning: associated value 'invalidToken(value:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
147 | case invalidBytePair(value: String)
148 | case invalidEncoding(value: String)
149 | case invalidToken(value: Token)
| `- warning: associated value 'invalidToken(value:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
150 | case invalidCharacter(value: Character)
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/tokenization/Token.swift:1:15: note: consider making struct 'Token' conform to the 'Sendable' protocol
1 | public struct Token: Equatable, Hashable {
| `- note: consider making struct 'Token' conform to the 'Sendable' protocol
2 | public let value: Int
3 |
[43/49] Compiling CleverBird OpenAIAPIConnection+createEmbeddingRequest.swift
[44/49] Compiling CleverBird typealiases.swift
[45/49] Compiling CleverBird Pattern.swift
[46/49] Compiling CleverBird StreamableChatThread.swift
[47/49] Compiling CleverBird EmbeddedDocumentStore+persistence.swift
[48/49] Compiling CleverBird EmbeddedDocumentStore.SimilarityMetric.swift
[49/49] Compiling CleverBird EmbeddedDocumentStore.swift
Build complete! (14.87s)
Build complete.
{
"dependencies" : [
{
"identity" : "get",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.6",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kean/Get"
}
],
"manifest_display_name" : "CleverBird",
"name" : "CleverBird",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "CleverBird",
"targets" : [
"CleverBird"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CleverBirdTests",
"module_type" : "SwiftTarget",
"name" : "CleverBirdTests",
"path" : "Tests/CleverBirdTests",
"sources" : [
"MessageContentTests.swift",
"MessageEncodingTests.swift",
"OpenAIChatThreadTests.swift",
"TokenEncoderTests.swift"
],
"target_dependencies" : [
"CleverBird"
],
"type" : "test"
},
{
"c99name" : "CleverBird",
"module_type" : "SwiftTarget",
"name" : "CleverBird",
"path" : "Sources/CleverBird",
"product_dependencies" : [
"Get"
],
"product_memberships" : [
"CleverBird"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/tokenization/resources/gpt3-encoder.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/CleverBird/tokenization/resources/gpt3-vocab.bpe",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"CleverBirdError.swift",
"OpenAIAPIConnection.swift",
"chat/ChatCompletionRequestParameters.swift",
"chat/ChatCompletionResponse.swift",
"chat/ChatMessage.swift",
"chat/ChatModel.swift",
"chat/ChatThread+complete.swift",
"chat/ChatThread+tokenCount.swift",
"chat/ChatThread.swift",
"chat/Function.swift",
"chat/FunctionCall.swift",
"chat/FunctionCallMode.swift",
"chat/FunctionRegistry.swift",
"chat/JSONType.swift",
"chat/JSONValue.swift",
"chat/MessageContent.swift",
"chat/OpenAIAPIConnection+createChatCompletionRequest.swift",
"chat/Penalty.swift",
"chat/Percentage.swift",
"chat/streaming/ChatStreamedResponseChunk.swift",
"chat/streaming/ChatThread+withStreaming.swift",
"chat/streaming/OpenAIAPIConnection+createChatCompletionAsyncByteStream.swift",
"chat/streaming/StreamOptions.swift",
"chat/streaming/StreamableChatThread+complete.swift",
"chat/streaming/StreamableChatThread.swift",
"embeddings/EmbeddedDocumentStore+persistence.swift",
"embeddings/EmbeddedDocumentStore.SimilarityMetric.swift",
"embeddings/EmbeddedDocumentStore.swift",
"embeddings/EmbeddingModel.swift",
"embeddings/EmbeddingRequestParameters.swift",
"embeddings/EmbeddingResponse.swift",
"embeddings/OpenAIAPIConnection+createEmbeddingRequest.swift",
"embeddings/typealiases.swift",
"tokenization/Pattern.swift",
"tokenization/Token.swift",
"tokenization/TokenEncoder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.