The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Appwrite, reference main (3898bb), with Swift 6.1 for Linux on 10 Oct 2026 00:00:29 UTC.

Swift 6 data race errors: 7

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

 20 |
 21 |     // MARK: - Properties
    :
238 |
239 |         DispatchQueue.global(qos: .background).async {
240 |             self.threadGroup = MultiThreadedEventLoopGroup(numberOfThreads: 1)
    |             `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
241 |         }
242 |     }
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:260:17: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
258 |             .channelOption(socketOptions, value: 1)
259 |             .channelInitializer {
260 |                 self.openChannel(channel: $0)
    |                 `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
261 |             }
262 |
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:282:56: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
280 |             upgraders: [basicUpgrader],
281 |             completionHandler: { context in
282 |                 context.channel.pipeline.removeHandler(httpHandler, promise: nil)
    |                                                        `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
283 |             }
284 |         )
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/HTTPHandler.swift:8:7: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 6 | ///
 7 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 8 | class HTTPHandler {
   |       `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 9 |
10 |     unowned let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:286:74: warning: type 'any NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
284 |         )
285 |
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
    |                                                                          `- warning: type 'any NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
288 |                 if self.tlsEnabled {
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:287:48: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
285 |
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
    |                                                `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
288 |                 if self.tlsEnabled {
289 |                     let tlsConfig = TLSConfiguration.makeClientConfiguration()
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/HTTPHandler.swift:8:7: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 6 | ///
 7 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 8 | class HTTPHandler {
   |       `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 9 |
10 |     unowned let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:293:56: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
291 |                     let sslHandler = try! NIOSSLClientHandler(
292 |                         context: sslContext, serverHostname: self.host)
293 |                     return channel.pipeline.addHandler(sslHandler, position: .first)
    |                                                        `- warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
294 |                 } else {
295 |                     return channel.eventLoop.makeSucceededFuture(())
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLClientHandler.swift:294:1: note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
292 | #if compiler(<6.2)
293 | @available(*, unavailable)
294 | extension NIOSSLClientHandler: Sendable {}
    | `- note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
295 | #endif
296 |
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:275:17: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
273 |             requestKey: self.frameKey,
274 |             upgradePipelineHandler: { channel, response in
275 |                 self.upgradePipelineHandler(channel: channel, response: response)
    |                 `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
276 |             }
277 |         )
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:282:56: warning: capture of 'httpHandler' with non-sendable type 'HTTPHandler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
280 |             upgraders: [basicUpgrader],
281 |             completionHandler: { context in
282 |                 context.channel.pipeline.removeHandler(httpHandler, promise: nil)
    |                                                        `- warning: capture of 'httpHandler' with non-sendable type 'HTTPHandler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
283 |             }
284 |         )
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/HTTPHandler.swift:8:7: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 6 | ///
 7 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 8 | class HTTPHandler {
   |       `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 9 |
10 |     unowned let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:287:48: warning: capture of 'httpHandler' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
285 |
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
    |                                                `- warning: capture of 'httpHandler' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
288 |                 if self.tlsEnabled {
289 |                     let tlsConfig = TLSConfiguration.makeClientConfiguration()
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/HTTPHandler.swift:8:7: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 6 | ///
 7 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 8 | class HTTPHandler {
   |       `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 9 |
10 |     unowned let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:288:20: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
288 |                 if self.tlsEnabled {
    |                    `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
289 |                     let tlsConfig = TLSConfiguration.makeClientConfiguration()
290 |                     let sslContext = try! NIOSSLContext(configuration: tlsConfig)
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:288:20: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
288 |                 if self.tlsEnabled {
    |                    `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
289 |                     let tlsConfig = TLSConfiguration.makeClientConfiguration()
290 |                     let sslContext = try! NIOSSLContext(configuration: tlsConfig)
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:310:44: warning: type 'MessageHandler' does not conform to the 'Sendable' protocol
308 |         }
309 |
310 |         return channel.pipeline.addHandler(handler).map {
    |                                            `- warning: type 'MessageHandler' does not conform to the 'Sendable' protocol
311 |             if let delegate = self.delegate {
312 |                 delegate.onOpen(channel: channel)
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/MessageHandler.swift:13:7: note: class 'MessageHandler' does not conform to the 'Sendable' protocol
 11 | ///
 12 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 13 | class MessageHandler {
    |       `- note: class 'MessageHandler' does not conform to the 'Sendable' protocol
 14 |
 15 |     private let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:311:31: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
309 |
310 |         return channel.pipeline.addHandler(handler).map {
311 |             if let delegate = self.delegate {
    |                               `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
312 |                 delegate.onOpen(channel: channel)
313 |             } else {
[1258/1282] Compiling Appwrite MessageHandler.swift
/host/spi-builder-workspace/Sources/Appwrite/StreamingDelegate.swift:5:7: warning: non-final class 'StreamingDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  3 | import NIOHTTP1
  4 |
  5 | class StreamingDelegate: HTTPClientResponseDelegate {
    |       `- warning: non-final class 'StreamingDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  6 |
  7 |     public typealias Response = HTTPClient.Response
/host/spi-builder-workspace/Sources/Appwrite/StreamingDelegate.swift:17:9: warning: stored property 'state' of 'Sendable'-conforming class 'StreamingDelegate' is mutable; this is an error in the Swift 6 language mode
 15 |     }
 16 |
 17 |     var state = State.idle
    |         `- warning: stored property 'state' of 'Sendable'-conforming class 'StreamingDelegate' is mutable; this is an error in the Swift 6 language mode
 18 |     let request: HTTPClient.Request
 19 |
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:213:13: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
211 |
212 |         DispatchQueue.global(qos: .background).async {
213 |             self.threadGroup = MultiThreadedEventLoopGroup(numberOfThreads: 1)
    |             `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
214 |         }
215 |     }
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:240:13: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
238 |
239 |         DispatchQueue.global(qos: .background).async {
240 |             self.threadGroup = MultiThreadedEventLoopGroup(numberOfThreads: 1)
    |             `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
241 |         }
242 |     }
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:260:17: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
258 |             .channelOption(socketOptions, value: 1)
259 |             .channelInitializer {
260 |                 self.openChannel(channel: $0)
    |                 `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
261 |             }
262 |
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:282:56: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
280 |             upgraders: [basicUpgrader],
281 |             completionHandler: { context in
282 |                 context.channel.pipeline.removeHandler(httpHandler, promise: nil)
    |                                                        `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
283 |             }
284 |         )
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/HTTPHandler.swift:8:7: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 6 | ///
 7 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 8 | class HTTPHandler {
   |       `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 9 |
10 |     unowned let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:286:74: warning: type 'any NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
284 |         )
285 |
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
    |                                                                          `- warning: type 'any NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
288 |                 if self.tlsEnabled {
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:287:48: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
285 |
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
    |                                                `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
288 |                 if self.tlsEnabled {
289 |                     let tlsConfig = TLSConfiguration.makeClientConfiguration()
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/HTTPHandler.swift:8:7: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 6 | ///
 7 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 8 | class HTTPHandler {
   |       `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 9 |
10 |     unowned let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:293:56: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
291 |                     let sslHandler = try! NIOSSLClientHandler(
292 |                         context: sslContext, serverHostname: self.host)
293 |                     return channel.pipeline.addHandler(sslHandler, position: .first)
    |                                                        `- warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
294 |                 } else {
295 |                     return channel.eventLoop.makeSucceededFuture(())
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLClientHandler.swift:294:1: note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
292 | #if compiler(<6.2)
293 | @available(*, unavailable)
294 | extension NIOSSLClientHandler: Sendable {}
    | `- note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
295 | #endif
296 |
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:275:17: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
273 |             requestKey: self.frameKey,
274 |             upgradePipelineHandler: { channel, response in
275 |                 self.upgradePipelineHandler(channel: channel, response: response)
    |                 `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
276 |             }
277 |         )
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:282:56: warning: capture of 'httpHandler' with non-sendable type 'HTTPHandler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
280 |             upgraders: [basicUpgrader],
281 |             completionHandler: { context in
282 |                 context.channel.pipeline.removeHandler(httpHandler, promise: nil)
    |                                                        `- warning: capture of 'httpHandler' with non-sendable type 'HTTPHandler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
283 |             }
284 |         )
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/HTTPHandler.swift:8:7: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 6 | ///
 7 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 8 | class HTTPHandler {
   |       `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 9 |
10 |     unowned let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:287:48: warning: capture of 'httpHandler' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
285 |
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
    |                                                `- warning: capture of 'httpHandler' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
288 |                 if self.tlsEnabled {
289 |                     let tlsConfig = TLSConfiguration.makeClientConfiguration()
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/HTTPHandler.swift:8:7: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 6 | ///
 7 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 8 | class HTTPHandler {
   |       `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 9 |
10 |     unowned let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:288:20: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
288 |                 if self.tlsEnabled {
    |                    `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
289 |                     let tlsConfig = TLSConfiguration.makeClientConfiguration()
290 |                     let sslContext = try! NIOSSLContext(configuration: tlsConfig)
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:288:20: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
288 |                 if self.tlsEnabled {
    |                    `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
289 |                     let tlsConfig = TLSConfiguration.makeClientConfiguration()
290 |                     let sslContext = try! NIOSSLContext(configuration: tlsConfig)
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:310:44: warning: type 'MessageHandler' does not conform to the 'Sendable' protocol
308 |         }
309 |
310 |         return channel.pipeline.addHandler(handler).map {
    |                                            `- warning: type 'MessageHandler' does not conform to the 'Sendable' protocol
311 |             if let delegate = self.delegate {
312 |                 delegate.onOpen(channel: channel)
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/MessageHandler.swift:13:7: note: class 'MessageHandler' does not conform to the 'Sendable' protocol
 11 | ///
 12 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 13 | class MessageHandler {
    |       `- note: class 'MessageHandler' does not conform to the 'Sendable' protocol
 14 |
 15 |     private let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:311:31: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
309 |
310 |         return channel.pipeline.addHandler(handler).map {
311 |             if let delegate = self.delegate {
    |                               `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
312 |                 delegate.onOpen(channel: channel)
313 |             } else {
[1259/1282] Compiling Appwrite WebSocketClient.swift
/host/spi-builder-workspace/Sources/Appwrite/StreamingDelegate.swift:5:7: warning: non-final class 'StreamingDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  3 | import NIOHTTP1
  4 |
  5 | class StreamingDelegate: HTTPClientResponseDelegate {
    |       `- warning: non-final class 'StreamingDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  6 |
  7 |     public typealias Response = HTTPClient.Response
/host/spi-builder-workspace/Sources/Appwrite/StreamingDelegate.swift:17:9: warning: stored property 'state' of 'Sendable'-conforming class 'StreamingDelegate' is mutable; this is an error in the Swift 6 language mode
 15 |     }
 16 |
 17 |     var state = State.idle
    |         `- warning: stored property 'state' of 'Sendable'-conforming class 'StreamingDelegate' is mutable; this is an error in the Swift 6 language mode
 18 |     let request: HTTPClient.Request
 19 |
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:213:13: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
211 |
212 |         DispatchQueue.global(qos: .background).async {
213 |             self.threadGroup = MultiThreadedEventLoopGroup(numberOfThreads: 1)
    |             `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
214 |         }
215 |     }
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:240:13: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
238 |
239 |         DispatchQueue.global(qos: .background).async {
240 |             self.threadGroup = MultiThreadedEventLoopGroup(numberOfThreads: 1)
    |             `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
241 |         }
242 |     }
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:260:17: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
258 |             .channelOption(socketOptions, value: 1)
259 |             .channelInitializer {
260 |                 self.openChannel(channel: $0)
    |                 `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
261 |             }
262 |
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:282:56: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
280 |             upgraders: [basicUpgrader],
281 |             completionHandler: { context in
282 |                 context.channel.pipeline.removeHandler(httpHandler, promise: nil)
    |                                                        `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
283 |             }
284 |         )
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/HTTPHandler.swift:8:7: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 6 | ///
 7 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 8 | class HTTPHandler {
   |       `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 9 |
10 |     unowned let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:286:74: warning: type 'any NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
284 |         )
285 |
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
    |                                                                          `- warning: type 'any NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
288 |                 if self.tlsEnabled {
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:287:48: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
285 |
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
    |                                                `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
288 |                 if self.tlsEnabled {
289 |                     let tlsConfig = TLSConfiguration.makeClientConfiguration()
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/HTTPHandler.swift:8:7: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 6 | ///
 7 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 8 | class HTTPHandler {
   |       `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 9 |
10 |     unowned let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:293:56: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
291 |                     let sslHandler = try! NIOSSLClientHandler(
292 |                         context: sslContext, serverHostname: self.host)
293 |                     return channel.pipeline.addHandler(sslHandler, position: .first)
    |                                                        `- warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
294 |                 } else {
295 |                     return channel.eventLoop.makeSucceededFuture(())
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLClientHandler.swift:294:1: note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
292 | #if compiler(<6.2)
293 | @available(*, unavailable)
294 | extension NIOSSLClientHandler: Sendable {}
    | `- note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
295 | #endif
296 |
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:275:17: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
273 |             requestKey: self.frameKey,
274 |             upgradePipelineHandler: { channel, response in
275 |                 self.upgradePipelineHandler(channel: channel, response: response)
    |                 `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
276 |             }
277 |         )
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:282:56: warning: capture of 'httpHandler' with non-sendable type 'HTTPHandler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
280 |             upgraders: [basicUpgrader],
281 |             completionHandler: { context in
282 |                 context.channel.pipeline.removeHandler(httpHandler, promise: nil)
    |                                                        `- warning: capture of 'httpHandler' with non-sendable type 'HTTPHandler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
283 |             }
284 |         )
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/HTTPHandler.swift:8:7: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 6 | ///
 7 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 8 | class HTTPHandler {
   |       `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 9 |
10 |     unowned let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:287:48: warning: capture of 'httpHandler' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
285 |
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
    |                                                `- warning: capture of 'httpHandler' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
288 |                 if self.tlsEnabled {
289 |                     let tlsConfig = TLSConfiguration.makeClientConfiguration()
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/HTTPHandler.swift:8:7: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 6 | ///
 7 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 8 | class HTTPHandler {
   |       `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 9 |
10 |     unowned let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:288:20: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
288 |                 if self.tlsEnabled {
    |                    `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
289 |                     let tlsConfig = TLSConfiguration.makeClientConfiguration()
290 |                     let sslContext = try! NIOSSLContext(configuration: tlsConfig)
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:288:20: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
288 |                 if self.tlsEnabled {
    |                    `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
289 |                     let tlsConfig = TLSConfiguration.makeClientConfiguration()
290 |                     let sslContext = try! NIOSSLContext(configuration: tlsConfig)
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:310:44: warning: type 'MessageHandler' does not conform to the 'Sendable' protocol
308 |         }
309 |
310 |         return channel.pipeline.addHandler(handler).map {
    |                                            `- warning: type 'MessageHandler' does not conform to the 'Sendable' protocol
311 |             if let delegate = self.delegate {
312 |                 delegate.onOpen(channel: channel)
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/MessageHandler.swift:13:7: note: class 'MessageHandler' does not conform to the 'Sendable' protocol
 11 | ///
 12 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 13 | class MessageHandler {
    |       `- note: class 'MessageHandler' does not conform to the 'Sendable' protocol
 14 |
 15 |     private let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:311:31: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
309 |
310 |         return channel.pipeline.addHandler(handler).map {
311 |             if let delegate = self.delegate {
    |                               `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
312 |                 delegate.onOpen(channel: channel)
313 |             } else {
[1260/1282] Compiling Appwrite WebSocketClientDelegate.swift
/host/spi-builder-workspace/Sources/Appwrite/StreamingDelegate.swift:5:7: warning: non-final class 'StreamingDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  3 | import NIOHTTP1
  4 |
  5 | class StreamingDelegate: HTTPClientResponseDelegate {
    |       `- warning: non-final class 'StreamingDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  6 |
  7 |     public typealias Response = HTTPClient.Response
/host/spi-builder-workspace/Sources/Appwrite/StreamingDelegate.swift:17:9: warning: stored property 'state' of 'Sendable'-conforming class 'StreamingDelegate' is mutable; this is an error in the Swift 6 language mode
 15 |     }
 16 |
 17 |     var state = State.idle
    |         `- warning: stored property 'state' of 'Sendable'-conforming class 'StreamingDelegate' is mutable; this is an error in the Swift 6 language mode
 18 |     let request: HTTPClient.Request
 19 |
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:213:13: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
211 |
212 |         DispatchQueue.global(qos: .background).async {
213 |             self.threadGroup = MultiThreadedEventLoopGroup(numberOfThreads: 1)
    |             `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
214 |         }
215 |     }
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:240:13: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
238 |
239 |         DispatchQueue.global(qos: .background).async {
240 |             self.threadGroup = MultiThreadedEventLoopGroup(numberOfThreads: 1)
    |             `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
241 |         }
242 |     }
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:260:17: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
258 |             .channelOption(socketOptions, value: 1)
259 |             .channelInitializer {
260 |                 self.openChannel(channel: $0)
    |                 `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
261 |             }
262 |
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:282:56: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
280 |             upgraders: [basicUpgrader],
281 |             completionHandler: { context in
282 |                 context.channel.pipeline.removeHandler(httpHandler, promise: nil)
    |                                                        `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
283 |             }
284 |         )
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/HTTPHandler.swift:8:7: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 6 | ///
 7 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 8 | class HTTPHandler {
   |       `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 9 |
10 |     unowned let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:286:74: warning: type 'any NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
284 |         )
285 |
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
    |                                                                          `- warning: type 'any NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
288 |                 if self.tlsEnabled {
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:287:48: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
285 |
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
    |                                                `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
288 |                 if self.tlsEnabled {
289 |                     let tlsConfig = TLSConfiguration.makeClientConfiguration()
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/HTTPHandler.swift:8:7: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 6 | ///
 7 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 8 | class HTTPHandler {
   |       `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 9 |
10 |     unowned let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:293:56: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
291 |                     let sslHandler = try! NIOSSLClientHandler(
292 |                         context: sslContext, serverHostname: self.host)
293 |                     return channel.pipeline.addHandler(sslHandler, position: .first)
    |                                                        `- warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
294 |                 } else {
295 |                     return channel.eventLoop.makeSucceededFuture(())
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLClientHandler.swift:294:1: note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
292 | #if compiler(<6.2)
293 | @available(*, unavailable)
294 | extension NIOSSLClientHandler: Sendable {}
    | `- note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
295 | #endif
296 |
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:275:17: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
273 |             requestKey: self.frameKey,
274 |             upgradePipelineHandler: { channel, response in
275 |                 self.upgradePipelineHandler(channel: channel, response: response)
    |                 `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
276 |             }
277 |         )
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:282:56: warning: capture of 'httpHandler' with non-sendable type 'HTTPHandler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
280 |             upgraders: [basicUpgrader],
281 |             completionHandler: { context in
282 |                 context.channel.pipeline.removeHandler(httpHandler, promise: nil)
    |                                                        `- warning: capture of 'httpHandler' with non-sendable type 'HTTPHandler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
283 |             }
284 |         )
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/HTTPHandler.swift:8:7: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 6 | ///
 7 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 8 | class HTTPHandler {
   |       `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 9 |
10 |     unowned let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:287:48: warning: capture of 'httpHandler' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
285 |
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
    |                                                `- warning: capture of 'httpHandler' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
288 |                 if self.tlsEnabled {
289 |                     let tlsConfig = TLSConfiguration.makeClientConfiguration()
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/HTTPHandler.swift:8:7: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 6 | ///
 7 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 8 | class HTTPHandler {
   |       `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 9 |
10 |     unowned let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:288:20: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
288 |                 if self.tlsEnabled {
    |                    `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
289 |                     let tlsConfig = TLSConfiguration.makeClientConfiguration()
290 |                     let sslContext = try! NIOSSLContext(configuration: tlsConfig)
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:288:20: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
288 |                 if self.tlsEnabled {
    |                    `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
289 |                     let tlsConfig = TLSConfiguration.makeClientConfiguration()
290 |                     let sslContext = try! NIOSSLContext(configuration: tlsConfig)
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:310:44: warning: type 'MessageHandler' does not conform to the 'Sendable' protocol
308 |         }
309 |
310 |         return channel.pipeline.addHandler(handler).map {
    |                                            `- warning: type 'MessageHandler' does not conform to the 'Sendable' protocol
311 |             if let delegate = self.delegate {
312 |                 delegate.onOpen(channel: channel)
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/MessageHandler.swift:13:7: note: class 'MessageHandler' does not conform to the 'Sendable' protocol
 11 | ///
 12 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 13 | class MessageHandler {
    |       `- note: class 'MessageHandler' does not conform to the 'Sendable' protocol
 14 |
 15 |     private let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:311:31: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
309 |
310 |         return channel.pipeline.addHandler(handler).map {
311 |             if let delegate = self.delegate {
    |                               `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
312 |                 delegate.onOpen(channel: channel)
313 |             } else {
[1261/1282] Compiling Appwrite WebSocketClientError.swift
/host/spi-builder-workspace/Sources/Appwrite/StreamingDelegate.swift:5:7: warning: non-final class 'StreamingDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  3 | import NIOHTTP1
  4 |
  5 | class StreamingDelegate: HTTPClientResponseDelegate {
    |       `- warning: non-final class 'StreamingDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  6 |
  7 |     public typealias Response = HTTPClient.Response
/host/spi-builder-workspace/Sources/Appwrite/StreamingDelegate.swift:17:9: warning: stored property 'state' of 'Sendable'-conforming class 'StreamingDelegate' is mutable; this is an error in the Swift 6 language mode
 15 |     }
 16 |
 17 |     var state = State.idle
    |         `- warning: stored property 'state' of 'Sendable'-conforming class 'StreamingDelegate' is mutable; this is an error in the Swift 6 language mode
 18 |     let request: HTTPClient.Request
 19 |
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:213:13: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
211 |
212 |         DispatchQueue.global(qos: .background).async {
213 |             self.threadGroup = MultiThreadedEventLoopGroup(numberOfThreads: 1)
    |             `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
214 |         }
215 |     }
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:240:13: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
238 |
239 |         DispatchQueue.global(qos: .background).async {
240 |             self.threadGroup = MultiThreadedEventLoopGroup(numberOfThreads: 1)
    |             `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
241 |         }
242 |     }
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:260:17: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
258 |             .channelOption(socketOptions, value: 1)
259 |             .channelInitializer {
260 |                 self.openChannel(channel: $0)
    |                 `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
261 |             }
262 |
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:282:56: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
280 |             upgraders: [basicUpgrader],
281 |             completionHandler: { context in
282 |                 context.channel.pipeline.removeHandler(httpHandler, promise: nil)
    |                                                        `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
283 |             }
284 |         )
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/HTTPHandler.swift:8:7: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 6 | ///
 7 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 8 | class HTTPHandler {
   |       `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 9 |
10 |     unowned let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:286:74: warning: type 'any NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
284 |         )
285 |
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
    |                                                                          `- warning: type 'any NIOHTTPClientProtocolUpgrader' does not conform to the 'Sendable' protocol
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
288 |                 if self.tlsEnabled {
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:287:48: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
285 |
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
    |                                                `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
288 |                 if self.tlsEnabled {
289 |                     let tlsConfig = TLSConfiguration.makeClientConfiguration()
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/HTTPHandler.swift:8:7: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 6 | ///
 7 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 8 | class HTTPHandler {
   |       `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 9 |
10 |     unowned let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:293:56: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
291 |                     let sslHandler = try! NIOSSLClientHandler(
292 |                         context: sslContext, serverHostname: self.host)
293 |                     return channel.pipeline.addHandler(sslHandler, position: .first)
    |                                                        `- warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
294 |                 } else {
295 |                     return channel.eventLoop.makeSucceededFuture(())
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLClientHandler.swift:294:1: note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
292 | #if compiler(<6.2)
293 | @available(*, unavailable)
294 | extension NIOSSLClientHandler: Sendable {}
    | `- note: conformance of 'NIOSSLClientHandler' to 'Sendable' has been explicitly marked unavailable here
295 | #endif
296 |
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:275:17: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
273 |             requestKey: self.frameKey,
274 |             upgradePipelineHandler: { channel, response in
275 |                 self.upgradePipelineHandler(channel: channel, response: response)
    |                 `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
276 |             }
277 |         )
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:282:56: warning: capture of 'httpHandler' with non-sendable type 'HTTPHandler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
280 |             upgraders: [basicUpgrader],
281 |             completionHandler: { context in
282 |                 context.channel.pipeline.removeHandler(httpHandler, promise: nil)
    |                                                        `- warning: capture of 'httpHandler' with non-sendable type 'HTTPHandler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
283 |             }
284 |         )
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/HTTPHandler.swift:8:7: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 6 | ///
 7 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 8 | class HTTPHandler {
   |       `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 9 |
10 |     unowned let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:287:48: warning: capture of 'httpHandler' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
285 |
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
    |                                                `- warning: capture of 'httpHandler' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
288 |                 if self.tlsEnabled {
289 |                     let tlsConfig = TLSConfiguration.makeClientConfiguration()
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/HTTPHandler.swift:8:7: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 6 | ///
 7 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 8 | class HTTPHandler {
   |       `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
 9 |
10 |     unowned let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:288:20: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
288 |                 if self.tlsEnabled {
    |                    `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
289 |                     let tlsConfig = TLSConfiguration.makeClientConfiguration()
290 |                     let sslContext = try! NIOSSLContext(configuration: tlsConfig)
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:288:20: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
286 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap { _ in
287 |             return channel.pipeline.addHandler(httpHandler).flatMap { _ in
288 |                 if self.tlsEnabled {
    |                    `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
289 |                     let tlsConfig = TLSConfiguration.makeClientConfiguration()
290 |                     let sslContext = try! NIOSSLContext(configuration: tlsConfig)
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:310:44: warning: type 'MessageHandler' does not conform to the 'Sendable' protocol
308 |         }
309 |
310 |         return channel.pipeline.addHandler(handler).map {
    |                                            `- warning: type 'MessageHandler' does not conform to the 'Sendable' protocol
311 |             if let delegate = self.delegate {
312 |                 delegate.onOpen(channel: channel)
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/MessageHandler.swift:13:7: note: class 'MessageHandler' does not conform to the 'Sendable' protocol
 11 | ///
 12 | /// Adds the required headers to the outbound upgrade connection request and handles success and failures responses.
 13 | class MessageHandler {
    |       `- note: class 'MessageHandler' does not conform to the 'Sendable' protocol
 14 |
 15 |     private let client: WebSocketClient
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:311:31: warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
 17 | ///
 18 | /// Creates a connection to the remote host and allows setting callbacks for messages sent from the WebSocket server.
 19 | public class WebSocketClient {
    |              `- note: class 'WebSocketClient' does not conform to the 'Sendable' protocol
 20 |
 21 |     // MARK: - Properties
    :
309 |
310 |         return channel.pipeline.addHandler(handler).map {
311 |             if let delegate = self.delegate {
    |                               `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
312 |                 delegate.onOpen(channel: channel)
313 |             } else {
[1262/1282] Compiling Appwrite Push.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:602:17: warning: capture of 'self' with non-sendable type 'Push?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 213 | ///     // sub.update(background: true, title: "Messages")
 214 | ///     sub.unsubscribe()
 215 | open class Push: Service {
     |            `- note: class 'Push' does not conform to the 'Sendable' protocol
 216 |     // Fixed keep-alive (PINGREQ interval) in seconds — not exposed as an option.
 217 |     private static let keepAliveSeconds: UInt16 = 60
     :
 600 |                 // Already disconnected (e.g. the broker dropped the connection); nothing to send.
 601 |             } catch {
 602 |                 self?.surface(Push.describe(error))
     |                 `- warning: capture of 'self' with non-sendable type 'Push?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 603 |             }
 604 |             do {
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:808:38: warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 806 |             port: port,
 807 |             identifier: id,
 808 |             eventLoopGroupProvider: .createNew,
     |                                      `- warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 809 |             configuration: configuration
 810 |         )
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:956:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 954 |     // report its failure. Failures after a deliberate close() are its own teardown, not errors.
 955 |     private func inBackground(_ operation: @escaping () async throws -> Void) {
 956 |         Task { [weak self] in
     |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 957 |             do {
 958 |                 try await operation()
     |                           `- note: closure captures non-Sendable 'operation'
 959 |             } catch {
 960 |                 guard let self, !self.sync.sync(execute: { self.closing }) else { return }
     |                           `- note: closure captures non-Sendable 'self'
 961 |                 self.surface(Push.describe(error))
 962 |             }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:651:32: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 649 |             self.connectedKey = key
 650 |             let epoch = self.connectionEpoch
 651 |             let created = Task { () throws -> MQTTClient in
     |                                `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 652 |                 do {
 653 |                     let client = try await self.open()
     |                                            `- note: closure captures 'self' which is accessible to code in the current task
 654 |                     let current = self.sync.sync { () -> Bool in
 655 |                         guard self.connectionEpoch == epoch else { return false }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:879:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 877 |         }
 878 |         guard let client else { return }
 879 |         Task {
     |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 880 |             await reconnectLoop(client)
     |                   `- note: closure captures 'self' which is accessible to code in the current task
 881 |             sync.sync { self.reconnecting = false }
 882 |         }
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:63:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 61 |     private func startHeartbeat() {
 62 |         stopHeartbeat()
 63 |         heartbeatTask = Task {
    |                              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 64 |             do {
 65 |                 while !Task.isCancelled {
 66 |                     if let client = socketClient, client.isConnected {
    |                                     `- note: closure captures 'self' which is accessible to code in the current task
 67 |                         client.send(text: #"{"type": "ping"}"#)
 68 |                     }
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:101:51: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 99 |                 return existing
100 |             }
101 |             let newTask = Task<Void, Swift.Error> { [weak self] in
    |                                                   `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
102 |                 guard let self = self else { return }
    |                                  `- note: closure captures 'self' which is accessible to code in the current task
103 |                 defer {
104 |                     self.connectSync.sync { self.socketCreationTask = nil }
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:348:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
346 |         }
347 |         if needsSocket {
348 |             Task { [weak self] in
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
349 |                 do {
350 |                     try await self?.createSocket()
    |                               `- note: closure captures 'self' which is accessible to code in the current task
351 |                 } catch {
352 |                     Realtime.logDiagnostic("Failed to open realtime socket for presence: \(error)")
[1263/1282] Compiling Appwrite Realtime.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:602:17: warning: capture of 'self' with non-sendable type 'Push?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 213 | ///     // sub.update(background: true, title: "Messages")
 214 | ///     sub.unsubscribe()
 215 | open class Push: Service {
     |            `- note: class 'Push' does not conform to the 'Sendable' protocol
 216 |     // Fixed keep-alive (PINGREQ interval) in seconds — not exposed as an option.
 217 |     private static let keepAliveSeconds: UInt16 = 60
     :
 600 |                 // Already disconnected (e.g. the broker dropped the connection); nothing to send.
 601 |             } catch {
 602 |                 self?.surface(Push.describe(error))
     |                 `- warning: capture of 'self' with non-sendable type 'Push?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 603 |             }
 604 |             do {
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:808:38: warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 806 |             port: port,
 807 |             identifier: id,
 808 |             eventLoopGroupProvider: .createNew,
     |                                      `- warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 809 |             configuration: configuration
 810 |         )
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:956:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 954 |     // report its failure. Failures after a deliberate close() are its own teardown, not errors.
 955 |     private func inBackground(_ operation: @escaping () async throws -> Void) {
 956 |         Task { [weak self] in
     |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 957 |             do {
 958 |                 try await operation()
     |                           `- note: closure captures non-Sendable 'operation'
 959 |             } catch {
 960 |                 guard let self, !self.sync.sync(execute: { self.closing }) else { return }
     |                           `- note: closure captures non-Sendable 'self'
 961 |                 self.surface(Push.describe(error))
 962 |             }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:651:32: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 649 |             self.connectedKey = key
 650 |             let epoch = self.connectionEpoch
 651 |             let created = Task { () throws -> MQTTClient in
     |                                `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 652 |                 do {
 653 |                     let client = try await self.open()
     |                                            `- note: closure captures 'self' which is accessible to code in the current task
 654 |                     let current = self.sync.sync { () -> Bool in
 655 |                         guard self.connectionEpoch == epoch else { return false }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:879:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 877 |         }
 878 |         guard let client else { return }
 879 |         Task {
     |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 880 |             await reconnectLoop(client)
     |                   `- note: closure captures 'self' which is accessible to code in the current task
 881 |             sync.sync { self.reconnecting = false }
 882 |         }
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:63:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 61 |     private func startHeartbeat() {
 62 |         stopHeartbeat()
 63 |         heartbeatTask = Task {
    |                              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 64 |             do {
 65 |                 while !Task.isCancelled {
 66 |                     if let client = socketClient, client.isConnected {
    |                                     `- note: closure captures 'self' which is accessible to code in the current task
 67 |                         client.send(text: #"{"type": "ping"}"#)
 68 |                     }
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:101:51: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 99 |                 return existing
100 |             }
101 |             let newTask = Task<Void, Swift.Error> { [weak self] in
    |                                                   `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
102 |                 guard let self = self else { return }
    |                                  `- note: closure captures 'self' which is accessible to code in the current task
103 |                 defer {
104 |                     self.connectSync.sync { self.socketCreationTask = nil }
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:348:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
346 |         }
347 |         if needsSocket {
348 |             Task { [weak self] in
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
349 |                 do {
350 |                     try await self?.createSocket()
    |                               `- note: closure captures 'self' which is accessible to code in the current task
351 |                 } catch {
352 |                     Realtime.logDiagnostic("Failed to open realtime socket for presence: \(error)")
[1264/1282] Compiling Appwrite Service.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:602:17: warning: capture of 'self' with non-sendable type 'Push?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 213 | ///     // sub.update(background: true, title: "Messages")
 214 | ///     sub.unsubscribe()
 215 | open class Push: Service {
     |            `- note: class 'Push' does not conform to the 'Sendable' protocol
 216 |     // Fixed keep-alive (PINGREQ interval) in seconds — not exposed as an option.
 217 |     private static let keepAliveSeconds: UInt16 = 60
     :
 600 |                 // Already disconnected (e.g. the broker dropped the connection); nothing to send.
 601 |             } catch {
 602 |                 self?.surface(Push.describe(error))
     |                 `- warning: capture of 'self' with non-sendable type 'Push?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 603 |             }
 604 |             do {
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:808:38: warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 806 |             port: port,
 807 |             identifier: id,
 808 |             eventLoopGroupProvider: .createNew,
     |                                      `- warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 809 |             configuration: configuration
 810 |         )
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:956:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 954 |     // report its failure. Failures after a deliberate close() are its own teardown, not errors.
 955 |     private func inBackground(_ operation: @escaping () async throws -> Void) {
 956 |         Task { [weak self] in
     |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 957 |             do {
 958 |                 try await operation()
     |                           `- note: closure captures non-Sendable 'operation'
 959 |             } catch {
 960 |                 guard let self, !self.sync.sync(execute: { self.closing }) else { return }
     |                           `- note: closure captures non-Sendable 'self'
 961 |                 self.surface(Push.describe(error))
 962 |             }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:651:32: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 649 |             self.connectedKey = key
 650 |             let epoch = self.connectionEpoch
 651 |             let created = Task { () throws -> MQTTClient in
     |                                `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 652 |                 do {
 653 |                     let client = try await self.open()
     |                                            `- note: closure captures 'self' which is accessible to code in the current task
 654 |                     let current = self.sync.sync { () -> Bool in
 655 |                         guard self.connectionEpoch == epoch else { return false }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:879:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 877 |         }
 878 |         guard let client else { return }
 879 |         Task {
     |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 880 |             await reconnectLoop(client)
     |                   `- note: closure captures 'self' which is accessible to code in the current task
 881 |             sync.sync { self.reconnecting = false }
 882 |         }
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:63:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 61 |     private func startHeartbeat() {
 62 |         stopHeartbeat()
 63 |         heartbeatTask = Task {
    |                              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 64 |             do {
 65 |                 while !Task.isCancelled {
 66 |                     if let client = socketClient, client.isConnected {
    |                                     `- note: closure captures 'self' which is accessible to code in the current task
 67 |                         client.send(text: #"{"type": "ping"}"#)
 68 |                     }
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:101:51: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 99 |                 return existing
100 |             }
101 |             let newTask = Task<Void, Swift.Error> { [weak self] in
    |                                                   `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
102 |                 guard let self = self else { return }
    |                                  `- note: closure captures 'self' which is accessible to code in the current task
103 |                 defer {
104 |                     self.connectSync.sync { self.socketCreationTask = nil }
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:348:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
346 |         }
347 |         if needsSocket {
348 |             Task { [weak self] in
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
349 |                 do {
350 |                     try await self?.createSocket()
    |                               `- note: closure captures 'self' which is accessible to code in the current task
351 |                 } catch {
352 |                     Realtime.logDiagnostic("Failed to open realtime socket for presence: \(error)")
[1265/1282] Compiling Appwrite Storage.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:602:17: warning: capture of 'self' with non-sendable type 'Push?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 213 | ///     // sub.update(background: true, title: "Messages")
 214 | ///     sub.unsubscribe()
 215 | open class Push: Service {
     |            `- note: class 'Push' does not conform to the 'Sendable' protocol
 216 |     // Fixed keep-alive (PINGREQ interval) in seconds — not exposed as an option.
 217 |     private static let keepAliveSeconds: UInt16 = 60
     :
 600 |                 // Already disconnected (e.g. the broker dropped the connection); nothing to send.
 601 |             } catch {
 602 |                 self?.surface(Push.describe(error))
     |                 `- warning: capture of 'self' with non-sendable type 'Push?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 603 |             }
 604 |             do {
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:808:38: warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 806 |             port: port,
 807 |             identifier: id,
 808 |             eventLoopGroupProvider: .createNew,
     |                                      `- warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 809 |             configuration: configuration
 810 |         )
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:956:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 954 |     // report its failure. Failures after a deliberate close() are its own teardown, not errors.
 955 |     private func inBackground(_ operation: @escaping () async throws -> Void) {
 956 |         Task { [weak self] in
     |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 957 |             do {
 958 |                 try await operation()
     |                           `- note: closure captures non-Sendable 'operation'
 959 |             } catch {
 960 |                 guard let self, !self.sync.sync(execute: { self.closing }) else { return }
     |                           `- note: closure captures non-Sendable 'self'
 961 |                 self.surface(Push.describe(error))
 962 |             }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:651:32: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 649 |             self.connectedKey = key
 650 |             let epoch = self.connectionEpoch
 651 |             let created = Task { () throws -> MQTTClient in
     |                                `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 652 |                 do {
 653 |                     let client = try await self.open()
     |                                            `- note: closure captures 'self' which is accessible to code in the current task
 654 |                     let current = self.sync.sync { () -> Bool in
 655 |                         guard self.connectionEpoch == epoch else { return false }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:879:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 877 |         }
 878 |         guard let client else { return }
 879 |         Task {
     |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 880 |             await reconnectLoop(client)
     |                   `- note: closure captures 'self' which is accessible to code in the current task
 881 |             sync.sync { self.reconnecting = false }
 882 |         }
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:63:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 61 |     private func startHeartbeat() {
 62 |         stopHeartbeat()
 63 |         heartbeatTask = Task {
    |                              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 64 |             do {
 65 |                 while !Task.isCancelled {
 66 |                     if let client = socketClient, client.isConnected {
    |                                     `- note: closure captures 'self' which is accessible to code in the current task
 67 |                         client.send(text: #"{"type": "ping"}"#)
 68 |                     }
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:101:51: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 99 |                 return existing
100 |             }
101 |             let newTask = Task<Void, Swift.Error> { [weak self] in
    |                                                   `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
102 |                 guard let self = self else { return }
    |                                  `- note: closure captures 'self' which is accessible to code in the current task
103 |                 defer {
104 |                     self.connectSync.sync { self.socketCreationTask = nil }
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:348:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
346 |         }
347 |         if needsSocket {
348 |             Task { [weak self] in
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
349 |                 do {
350 |                     try await self?.createSocket()
    |                               `- note: closure captures 'self' which is accessible to code in the current task
351 |                 } catch {
352 |                     Realtime.logDiagnostic("Failed to open realtime socket for presence: \(error)")
[1266/1282] Compiling Appwrite TablesDB.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:602:17: warning: capture of 'self' with non-sendable type 'Push?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 213 | ///     // sub.update(background: true, title: "Messages")
 214 | ///     sub.unsubscribe()
 215 | open class Push: Service {
     |            `- note: class 'Push' does not conform to the 'Sendable' protocol
 216 |     // Fixed keep-alive (PINGREQ interval) in seconds — not exposed as an option.
 217 |     private static let keepAliveSeconds: UInt16 = 60
     :
 600 |                 // Already disconnected (e.g. the broker dropped the connection); nothing to send.
 601 |             } catch {
 602 |                 self?.surface(Push.describe(error))
     |                 `- warning: capture of 'self' with non-sendable type 'Push?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 603 |             }
 604 |             do {
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:808:38: warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 806 |             port: port,
 807 |             identifier: id,
 808 |             eventLoopGroupProvider: .createNew,
     |                                      `- warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 809 |             configuration: configuration
 810 |         )
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:956:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 954 |     // report its failure. Failures after a deliberate close() are its own teardown, not errors.
 955 |     private func inBackground(_ operation: @escaping () async throws -> Void) {
 956 |         Task { [weak self] in
     |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 957 |             do {
 958 |                 try await operation()
     |                           `- note: closure captures non-Sendable 'operation'
 959 |             } catch {
 960 |                 guard let self, !self.sync.sync(execute: { self.closing }) else { return }
     |                           `- note: closure captures non-Sendable 'self'
 961 |                 self.surface(Push.describe(error))
 962 |             }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:651:32: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 649 |             self.connectedKey = key
 650 |             let epoch = self.connectionEpoch
 651 |             let created = Task { () throws -> MQTTClient in
     |                                `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 652 |                 do {
 653 |                     let client = try await self.open()
     |                                            `- note: closure captures 'self' which is accessible to code in the current task
 654 |                     let current = self.sync.sync { () -> Bool in
 655 |                         guard self.connectionEpoch == epoch else { return false }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:879:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 877 |         }
 878 |         guard let client else { return }
 879 |         Task {
     |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 880 |             await reconnectLoop(client)
     |                   `- note: closure captures 'self' which is accessible to code in the current task
 881 |             sync.sync { self.reconnecting = false }
 882 |         }
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:63:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 61 |     private func startHeartbeat() {
 62 |         stopHeartbeat()
 63 |         heartbeatTask = Task {
    |                              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 64 |             do {
 65 |                 while !Task.isCancelled {
 66 |                     if let client = socketClient, client.isConnected {
    |                                     `- note: closure captures 'self' which is accessible to code in the current task
 67 |                         client.send(text: #"{"type": "ping"}"#)
 68 |                     }
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:101:51: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 99 |                 return existing
100 |             }
101 |             let newTask = Task<Void, Swift.Error> { [weak self] in
    |                                                   `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
102 |                 guard let self = self else { return }
    |                                  `- note: closure captures 'self' which is accessible to code in the current task
103 |                 defer {
104 |                     self.connectSync.sync { self.socketCreationTask = nil }
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:348:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
346 |         }
347 |         if needsSocket {
348 |             Task { [weak self] in
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
349 |                 do {
350 |                     try await self?.createSocket()
    |                               `- note: closure captures 'self' which is accessible to code in the current task
351 |                 } catch {
352 |                     Realtime.logDiagnostic("Failed to open realtime socket for presence: \(error)")
[1267/1282] Compiling Appwrite Teams.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:602:17: warning: capture of 'self' with non-sendable type 'Push?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 213 | ///     // sub.update(background: true, title: "Messages")
 214 | ///     sub.unsubscribe()
 215 | open class Push: Service {
     |            `- note: class 'Push' does not conform to the 'Sendable' protocol
 216 |     // Fixed keep-alive (PINGREQ interval) in seconds — not exposed as an option.
 217 |     private static let keepAliveSeconds: UInt16 = 60
     :
 600 |                 // Already disconnected (e.g. the broker dropped the connection); nothing to send.
 601 |             } catch {
 602 |                 self?.surface(Push.describe(error))
     |                 `- warning: capture of 'self' with non-sendable type 'Push?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 603 |             }
 604 |             do {
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:808:38: warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 806 |             port: port,
 807 |             identifier: id,
 808 |             eventLoopGroupProvider: .createNew,
     |                                      `- warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 809 |             configuration: configuration
 810 |         )
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:956:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 954 |     // report its failure. Failures after a deliberate close() are its own teardown, not errors.
 955 |     private func inBackground(_ operation: @escaping () async throws -> Void) {
 956 |         Task { [weak self] in
     |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 957 |             do {
 958 |                 try await operation()
     |                           `- note: closure captures non-Sendable 'operation'
 959 |             } catch {
 960 |                 guard let self, !self.sync.sync(execute: { self.closing }) else { return }
     |                           `- note: closure captures non-Sendable 'self'
 961 |                 self.surface(Push.describe(error))
 962 |             }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:651:32: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 649 |             self.connectedKey = key
 650 |             let epoch = self.connectionEpoch
 651 |             let created = Task { () throws -> MQTTClient in
     |                                `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 652 |                 do {
 653 |                     let client = try await self.open()
     |                                            `- note: closure captures 'self' which is accessible to code in the current task
 654 |                     let current = self.sync.sync { () -> Bool in
 655 |                         guard self.connectionEpoch == epoch else { return false }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:879:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 877 |         }
 878 |         guard let client else { return }
 879 |         Task {
     |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 880 |             await reconnectLoop(client)
     |                   `- note: closure captures 'self' which is accessible to code in the current task
 881 |             sync.sync { self.reconnecting = false }
 882 |         }
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:63:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 61 |     private func startHeartbeat() {
 62 |         stopHeartbeat()
 63 |         heartbeatTask = Task {
    |                              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 64 |             do {
 65 |                 while !Task.isCancelled {
 66 |                     if let client = socketClient, client.isConnected {
    |                                     `- note: closure captures 'self' which is accessible to code in the current task
 67 |                         client.send(text: #"{"type": "ping"}"#)
 68 |                     }
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:101:51: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 99 |                 return existing
100 |             }
101 |             let newTask = Task<Void, Swift.Error> { [weak self] in
    |                                                   `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
102 |                 guard let self = self else { return }
    |                                  `- note: closure captures 'self' which is accessible to code in the current task
103 |                 defer {
104 |                     self.connectSync.sync { self.socketCreationTask = nil }
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:348:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
346 |         }
347 |         if needsSocket {
348 |             Task { [weak self] in
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
349 |                 do {
350 |                     try await self?.createSocket()
    |                               `- note: closure captures 'self' which is accessible to code in the current task
351 |                 } catch {
352 |                     Realtime.logDiagnostic("Failed to open realtime socket for presence: \(error)")
[1268/1282] Compiling Appwrite VectorsDB.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:602:17: warning: capture of 'self' with non-sendable type 'Push?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 213 | ///     // sub.update(background: true, title: "Messages")
 214 | ///     sub.unsubscribe()
 215 | open class Push: Service {
     |            `- note: class 'Push' does not conform to the 'Sendable' protocol
 216 |     // Fixed keep-alive (PINGREQ interval) in seconds — not exposed as an option.
 217 |     private static let keepAliveSeconds: UInt16 = 60
     :
 600 |                 // Already disconnected (e.g. the broker dropped the connection); nothing to send.
 601 |             } catch {
 602 |                 self?.surface(Push.describe(error))
     |                 `- warning: capture of 'self' with non-sendable type 'Push?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 603 |             }
 604 |             do {
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:808:38: warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 806 |             port: port,
 807 |             identifier: id,
 808 |             eventLoopGroupProvider: .createNew,
     |                                      `- warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 809 |             configuration: configuration
 810 |         )
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:956:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 954 |     // report its failure. Failures after a deliberate close() are its own teardown, not errors.
 955 |     private func inBackground(_ operation: @escaping () async throws -> Void) {
 956 |         Task { [weak self] in
     |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 957 |             do {
 958 |                 try await operation()
     |                           `- note: closure captures non-Sendable 'operation'
 959 |             } catch {
 960 |                 guard let self, !self.sync.sync(execute: { self.closing }) else { return }
     |                           `- note: closure captures non-Sendable 'self'
 961 |                 self.surface(Push.describe(error))
 962 |             }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:651:32: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 649 |             self.connectedKey = key
 650 |             let epoch = self.connectionEpoch
 651 |             let created = Task { () throws -> MQTTClient in
     |                                `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 652 |                 do {
 653 |                     let client = try await self.open()
     |                                            `- note: closure captures 'self' which is accessible to code in the current task
 654 |                     let current = self.sync.sync { () -> Bool in
 655 |                         guard self.connectionEpoch == epoch else { return false }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:879:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 877 |         }
 878 |         guard let client else { return }
 879 |         Task {
     |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 880 |             await reconnectLoop(client)
     |                   `- note: closure captures 'self' which is accessible to code in the current task
 881 |             sync.sync { self.reconnecting = false }
 882 |         }
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:63:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 61 |     private func startHeartbeat() {
 62 |         stopHeartbeat()
 63 |         heartbeatTask = Task {
    |                              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 64 |             do {
 65 |                 while !Task.isCancelled {
 66 |                     if let client = socketClient, client.isConnected {
    |                                     `- note: closure captures 'self' which is accessible to code in the current task
 67 |                         client.send(text: #"{"type": "ping"}"#)
 68 |                     }
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:101:51: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 99 |                 return existing
100 |             }
101 |             let newTask = Task<Void, Swift.Error> { [weak self] in
    |                                                   `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
102 |                 guard let self = self else { return }
    |                                  `- note: closure captures 'self' which is accessible to code in the current task
103 |                 defer {
104 |                     self.connectSync.sync { self.socketCreationTask = nil }
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:348:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
346 |         }
347 |         if needsSocket {
348 |             Task { [weak self] in
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
349 |                 do {
350 |                     try await self?.createSocket()
    |                               `- note: closure captures 'self' which is accessible to code in the current task
351 |                 } catch {
352 |                     Realtime.logDiagnostic("Failed to open realtime socket for presence: \(error)")
[1269/1282] Compiling Appwrite Channel.swift
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:19:23: warning: static property 'chunkSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 17 |
 18 |     // MARK: Properties
 19 |     public static var chunkSize = 5 * 1024 * 1024  // 5MB
    |                       |- warning: static property 'chunkSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'chunkSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'chunkSize' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |     public static var maxConcurrentUploads = 8
 21 |
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:20:23: warning: static property 'maxConcurrentUploads' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |     // MARK: Properties
 19 |     public static var chunkSize = 5 * 1024 * 1024  // 5MB
 20 |     public static var maxConcurrentUploads = 8
    |                       |- warning: static property 'maxConcurrentUploads' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'maxConcurrentUploads' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'maxConcurrentUploads' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |     open var endPoint = "https://cloud.appwrite.io/v1"
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:53:24: warning: static property 'eventLoopGroupProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 51 |     private static let boundary = randomBoundary()
 52 |
 53 |     private static var eventLoopGroupProvider = HTTPClient.EventLoopGroupProvider.singleton
    |                        |- warning: static property 'eventLoopGroupProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'eventLoopGroupProvider' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'eventLoopGroupProvider' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     // MARK: Methods
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:506:48: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
504 |         if let warning = response.headers["x-appwrite-warning"].first {
505 |             warning.split(separator: ";").forEach { warning in
506 |                 fputs("Warning: \(warning)\n", stderr)
    |                                                `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
507 |             }
508 |         }
/usr/include/stdio.h:151:14: note: var declared here
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
151 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
152 | /* C89/C99 say they're macros.  Make them happy.  */
153 | #define stdin stdin
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:690:19: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
688 |         let maxConcurrency = Client.maxConcurrentUploads
689 |
690 |         try await withThrowingTaskGroup(of: (Int, Int, [String: Any]).self) { group in
    |                   `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
691 |             var inFlight = 0
692 |
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:690:77: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
688 |         let maxConcurrency = Client.maxConcurrentUploads
689 |
690 |         try await withThrowingTaskGroup(of: (Int, Int, [String: Any]).self) { group in
    |                                                                             `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
691 |             var inFlight = 0
692 |
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:696:23: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
694 |                 let index = nextChunk
695 |                 let currentUploadId = uploadId
696 |                 group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                       `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
697 |                 nextChunk += 1
698 |                 inFlight += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:701:47: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
699 |             }
700 |
701 |             while let chunk = try await group.next() {
    |                                               `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
702 |                 inFlight -= 1
703 |                 completedChunks += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:722:27: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
720 |                     let index = nextChunk
721 |                     let currentUploadId = uploadId
722 |                     group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                           `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
723 |                     nextChunk += 1
724 |                     inFlight += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:696:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
694 |                 let index = nextChunk
695 |                 let currentUploadId = uploadId
696 |                 group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                               |           `- note: closure captures 'uploadChunk(index:uploadId:)' which is accessible to code in the current task
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
697 |                 nextChunk += 1
698 |                 inFlight += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:722:35: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
720 |                     let index = nextChunk
721 |                     let currentUploadId = uploadId
722 |                     group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                                   |           `- note: closure captures 'uploadChunk(index:uploadId:)' which is accessible to code in the current task
    |                                   `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
723 |                     nextChunk += 1
724 |                     inFlight += 1
[1270/1282] Compiling Appwrite Client.swift
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:19:23: warning: static property 'chunkSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 17 |
 18 |     // MARK: Properties
 19 |     public static var chunkSize = 5 * 1024 * 1024  // 5MB
    |                       |- warning: static property 'chunkSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'chunkSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'chunkSize' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |     public static var maxConcurrentUploads = 8
 21 |
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:20:23: warning: static property 'maxConcurrentUploads' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |     // MARK: Properties
 19 |     public static var chunkSize = 5 * 1024 * 1024  // 5MB
 20 |     public static var maxConcurrentUploads = 8
    |                       |- warning: static property 'maxConcurrentUploads' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'maxConcurrentUploads' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'maxConcurrentUploads' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |     open var endPoint = "https://cloud.appwrite.io/v1"
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:53:24: warning: static property 'eventLoopGroupProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 51 |     private static let boundary = randomBoundary()
 52 |
 53 |     private static var eventLoopGroupProvider = HTTPClient.EventLoopGroupProvider.singleton
    |                        |- warning: static property 'eventLoopGroupProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'eventLoopGroupProvider' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'eventLoopGroupProvider' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     // MARK: Methods
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:506:48: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
504 |         if let warning = response.headers["x-appwrite-warning"].first {
505 |             warning.split(separator: ";").forEach { warning in
506 |                 fputs("Warning: \(warning)\n", stderr)
    |                                                `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
507 |             }
508 |         }
/usr/include/stdio.h:151:14: note: var declared here
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
151 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
152 | /* C89/C99 say they're macros.  Make them happy.  */
153 | #define stdin stdin
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:690:19: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
688 |         let maxConcurrency = Client.maxConcurrentUploads
689 |
690 |         try await withThrowingTaskGroup(of: (Int, Int, [String: Any]).self) { group in
    |                   `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
691 |             var inFlight = 0
692 |
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:690:77: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
688 |         let maxConcurrency = Client.maxConcurrentUploads
689 |
690 |         try await withThrowingTaskGroup(of: (Int, Int, [String: Any]).self) { group in
    |                                                                             `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
691 |             var inFlight = 0
692 |
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:696:23: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
694 |                 let index = nextChunk
695 |                 let currentUploadId = uploadId
696 |                 group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                       `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
697 |                 nextChunk += 1
698 |                 inFlight += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:701:47: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
699 |             }
700 |
701 |             while let chunk = try await group.next() {
    |                                               `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
702 |                 inFlight -= 1
703 |                 completedChunks += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:722:27: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
720 |                     let index = nextChunk
721 |                     let currentUploadId = uploadId
722 |                     group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                           `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
723 |                     nextChunk += 1
724 |                     inFlight += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:696:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
694 |                 let index = nextChunk
695 |                 let currentUploadId = uploadId
696 |                 group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                               |           `- note: closure captures 'uploadChunk(index:uploadId:)' which is accessible to code in the current task
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
697 |                 nextChunk += 1
698 |                 inFlight += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:722:35: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
720 |                     let index = nextChunk
721 |                     let currentUploadId = uploadId
722 |                     group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                                   |           `- note: closure captures 'uploadChunk(index:uploadId:)' which is accessible to code in the current task
    |                                   `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
723 |                     nextChunk += 1
724 |                     inFlight += 1
[1271/1282] Compiling Appwrite LinuxDeviceInfo.swift
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:19:23: warning: static property 'chunkSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 17 |
 18 |     // MARK: Properties
 19 |     public static var chunkSize = 5 * 1024 * 1024  // 5MB
    |                       |- warning: static property 'chunkSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'chunkSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'chunkSize' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |     public static var maxConcurrentUploads = 8
 21 |
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:20:23: warning: static property 'maxConcurrentUploads' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |     // MARK: Properties
 19 |     public static var chunkSize = 5 * 1024 * 1024  // 5MB
 20 |     public static var maxConcurrentUploads = 8
    |                       |- warning: static property 'maxConcurrentUploads' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'maxConcurrentUploads' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'maxConcurrentUploads' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |     open var endPoint = "https://cloud.appwrite.io/v1"
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:53:24: warning: static property 'eventLoopGroupProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 51 |     private static let boundary = randomBoundary()
 52 |
 53 |     private static var eventLoopGroupProvider = HTTPClient.EventLoopGroupProvider.singleton
    |                        |- warning: static property 'eventLoopGroupProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'eventLoopGroupProvider' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'eventLoopGroupProvider' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     // MARK: Methods
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:506:48: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
504 |         if let warning = response.headers["x-appwrite-warning"].first {
505 |             warning.split(separator: ";").forEach { warning in
506 |                 fputs("Warning: \(warning)\n", stderr)
    |                                                `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
507 |             }
508 |         }
/usr/include/stdio.h:151:14: note: var declared here
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
151 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
152 | /* C89/C99 say they're macros.  Make them happy.  */
153 | #define stdin stdin
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:690:19: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
688 |         let maxConcurrency = Client.maxConcurrentUploads
689 |
690 |         try await withThrowingTaskGroup(of: (Int, Int, [String: Any]).self) { group in
    |                   `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
691 |             var inFlight = 0
692 |
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:690:77: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
688 |         let maxConcurrency = Client.maxConcurrentUploads
689 |
690 |         try await withThrowingTaskGroup(of: (Int, Int, [String: Any]).self) { group in
    |                                                                             `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
691 |             var inFlight = 0
692 |
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:696:23: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
694 |                 let index = nextChunk
695 |                 let currentUploadId = uploadId
696 |                 group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                       `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
697 |                 nextChunk += 1
698 |                 inFlight += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:701:47: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
699 |             }
700 |
701 |             while let chunk = try await group.next() {
    |                                               `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
702 |                 inFlight -= 1
703 |                 completedChunks += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:722:27: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
720 |                     let index = nextChunk
721 |                     let currentUploadId = uploadId
722 |                     group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                           `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
723 |                     nextChunk += 1
724 |                     inFlight += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:696:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
694 |                 let index = nextChunk
695 |                 let currentUploadId = uploadId
696 |                 group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                               |           `- note: closure captures 'uploadChunk(index:uploadId:)' which is accessible to code in the current task
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
697 |                 nextChunk += 1
698 |                 inFlight += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:722:35: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
720 |                     let index = nextChunk
721 |                     let currentUploadId = uploadId
722 |                     group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                                   |           `- note: closure captures 'uploadChunk(index:uploadId:)' which is accessible to code in the current task
    |                                   `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
723 |                     nextChunk += 1
724 |                     inFlight += 1
[1272/1282] Compiling Appwrite OSDeviceInfo.swift
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:19:23: warning: static property 'chunkSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 17 |
 18 |     // MARK: Properties
 19 |     public static var chunkSize = 5 * 1024 * 1024  // 5MB
    |                       |- warning: static property 'chunkSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'chunkSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'chunkSize' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |     public static var maxConcurrentUploads = 8
 21 |
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:20:23: warning: static property 'maxConcurrentUploads' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |     // MARK: Properties
 19 |     public static var chunkSize = 5 * 1024 * 1024  // 5MB
 20 |     public static var maxConcurrentUploads = 8
    |                       |- warning: static property 'maxConcurrentUploads' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'maxConcurrentUploads' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'maxConcurrentUploads' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |     open var endPoint = "https://cloud.appwrite.io/v1"
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:53:24: warning: static property 'eventLoopGroupProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 51 |     private static let boundary = randomBoundary()
 52 |
 53 |     private static var eventLoopGroupProvider = HTTPClient.EventLoopGroupProvider.singleton
    |                        |- warning: static property 'eventLoopGroupProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'eventLoopGroupProvider' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'eventLoopGroupProvider' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     // MARK: Methods
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:506:48: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
504 |         if let warning = response.headers["x-appwrite-warning"].first {
505 |             warning.split(separator: ";").forEach { warning in
506 |                 fputs("Warning: \(warning)\n", stderr)
    |                                                `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
507 |             }
508 |         }
/usr/include/stdio.h:151:14: note: var declared here
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
151 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
152 | /* C89/C99 say they're macros.  Make them happy.  */
153 | #define stdin stdin
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:690:19: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
688 |         let maxConcurrency = Client.maxConcurrentUploads
689 |
690 |         try await withThrowingTaskGroup(of: (Int, Int, [String: Any]).self) { group in
    |                   `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
691 |             var inFlight = 0
692 |
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:690:77: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
688 |         let maxConcurrency = Client.maxConcurrentUploads
689 |
690 |         try await withThrowingTaskGroup(of: (Int, Int, [String: Any]).self) { group in
    |                                                                             `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
691 |             var inFlight = 0
692 |
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:696:23: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
694 |                 let index = nextChunk
695 |                 let currentUploadId = uploadId
696 |                 group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                       `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
697 |                 nextChunk += 1
698 |                 inFlight += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:701:47: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
699 |             }
700 |
701 |             while let chunk = try await group.next() {
    |                                               `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
702 |                 inFlight -= 1
703 |                 completedChunks += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:722:27: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
720 |                     let index = nextChunk
721 |                     let currentUploadId = uploadId
722 |                     group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                           `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
723 |                     nextChunk += 1
724 |                     inFlight += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:696:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
694 |                 let index = nextChunk
695 |                 let currentUploadId = uploadId
696 |                 group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                               |           `- note: closure captures 'uploadChunk(index:uploadId:)' which is accessible to code in the current task
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
697 |                 nextChunk += 1
698 |                 inFlight += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:722:35: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
720 |                     let index = nextChunk
721 |                     let currentUploadId = uploadId
722 |                     group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                                   |           `- note: closure captures 'uploadChunk(index:uploadId:)' which is accessible to code in the current task
    |                                   `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
723 |                     nextChunk += 1
724 |                     inFlight += 1
[1273/1282] Compiling Appwrite WindowsDeviceInfo.swift
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:19:23: warning: static property 'chunkSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 17 |
 18 |     // MARK: Properties
 19 |     public static var chunkSize = 5 * 1024 * 1024  // 5MB
    |                       |- warning: static property 'chunkSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'chunkSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'chunkSize' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |     public static var maxConcurrentUploads = 8
 21 |
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:20:23: warning: static property 'maxConcurrentUploads' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |     // MARK: Properties
 19 |     public static var chunkSize = 5 * 1024 * 1024  // 5MB
 20 |     public static var maxConcurrentUploads = 8
    |                       |- warning: static property 'maxConcurrentUploads' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'maxConcurrentUploads' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'maxConcurrentUploads' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |     open var endPoint = "https://cloud.appwrite.io/v1"
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:53:24: warning: static property 'eventLoopGroupProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 51 |     private static let boundary = randomBoundary()
 52 |
 53 |     private static var eventLoopGroupProvider = HTTPClient.EventLoopGroupProvider.singleton
    |                        |- warning: static property 'eventLoopGroupProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'eventLoopGroupProvider' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'eventLoopGroupProvider' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     // MARK: Methods
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:506:48: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
504 |         if let warning = response.headers["x-appwrite-warning"].first {
505 |             warning.split(separator: ";").forEach { warning in
506 |                 fputs("Warning: \(warning)\n", stderr)
    |                                                `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
507 |             }
508 |         }
/usr/include/stdio.h:151:14: note: var declared here
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
151 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
152 | /* C89/C99 say they're macros.  Make them happy.  */
153 | #define stdin stdin
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:690:19: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
688 |         let maxConcurrency = Client.maxConcurrentUploads
689 |
690 |         try await withThrowingTaskGroup(of: (Int, Int, [String: Any]).self) { group in
    |                   `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
691 |             var inFlight = 0
692 |
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:690:77: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
688 |         let maxConcurrency = Client.maxConcurrentUploads
689 |
690 |         try await withThrowingTaskGroup(of: (Int, Int, [String: Any]).self) { group in
    |                                                                             `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
691 |             var inFlight = 0
692 |
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:696:23: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
694 |                 let index = nextChunk
695 |                 let currentUploadId = uploadId
696 |                 group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                       `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
697 |                 nextChunk += 1
698 |                 inFlight += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:701:47: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
699 |             }
700 |
701 |             while let chunk = try await group.next() {
    |                                               `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
702 |                 inFlight -= 1
703 |                 completedChunks += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:722:27: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
720 |                     let index = nextChunk
721 |                     let currentUploadId = uploadId
722 |                     group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                           `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
723 |                     nextChunk += 1
724 |                     inFlight += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:696:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
694 |                 let index = nextChunk
695 |                 let currentUploadId = uploadId
696 |                 group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                               |           `- note: closure captures 'uploadChunk(index:uploadId:)' which is accessible to code in the current task
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
697 |                 nextChunk += 1
698 |                 inFlight += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:722:35: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
720 |                     let index = nextChunk
721 |                     let currentUploadId = uploadId
722 |                     group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                                   |           `- note: closure captures 'uploadChunk(index:uploadId:)' which is accessible to code in the current task
    |                                   `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
723 |                     nextChunk += 1
724 |                     inFlight += 1
[1274/1282] Compiling Appwrite IOSDeviceInfo.swift
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:19:23: warning: static property 'chunkSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 17 |
 18 |     // MARK: Properties
 19 |     public static var chunkSize = 5 * 1024 * 1024  // 5MB
    |                       |- warning: static property 'chunkSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'chunkSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'chunkSize' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |     public static var maxConcurrentUploads = 8
 21 |
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:20:23: warning: static property 'maxConcurrentUploads' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |     // MARK: Properties
 19 |     public static var chunkSize = 5 * 1024 * 1024  // 5MB
 20 |     public static var maxConcurrentUploads = 8
    |                       |- warning: static property 'maxConcurrentUploads' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'maxConcurrentUploads' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'maxConcurrentUploads' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |     open var endPoint = "https://cloud.appwrite.io/v1"
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:53:24: warning: static property 'eventLoopGroupProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 51 |     private static let boundary = randomBoundary()
 52 |
 53 |     private static var eventLoopGroupProvider = HTTPClient.EventLoopGroupProvider.singleton
    |                        |- warning: static property 'eventLoopGroupProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'eventLoopGroupProvider' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'eventLoopGroupProvider' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     // MARK: Methods
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:506:48: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
504 |         if let warning = response.headers["x-appwrite-warning"].first {
505 |             warning.split(separator: ";").forEach { warning in
506 |                 fputs("Warning: \(warning)\n", stderr)
    |                                                `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
507 |             }
508 |         }
/usr/include/stdio.h:151:14: note: var declared here
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
151 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
152 | /* C89/C99 say they're macros.  Make them happy.  */
153 | #define stdin stdin
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:690:19: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
688 |         let maxConcurrency = Client.maxConcurrentUploads
689 |
690 |         try await withThrowingTaskGroup(of: (Int, Int, [String: Any]).self) { group in
    |                   `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
691 |             var inFlight = 0
692 |
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:690:77: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
688 |         let maxConcurrency = Client.maxConcurrentUploads
689 |
690 |         try await withThrowingTaskGroup(of: (Int, Int, [String: Any]).self) { group in
    |                                                                             `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
691 |             var inFlight = 0
692 |
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:696:23: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
694 |                 let index = nextChunk
695 |                 let currentUploadId = uploadId
696 |                 group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                       `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
697 |                 nextChunk += 1
698 |                 inFlight += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:701:47: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
699 |             }
700 |
701 |             while let chunk = try await group.next() {
    |                                               `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
702 |                 inFlight -= 1
703 |                 completedChunks += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:722:27: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
720 |                     let index = nextChunk
721 |                     let currentUploadId = uploadId
722 |                     group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                           `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
723 |                     nextChunk += 1
724 |                     inFlight += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:696:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
694 |                 let index = nextChunk
695 |                 let currentUploadId = uploadId
696 |                 group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                               |           `- note: closure captures 'uploadChunk(index:uploadId:)' which is accessible to code in the current task
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
697 |                 nextChunk += 1
698 |                 inFlight += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:722:35: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
720 |                     let index = nextChunk
721 |                     let currentUploadId = uploadId
722 |                     group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                                   |           `- note: closure captures 'uploadChunk(index:uploadId:)' which is accessible to code in the current task
    |                                   `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
723 |                     nextChunk += 1
724 |                     inFlight += 1
[1275/1282] Compiling Appwrite UIDevice+ModelName.swift
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:19:23: warning: static property 'chunkSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 17 |
 18 |     // MARK: Properties
 19 |     public static var chunkSize = 5 * 1024 * 1024  // 5MB
    |                       |- warning: static property 'chunkSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'chunkSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'chunkSize' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |     public static var maxConcurrentUploads = 8
 21 |
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:20:23: warning: static property 'maxConcurrentUploads' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |     // MARK: Properties
 19 |     public static var chunkSize = 5 * 1024 * 1024  // 5MB
 20 |     public static var maxConcurrentUploads = 8
    |                       |- warning: static property 'maxConcurrentUploads' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'maxConcurrentUploads' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'maxConcurrentUploads' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |     open var endPoint = "https://cloud.appwrite.io/v1"
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:53:24: warning: static property 'eventLoopGroupProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 51 |     private static let boundary = randomBoundary()
 52 |
 53 |     private static var eventLoopGroupProvider = HTTPClient.EventLoopGroupProvider.singleton
    |                        |- warning: static property 'eventLoopGroupProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'eventLoopGroupProvider' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'eventLoopGroupProvider' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     // MARK: Methods
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:506:48: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
504 |         if let warning = response.headers["x-appwrite-warning"].first {
505 |             warning.split(separator: ";").forEach { warning in
506 |                 fputs("Warning: \(warning)\n", stderr)
    |                                                `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
507 |             }
508 |         }
/usr/include/stdio.h:151:14: note: var declared here
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
151 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
152 | /* C89/C99 say they're macros.  Make them happy.  */
153 | #define stdin stdin
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:690:19: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
688 |         let maxConcurrency = Client.maxConcurrentUploads
689 |
690 |         try await withThrowingTaskGroup(of: (Int, Int, [String: Any]).self) { group in
    |                   `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
691 |             var inFlight = 0
692 |
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:690:77: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
688 |         let maxConcurrency = Client.maxConcurrentUploads
689 |
690 |         try await withThrowingTaskGroup(of: (Int, Int, [String: Any]).self) { group in
    |                                                                             `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
691 |             var inFlight = 0
692 |
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:696:23: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
694 |                 let index = nextChunk
695 |                 let currentUploadId = uploadId
696 |                 group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                       `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
697 |                 nextChunk += 1
698 |                 inFlight += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:701:47: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
699 |             }
700 |
701 |             while let chunk = try await group.next() {
    |                                               `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
702 |                 inFlight -= 1
703 |                 completedChunks += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:722:27: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
720 |                     let index = nextChunk
721 |                     let currentUploadId = uploadId
722 |                     group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                           `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
723 |                     nextChunk += 1
724 |                     inFlight += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:696:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
694 |                 let index = nextChunk
695 |                 let currentUploadId = uploadId
696 |                 group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                               |           `- note: closure captures 'uploadChunk(index:uploadId:)' which is accessible to code in the current task
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
697 |                 nextChunk += 1
698 |                 inFlight += 1
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:722:35: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
720 |                     let index = nextChunk
721 |                     let currentUploadId = uploadId
722 |                     group.addTask { try await uploadChunk(index: index, uploadId: currentUploadId) }
    |                                   |           `- note: closure captures 'uploadChunk(index:uploadId:)' which is accessible to code in the current task
    |                                   `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
723 |                     nextChunk += 1
724 |                     inFlight += 1
[1276/1282] Compiling Appwrite Query.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2082:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2080 |         ]
2081 |
2082 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2083 |             "X-Appwrite-Project": client.config["project"] ?? "",
2084 |             "accept": "text/html",
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2629:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2627 |         ]
2628 |
2629 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2630 |             "X-Appwrite-Project": client.config["project"] ?? "",
2631 |             "accept": "text/html",
[1277/1282] Compiling Appwrite Role.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2082:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2080 |         ]
2081 |
2082 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2083 |             "X-Appwrite-Project": client.config["project"] ?? "",
2084 |             "accept": "text/html",
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2629:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2627 |         ]
2628 |
2629 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2630 |             "X-Appwrite-Project": client.config["project"] ?? "",
2631 |             "accept": "text/html",
[1278/1282] Compiling Appwrite Account.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2082:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2080 |         ]
2081 |
2082 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2083 |             "X-Appwrite-Project": client.config["project"] ?? "",
2084 |             "accept": "text/html",
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2629:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2627 |         ]
2628 |
2629 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2630 |             "X-Appwrite-Project": client.config["project"] ?? "",
2631 |             "accept": "text/html",
[1279/1282] Compiling Appwrite Apps.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2082:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2080 |         ]
2081 |
2082 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2083 |             "X-Appwrite-Project": client.config["project"] ?? "",
2084 |             "accept": "text/html",
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2629:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2627 |         ]
2628 |
2629 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2630 |             "X-Appwrite-Project": client.config["project"] ?? "",
2631 |             "accept": "text/html",
[1280/1282] Compiling Appwrite Avatars.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2082:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2080 |         ]
2081 |
2082 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2083 |             "X-Appwrite-Project": client.config["project"] ?? "",
2084 |             "accept": "text/html",
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2629:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2627 |         ]
2628 |
2629 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2630 |             "X-Appwrite-Project": client.config["project"] ?? "",
2631 |             "accept": "text/html",
[1281/1282] Compiling Appwrite Databases.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2082:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2080 |         ]
2081 |
2082 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2083 |             "X-Appwrite-Project": client.config["project"] ?? "",
2084 |             "accept": "text/html",
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2629:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2627 |         ]
2628 |
2629 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2630 |             "X-Appwrite-Project": client.config["project"] ?? "",
2631 |             "accept": "text/html",
[1282/1282] Compiling Appwrite DocumentsDB.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2082:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2080 |         ]
2081 |
2082 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2083 |             "X-Appwrite-Project": client.config["project"] ?? "",
2084 |             "accept": "text/html",
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2629:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2627 |         ]
2628 |
2629 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2630 |             "X-Appwrite-Project": client.config["project"] ?? "",
2631 |             "accept": "text/html",
Build complete! (66.28s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "async-http-client",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.36.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/async-http-client.git"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.102.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "mqtt-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.13.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server-community/mqtt-nio.git"
    }
  ],
  "manifest_display_name" : "Appwrite",
  "name" : "Appwrite",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Appwrite",
      "targets" : [
        "Appwrite",
        "AppwriteEnums",
        "AppwriteModels",
        "JSONCodable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "JSONCodable",
      "module_type" : "SwiftTarget",
      "name" : "JSONCodable",
      "path" : "Sources/JSONCodable",
      "product_memberships" : [
        "Appwrite"
      ],
      "sources" : [
        "Codable+JSON.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AppwriteTests",
      "module_type" : "SwiftTarget",
      "name" : "AppwriteTests",
      "path" : "Tests/AppwriteTests",
      "sources" : [
        "Tests.swift"
      ],
      "target_dependencies" : [
        "Appwrite"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppwriteModels",
      "module_type" : "SwiftTarget",
      "name" : "AppwriteModels",
      "path" : "Sources/AppwriteModels",
      "product_memberships" : [
        "Appwrite"
      ],
      "sources" : [
        "Account.swift",
        "AlgoArgon2.swift",
        "AlgoBcrypt.swift",
        "AlgoMd5.swift",
        "AlgoPhpass.swift",
        "AlgoScrypt.swift",
        "AlgoScryptModified.swift",
        "AlgoSha.swift",
        "App.swift",
        "AppInstallation.swift",
        "AppInstallationList.swift",
        "AppKey.swift",
        "AppKeyList.swift",
        "AppScope.swift",
        "AppScopeList.swift",
        "AppSecret.swift",
        "AppSecretList.swift",
        "AppSecretPlaintext.swift",
        "AppsList.swift",
        "Continent.swift",
        "ContinentList.swift",
        "Country.swift",
        "CountryList.swift",
        "Currency.swift",
        "CurrencyList.swift",
        "Document.swift",
        "DocumentList.swift",
        "Execution.swift",
        "ExecutionList.swift",
        "File.swift",
        "FileList.swift",
        "Headers.swift",
        "Identity.swift",
        "IdentityList.swift",
        "Jwt.swift",
        "Language.swift",
        "LanguageList.swift",
        "Locale.swift",
        "LocaleCode.swift",
        "LocaleCodeList.swift",
        "Membership.swift",
        "MembershipList.swift",
        "MfaChallenge.swift",
        "MfaFactors.swift",
        "MfaRecoveryCodes.swift",
        "MfaType.swift",
        "Oauth2Approve.swift",
        "Oauth2Authorize.swift",
        "Oauth2Consent.swift",
        "Oauth2ConsentList.swift",
        "Oauth2ConsentToken.swift",
        "Oauth2ConsentTokenList.swift",
        "Oauth2DeviceAuthorization.swift",
        "Oauth2Grant.swift",
        "Oauth2Organization.swift",
        "Oauth2OrganizationList.swift",
        "Oauth2PAR.swift",
        "Oauth2Project.swift",
        "Oauth2ProjectList.swift",
        "Oauth2Reject.swift",
        "Oauth2Token.swift",
        "Phone.swift",
        "PhoneList.swift",
        "Preferences.swift",
        "Presence.swift",
        "PresenceList.swift",
        "Row.swift",
        "RowList.swift",
        "Session.swift",
        "SessionList.swift",
        "Subscriber.swift",
        "Target.swift",
        "Team.swift",
        "TeamList.swift",
        "Token.swift",
        "Transaction.swift",
        "TransactionList.swift",
        "User.swift"
      ],
      "target_dependencies" : [
        "AppwriteEnums",
        "JSONCodable"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AppwriteEnums",
      "module_type" : "SwiftTarget",
      "name" : "AppwriteEnums",
      "path" : "Sources/AppwriteEnums",
      "product_memberships" : [
        "Appwrite"
      ],
      "sources" : [
        "AuthenticationFactor.swift",
        "AuthenticatorType.swift",
        "Browser.swift",
        "BrowserPermission.swift",
        "BrowserTheme.swift",
        "CreditCard.swift",
        "ExecutionMethod.swift",
        "ExecutionResourceType.swift",
        "ExecutionStatus.swift",
        "ExecutionTrigger.swift",
        "Flag.swift",
        "IdTokenProvider.swift",
        "ImageFormat.swift",
        "ImageGravity.swift",
        "OAuthProvider.swift",
        "Timezone.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Appwrite",
      "module_type" : "SwiftTarget",
      "name" : "Appwrite",
      "path" : "Sources/Appwrite",
      "product_dependencies" : [
        "AsyncHTTPClient",
        "NIOWebSocket",
        "NIOCore",
        "MQTTNIO"
      ],
      "product_memberships" : [
        "Appwrite"
      ],
      "sources" : [
        "Channel.swift",
        "Client.swift",
        "DeviceInfo/Linux/LinuxDeviceInfo.swift",
        "DeviceInfo/OSDeviceInfo.swift",
        "DeviceInfo/Windows/WindowsDeviceInfo.swift",
        "DeviceInfo/iOS/IOSDeviceInfo.swift",
        "DeviceInfo/iOS/UIDevice+ModelName.swift",
        "DeviceInfo/macOS/CwlSysCtl.swift",
        "DeviceInfo/macOS/MacOSDeviceInfo.swift",
        "DeviceInfo/watchOS/WKInterfaceDevice+ModelName.swift",
        "DeviceInfo/watchOS/WatchOSDeviceInfo.swift",
        "Extensions/Cookie+Codable.swift",
        "Extensions/HTTPClientRequest+Cookies.swift",
        "Extensions/String+MimeTypes.swift",
        "ID.swift",
        "Models/AppwriteError.swift",
        "Models/InputFile.swift",
        "Models/RealtimeModels.swift",
        "Models/UploadProgress.swift",
        "OAuth/View+OAuth.swift",
        "OAuth/WebAuthComponent.swift",
        "Operator.swift",
        "PackageInfo/Apple/PackageInfo+Apple.swift",
        "PackageInfo/Linux/PackageInfo+Linux.swift",
        "PackageInfo/OSPackageInfo.swift",
        "PackageInfo/PackageInfo.swift",
        "PackageInfo/Windows/PackageInfo+Windows.swift",
        "Permission.swift",
        "Query.swift",
        "Role.swift",
        "Services/Account.swift",
        "Services/Apps.swift",
        "Services/Avatars.swift",
        "Services/Databases.swift",
        "Services/DocumentsDB.swift",
        "Services/Functions.swift",
        "Services/Graphql.swift",
        "Services/Locale.swift",
        "Services/Messaging.swift",
        "Services/Oauth2.swift",
        "Services/Organization.swift",
        "Services/Presences.swift",
        "Services/Push.swift",
        "Services/Realtime.swift",
        "Services/Service.swift",
        "Services/Storage.swift",
        "Services/TablesDB.swift",
        "Services/Teams.swift",
        "Services/VectorsDB.swift",
        "StreamingDelegate.swift",
        "Topic.swift",
        "WebSockets/HTTPHandler.swift",
        "WebSockets/MessageHandler.swift",
        "WebSockets/WebSocketClient.swift",
        "WebSockets/WebSocketClientDelegate.swift",
        "WebSockets/WebSocketClientError.swift"
      ],
      "target_dependencies" : [
        "AppwriteModels",
        "AppwriteEnums",
        "JSONCodable"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:13a529f31207afe6597b18f20995fc2db944100da935819188c653038756cb1b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
 3 | import PackageDescription
 4 |
 5 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 6 |     name: "Appwrite",
 7 |     platforms: [
Done.