The Swift Package Index logo.Swift Package Index

Build Information

Successful build of langchain-swift, reference main (bc6067), with Swift 6.3 for macOS (SPM) on 14 Apr 2026 12:14:20 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

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/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))
[1367/1460] Compiling LangChain TextSplitter.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/HFInferenceApi.swift:27:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
25 |         defer {
26 |             // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
27 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 |         }
29 |         var request = HTTPClientRequest(url: "https://api-inference.huggingface.co/pipeline/\(task)/\(repo)")
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/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))
[1368/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/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))
[1369/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/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))
[1370/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/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))
[1371/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/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))
[1372/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/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))
[1373/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/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))
[1374/1460] Compiling LangChain ChatGLM.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Dalle.swift:30:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 |             defer {
29 |                 // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
30 |                 try? httpClient.syncShutdown()
   |                                 `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
31 |             }
32 |             let configuration = Configuration(apiKey: apiKey, api: API(scheme: .https, host: baseUrl))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/LMStudio.swift:64:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
62 |         defer {
63 |             // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
64 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
65 |         }
66 |         let url = "http://\(baseUrl)/v1/chat/completions"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Ollama.swift:119:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
117 |         let httpClient = getHTTPClient()
118 |         defer {
119 |             try? httpClient.syncShutdown()
    |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 |         }
121 |         let requestURL = baseURL + "/api/" + endpoint
[1375/1460] Compiling LangChain ChatOllama.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Dalle.swift:30:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 |             defer {
29 |                 // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
30 |                 try? httpClient.syncShutdown()
   |                                 `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
31 |             }
32 |             let configuration = Configuration(apiKey: apiKey, api: API(scheme: .https, host: baseUrl))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/LMStudio.swift:64:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
62 |         defer {
63 |             // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
64 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
65 |         }
66 |         let url = "http://\(baseUrl)/v1/chat/completions"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Ollama.swift:119:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
117 |         let httpClient = getHTTPClient()
118 |         defer {
119 |             try? httpClient.syncShutdown()
    |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 |         }
121 |         let requestURL = baseURL + "/api/" + endpoint
[1376/1460] Compiling LangChain ChatOpenAI.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Dalle.swift:30:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 |             defer {
29 |                 // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
30 |                 try? httpClient.syncShutdown()
   |                                 `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
31 |             }
32 |             let configuration = Configuration(apiKey: apiKey, api: API(scheme: .https, host: baseUrl))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/LMStudio.swift:64:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
62 |         defer {
63 |             // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
64 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
65 |         }
66 |         let url = "http://\(baseUrl)/v1/chat/completions"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Ollama.swift:119:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
117 |         let httpClient = getHTTPClient()
118 |         defer {
119 |             try? httpClient.syncShutdown()
    |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 |         }
121 |         let requestURL = baseURL + "/api/" + endpoint
[1377/1460] Compiling LangChain Dalle.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Dalle.swift:30:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 |             defer {
29 |                 // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
30 |                 try? httpClient.syncShutdown()
   |                                 `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
31 |             }
32 |             let configuration = Configuration(apiKey: apiKey, api: API(scheme: .https, host: baseUrl))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/LMStudio.swift:64:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
62 |         defer {
63 |             // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
64 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
65 |         }
66 |         let url = "http://\(baseUrl)/v1/chat/completions"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Ollama.swift:119:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
117 |         let httpClient = getHTTPClient()
118 |         defer {
119 |             try? httpClient.syncShutdown()
    |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 |         }
