Build Information
Successful build of langchain-swift, reference main (d1b5be
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 20:07:58 UTC.
Swift 6 data race errors: 7
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
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | static let ID_KEY = "TRACE_ID"
13 | static let SKIP_TRACE_KEY = "SKIP_TRACE"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LC.swift:15:16: warning: static property 'env' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | static let SKIP_TRACE_KEY = "SKIP_TRACE"
14 | static let TRACE_ID = UUID().uuidString + "-" + UUID().uuidString
15 | static var env: [String: String] = [:]
| |- warning: static property 'env' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'env' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'env' 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
16 | static var trace = false
17 | public static func initSet(_ env: [String: String]) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LC.swift:16:16: warning: static property 'trace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static let TRACE_ID = UUID().uuidString + "-" + UUID().uuidString
15 | static var env: [String: String] = [:]
16 | static var trace = false
| |- warning: static property 'trace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trace' 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
17 | public static func initSet(_ env: [String: String]) {
18 | LC.env = env
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LlamaAPIWrapper.swift:31:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
29 | defer {
30 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
31 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
32 | }
33 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/OpenWeatherAPIWrapper.swift:76:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
74 | defer {
75 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
76 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/anotheropenai/OpenAITTSAPIWrapper.swift:44:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
42 | defer {
43 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
44 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
45 | }
46 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/bilibili/BilibiliClient.swift:21:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
19 | defer {
20 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
21 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
22 | }
23 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/bilibili/BilibiliClient.swift:122:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 | defer {
121 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
122 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
123 | }
124 | let response = try await httpClient.execute(request, timeout: .seconds(30))
[1389/1460] Compiling LangChain TextSplitter.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/HFInferenceApi.swift:27:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
25 | defer {
26 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
27 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 | }
29 | var request = HTTPClientRequest(url: "https://api-inference.huggingface.co/pipeline/\(task)/\(repo)")
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LC.swift:11:16: warning: static property 'printTrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | public struct LC {
10 | // static var printTrace = true
11 | static var printTrace = false
| |- warning: static property 'printTrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printTrace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'printTrace' 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
12 | static let ID_KEY = "TRACE_ID"
13 | static let SKIP_TRACE_KEY = "SKIP_TRACE"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LC.swift:15:16: warning: static property 'env' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | static let SKIP_TRACE_KEY = "SKIP_TRACE"
14 | static let TRACE_ID = UUID().uuidString + "-" + UUID().uuidString
15 | static var env: [String: String] = [:]
| |- warning: static property 'env' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'env' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'env' 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
16 | static var trace = false
17 | public static func initSet(_ env: [String: String]) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LC.swift:16:16: warning: static property 'trace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static let TRACE_ID = UUID().uuidString + "-" + UUID().uuidString
15 | static var env: [String: String] = [:]
16 | static var trace = false
| |- warning: static property 'trace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trace' 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
17 | public static func initSet(_ env: [String: String]) {
18 | LC.env = env
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LlamaAPIWrapper.swift:31:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
29 | defer {
30 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
31 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
32 | }
33 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/OpenWeatherAPIWrapper.swift:76:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
74 | defer {
75 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
76 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/anotheropenai/OpenAITTSAPIWrapper.swift:44:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
42 | defer {
43 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
44 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
45 | }
46 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/bilibili/BilibiliClient.swift:21:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
19 | defer {
20 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
21 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
22 | }
23 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/bilibili/BilibiliClient.swift:122:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 | defer {
121 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
122 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
123 | }
124 | let response = try await httpClient.execute(request, timeout: .seconds(30))
[1390/1460] Compiling LangChain ThreadManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/HFInferenceApi.swift:27:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
25 | defer {
26 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
27 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 | }
29 | var request = HTTPClientRequest(url: "https://api-inference.huggingface.co/pipeline/\(task)/\(repo)")
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LC.swift:11:16: warning: static property 'printTrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | public struct LC {
10 | // static var printTrace = true
11 | static var printTrace = false
| |- warning: static property 'printTrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printTrace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'printTrace' 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
12 | static let ID_KEY = "TRACE_ID"
13 | static let SKIP_TRACE_KEY = "SKIP_TRACE"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LC.swift:15:16: warning: static property 'env' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | static let SKIP_TRACE_KEY = "SKIP_TRACE"
14 | static let TRACE_ID = UUID().uuidString + "-" + UUID().uuidString
15 | static var env: [String: String] = [:]
| |- warning: static property 'env' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'env' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'env' 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
16 | static var trace = false
17 | public static func initSet(_ env: [String: String]) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LC.swift:16:16: warning: static property 'trace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static let TRACE_ID = UUID().uuidString + "-" + UUID().uuidString
15 | static var env: [String: String] = [:]
16 | static var trace = false
| |- warning: static property 'trace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trace' 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
17 | public static func initSet(_ env: [String: String]) {
18 | LC.env = env
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LlamaAPIWrapper.swift:31:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
29 | defer {
30 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
31 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
32 | }
33 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/OpenWeatherAPIWrapper.swift:76:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
74 | defer {
75 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
76 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/anotheropenai/OpenAITTSAPIWrapper.swift:44:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
42 | defer {
43 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
44 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
45 | }
46 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/bilibili/BilibiliClient.swift:21:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
19 | defer {
20 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
21 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
22 | }
23 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/bilibili/BilibiliClient.swift:122:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 | defer {
121 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
122 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
123 | }
124 | let response = try await httpClient.execute(request, timeout: .seconds(30))
[1391/1460] Compiling LangChain OpenAITTSAPIWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/HFInferenceApi.swift:27:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
25 | defer {
26 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
27 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 | }
29 | var request = HTTPClientRequest(url: "https://api-inference.huggingface.co/pipeline/\(task)/\(repo)")
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LC.swift:11:16: warning: static property 'printTrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | public struct LC {
10 | // static var printTrace = true
11 | static var printTrace = false
| |- warning: static property 'printTrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printTrace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'printTrace' 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
12 | static let ID_KEY = "TRACE_ID"
13 | static let SKIP_TRACE_KEY = "SKIP_TRACE"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LC.swift:15:16: warning: static property 'env' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | static let SKIP_TRACE_KEY = "SKIP_TRACE"
14 | static let TRACE_ID = UUID().uuidString + "-" + UUID().uuidString
15 | static var env: [String: String] = [:]
| |- warning: static property 'env' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'env' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'env' 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
16 | static var trace = false
17 | public static func initSet(_ env: [String: String]) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LC.swift:16:16: warning: static property 'trace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static let TRACE_ID = UUID().uuidString + "-" + UUID().uuidString
15 | static var env: [String: String] = [:]
16 | static var trace = false
| |- warning: static property 'trace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trace' 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
17 | public static func initSet(_ env: [String: String]) {
18 | LC.env = env
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LlamaAPIWrapper.swift:31:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
29 | defer {
30 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
31 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
32 | }
33 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/OpenWeatherAPIWrapper.swift:76:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
74 | defer {
75 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
76 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/anotheropenai/OpenAITTSAPIWrapper.swift:44:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
42 | defer {
43 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
44 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
45 | }
46 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/bilibili/BilibiliClient.swift:21:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
19 | defer {
20 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
21 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
22 | }
23 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/bilibili/BilibiliClient.swift:122:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 | defer {
121 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
122 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
123 | }
124 | let response = try await httpClient.execute(request, timeout: .seconds(30))
[1392/1460] Compiling LangChain BaiduClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/HFInferenceApi.swift:27:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
25 | defer {
26 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
27 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 | }
29 | var request = HTTPClientRequest(url: "https://api-inference.huggingface.co/pipeline/\(task)/\(repo)")
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LC.swift:11:16: warning: static property 'printTrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | public struct LC {
10 | // static var printTrace = true
11 | static var printTrace = false
| |- warning: static property 'printTrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printTrace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'printTrace' 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
12 | static let ID_KEY = "TRACE_ID"
13 | static let SKIP_TRACE_KEY = "SKIP_TRACE"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LC.swift:15:16: warning: static property 'env' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | static let SKIP_TRACE_KEY = "SKIP_TRACE"
14 | static let TRACE_ID = UUID().uuidString + "-" + UUID().uuidString
15 | static var env: [String: String] = [:]
| |- warning: static property 'env' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'env' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'env' 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
16 | static var trace = false
17 | public static func initSet(_ env: [String: String]) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LC.swift:16:16: warning: static property 'trace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static let TRACE_ID = UUID().uuidString + "-" + UUID().uuidString
15 | static var env: [String: String] = [:]
16 | static var trace = false
| |- warning: static property 'trace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trace' 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
17 | public static func initSet(_ env: [String: String]) {
18 | LC.env = env
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LlamaAPIWrapper.swift:31:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
29 | defer {
30 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
31 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
32 | }
33 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/OpenWeatherAPIWrapper.swift:76:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
74 | defer {
75 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
76 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/anotheropenai/OpenAITTSAPIWrapper.swift:44:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
42 | defer {
43 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
44 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
45 | }
46 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/bilibili/BilibiliClient.swift:21:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
19 | defer {
20 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
21 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
22 | }
23 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/bilibili/BilibiliClient.swift:122:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 | defer {
121 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
122 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
123 | }
124 | let response = try await httpClient.execute(request, timeout: .seconds(30))
[1393/1460] Compiling LangChain BilibiliClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/HFInferenceApi.swift:27:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
25 | defer {
26 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
27 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 | }
29 | var request = HTTPClientRequest(url: "https://api-inference.huggingface.co/pipeline/\(task)/\(repo)")
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LC.swift:11:16: warning: static property 'printTrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | public struct LC {
10 | // static var printTrace = true
11 | static var printTrace = false
| |- warning: static property 'printTrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printTrace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'printTrace' 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
12 | static let ID_KEY = "TRACE_ID"
13 | static let SKIP_TRACE_KEY = "SKIP_TRACE"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LC.swift:15:16: warning: static property 'env' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | static let SKIP_TRACE_KEY = "SKIP_TRACE"
14 | static let TRACE_ID = UUID().uuidString + "-" + UUID().uuidString
15 | static var env: [String: String] = [:]
| |- warning: static property 'env' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'env' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'env' 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
16 | static var trace = false
17 | public static func initSet(_ env: [String: String]) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LC.swift:16:16: warning: static property 'trace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static let TRACE_ID = UUID().uuidString + "-" + UUID().uuidString
15 | static var env: [String: String] = [:]
16 | static var trace = false
| |- warning: static property 'trace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trace' 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
17 | public static func initSet(_ env: [String: String]) {
18 | LC.env = env
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LlamaAPIWrapper.swift:31:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
29 | defer {
30 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
31 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
32 | }
33 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/OpenWeatherAPIWrapper.swift:76:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
74 | defer {
75 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
76 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/anotheropenai/OpenAITTSAPIWrapper.swift:44:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
42 | defer {
43 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
44 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
45 | }
46 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/bilibili/BilibiliClient.swift:21:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
19 | defer {
20 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
21 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
22 | }
23 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/bilibili/BilibiliClient.swift:122:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 | defer {
121 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
122 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
123 | }
124 | let response = try await httpClient.execute(request, timeout: .seconds(30))
[1394/1460] Compiling LangChain BilibiliCredential.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/HFInferenceApi.swift:27:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
25 | defer {
26 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
27 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 | }
29 | var request = HTTPClientRequest(url: "https://api-inference.huggingface.co/pipeline/\(task)/\(repo)")
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LC.swift:11:16: warning: static property 'printTrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | public struct LC {
10 | // static var printTrace = true
11 | static var printTrace = false
| |- warning: static property 'printTrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printTrace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'printTrace' 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
12 | static let ID_KEY = "TRACE_ID"
13 | static let SKIP_TRACE_KEY = "SKIP_TRACE"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LC.swift:15:16: warning: static property 'env' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | static let SKIP_TRACE_KEY = "SKIP_TRACE"
14 | static let TRACE_ID = UUID().uuidString + "-" + UUID().uuidString
15 | static var env: [String: String] = [:]
| |- warning: static property 'env' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'env' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'env' 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
16 | static var trace = false
17 | public static func initSet(_ env: [String: String]) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LC.swift:16:16: warning: static property 'trace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static let TRACE_ID = UUID().uuidString + "-" + UUID().uuidString
15 | static var env: [String: String] = [:]
16 | static var trace = false
| |- warning: static property 'trace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trace' 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
17 | public static func initSet(_ env: [String: String]) {
18 | LC.env = env
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LlamaAPIWrapper.swift:31:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
29 | defer {
30 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
31 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
32 | }
33 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/OpenWeatherAPIWrapper.swift:76:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
74 | defer {
75 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
76 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/anotheropenai/OpenAITTSAPIWrapper.swift:44:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
42 | defer {
43 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
44 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
45 | }
46 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/bilibili/BilibiliClient.swift:21:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
19 | defer {
20 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
21 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
22 | }
23 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/bilibili/BilibiliClient.swift:122:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 | defer {
121 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
122 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
123 | }
124 | let response = try await httpClient.execute(request, timeout: .seconds(30))
[1395/1460] Compiling LangChain BilibiliVideo.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/HFInferenceApi.swift:27:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
25 | defer {
26 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
27 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 | }
29 | var request = HTTPClientRequest(url: "https://api-inference.huggingface.co/pipeline/\(task)/\(repo)")
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LC.swift:11:16: warning: static property 'printTrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | public struct LC {
10 | // static var printTrace = true
11 | static var printTrace = false
| |- warning: static property 'printTrace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printTrace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'printTrace' 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
12 | static let ID_KEY = "TRACE_ID"
13 | static let SKIP_TRACE_KEY = "SKIP_TRACE"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LC.swift:15:16: warning: static property 'env' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | static let SKIP_TRACE_KEY = "SKIP_TRACE"
14 | static let TRACE_ID = UUID().uuidString + "-" + UUID().uuidString
15 | static var env: [String: String] = [:]
| |- warning: static property 'env' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'env' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'env' 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
16 | static var trace = false
17 | public static func initSet(_ env: [String: String]) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LC.swift:16:16: warning: static property 'trace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static let TRACE_ID = UUID().uuidString + "-" + UUID().uuidString
15 | static var env: [String: String] = [:]
16 | static var trace = false
| |- warning: static property 'trace' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trace' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trace' 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
17 | public static func initSet(_ env: [String: String]) {
18 | LC.env = env
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/LlamaAPIWrapper.swift:31:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
29 | defer {
30 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
31 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
32 | }
33 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/OpenWeatherAPIWrapper.swift:76:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
74 | defer {
75 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
76 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/anotheropenai/OpenAITTSAPIWrapper.swift:44:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
42 | defer {
43 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
44 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
45 | }
46 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/bilibili/BilibiliClient.swift:21:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
19 | defer {
20 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
21 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
22 | }
23 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/bilibili/BilibiliClient.swift:122:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 | defer {
121 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
122 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
123 | }
124 | let response = try await httpClient.execute(request, timeout: .seconds(30))
[1396/1460] Compiling LangChain OpenAI.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/OpenAI.swift:36:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
34 | defer {
35 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
36 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
37 | }
38 |
[1397/1460] Compiling LangChain Base.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/OpenAI.swift:36:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
34 | defer {
35 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
36 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
37 | }
38 |
[1398/1460] Compiling LangChain Chat.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/OpenAI.swift:36:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
34 | defer {
35 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
36 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
37 | }
38 |
[1399/1460] Compiling LangChain ReadOnlySharedMemory.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/OpenAI.swift:36:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
34 | defer {
35 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
36 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
37 | }
38 |
[1400/1460] Compiling LangChain BaseOutputParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/OpenAI.swift:36:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
34 | defer {
35 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
36 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
37 | }
38 |
[1401/1460] Compiling LangChain DateOutputParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/OpenAI.swift:36:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
34 | defer {
35 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
36 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
37 | }
38 |
[1402/1460] Compiling LangChain EnumOutputParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/OpenAI.swift:36:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
34 | defer {
35 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
36 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
37 | }
38 |
[1403/1460] Compiling LangChain ListOutputParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/OpenAI.swift:36:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
34 | defer {
35 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
36 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
37 | }
38 |
[1404/1460] Compiling LangChain MRKLOutputParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/OpenAI.swift:36:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
34 | defer {
35 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
36 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
37 | }
38 |
[1405/1460] Compiling LangChain ObjectOutputParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/OpenAI.swift:36:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
34 | defer {
35 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
36 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
37 | }
38 |
[1406/1460] Compiling LangChain RouterOutputParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/OpenAI.swift:36:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
34 | defer {
35 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
36 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
37 | }
38 |
[1407/1460] Compiling LangChain ChatGLM.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Dalle.swift:30:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 | defer {
29 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
30 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
31 | }
32 | let configuration = Configuration(apiKey: apiKey, api: API(scheme: .https, host: baseUrl))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/LMStudio.swift:64:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
62 | defer {
63 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
64 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
65 | }
66 | let url = "http://\(baseUrl)/v1/chat/completions"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Ollama.swift:119:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
117 | let httpClient = getHTTPClient()
118 | defer {
119 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 | }
121 | let requestURL = baseURL + "/api/" + endpoint
[1408/1460] Compiling LangChain ChatOllama.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Dalle.swift:30:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 | defer {
29 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
30 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
31 | }
32 | let configuration = Configuration(apiKey: apiKey, api: API(scheme: .https, host: baseUrl))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/LMStudio.swift:64:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
62 | defer {
63 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
64 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
65 | }
66 | let url = "http://\(baseUrl)/v1/chat/completions"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Ollama.swift:119:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
117 | let httpClient = getHTTPClient()
118 | defer {
119 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 | }
121 | let requestURL = baseURL + "/api/" + endpoint
[1409/1460] Compiling LangChain ChatOpenAI.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Dalle.swift:30:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 | defer {
29 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
30 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
31 | }
32 | let configuration = Configuration(apiKey: apiKey, api: API(scheme: .https, host: baseUrl))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/LMStudio.swift:64:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
62 | defer {
63 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
64 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
65 | }
66 | let url = "http://\(baseUrl)/v1/chat/completions"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Ollama.swift:119:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
117 | let httpClient = getHTTPClient()
118 | defer {
119 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 | }
121 | let requestURL = baseURL + "/api/" + endpoint
[1410/1460] Compiling LangChain Dalle.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Dalle.swift:30:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 | defer {
29 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
30 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
31 | }
32 | let configuration = Configuration(apiKey: apiKey, api: API(scheme: .https, host: baseUrl))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/LMStudio.swift:64:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
62 | defer {
63 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
64 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
65 | }
66 | let url = "http://\(baseUrl)/v1/chat/completions"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Ollama.swift:119:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
117 | let httpClient = getHTTPClient()
118 | defer {
119 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 | }
121 | let requestURL = baseURL + "/api/" + endpoint
[1411/1460] Compiling LangChain Gemini.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Dalle.swift:30:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 | defer {
29 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
30 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
31 | }
32 | let configuration = Configuration(apiKey: apiKey, api: API(scheme: .https, host: baseUrl))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/LMStudio.swift:64:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
62 | defer {
63 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
64 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
65 | }
66 | let url = "http://\(baseUrl)/v1/chat/completions"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Ollama.swift:119:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
117 | let httpClient = getHTTPClient()
118 | defer {
119 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 | }
121 | let requestURL = baseURL + "/api/" + endpoint
[1412/1460] Compiling LangChain HuggingFace.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Dalle.swift:30:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 | defer {
29 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
30 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
31 | }
32 | let configuration = Configuration(apiKey: apiKey, api: API(scheme: .https, host: baseUrl))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/LMStudio.swift:64:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
62 | defer {
63 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
64 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
65 | }
66 | let url = "http://\(baseUrl)/v1/chat/completions"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Ollama.swift:119:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
117 | let httpClient = getHTTPClient()
118 | defer {
119 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 | }
121 | let requestURL = baseURL + "/api/" + endpoint
[1413/1460] Compiling LangChain LLM.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Dalle.swift:30:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 | defer {
29 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
30 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
31 | }
32 | let configuration = Configuration(apiKey: apiKey, api: API(scheme: .https, host: baseUrl))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/LMStudio.swift:64:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
62 | defer {
63 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
64 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
65 | }
66 | let url = "http://\(baseUrl)/v1/chat/completions"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Ollama.swift:119:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
117 | let httpClient = getHTTPClient()
118 | defer {
119 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 | }
121 | let requestURL = baseURL + "/api/" + endpoint
[1414/1460] Compiling LangChain LMStudio.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Dalle.swift:30:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 | defer {
29 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
30 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
31 | }
32 | let configuration = Configuration(apiKey: apiKey, api: API(scheme: .https, host: baseUrl))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/LMStudio.swift:64:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
62 | defer {
63 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
64 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
65 | }
66 | let url = "http://\(baseUrl)/v1/chat/completions"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Ollama.swift:119:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
117 | let httpClient = getHTTPClient()
118 | defer {
119 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 | }
121 | let requestURL = baseURL + "/api/" + endpoint
[1415/1460] Compiling LangChain Llama2.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Dalle.swift:30:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 | defer {
29 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
30 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
31 | }
32 | let configuration = Configuration(apiKey: apiKey, api: API(scheme: .https, host: baseUrl))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/LMStudio.swift:64:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
62 | defer {
63 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
64 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
65 | }
66 | let url = "http://\(baseUrl)/v1/chat/completions"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Ollama.swift:119:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
117 | let httpClient = getHTTPClient()
118 | defer {
119 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 | }
121 | let requestURL = baseURL + "/api/" + endpoint
[1416/1460] Compiling LangChain Local.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Dalle.swift:30:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 | defer {
29 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
30 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
31 | }
32 | let configuration = Configuration(apiKey: apiKey, api: API(scheme: .https, host: baseUrl))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/LMStudio.swift:64:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
62 | defer {
63 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
64 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
65 | }
66 | let url = "http://\(baseUrl)/v1/chat/completions"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Ollama.swift:119:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
117 | let httpClient = getHTTPClient()
118 | defer {
119 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 | }
121 | let requestURL = baseURL + "/api/" + endpoint
[1417/1460] Compiling LangChain Ollama.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Dalle.swift:30:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 | defer {
29 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
30 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
31 | }
32 | let configuration = Configuration(apiKey: apiKey, api: API(scheme: .https, host: baseUrl))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/LMStudio.swift:64:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
62 | defer {
63 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
64 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
65 | }
66 | let url = "http://\(baseUrl)/v1/chat/completions"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Ollama.swift:119:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
117 | let httpClient = getHTTPClient()
118 | defer {
119 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 | }
121 | let requestURL = baseURL + "/api/" + endpoint
[1418/1460] Compiling LangChain SimpleJsonOutputParser.swift
[1419/1460] Compiling LangChain MultiPromptRouter.swift
[1420/1460] Compiling LangChain PromptTemplate.swift
[1421/1460] Compiling LangChain MrklPrompt.swift
[1422/1460] Compiling LangChain BaseRetriever.swift
[1423/1460] Compiling LangChain MultiVectorRetriever.swift
[1424/1460] Compiling LangChain ParentDocumentRetriever.swift
[1425/1460] Compiling LangChain PubmedRetriever.swift
[1426/1460] Compiling LangChain WikipediaRetriever.swift
[1427/1460] Compiling LangChain BaseStore.swift
[1428/1460] Compiling LangChain InMemoryStore.swift
[1429/1460] Compiling LangChain TransformChain.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/chains/qa/BaseConversationalRetrievalChain.swift:19:16: warning: static property 'CONDENSE_QUESTION_PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
17 | Standalone question:
18 | """
19 | static let CONDENSE_QUESTION_PROMPT = PromptTemplate(input_variables: ["chat_history", "question"], partial_variable: [:], template: _template)
| |- warning: static property 'CONDENSE_QUESTION_PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'CONDENSE_QUESTION_PROMPT' 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
20 |
21 | let combineChain: BaseCombineDocumentsChain
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/prompts/PromptTemplate.swift:10:14: note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class PromptTemplate {
| `- note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
11 | // Schema to represent a prompt for an LLM.
12 | public init(input_variables: [String], partial_variable: [String : String], template: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/chains/qa/StuffDocumentsChain.swift:30:16: warning: static property 'PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
28 | Question: {question}
29 | """
30 | static let PROMPT = PromptTemplate(input_variables: ["context", "question"], partial_variable: [:], template: prompt_template)
| |- warning: static property 'PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PROMPT' 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
31 |
32 | let llm_chain: LLMChain
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/prompts/PromptTemplate.swift:10:14: note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class PromptTemplate {
| `- note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
11 | // Schema to represent a prompt for an LLM.
12 | public init(input_variables: [String], partial_variable: [String : String], template: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/AudioLoader.swift:50:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
48 | defer {
49 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
50 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
51 | }
52 | // do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/AudioLoader.swift:99:24: warning: capture of 'exporter' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | return try await withCheckedThrowingContinuation { continuation in
98 | exporter.exportAsynchronously(completionHandler: {
99 | switch exporter.status {
| `- warning: capture of 'exporter' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | case AVAssetExportSession.Status.failed:
101 | print("Export failed. \(exporter.error!.localizedDescription)")
AVFoundation.AVAssetExportSession:2:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class AVAssetExportSession : NSObject {
| `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
3 | @available(*, unavailable)
4 | public convenience init()
[1430/1460] Compiling LangChain BaseCombineDocumentsChain.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/chains/qa/BaseConversationalRetrievalChain.swift:19:16: warning: static property 'CONDENSE_QUESTION_PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
17 | Standalone question:
18 | """
19 | static let CONDENSE_QUESTION_PROMPT = PromptTemplate(input_variables: ["chat_history", "question"], partial_variable: [:], template: _template)
| |- warning: static property 'CONDENSE_QUESTION_PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'CONDENSE_QUESTION_PROMPT' 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
20 |
21 | let combineChain: BaseCombineDocumentsChain
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/prompts/PromptTemplate.swift:10:14: note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class PromptTemplate {
| `- note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
11 | // Schema to represent a prompt for an LLM.
12 | public init(input_variables: [String], partial_variable: [String : String], template: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/chains/qa/StuffDocumentsChain.swift:30:16: warning: static property 'PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
28 | Question: {question}
29 | """
30 | static let PROMPT = PromptTemplate(input_variables: ["context", "question"], partial_variable: [:], template: prompt_template)
| |- warning: static property 'PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PROMPT' 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
31 |
32 | let llm_chain: LLMChain
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/prompts/PromptTemplate.swift:10:14: note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class PromptTemplate {
| `- note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
11 | // Schema to represent a prompt for an LLM.
12 | public init(input_variables: [String], partial_variable: [String : String], template: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/AudioLoader.swift:50:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
48 | defer {
49 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
50 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
51 | }
52 | // do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/AudioLoader.swift:99:24: warning: capture of 'exporter' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | return try await withCheckedThrowingContinuation { continuation in
98 | exporter.exportAsynchronously(completionHandler: {
99 | switch exporter.status {
| `- warning: capture of 'exporter' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | case AVAssetExportSession.Status.failed:
101 | print("Export failed. \(exporter.error!.localizedDescription)")
AVFoundation.AVAssetExportSession:2:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class AVAssetExportSession : NSObject {
| `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
3 | @available(*, unavailable)
4 | public convenience init()
[1431/1460] Compiling LangChain BaseConversationalRetrievalChain.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/chains/qa/BaseConversationalRetrievalChain.swift:19:16: warning: static property 'CONDENSE_QUESTION_PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
17 | Standalone question:
18 | """
19 | static let CONDENSE_QUESTION_PROMPT = PromptTemplate(input_variables: ["chat_history", "question"], partial_variable: [:], template: _template)
| |- warning: static property 'CONDENSE_QUESTION_PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'CONDENSE_QUESTION_PROMPT' 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
20 |
21 | let combineChain: BaseCombineDocumentsChain
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/prompts/PromptTemplate.swift:10:14: note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class PromptTemplate {
| `- note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
11 | // Schema to represent a prompt for an LLM.
12 | public init(input_variables: [String], partial_variable: [String : String], template: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/chains/qa/StuffDocumentsChain.swift:30:16: warning: static property 'PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
28 | Question: {question}
29 | """
30 | static let PROMPT = PromptTemplate(input_variables: ["context", "question"], partial_variable: [:], template: prompt_template)
| |- warning: static property 'PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PROMPT' 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
31 |
32 | let llm_chain: LLMChain
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/prompts/PromptTemplate.swift:10:14: note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class PromptTemplate {
| `- note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
11 | // Schema to represent a prompt for an LLM.
12 | public init(input_variables: [String], partial_variable: [String : String], template: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/AudioLoader.swift:50:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
48 | defer {
49 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
50 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
51 | }
52 | // do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/AudioLoader.swift:99:24: warning: capture of 'exporter' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | return try await withCheckedThrowingContinuation { continuation in
98 | exporter.exportAsynchronously(completionHandler: {
99 | switch exporter.status {
| `- warning: capture of 'exporter' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | case AVAssetExportSession.Status.failed:
101 | print("Export failed. \(exporter.error!.localizedDescription)")
AVFoundation.AVAssetExportSession:2:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class AVAssetExportSession : NSObject {
| `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
3 | @available(*, unavailable)
4 | public convenience init()
[1432/1460] Compiling LangChain ConversationalRetrievalChain.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/chains/qa/BaseConversationalRetrievalChain.swift:19:16: warning: static property 'CONDENSE_QUESTION_PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
17 | Standalone question:
18 | """
19 | static let CONDENSE_QUESTION_PROMPT = PromptTemplate(input_variables: ["chat_history", "question"], partial_variable: [:], template: _template)
| |- warning: static property 'CONDENSE_QUESTION_PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'CONDENSE_QUESTION_PROMPT' 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
20 |
21 | let combineChain: BaseCombineDocumentsChain
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/prompts/PromptTemplate.swift:10:14: note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class PromptTemplate {
| `- note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
11 | // Schema to represent a prompt for an LLM.
12 | public init(input_variables: [String], partial_variable: [String : String], template: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/chains/qa/StuffDocumentsChain.swift:30:16: warning: static property 'PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
28 | Question: {question}
29 | """
30 | static let PROMPT = PromptTemplate(input_variables: ["context", "question"], partial_variable: [:], template: prompt_template)
| |- warning: static property 'PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PROMPT' 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
31 |
32 | let llm_chain: LLMChain
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/prompts/PromptTemplate.swift:10:14: note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class PromptTemplate {
| `- note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
11 | // Schema to represent a prompt for an LLM.
12 | public init(input_variables: [String], partial_variable: [String : String], template: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/AudioLoader.swift:50:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
48 | defer {
49 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
50 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
51 | }
52 | // do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/AudioLoader.swift:99:24: warning: capture of 'exporter' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | return try await withCheckedThrowingContinuation { continuation in
98 | exporter.exportAsynchronously(completionHandler: {
99 | switch exporter.status {
| `- warning: capture of 'exporter' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | case AVAssetExportSession.Status.failed:
101 | print("Export failed. \(exporter.error!.localizedDescription)")
AVFoundation.AVAssetExportSession:2:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class AVAssetExportSession : NSObject {
| `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
3 | @available(*, unavailable)
4 | public convenience init()
[1433/1460] Compiling LangChain StuffDocumentsChain.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/chains/qa/BaseConversationalRetrievalChain.swift:19:16: warning: static property 'CONDENSE_QUESTION_PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
17 | Standalone question:
18 | """
19 | static let CONDENSE_QUESTION_PROMPT = PromptTemplate(input_variables: ["chat_history", "question"], partial_variable: [:], template: _template)
| |- warning: static property 'CONDENSE_QUESTION_PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'CONDENSE_QUESTION_PROMPT' 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
20 |
21 | let combineChain: BaseCombineDocumentsChain
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/prompts/PromptTemplate.swift:10:14: note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class PromptTemplate {
| `- note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
11 | // Schema to represent a prompt for an LLM.
12 | public init(input_variables: [String], partial_variable: [String : String], template: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/chains/qa/StuffDocumentsChain.swift:30:16: warning: static property 'PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
28 | Question: {question}
29 | """
30 | static let PROMPT = PromptTemplate(input_variables: ["context", "question"], partial_variable: [:], template: prompt_template)
| |- warning: static property 'PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PROMPT' 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
31 |
32 | let llm_chain: LLMChain
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/prompts/PromptTemplate.swift:10:14: note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class PromptTemplate {
| `- note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
11 | // Schema to represent a prompt for an LLM.
12 | public init(input_variables: [String], partial_variable: [String : String], template: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/AudioLoader.swift:50:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
48 | defer {
49 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
50 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
51 | }
52 | // do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/AudioLoader.swift:99:24: warning: capture of 'exporter' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | return try await withCheckedThrowingContinuation { continuation in
98 | exporter.exportAsynchronously(completionHandler: {
99 | switch exporter.status {
| `- warning: capture of 'exporter' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | case AVAssetExportSession.Status.failed:
101 | print("Export failed. \(exporter.error!.localizedDescription)")
AVFoundation.AVAssetExportSession:2:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class AVAssetExportSession : NSObject {
| `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
3 | @available(*, unavailable)
4 | public convenience init()
[1434/1460] Compiling LangChain LLMRouterChain.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/chains/qa/BaseConversationalRetrievalChain.swift:19:16: warning: static property 'CONDENSE_QUESTION_PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
17 | Standalone question:
18 | """
19 | static let CONDENSE_QUESTION_PROMPT = PromptTemplate(input_variables: ["chat_history", "question"], partial_variable: [:], template: _template)
| |- warning: static property 'CONDENSE_QUESTION_PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'CONDENSE_QUESTION_PROMPT' 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
20 |
21 | let combineChain: BaseCombineDocumentsChain
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/prompts/PromptTemplate.swift:10:14: note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class PromptTemplate {
| `- note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
11 | // Schema to represent a prompt for an LLM.
12 | public init(input_variables: [String], partial_variable: [String : String], template: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/chains/qa/StuffDocumentsChain.swift:30:16: warning: static property 'PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
28 | Question: {question}
29 | """
30 | static let PROMPT = PromptTemplate(input_variables: ["context", "question"], partial_variable: [:], template: prompt_template)
| |- warning: static property 'PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PROMPT' 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
31 |
32 | let llm_chain: LLMChain
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/prompts/PromptTemplate.swift:10:14: note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class PromptTemplate {
| `- note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
11 | // Schema to represent a prompt for an LLM.
12 | public init(input_variables: [String], partial_variable: [String : String], template: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/AudioLoader.swift:50:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
48 | defer {
49 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
50 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
51 | }
52 | // do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/AudioLoader.swift:99:24: warning: capture of 'exporter' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | return try await withCheckedThrowingContinuation { continuation in
98 | exporter.exportAsynchronously(completionHandler: {
99 | switch exporter.status {
| `- warning: capture of 'exporter' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | case AVAssetExportSession.Status.failed:
101 | print("Export failed. \(exporter.error!.localizedDescription)")
AVFoundation.AVAssetExportSession:2:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class AVAssetExportSession : NSObject {
| `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
3 | @available(*, unavailable)
4 | public convenience init()
[1435/1460] Compiling LangChain MultiRouteChain.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/chains/qa/BaseConversationalRetrievalChain.swift:19:16: warning: static property 'CONDENSE_QUESTION_PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
17 | Standalone question:
18 | """
19 | static let CONDENSE_QUESTION_PROMPT = PromptTemplate(input_variables: ["chat_history", "question"], partial_variable: [:], template: _template)
| |- warning: static property 'CONDENSE_QUESTION_PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'CONDENSE_QUESTION_PROMPT' 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
20 |
21 | let combineChain: BaseCombineDocumentsChain
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/prompts/PromptTemplate.swift:10:14: note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class PromptTemplate {
| `- note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
11 | // Schema to represent a prompt for an LLM.
12 | public init(input_variables: [String], partial_variable: [String : String], template: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/chains/qa/StuffDocumentsChain.swift:30:16: warning: static property 'PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
28 | Question: {question}
29 | """
30 | static let PROMPT = PromptTemplate(input_variables: ["context", "question"], partial_variable: [:], template: prompt_template)
| |- warning: static property 'PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PROMPT' 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
31 |
32 | let llm_chain: LLMChain
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/prompts/PromptTemplate.swift:10:14: note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class PromptTemplate {
| `- note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
11 | // Schema to represent a prompt for an LLM.
12 | public init(input_variables: [String], partial_variable: [String : String], template: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/AudioLoader.swift:50:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
48 | defer {
49 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
50 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
51 | }
52 | // do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/AudioLoader.swift:99:24: warning: capture of 'exporter' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | return try await withCheckedThrowingContinuation { continuation in
98 | exporter.exportAsynchronously(completionHandler: {
99 | switch exporter.status {
| `- warning: capture of 'exporter' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | case AVAssetExportSession.Status.failed:
101 | print("Export failed. \(exporter.error!.localizedDescription)")
AVFoundation.AVAssetExportSession:2:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class AVAssetExportSession : NSObject {
| `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
3 | @available(*, unavailable)
4 | public convenience init()
[1436/1460] Compiling LangChain AudioLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/chains/qa/BaseConversationalRetrievalChain.swift:19:16: warning: static property 'CONDENSE_QUESTION_PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
17 | Standalone question:
18 | """
19 | static let CONDENSE_QUESTION_PROMPT = PromptTemplate(input_variables: ["chat_history", "question"], partial_variable: [:], template: _template)
| |- warning: static property 'CONDENSE_QUESTION_PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'CONDENSE_QUESTION_PROMPT' 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
20 |
21 | let combineChain: BaseCombineDocumentsChain
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/prompts/PromptTemplate.swift:10:14: note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class PromptTemplate {
| `- note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
11 | // Schema to represent a prompt for an LLM.
12 | public init(input_variables: [String], partial_variable: [String : String], template: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/chains/qa/StuffDocumentsChain.swift:30:16: warning: static property 'PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
28 | Question: {question}
29 | """
30 | static let PROMPT = PromptTemplate(input_variables: ["context", "question"], partial_variable: [:], template: prompt_template)
| |- warning: static property 'PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PROMPT' 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
31 |
32 | let llm_chain: LLMChain
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/prompts/PromptTemplate.swift:10:14: note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class PromptTemplate {
| `- note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
11 | // Schema to represent a prompt for an LLM.
12 | public init(input_variables: [String], partial_variable: [String : String], template: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/AudioLoader.swift:50:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
48 | defer {
49 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
50 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
51 | }
52 | // do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/AudioLoader.swift:99:24: warning: capture of 'exporter' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | return try await withCheckedThrowingContinuation { continuation in
98 | exporter.exportAsynchronously(completionHandler: {
99 | switch exporter.status {
| `- warning: capture of 'exporter' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | case AVAssetExportSession.Status.failed:
101 | print("Export failed. \(exporter.error!.localizedDescription)")
AVFoundation.AVAssetExportSession:2:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class AVAssetExportSession : NSObject {
| `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
3 | @available(*, unavailable)
4 | public convenience init()
[1437/1460] Compiling LangChain BaseLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/chains/qa/BaseConversationalRetrievalChain.swift:19:16: warning: static property 'CONDENSE_QUESTION_PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
17 | Standalone question:
18 | """
19 | static let CONDENSE_QUESTION_PROMPT = PromptTemplate(input_variables: ["chat_history", "question"], partial_variable: [:], template: _template)
| |- warning: static property 'CONDENSE_QUESTION_PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'CONDENSE_QUESTION_PROMPT' 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
20 |
21 | let combineChain: BaseCombineDocumentsChain
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/prompts/PromptTemplate.swift:10:14: note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class PromptTemplate {
| `- note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
11 | // Schema to represent a prompt for an LLM.
12 | public init(input_variables: [String], partial_variable: [String : String], template: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/chains/qa/StuffDocumentsChain.swift:30:16: warning: static property 'PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
28 | Question: {question}
29 | """
30 | static let PROMPT = PromptTemplate(input_variables: ["context", "question"], partial_variable: [:], template: prompt_template)
| |- warning: static property 'PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PROMPT' 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
31 |
32 | let llm_chain: LLMChain
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/prompts/PromptTemplate.swift:10:14: note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class PromptTemplate {
| `- note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
11 | // Schema to represent a prompt for an LLM.
12 | public init(input_variables: [String], partial_variable: [String : String], template: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/AudioLoader.swift:50:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
48 | defer {
49 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
50 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
51 | }
52 | // do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/AudioLoader.swift:99:24: warning: capture of 'exporter' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | return try await withCheckedThrowingContinuation { continuation in
98 | exporter.exportAsynchronously(completionHandler: {
99 | switch exporter.status {
| `- warning: capture of 'exporter' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | case AVAssetExportSession.Status.failed:
101 | print("Export failed. \(exporter.error!.localizedDescription)")
AVFoundation.AVAssetExportSession:2:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class AVAssetExportSession : NSObject {
| `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
3 | @available(*, unavailable)
4 | public convenience init()
[1438/1460] Compiling LangChain BilibiliLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/chains/qa/BaseConversationalRetrievalChain.swift:19:16: warning: static property 'CONDENSE_QUESTION_PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
17 | Standalone question:
18 | """
19 | static let CONDENSE_QUESTION_PROMPT = PromptTemplate(input_variables: ["chat_history", "question"], partial_variable: [:], template: _template)
| |- warning: static property 'CONDENSE_QUESTION_PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'CONDENSE_QUESTION_PROMPT' 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
20 |
21 | let combineChain: BaseCombineDocumentsChain
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/prompts/PromptTemplate.swift:10:14: note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class PromptTemplate {
| `- note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
11 | // Schema to represent a prompt for an LLM.
12 | public init(input_variables: [String], partial_variable: [String : String], template: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/chains/qa/StuffDocumentsChain.swift:30:16: warning: static property 'PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
28 | Question: {question}
29 | """
30 | static let PROMPT = PromptTemplate(input_variables: ["context", "question"], partial_variable: [:], template: prompt_template)
| |- warning: static property 'PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PROMPT' 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
31 |
32 | let llm_chain: LLMChain
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/prompts/PromptTemplate.swift:10:14: note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class PromptTemplate {
| `- note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
11 | // Schema to represent a prompt for an LLM.
12 | public init(input_variables: [String], partial_variable: [String : String], template: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/AudioLoader.swift:50:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
48 | defer {
49 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
50 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
51 | }
52 | // do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/AudioLoader.swift:99:24: warning: capture of 'exporter' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | return try await withCheckedThrowingContinuation { continuation in
98 | exporter.exportAsynchronously(completionHandler: {
99 | switch exporter.status {
| `- warning: capture of 'exporter' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | case AVAssetExportSession.Status.failed:
101 | print("Export failed. \(exporter.error!.localizedDescription)")
AVFoundation.AVAssetExportSession:2:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class AVAssetExportSession : NSObject {
| `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
3 | @available(*, unavailable)
4 | public convenience init()
[1439/1460] Compiling LangChain HtmlLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/chains/qa/BaseConversationalRetrievalChain.swift:19:16: warning: static property 'CONDENSE_QUESTION_PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
17 | Standalone question:
18 | """
19 | static let CONDENSE_QUESTION_PROMPT = PromptTemplate(input_variables: ["chat_history", "question"], partial_variable: [:], template: _template)
| |- warning: static property 'CONDENSE_QUESTION_PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'CONDENSE_QUESTION_PROMPT' 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
20 |
21 | let combineChain: BaseCombineDocumentsChain
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/prompts/PromptTemplate.swift:10:14: note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class PromptTemplate {
| `- note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
11 | // Schema to represent a prompt for an LLM.
12 | public init(input_variables: [String], partial_variable: [String : String], template: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/chains/qa/StuffDocumentsChain.swift:30:16: warning: static property 'PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
28 | Question: {question}
29 | """
30 | static let PROMPT = PromptTemplate(input_variables: ["context", "question"], partial_variable: [:], template: prompt_template)
| |- warning: static property 'PROMPT' is not concurrency-safe because non-'Sendable' type 'PromptTemplate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PROMPT' 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
31 |
32 | let llm_chain: LLMChain
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/prompts/PromptTemplate.swift:10:14: note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class PromptTemplate {
| `- note: class 'PromptTemplate' does not conform to the 'Sendable' protocol
11 | // Schema to represent a prompt for an LLM.
12 | public init(input_variables: [String], partial_variable: [String : String], template: String) {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/AudioLoader.swift:50:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
48 | defer {
49 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
50 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
51 | }
52 | // do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/AudioLoader.swift:99:24: warning: capture of 'exporter' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | return try await withCheckedThrowingContinuation { continuation in
98 | exporter.exportAsynchronously(completionHandler: {
99 | switch exporter.status {
| `- warning: capture of 'exporter' with non-sendable type 'AVAssetExportSession' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | case AVAssetExportSession.Status.failed:
101 | print("Export failed. \(exporter.error!.localizedDescription)")
AVFoundation.AVAssetExportSession:2:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class AVAssetExportSession : NSObject {
| `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
3 | @available(*, unavailable)
4 | public convenience init()
[1440/1460] Compiling LangChain LocalFileStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/GoogleSerperAPIWrapper.swift:43:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
41 | defer {
42 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
43 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
44 | }
45 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/schema/Schema.swift:51:18: 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
49 | public override func getGeneration() -> AsyncThrowingStream<String?, Error> {
50 | return AsyncThrowingStream { continuation in
51 | 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
52 | do {
53 | for try await c in generation! {
| `- note: closure captures 'self' which is accessible to code in the current task
54 | if let message = c.choices.first?.delta.content {
55 | continuation.yield(message)
[1441/1460] Compiling LangChain Schema.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/GoogleSerperAPIWrapper.swift:43:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
41 | defer {
42 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
43 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
44 | }
45 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/schema/Schema.swift:51:18: 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
49 | public override func getGeneration() -> AsyncThrowingStream<String?, Error> {
50 | return AsyncThrowingStream { continuation in
51 | 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
52 | do {
53 | for try await c in generation! {
| `- note: closure captures 'self' which is accessible to code in the current task
54 | if let message = c.choices.first?.delta.content {
55 | continuation.yield(message)
[1442/1460] Compiling LangChain BaseTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/GoogleSerperAPIWrapper.swift:43:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
41 | defer {
42 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
43 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
44 | }
45 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/schema/Schema.swift:51:18: 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
49 | public override func getGeneration() -> AsyncThrowingStream<String?, Error> {
50 | return AsyncThrowingStream { continuation in
51 | 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
52 | do {
53 | for try await c in generation! {
| `- note: closure captures 'self' which is accessible to code in the current task
54 | if let message = c.choices.first?.delta.content {
55 | continuation.yield(message)
[1443/1460] Compiling LangChain Dummy.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/GoogleSerperAPIWrapper.swift:43:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
41 | defer {
42 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
43 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
44 | }
45 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/schema/Schema.swift:51:18: 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
49 | public override func getGeneration() -> AsyncThrowingStream<String?, Error> {
50 | return AsyncThrowingStream { continuation in
51 | 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
52 | do {
53 | for try await c in generation! {
| `- note: closure captures 'self' which is accessible to code in the current task
54 | if let message = c.choices.first?.delta.content {
55 | continuation.yield(message)
[1444/1460] Compiling LangChain GetLocationTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/GoogleSerperAPIWrapper.swift:43:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
41 | defer {
42 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
43 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
44 | }
45 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/schema/Schema.swift:51:18: 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
49 | public override func getGeneration() -> AsyncThrowingStream<String?, Error> {
50 | return AsyncThrowingStream { continuation in
51 | 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
52 | do {
53 | for try await c in generation! {
| `- note: closure captures 'self' which is accessible to code in the current task
54 | if let message = c.choices.first?.delta.content {
55 | continuation.yield(message)
[1445/1460] Compiling LangChain InvalidTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/GoogleSerperAPIWrapper.swift:43:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
41 | defer {
42 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
43 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
44 | }
45 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/schema/Schema.swift:51:18: 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
49 | public override func getGeneration() -> AsyncThrowingStream<String?, Error> {
50 | return AsyncThrowingStream { continuation in
51 | 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
52 | do {
53 | for try await c in generation! {
| `- note: closure captures 'self' which is accessible to code in the current task
54 | if let message = c.choices.first?.delta.content {
55 | continuation.yield(message)
[1446/1460] Compiling LangChain JavascriptREPLTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/GoogleSerperAPIWrapper.swift:43:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
41 | defer {
42 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
43 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
44 | }
45 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/schema/Schema.swift:51:18: 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
49 | public override func getGeneration() -> AsyncThrowingStream<String?, Error> {
50 | return AsyncThrowingStream { continuation in
51 | 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
52 | do {
53 | for try await c in generation! {
| `- note: closure captures 'self' which is accessible to code in the current task
54 | if let message = c.choices.first?.delta.content {
55 | continuation.yield(message)
[1447/1460] Compiling LangChain Serper.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/GoogleSerperAPIWrapper.swift:43:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
41 | defer {
42 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
43 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
44 | }
45 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/schema/Schema.swift:51:18: 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
49 | public override func getGeneration() -> AsyncThrowingStream<String?, Error> {
50 | return AsyncThrowingStream { continuation in
51 | 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
52 | do {
53 | for try await c in generation! {
| `- note: closure captures 'self' which is accessible to code in the current task
54 | if let message = c.choices.first?.delta.content {
55 | continuation.yield(message)
[1448/1460] Compiling LangChain TTSTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/GoogleSerperAPIWrapper.swift:43:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
41 | defer {
42 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
43 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
44 | }
45 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/schema/Schema.swift:51:18: 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
49 | public override func getGeneration() -> AsyncThrowingStream<String?, Error> {
50 | return AsyncThrowingStream { continuation in
51 | 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
52 | do {
53 | for try await c in generation! {
| `- note: closure captures 'self' which is accessible to code in the current task
54 | if let message = c.choices.first?.delta.content {
55 | continuation.yield(message)
[1449/1460] Compiling LangChain WeatherTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/GoogleSerperAPIWrapper.swift:43:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
41 | defer {
42 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
43 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
44 | }
45 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/schema/Schema.swift:51:18: 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
49 | public override func getGeneration() -> AsyncThrowingStream<String?, Error> {
50 | return AsyncThrowingStream { continuation in
51 | 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
52 | do {
53 | for try await c in generation! {
| `- note: closure captures 'self' which is accessible to code in the current task
54 | if let message = c.choices.first?.delta.content {
55 | continuation.yield(message)
[1450/1460] Compiling LangChain GoogleSerperAPIWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/GoogleSerperAPIWrapper.swift:43:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
41 | defer {
42 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
43 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
44 | }
45 | do {
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/schema/Schema.swift:51:18: 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
49 | public override func getGeneration() -> AsyncThrowingStream<String?, Error> {
50 | return AsyncThrowingStream { continuation in
51 | 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
52 | do {
53 | for try await c in generation! {
| `- note: closure captures 'self' which is accessible to code in the current task
54 | if let message = c.choices.first?.delta.content {
55 | continuation.yield(message)
[1451/1460] Compiling LangChain WikipediaAPIWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/wikipedia/WikipediaAPIWrapper.swift:18:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
16 | defer {
17 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
18 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/wikipedia/WikipediaPage.swift:22:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
20 | defer {
21 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
22 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
23 | }
24 |
[1452/1460] Compiling LangChain WikipediaPage.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/wikipedia/WikipediaAPIWrapper.swift:18:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
16 | defer {
17 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
18 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/wikipedia/WikipediaPage.swift:22:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
20 | defer {
21 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
22 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
23 | }
24 |
[1453/1460] Compiling LangChain Transcript.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/wikipedia/WikipediaAPIWrapper.swift:18:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
16 | defer {
17 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
18 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/wikipedia/WikipediaPage.swift:22:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
20 | defer {
21 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
22 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
23 | }
24 |
[1454/1460] Compiling LangChain TranscriptList.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/wikipedia/WikipediaAPIWrapper.swift:18:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
16 | defer {
17 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
18 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/wikipedia/WikipediaPage.swift:22:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
20 | defer {
21 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
22 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
23 | }
24 |
[1455/1460] Compiling LangChain TranscriptListFetcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/wikipedia/WikipediaAPIWrapper.swift:18:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
16 | defer {
17 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
18 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/wikipedia/WikipediaPage.swift:22:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
20 | defer {
21 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
22 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
23 | }
24 |
[1456/1460] Compiling LangChain YoutubeHackClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/wikipedia/WikipediaAPIWrapper.swift:18:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
16 | defer {
17 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
18 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/wikipedia/WikipediaPage.swift:22:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
20 | defer {
21 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
22 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
23 | }
24 |
[1457/1460] Compiling LangChain YoutubeInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/wikipedia/WikipediaAPIWrapper.swift:18:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
16 | defer {
17 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
18 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/wikipedia/WikipediaPage.swift:22:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
20 | defer {
21 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
22 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
23 | }
24 |
[1458/1460] Compiling LangChain SimilaritySearchKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/wikipedia/WikipediaAPIWrapper.swift:18:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
16 | defer {
17 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
18 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/wikipedia/WikipediaPage.swift:22:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
20 | defer {
21 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
22 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
23 | }
24 |
[1459/1460] Compiling LangChain Supabase.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/wikipedia/WikipediaAPIWrapper.swift:18:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
16 | defer {
17 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
18 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/wikipedia/WikipediaPage.swift:22:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
20 | defer {
21 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
22 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
23 | }
24 |
[1460/1460] Compiling LangChain VectorStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/wikipedia/WikipediaAPIWrapper.swift:18:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
16 | defer {
17 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
18 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/wikipedia/WikipediaPage.swift:22:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
20 | defer {
21 | // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
22 | try? httpClient.syncShutdown()
| `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
23 | }
24 |
Build complete! (118.51s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/vectorstores/supabase/supabase.sql
warning: 'swift-algorithms': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-algorithms/Sources/Algorithms/Documentation.docc
Build complete.
{
"dependencies" : [
{
"identity" : "openai-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.8.5",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/buhe/openai-kit"
},
{
"identity" : "supabase-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/supabase-community/supabase-swift"
},
{
"identity" : "swiftyjson",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftyJSON/SwiftyJSON"
},
{
"identity" : "swxmlhash",
"requirement" : {
"range" : [
{
"lower_bound" : "7.0.2",
"upper_bound" : "8.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/drmohundro/SWXMLHash"
},
{
"identity" : "swiftsoup",
"requirement" : {
"range" : [
{
"lower_bound" : "2.6.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scinfu/SwiftSoup"
},
{
"identity" : "swift-filestore",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/juyan/swift-filestore"
},
{
"identity" : "similarity-search-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.16",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/buhe/similarity-search-kit"
},
{
"identity" : "generative-ai-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.4",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/google/generative-ai-swift"
},
{
"identity" : "swiftynotion",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.5",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/buhe/SwiftyNotion"
},
{
"identity" : "feedkit",
"requirement" : {
"range" : [
{
"lower_bound" : "9.1.2",
"upper_bound" : "10.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nmdias/FeedKit"
}
],
"manifest_display_name" : "langchain-swift",
"name" : "langchain-swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "LangChain",
"targets" : [
"LangChain"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LangChainTests",
"module_type" : "SwiftTarget",
"name" : "LangChainTests",
"path" : "Tests/LangChainTests",
"sources" : [
"Base64.swift",
"BySplit.swift",
"langchain_swiftTests.swift"
],
"target_dependencies" : [
"LangChain"
],
"type" : "test"
},
{
"c99name" : "LangChain",
"module_type" : "SwiftTarget",
"name" : "LangChain",
"path" : "Sources/LangChain",
"product_dependencies" : [
"OpenAIKit",
"Supabase",
"SwiftyJSON",
"SWXMLHash",
"SwiftSoup",
"SwiftFileStore",
"SimilaritySearchKit",
"GoogleGenerativeAI",
"SwiftyNotion",
"FeedKit"
],
"product_memberships" : [
"LangChain"
],
"sources" : [
"LangChain.swift",
"agents/Agent.swift",
"cache/Cache.swift",
"callbacks/BaseCallbackHandler.swift",
"callbacks/StdOutCallbackHandler.swift",
"callbacks/TraceCallbackHandler.swift",
"chains/BaseChain.swift",
"chains/DNChain.swift",
"chains/LLMChain.swift",
"chains/SequentialChain.swift",
"chains/SimpleSequentialChain.swift",
"chains/TransformChain.swift",
"chains/qa/BaseCombineDocumentsChain.swift",
"chains/qa/BaseConversationalRetrievalChain.swift",
"chains/qa/ConversationalRetrievalChain.swift",
"chains/qa/StuffDocumentsChain.swift",
"chains/router/LLMRouterChain.swift",
"chains/router/MultiRouteChain.swift",
"document_loaders/AudioLoader.swift",
"document_loaders/BaseLoader.swift",
"document_loaders/BilibiliLoader.swift",
"document_loaders/HtmlLoader.swift",
"document_loaders/ImageOCRLoader.swift",
"document_loaders/NotionLoader.swift",
"document_loaders/PDFLoader.swift",
"document_loaders/RSSLoader.swift",
"document_loaders/TextLoader.swift",
"document_loaders/YoutubeLoader.swift",
"embeddings/Distilbert.swift",
"embeddings/Embeddings.swift",
"embeddings/OllamaEmbeddings.swift",
"embeddings/OpenAIEmbeddings.swift",
"llms/Baidu.swift",
"llms/ChatGLM.swift",
"llms/ChatOllama.swift",
"llms/ChatOpenAI.swift",
"llms/Dalle.swift",
"llms/Gemini.swift",
"llms/HuggingFace.swift",
"llms/LLM.swift",
"llms/LMStudio.swift",
"llms/Llama2.swift",
"llms/Local.swift",
"llms/Ollama.swift",
"llms/OpenAI.swift",
"memory/Base.swift",
"memory/Chat.swift",
"memory/ReadOnlySharedMemory.swift",
"parser/BaseOutputParser.swift",
"parser/DateOutputParser.swift",
"parser/EnumOutputParser.swift",
"parser/ListOutputParser.swift",
"parser/MRKLOutputParser.swift",
"parser/ObjectOutputParser.swift",
"parser/RouterOutputParser.swift",
"parser/SimpleJsonOutputParser.swift",
"prompts/MultiPromptRouter.swift",
"prompts/PromptTemplate.swift",
"prompts/mrkl/MrklPrompt.swift",
"retriever/BaseRetriever.swift",
"retriever/MultiVectorRetriever.swift",
"retriever/ParentDocumentRetriever.swift",
"retriever/PubmedRetriever.swift",
"retriever/WikipediaRetriever.swift",
"schema/BaseStore.swift",
"schema/InMemoryStore.swift",
"schema/LocalFileStore.swift",
"schema/Schema.swift",
"tools/BaseTool.swift",
"tools/Dummy.swift",
"tools/GetLocationTool.swift",
"tools/InvalidTool.swift",
"tools/JavascriptREPLTool.swift",
"tools/Serper.swift",
"tools/TTSTool.swift",
"tools/WeatherTool.swift",
"utilities/GoogleSerperAPIWrapper.swift",
"utilities/HFInferenceApi.swift",
"utilities/LC.swift",
"utilities/LlamaAPIWrapper.swift",
"utilities/OpenWeatherAPIWrapper.swift",
"utilities/TextSplitter.swift",
"utilities/ThreadManager.swift",
"utilities/anotheropenai/OpenAITTSAPIWrapper.swift",
"utilities/baidu/BaiduClient.swift",
"utilities/bilibili/BilibiliClient.swift",
"utilities/bilibili/BilibiliCredential.swift",
"utilities/bilibili/BilibiliVideo.swift",
"utilities/chatglm/ChatGLMAPIWrapper.swift",
"utilities/chatglm/ChatGLMModel.swift",
"utilities/dalle/DalleImage.swift",
"utilities/jwt/Cryptor.swift",
"utilities/jwt/Extensions/String.swift",
"utilities/jwt/JWT.swift",
"utilities/pubmed/PubmedAPIWrapper.swift",
"utilities/pubmed/PubmedPage.swift",
"utilities/report/ReportKey.swift",
"utilities/report/TraceManager.swift",
"utilities/wikipedia/WikipediaAPIWrapper.swift",
"utilities/wikipedia/WikipediaPage.swift",
"utilities/youtube/Transcript.swift",
"utilities/youtube/TranscriptList.swift",
"utilities/youtube/TranscriptListFetcher.swift",
"utilities/youtube/YoutubeHackClient.swift",
"utilities/youtube/YoutubeInfo.swift",
"vectorstores/SimilaritySearchKit.swift",
"vectorstores/Supabase.swift",
"vectorstores/VectorStore.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.