The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of langchain-swift, reference 0.50.0 (0f902d), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 20:08:13 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))
[1400/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))
[1401/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))
[1402/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))
[1403/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))
[1404/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))
[1405/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))
[1406/1460] Emitting module LangChain
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/agents/Agent.swift:271:16: warning: static property 'output_parser' is not concurrency-safe because non-'Sendable' type 'MRKLOutputParser' may have shared mutable state; this is an error in the Swift 6 language mode
269 |
270 | public class ZeroShotAgent: Agent {
271 |     static let output_parser: MRKLOutputParser = MRKLOutputParser()
    |                |- warning: static property 'output_parser' is not concurrency-safe because non-'Sendable' type 'MRKLOutputParser' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'output_parser' 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
272 |
273 |     public static func create_prompt(tools: [BaseTool], prefix0: String = PREFIX, suffix: String = SUFFIX, format_instructions: String = FORMAT_INSTRUCTIONS)
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/parser/MRKLOutputParser.swift:10:15: note: consider making struct 'MRKLOutputParser' conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public struct MRKLOutputParser: BaseOutputParser {
   |               `- note: consider making struct 'MRKLOutputParser' conform to the 'Sendable' protocol
11 |     public init() {}
12 |     public func parse(text: String) -> Parsed {
/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/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/report/TraceManager.swift:24:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | //    var reports: [Report] = []
23 |     static let REPORT_URL = "http://192.168.31.60:8083/rest/agent"
24 |     static var shared: TraceManager = TraceManager()
   |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 |     mutating func insertReport(report: Report) async {
[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:118: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
116 |         let httpClient = getHTTPClient()
117 |         defer {
118 |             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
119 |         }
120 |         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:118: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
116 |         let httpClient = getHTTPClient()
117 |         defer {
118 |             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
119 |         }
120 |         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:118: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
116 |         let httpClient = getHTTPClient()
117 |         defer {
118 |             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
119 |         }
120 |         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:118: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
116 |         let httpClient = getHTTPClient()
117 |         defer {
118 |             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
119 |         }
120 |         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:118: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
116 |         let httpClient = getHTTPClient()
117 |         defer {
118 |             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
119 |         }
120 |         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:118: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
116 |         let httpClient = getHTTPClient()
117 |         defer {
118 |             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
119 |         }
120 |         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:118: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
116 |         let httpClient = getHTTPClient()
117 |         defer {
118 |             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
119 |         }
120 |         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:118: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
116 |         let httpClient = getHTTPClient()
117 |         defer {
118 |             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
119 |         }
120 |         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:118: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
116 |         let httpClient = getHTTPClient()
117 |         defer {
118 |             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
119 |         }
120 |         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:118: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
116 |         let httpClient = getHTTPClient()
117 |         defer {
118 |             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
119 |         }
120 |         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:118: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
116 |         let httpClient = getHTTPClient()
117 |         defer {
118 |             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
119 |         }
120 |         let requestURL = baseURL + "/api/" + endpoint
[1418/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 |
[1419/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 |
[1420/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 |
[1421/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 |
[1422/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 |
[1423/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 |
[1424/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 |
[1425/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 |
[1426/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 |
[1427/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 |
[1428/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 |
[1429/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)
[1430/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)
[1431/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)
[1432/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)
[1433/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)
[1434/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)
[1435/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)
[1436/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)
[1437/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)
[1438/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)
[1439/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)
[1440/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()
[1441/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()
[1442/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()
[1443/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()
[1444/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()
[1445/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()
[1446/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()
[1447/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()
[1448/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()
[1449/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()
[1450/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()
[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! (117.23s)
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.