121 |         let requestURL = baseURL + "/api/" + endpoint
[1378/1460] Compiling LangChain Gemini.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Dalle.swift:30:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 |             defer {
29 |                 // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
30 |                 try? httpClient.syncShutdown()
   |                                 `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
31 |             }
32 |             let configuration = Configuration(apiKey: apiKey, api: API(scheme: .https, host: baseUrl))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/LMStudio.swift:64:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
62 |         defer {
63 |             // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
64 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
65 |         }
66 |         let url = "http://\(baseUrl)/v1/chat/completions"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Ollama.swift:119:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
117 |         let httpClient = getHTTPClient()
118 |         defer {
119 |             try? httpClient.syncShutdown()
    |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 |         }
121 |         let requestURL = baseURL + "/api/" + endpoint
[1379/1460] Compiling LangChain HuggingFace.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Dalle.swift:30:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 |             defer {
29 |                 // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
30 |                 try? httpClient.syncShutdown()
   |                                 `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
31 |             }
32 |             let configuration = Configuration(apiKey: apiKey, api: API(scheme: .https, host: baseUrl))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/LMStudio.swift:64:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
62 |         defer {
63 |             // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
64 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
65 |         }
66 |         let url = "http://\(baseUrl)/v1/chat/completions"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Ollama.swift:119:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
117 |         let httpClient = getHTTPClient()
118 |         defer {
119 |             try? httpClient.syncShutdown()
    |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 |         }
121 |         let requestURL = baseURL + "/api/" + endpoint
[1380/1460] Compiling LangChain LLM.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Dalle.swift:30:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 |             defer {
29 |                 // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
30 |                 try? httpClient.syncShutdown()
   |                                 `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
31 |             }
32 |             let configuration = Configuration(apiKey: apiKey, api: API(scheme: .https, host: baseUrl))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/LMStudio.swift:64:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
62 |         defer {
63 |             // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
64 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
65 |         }
66 |         let url = "http://\(baseUrl)/v1/chat/completions"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Ollama.swift:119:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
117 |         let httpClient = getHTTPClient()
118 |         defer {
119 |             try? httpClient.syncShutdown()
    |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 |         }
121 |         let requestURL = baseURL + "/api/" + endpoint
[1381/1460] Compiling LangChain LMStudio.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Dalle.swift:30:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 |             defer {
29 |                 // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
30 |                 try? httpClient.syncShutdown()
   |                                 `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
31 |             }
32 |             let configuration = Configuration(apiKey: apiKey, api: API(scheme: .https, host: baseUrl))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/LMStudio.swift:64:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
62 |         defer {
63 |             // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
64 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
65 |         }
66 |         let url = "http://\(baseUrl)/v1/chat/completions"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Ollama.swift:119:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
117 |         let httpClient = getHTTPClient()
118 |         defer {
119 |             try? httpClient.syncShutdown()
    |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 |         }
121 |         let requestURL = baseURL + "/api/" + endpoint
[1382/1460] Compiling LangChain Llama2.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Dalle.swift:30:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 |             defer {
29 |                 // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
30 |                 try? httpClient.syncShutdown()
   |                                 `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
31 |             }
32 |             let configuration = Configuration(apiKey: apiKey, api: API(scheme: .https, host: baseUrl))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/LMStudio.swift:64:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
62 |         defer {
63 |             // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
64 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
65 |         }
66 |         let url = "http://\(baseUrl)/v1/chat/completions"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Ollama.swift:119:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
117 |         let httpClient = getHTTPClient()
118 |         defer {
119 |             try? httpClient.syncShutdown()
    |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 |         }
121 |         let requestURL = baseURL + "/api/" + endpoint
[1383/1460] Compiling LangChain Local.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Dalle.swift:30:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 |             defer {
29 |                 // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
30 |                 try? httpClient.syncShutdown()
   |                                 `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
31 |             }
32 |             let configuration = Configuration(apiKey: apiKey, api: API(scheme: .https, host: baseUrl))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/LMStudio.swift:64:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
62 |         defer {
63 |             // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
64 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
65 |         }
66 |         let url = "http://\(baseUrl)/v1/chat/completions"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Ollama.swift:119:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
117 |         let httpClient = getHTTPClient()
118 |         defer {
119 |             try? httpClient.syncShutdown()
    |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 |         }
121 |         let requestURL = baseURL + "/api/" + endpoint
[1384/1460] Compiling LangChain Ollama.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Dalle.swift:30:33: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
28 |             defer {
29 |                 // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
30 |                 try? httpClient.syncShutdown()
   |                                 `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
31 |             }
32 |             let configuration = Configuration(apiKey: apiKey, api: API(scheme: .https, host: baseUrl))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/LMStudio.swift:64:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
62 |         defer {
63 |             // it's important to shutdown the httpClient after all requests are done, even if one failed. See: https://github.com/swift-server/async-http-client
64 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
65 |         }
66 |         let url = "http://\(baseUrl)/v1/chat/completions"
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Ollama.swift:119:29: warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
117 |         let httpClient = getHTTPClient()
118 |         defer {
119 |             try? httpClient.syncShutdown()
    |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
120 |         }
121 |         let requestURL = baseURL + "/api/" + endpoint
[1385/1460] Compiling LangChain LangChain.swift
[1386/1460] Compiling LangChain Agent.swift
[1387/1460] Compiling LangChain Cache.swift
[1388/1460] Compiling LangChain BaseCallbackHandler.swift
[1389/1460] Compiling LangChain StdOutCallbackHandler.swift
[1390/1460] Compiling LangChain TraceCallbackHandler.swift
[1391/1460] Compiling LangChain BaseChain.swift
[1392/1460] Compiling LangChain DNChain.swift
[1393/1460] Compiling LangChain LLMChain.swift
[1394/1460] Compiling LangChain SequentialChain.swift
[1395/1460] Compiling LangChain SimpleSequentialChain.swift
[1396/1460] Compiling LangChain ChatGLMAPIWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/chatglm/ChatGLMAPIWrapper.swift:74: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
72 |             defer {
73 |                 // 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
74 |                 try? httpClient.syncShutdown()
   |                                 `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
75 |             }
76 |             let response = try await httpClient.execute(request, timeout: .seconds(30))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/jwt/Cryptor.swift:13:13: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
11 |         defer { context.deallocate() }
12 |
13 |         key.withUnsafeBytes { (buffer: UnsafePointer<UInt8>) in
   |             `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
14 |             CCHmacInit(context, algorithm.HMACAlgorithm, buffer, size_t(key.count))
15 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/jwt/Cryptor.swift:17:16: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
15 |         }
16 |
17 |         string.withUnsafeBytes { (buffer: UnsafePointer<UInt8>) in
   |                `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
18 |           CCHmacUpdate(context, buffer, size_t(string.count))
19 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/pubmed/PubmedAPIWrapper.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/pubmed/PubmedPage.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 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/report/TraceManager.swift:39: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
37 |         defer {
38 |             // 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
39 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
40 |         }
41 |         do {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1397/1460] Compiling LangChain ChatGLMModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/chatglm/ChatGLMAPIWrapper.swift:74: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
72 |             defer {
73 |                 // 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
74 |                 try? httpClient.syncShutdown()
   |                                 `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
75 |             }
76 |             let response = try await httpClient.execute(request, timeout: .seconds(30))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/jwt/Cryptor.swift:13:13: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
11 |         defer { context.deallocate() }
12 |
13 |         key.withUnsafeBytes { (buffer: UnsafePointer<UInt8>) in
   |             `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
14 |             CCHmacInit(context, algorithm.HMACAlgorithm, buffer, size_t(key.count))
15 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/jwt/Cryptor.swift:17:16: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
15 |         }
16 |
17 |         string.withUnsafeBytes { (buffer: UnsafePointer<UInt8>) in
   |                `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
18 |           CCHmacUpdate(context, buffer, size_t(string.count))
19 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/pubmed/PubmedAPIWrapper.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/pubmed/PubmedPage.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 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/report/TraceManager.swift:39: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
37 |         defer {
38 |             // 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
39 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
40 |         }
41 |         do {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1398/1460] Compiling LangChain DalleImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/chatglm/ChatGLMAPIWrapper.swift:74: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
72 |             defer {
73 |                 // 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
74 |                 try? httpClient.syncShutdown()
   |                                 `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
75 |             }
76 |             let response = try await httpClient.execute(request, timeout: .seconds(30))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/jwt/Cryptor.swift:13:13: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
11 |         defer { context.deallocate() }
12 |
13 |         key.withUnsafeBytes { (buffer: UnsafePointer<UInt8>) in
   |             `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
14 |             CCHmacInit(context, algorithm.HMACAlgorithm, buffer, size_t(key.count))
15 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/jwt/Cryptor.swift:17:16: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
15 |         }
16 |
17 |         string.withUnsafeBytes { (buffer: UnsafePointer<UInt8>) in
   |                `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
18 |           CCHmacUpdate(context, buffer, size_t(string.count))
19 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/pubmed/PubmedAPIWrapper.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/pubmed/PubmedPage.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 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/report/TraceManager.swift:39: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
37 |         defer {
38 |             // 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
39 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
40 |         }
41 |         do {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1399/1460] Compiling LangChain Cryptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/chatglm/ChatGLMAPIWrapper.swift:74: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
72 |             defer {
73 |                 // 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
74 |                 try? httpClient.syncShutdown()
   |                                 `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
75 |             }
76 |             let response = try await httpClient.execute(request, timeout: .seconds(30))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/jwt/Cryptor.swift:13:13: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
11 |         defer { context.deallocate() }
12 |
13 |         key.withUnsafeBytes { (buffer: UnsafePointer<UInt8>) in
   |             `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
14 |             CCHmacInit(context, algorithm.HMACAlgorithm, buffer, size_t(key.count))
15 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/jwt/Cryptor.swift:17:16: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
15 |         }
16 |
17 |         string.withUnsafeBytes { (buffer: UnsafePointer<UInt8>) in
   |                `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
18 |           CCHmacUpdate(context, buffer, size_t(string.count))
19 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/pubmed/PubmedAPIWrapper.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/pubmed/PubmedPage.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 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/report/TraceManager.swift:39: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
37 |         defer {
38 |             // 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
39 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
40 |         }
41 |         do {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1400/1460] Compiling LangChain String.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/chatglm/ChatGLMAPIWrapper.swift:74: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
72 |             defer {
73 |                 // 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
74 |                 try? httpClient.syncShutdown()
   |                                 `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
75 |             }
76 |             let response = try await httpClient.execute(request, timeout: .seconds(30))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/jwt/Cryptor.swift:13:13: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
11 |         defer { context.deallocate() }
12 |
13 |         key.withUnsafeBytes { (buffer: UnsafePointer<UInt8>) in
   |             `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
14 |             CCHmacInit(context, algorithm.HMACAlgorithm, buffer, size_t(key.count))
15 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/jwt/Cryptor.swift:17:16: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
15 |         }
16 |
17 |         string.withUnsafeBytes { (buffer: UnsafePointer<UInt8>) in
   |                `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
18 |           CCHmacUpdate(context, buffer, size_t(string.count))
19 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/pubmed/PubmedAPIWrapper.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/pubmed/PubmedPage.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 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/report/TraceManager.swift:39: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
37 |         defer {
38 |             // 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
39 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
40 |         }
41 |         do {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1401/1460] Compiling LangChain JWT.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/chatglm/ChatGLMAPIWrapper.swift:74: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
72 |             defer {
73 |                 // 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
74 |                 try? httpClient.syncShutdown()
   |                                 `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
75 |             }
76 |             let response = try await httpClient.execute(request, timeout: .seconds(30))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/jwt/Cryptor.swift:13:13: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
11 |         defer { context.deallocate() }
12 |
13 |         key.withUnsafeBytes { (buffer: UnsafePointer<UInt8>) in
   |             `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
14 |             CCHmacInit(context, algorithm.HMACAlgorithm, buffer, size_t(key.count))
15 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/jwt/Cryptor.swift:17:16: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
15 |         }
16 |
17 |         string.withUnsafeBytes { (buffer: UnsafePointer<UInt8>) in
   |                `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
18 |           CCHmacUpdate(context, buffer, size_t(string.count))
19 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/pubmed/PubmedAPIWrapper.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/pubmed/PubmedPage.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 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/report/TraceManager.swift:39: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
37 |         defer {
38 |             // 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
39 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
40 |         }
41 |         do {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1402/1460] Compiling LangChain PubmedAPIWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/chatglm/ChatGLMAPIWrapper.swift:74: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
72 |             defer {
73 |                 // 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
74 |                 try? httpClient.syncShutdown()
   |                                 `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
75 |             }
76 |             let response = try await httpClient.execute(request, timeout: .seconds(30))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/jwt/Cryptor.swift:13:13: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
11 |         defer { context.deallocate() }
12 |
13 |         key.withUnsafeBytes { (buffer: UnsafePointer<UInt8>) in
   |             `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
14 |             CCHmacInit(context, algorithm.HMACAlgorithm, buffer, size_t(key.count))
15 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/jwt/Cryptor.swift:17:16: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
15 |         }
16 |
17 |         string.withUnsafeBytes { (buffer: UnsafePointer<UInt8>) in
   |                `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
18 |           CCHmacUpdate(context, buffer, size_t(string.count))
19 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/pubmed/PubmedAPIWrapper.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/pubmed/PubmedPage.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 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/report/TraceManager.swift:39: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
37 |         defer {
38 |             // 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
39 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
40 |         }
41 |         do {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1403/1460] Compiling LangChain PubmedPage.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/chatglm/ChatGLMAPIWrapper.swift:74: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
72 |             defer {
73 |                 // 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
74 |                 try? httpClient.syncShutdown()
   |                                 `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
75 |             }
76 |             let response = try await httpClient.execute(request, timeout: .seconds(30))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/jwt/Cryptor.swift:13:13: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
11 |         defer { context.deallocate() }
12 |
13 |         key.withUnsafeBytes { (buffer: UnsafePointer<UInt8>) in
   |             `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
14 |             CCHmacInit(context, algorithm.HMACAlgorithm, buffer, size_t(key.count))
15 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/jwt/Cryptor.swift:17:16: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
15 |         }
16 |
17 |         string.withUnsafeBytes { (buffer: UnsafePointer<UInt8>) in
   |                `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
18 |           CCHmacUpdate(context, buffer, size_t(string.count))
19 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/pubmed/PubmedAPIWrapper.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/pubmed/PubmedPage.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 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/report/TraceManager.swift:39: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
37 |         defer {
38 |             // 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
39 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
40 |         }
41 |         do {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1404/1460] Compiling LangChain ReportKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/chatglm/ChatGLMAPIWrapper.swift:74: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
72 |             defer {
73 |                 // 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
74 |                 try? httpClient.syncShutdown()
   |                                 `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
75 |             }
76 |             let response = try await httpClient.execute(request, timeout: .seconds(30))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/jwt/Cryptor.swift:13:13: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
11 |         defer { context.deallocate() }
12 |
13 |         key.withUnsafeBytes { (buffer: UnsafePointer<UInt8>) in
   |             `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
14 |             CCHmacInit(context, algorithm.HMACAlgorithm, buffer, size_t(key.count))
15 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/jwt/Cryptor.swift:17:16: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
15 |         }
16 |
17 |         string.withUnsafeBytes { (buffer: UnsafePointer<UInt8>) in
   |                `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
18 |           CCHmacUpdate(context, buffer, size_t(string.count))
19 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/pubmed/PubmedAPIWrapper.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/pubmed/PubmedPage.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 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/report/TraceManager.swift:39: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
37 |         defer {
38 |             // 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
39 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
40 |         }
41 |         do {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1405/1460] Compiling LangChain TraceManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/chatglm/ChatGLMAPIWrapper.swift:74: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
72 |             defer {
73 |                 // 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
74 |                 try? httpClient.syncShutdown()
   |                                 `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
75 |             }
76 |             let response = try await httpClient.execute(request, timeout: .seconds(30))
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/jwt/Cryptor.swift:13:13: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
11 |         defer { context.deallocate() }
12 |
13 |         key.withUnsafeBytes { (buffer: UnsafePointer<UInt8>) in
   |             `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
14 |             CCHmacInit(context, algorithm.HMACAlgorithm, buffer, size_t(key.count))
15 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/jwt/Cryptor.swift:17:16: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
15 |         }
16 |
17 |         string.withUnsafeBytes { (buffer: UnsafePointer<UInt8>) in
   |                `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
18 |           CCHmacUpdate(context, buffer, size_t(string.count))
19 |         }
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/pubmed/PubmedAPIWrapper.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/pubmed/PubmedPage.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 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/utilities/report/TraceManager.swift:39: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
37 |         defer {
38 |             // 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
39 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
40 |         }
41 |         do {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1406/1460] Compiling LangChain ImageOCRLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/ImageOCRLoader.swift:30: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
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 |         var text = ""
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/YoutubeLoader.swift:29: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
27 |         defer {
28 |             // 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
29 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
30 |         }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Baidu.swift:26: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
24 |         defer {
25 |             // 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
26 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
27 |         }
28 |         let env = LC.loadEnv()
[1407/1460] Compiling LangChain NotionLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/ImageOCRLoader.swift:30: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
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 |         var text = ""
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/YoutubeLoader.swift:29: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
27 |         defer {
28 |             // 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
29 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
30 |         }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Baidu.swift:26: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
24 |         defer {
25 |             // 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
26 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
27 |         }
28 |         let env = LC.loadEnv()
[1408/1460] Compiling LangChain PDFLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/ImageOCRLoader.swift:30: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
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 |         var text = ""
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/YoutubeLoader.swift:29: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
27 |         defer {
28 |             // 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
29 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
30 |         }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Baidu.swift:26: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
24 |         defer {
25 |             // 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
26 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
27 |         }
28 |         let env = LC.loadEnv()
[1409/1460] Compiling LangChain RSSLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/ImageOCRLoader.swift:30: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
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 |         var text = ""
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/YoutubeLoader.swift:29: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
27 |         defer {
28 |             // 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
29 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
30 |         }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Baidu.swift:26: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
24 |         defer {
25 |             // 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
26 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
27 |         }
28 |         let env = LC.loadEnv()
[1410/1460] Compiling LangChain TextLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/ImageOCRLoader.swift:30: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
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 |         var text = ""
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/YoutubeLoader.swift:29: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
27 |         defer {
28 |             // 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
29 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
30 |         }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Baidu.swift:26: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
24 |         defer {
25 |             // 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
26 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
27 |         }
28 |         let env = LC.loadEnv()
[1411/1460] Compiling LangChain YoutubeLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/ImageOCRLoader.swift:30: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
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 |         var text = ""
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/YoutubeLoader.swift:29: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
27 |         defer {
28 |             // 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
29 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
30 |         }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Baidu.swift:26: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
24 |         defer {
25 |             // 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
26 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
27 |         }
28 |         let env = LC.loadEnv()
[1412/1460] Compiling LangChain Distilbert.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/ImageOCRLoader.swift:30: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
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 |         var text = ""
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/YoutubeLoader.swift:29: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
27 |         defer {
28 |             // 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
29 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
30 |         }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Baidu.swift:26: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
24 |         defer {
25 |             // 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
26 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
27 |         }
28 |         let env = LC.loadEnv()
[1413/1460] Compiling LangChain Embeddings.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/ImageOCRLoader.swift:30: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
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 |         var text = ""
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/YoutubeLoader.swift:29: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
27 |         defer {
28 |             // 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
29 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
30 |         }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Baidu.swift:26: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
24 |         defer {
25 |             // 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
26 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
27 |         }
28 |         let env = LC.loadEnv()
[1414/1460] Compiling LangChain OllamaEmbeddings.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/ImageOCRLoader.swift:30: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
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 |         var text = ""
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/YoutubeLoader.swift:29: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
27 |         defer {
28 |             // 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
29 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
30 |         }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Baidu.swift:26: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
24 |         defer {
25 |             // 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
26 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
27 |         }
28 |         let env = LC.loadEnv()
[1415/1460] Compiling LangChain OpenAIEmbeddings.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/ImageOCRLoader.swift:30: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
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 |         var text = ""
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/YoutubeLoader.swift:29: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
27 |         defer {
28 |             // 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
29 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
30 |         }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Baidu.swift:26: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
24 |         defer {
25 |             // 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
26 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
27 |         }
28 |         let env = LC.loadEnv()
[1416/1460] Compiling LangChain Baidu.swift
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/ImageOCRLoader.swift:30: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
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 |         var text = ""
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/document_loaders/YoutubeLoader.swift:29: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
27 |         defer {
28 |             // 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
29 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
30 |         }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/LangChain/llms/Baidu.swift:26: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
24 |         defer {
25 |             // 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
26 |             try? httpClient.syncShutdown()
   |                             `- warning: instance method 'syncShutdown' is unavailable from asynchronous contexts; syncShutdown() can block indefinitely, prefer shutdown(); this is an error in the Swift 6 language mode
27 |         }
28 |         let env = LC.loadEnv()
[1417/1460] Emitting module LangChain
[1418/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 {
[1419/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 {
[1420/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 {
[1421/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 {
[1422/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 {
[1423/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 {
[1424/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 {
[1425/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 {
[1426/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 {
[1427/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 {
[1428/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 {
[1429/1460] Compiling LangChain SimpleJsonOutputParser.swift
[1430/1460] Compiling LangChain MultiPromptRouter.swift
[1431/1460] Compiling LangChain PromptTemplate.swift
[1432/1460] Compiling LangChain MrklPrompt.swift
[1433/1460] Compiling LangChain BaseRetriever.swift
[1434/1460] Compiling LangChain MultiVectorRetriever.swift
[1435/1460] Compiling LangChain ParentDocumentRetriever.swift
[1436/1460] Compiling LangChain PubmedRetriever.swift
[1437/1460] Compiling LangChain WikipediaRetriever.swift
[1438/1460] Compiling LangChain BaseStore.swift
[1439/1460] Compiling LangChain InMemoryStore.swift
[1440/1460] Compiling LangChain TransformChain.swift
/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 [#SendableClosureCaptures]
 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 [#SendableClosureCaptures]
100 |                     case AVAssetExportSession.Status.failed:
101 |                         print("Export failed. \(exporter.error!.localizedDescription)")
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h:159:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
157 | NS_SWIFT_NONSENDABLE
158 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
159 | @interface AVAssetExportSession : NSObject
    |            `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
160 | {
161 | @private
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1441/1460] Compiling LangChain BaseCombineDocumentsChain.swift
/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 [#SendableClosureCaptures]
 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 [#SendableClosureCaptures]
100 |                     case AVAssetExportSession.Status.failed:
101 |                         print("Export failed. \(exporter.error!.localizedDescription)")
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h:159:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
157 | NS_SWIFT_NONSENDABLE
158 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
159 | @interface AVAssetExportSession : NSObject
    |            `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
160 | {
161 | @private
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1442/1460] Compiling LangChain BaseConversationalRetrievalChain.swift
/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 [#SendableClosureCaptures]
 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 [#SendableClosureCaptures]
100 |                     case AVAssetExportSession.Status.failed:
101 |                         print("Export failed. \(exporter.error!.localizedDescription)")
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h:159:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
157 | NS_SWIFT_NONSENDABLE
158 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
159 | @interface AVAssetExportSession : NSObject
    |            `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
160 | {
161 | @private
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1443/1460] Compiling LangChain ConversationalRetrievalChain.swift
/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 [#SendableClosureCaptures]
 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 [#SendableClosureCaptures]
100 |                     case AVAssetExportSession.Status.failed:
101 |                         print("Export failed. \(exporter.error!.localizedDescription)")
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h:159:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
157 | NS_SWIFT_NONSENDABLE
158 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
159 | @interface AVAssetExportSession : NSObject
    |            `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
160 | {
161 | @private
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1444/1460] Compiling LangChain StuffDocumentsChain.swift
/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 [#SendableClosureCaptures]
 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 [#SendableClosureCaptures]
100 |                     case AVAssetExportSession.Status.failed:
101 |                         print("Export failed. \(exporter.error!.localizedDescription)")
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h:159:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
157 | NS_SWIFT_NONSENDABLE
158 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
159 | @interface AVAssetExportSession : NSObject
    |            `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
160 | {
161 | @private
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1445/1460] Compiling LangChain LLMRouterChain.swift
/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 [#SendableClosureCaptures]
 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 [#SendableClosureCaptures]
100 |                     case AVAssetExportSession.Status.failed:
101 |                         print("Export failed. \(exporter.error!.localizedDescription)")
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h:159:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
157 | NS_SWIFT_NONSENDABLE
158 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
159 | @interface AVAssetExportSession : NSObject
    |            `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
160 | {
161 | @private
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1446/1460] Compiling LangChain MultiRouteChain.swift
/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 [#SendableClosureCaptures]
 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 [#SendableClosureCaptures]
100 |                     case AVAssetExportSession.Status.failed:
101 |                         print("Export failed. \(exporter.error!.localizedDescription)")
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h:159:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
157 | NS_SWIFT_NONSENDABLE
158 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
159 | @interface AVAssetExportSession : NSObject
    |            `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
160 | {
161 | @private
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1447/1460] Compiling LangChain AudioLoader.swift
/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 [#SendableClosureCaptures]
 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 [#SendableClosureCaptures]
100 |                     case AVAssetExportSession.Status.failed:
101 |                         print("Export failed. \(exporter.error!.localizedDescription)")
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h:159:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
157 | NS_SWIFT_NONSENDABLE
158 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
159 | @interface AVAssetExportSession : NSObject
    |            `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
160 | {
161 | @private
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1448/1460] Compiling LangChain BaseLoader.swift
/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 [#SendableClosureCaptures]
 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 [#SendableClosureCaptures]
100 |                     case AVAssetExportSession.Status.failed:
101 |                         print("Export failed. \(exporter.error!.localizedDescription)")
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h:159:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
157 | NS_SWIFT_NONSENDABLE
158 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
159 | @interface AVAssetExportSession : NSObject
    |            `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
160 | {
161 | @private
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1449/1460] Compiling LangChain BilibiliLoader.swift
/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 [#SendableClosureCaptures]
 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 [#SendableClosureCaptures]
100 |                     case AVAssetExportSession.Status.failed:
101 |                         print("Export failed. \(exporter.error!.localizedDescription)")
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h:159:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
157 | NS_SWIFT_NONSENDABLE
158 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
159 | @interface AVAssetExportSession : NSObject
    |            `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
160 | {
161 | @private
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1450/1460] Compiling LangChain HtmlLoader.swift
/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 [#SendableClosureCaptures]
 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 [#SendableClosureCaptures]
100 |                     case AVAssetExportSession.Status.failed:
101 |                         print("Export failed. \(exporter.error!.localizedDescription)")
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h:159:12: note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
157 | NS_SWIFT_NONSENDABLE
158 | API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
159 | @interface AVAssetExportSession : NSObject
    |            `- note: class 'AVAssetExportSession' does not conform to the 'Sendable' protocol
160 | {
161 | @private
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[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! (48.72s)
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.