The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Appwrite, reference main (3898bb), with Swift 6.1 for Android on 9 Oct 2026 23:58:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-3":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

 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 {
[1245/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 {
[1246/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 {
[1247/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 {
[1248/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",
[1249/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",
[1250/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",
[1251/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",
[1252/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",
[1253/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",
[1254/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",
[1255/1282] Compiling Appwrite Functions.swift
[1256/1282] Compiling Appwrite Graphql.swift
[1257/1282] Compiling Appwrite Locale.swift
[1258/1282] Compiling Appwrite Messaging.swift
[1259/1282] Compiling Appwrite Oauth2.swift
[1260/1282] Compiling Appwrite Organization.swift
[1261/1282] Compiling Appwrite Presences.swift
[1262/1282] Compiling Appwrite ID.swift
/host/spi-builder-workspace/Sources/Appwrite/Models/AppwriteError.swift:3:12: warning: non-final class 'AppwriteError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | open class AppwriteError: Swift.Error, Decodable {
   |            `- warning: non-final class 'AppwriteError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 4 |
 5 |     public let message: String
/host/spi-builder-workspace/Sources/Appwrite/OAuth/WebAuthComponent.swift:16:24: warning: static property 'callbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | public class WebAuthComponent {
 15 |
 16 |     private static var callbacks = [String: (Result<String, AppwriteError>) -> Void]()
    |                        |- warning: static property 'callbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'callbacks' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'callbacks' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     #if canImport(AuthenticationServices)
 18 |         private static var currentAuthSession: ASWebAuthenticationSession?
[1263/1282] Compiling Appwrite AppwriteError.swift
/host/spi-builder-workspace/Sources/Appwrite/Models/AppwriteError.swift:3:12: warning: non-final class 'AppwriteError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | open class AppwriteError: Swift.Error, Decodable {
   |            `- warning: non-final class 'AppwriteError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 4 |
 5 |     public let message: String
/host/spi-builder-workspace/Sources/Appwrite/OAuth/WebAuthComponent.swift:16:24: warning: static property 'callbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | public class WebAuthComponent {
 15 |
 16 |     private static var callbacks = [String: (Result<String, AppwriteError>) -> Void]()
    |                        |- warning: static property 'callbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'callbacks' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'callbacks' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     #if canImport(AuthenticationServices)
 18 |         private static var currentAuthSession: ASWebAuthenticationSession?
[1264/1282] Compiling Appwrite InputFile.swift
/host/spi-builder-workspace/Sources/Appwrite/Models/AppwriteError.swift:3:12: warning: non-final class 'AppwriteError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | open class AppwriteError: Swift.Error, Decodable {
   |            `- warning: non-final class 'AppwriteError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 4 |
 5 |     public let message: String
/host/spi-builder-workspace/Sources/Appwrite/OAuth/WebAuthComponent.swift:16:24: warning: static property 'callbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | public class WebAuthComponent {
 15 |
 16 |     private static var callbacks = [String: (Result<String, AppwriteError>) -> Void]()
    |                        |- warning: static property 'callbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'callbacks' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'callbacks' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     #if canImport(AuthenticationServices)
 18 |         private static var currentAuthSession: ASWebAuthenticationSession?
[1265/1282] Compiling Appwrite RealtimeModels.swift
/host/spi-builder-workspace/Sources/Appwrite/Models/AppwriteError.swift:3:12: warning: non-final class 'AppwriteError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | open class AppwriteError: Swift.Error, Decodable {
   |            `- warning: non-final class 'AppwriteError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 4 |
 5 |     public let message: String
/host/spi-builder-workspace/Sources/Appwrite/OAuth/WebAuthComponent.swift:16:24: warning: static property 'callbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | public class WebAuthComponent {
 15 |
 16 |     private static var callbacks = [String: (Result<String, AppwriteError>) -> Void]()
    |                        |- warning: static property 'callbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'callbacks' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'callbacks' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     #if canImport(AuthenticationServices)
 18 |         private static var currentAuthSession: ASWebAuthenticationSession?
[1266/1282] Compiling Appwrite UploadProgress.swift
/host/spi-builder-workspace/Sources/Appwrite/Models/AppwriteError.swift:3:12: warning: non-final class 'AppwriteError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | open class AppwriteError: Swift.Error, Decodable {
   |            `- warning: non-final class 'AppwriteError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 4 |
 5 |     public let message: String
/host/spi-builder-workspace/Sources/Appwrite/OAuth/WebAuthComponent.swift:16:24: warning: static property 'callbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | public class WebAuthComponent {
 15 |
 16 |     private static var callbacks = [String: (Result<String, AppwriteError>) -> Void]()
    |                        |- warning: static property 'callbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'callbacks' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'callbacks' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     #if canImport(AuthenticationServices)
 18 |         private static var currentAuthSession: ASWebAuthenticationSession?
[1267/1282] Compiling Appwrite View+OAuth.swift
/host/spi-builder-workspace/Sources/Appwrite/Models/AppwriteError.swift:3:12: warning: non-final class 'AppwriteError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | open class AppwriteError: Swift.Error, Decodable {
   |            `- warning: non-final class 'AppwriteError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 4 |
 5 |     public let message: String
/host/spi-builder-workspace/Sources/Appwrite/OAuth/WebAuthComponent.swift:16:24: warning: static property 'callbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | public class WebAuthComponent {
 15 |
 16 |     private static var callbacks = [String: (Result<String, AppwriteError>) -> Void]()
    |                        |- warning: static property 'callbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'callbacks' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'callbacks' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     #if canImport(AuthenticationServices)
 18 |         private static var currentAuthSession: ASWebAuthenticationSession?
[1268/1282] Compiling Appwrite WebAuthComponent.swift
/host/spi-builder-workspace/Sources/Appwrite/Models/AppwriteError.swift:3:12: warning: non-final class 'AppwriteError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | open class AppwriteError: Swift.Error, Decodable {
   |            `- warning: non-final class 'AppwriteError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 4 |
 5 |     public let message: String
/host/spi-builder-workspace/Sources/Appwrite/OAuth/WebAuthComponent.swift:16:24: warning: static property 'callbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | public class WebAuthComponent {
 15 |
 16 |     private static var callbacks = [String: (Result<String, AppwriteError>) -> Void]()
    |                        |- warning: static property 'callbacks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'callbacks' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'callbacks' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     #if canImport(AuthenticationServices)
 18 |         private static var currentAuthSession: ASWebAuthenticationSession?
[1269/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)")
[1270/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)")
[1271/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)")
[1272/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)")
[1273/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)")
[1274/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)")
[1275/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)")
[1276/1282] Compiling Appwrite Operator.swift
/host/spi-builder-workspace/Sources/Appwrite/PackageInfo/OSPackageInfo.swift:13:5: error: missing return in static method expected to return 'PackageInfo'
11 |             return PackageInfo.getWindowsPackage()
12 |         #endif
13 |     }
   |     `- error: missing return in static method expected to return 'PackageInfo'
14 | }
15 |
[1277/1282] Compiling Appwrite PackageInfo+Apple.swift
/host/spi-builder-workspace/Sources/Appwrite/PackageInfo/OSPackageInfo.swift:13:5: error: missing return in static method expected to return 'PackageInfo'
11 |             return PackageInfo.getWindowsPackage()
12 |         #endif
13 |     }
   |     `- error: missing return in static method expected to return 'PackageInfo'
14 | }
15 |
[1278/1282] Compiling Appwrite PackageInfo+Linux.swift
/host/spi-builder-workspace/Sources/Appwrite/PackageInfo/OSPackageInfo.swift:13:5: error: missing return in static method expected to return 'PackageInfo'
11 |             return PackageInfo.getWindowsPackage()
12 |         #endif
13 |     }
   |     `- error: missing return in static method expected to return 'PackageInfo'
14 | }
15 |
[1279/1282] Compiling Appwrite OSPackageInfo.swift
/host/spi-builder-workspace/Sources/Appwrite/PackageInfo/OSPackageInfo.swift:13:5: error: missing return in static method expected to return 'PackageInfo'
11 |             return PackageInfo.getWindowsPackage()
12 |         #endif
13 |     }
   |     `- error: missing return in static method expected to return 'PackageInfo'
14 | }
15 |
[1280/1282] Compiling Appwrite PackageInfo.swift
/host/spi-builder-workspace/Sources/Appwrite/PackageInfo/OSPackageInfo.swift:13:5: error: missing return in static method expected to return 'PackageInfo'
11 |             return PackageInfo.getWindowsPackage()
12 |         #endif
13 |     }
   |     `- error: missing return in static method expected to return 'PackageInfo'
14 | }
15 |
[1281/1282] Compiling Appwrite PackageInfo+Windows.swift
/host/spi-builder-workspace/Sources/Appwrite/PackageInfo/OSPackageInfo.swift:13:5: error: missing return in static method expected to return 'PackageInfo'
11 |             return PackageInfo.getWindowsPackage()
12 |         #endif
13 |     }
   |     `- error: missing return in static method expected to return 'PackageInfo'
14 | }
15 |
[1282/1282] Compiling Appwrite Permission.swift
/host/spi-builder-workspace/Sources/Appwrite/PackageInfo/OSPackageInfo.swift:13:5: error: missing return in static method expected to return 'PackageInfo'
11 |             return PackageInfo.getWindowsPackage()
12 |         #endif
13 |     }
   |     `- error: missing return in static method expected to return 'PackageInfo'
14 | }
15 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-3":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:396310cef4466ceb116ed5462b0b92d4deb353c0dad749b406b7fd226f6db9af
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-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: [
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/59] Compiling RealModule RealFunctions.swift
[3/60] Compiling RealModule Real.swift
[4/60] Compiling RealModule RelaxedArithmetic.swift
[5/60] Compiling ServiceContextModule ServiceContextKey.swift
[6/60] Compiling ServiceContextModule ServiceContext.swift
[7/60] Compiling RealModule Float80+Real.swift
[8/60] Emitting module ServiceContextModule
[9/61] Compiling RealModule AugmentedArithmetic.swift
[10/61] Compiling RealModule Double+Real.swift
[13/61] Compiling RealModule ElementaryFunctions.swift
[15/63] Compiling InternalCollectionsUtilities _SortedCollection.swift
[16/63] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[17/63] Compiling _NIODataStructures PriorityQueue.swift
[18/63] Compiling _NIODataStructures _TinyArray.swift
[19/63] Compiling NIOConcurrencyHelpers NIOLock.swift
[20/63] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[21/63] Compiling _NIODataStructures Heap.swift
[22/63] Compiling RealModule Float+Real.swift
[23/63] Compiling RealModule AlgebraicField.swift
[24/63] Compiling RealModule ApproximateEquality.swift
[25/63] Compiling _NIOBase64 Base64.swift
[26/63] Emitting module _NIOBase64
[27/64] Compiling Logging LoggingSystem.swift
[29/83] Compiling NIOConcurrencyHelpers atomics.swift
[30/83] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[31/83] Compiling NIOConcurrencyHelpers lock.swift
[32/83] Compiling Atomics AtomicInteger.swift
[33/83] Compiling Atomics AtomicOptionalWrappable.swift
[34/83] Compiling Atomics PointerConformances.swift
[35/83] Compiling Atomics Primitives.native.swift
[36/83] Compiling RealModule Float16+Real.swift
[37/83] Compiling Atomics AtomicReference.swift
[38/83] Compiling Atomics IntegerConformances.swift
[41/83] Emitting module Logging
unable to find node: pound
unable to find node: pound
[42/83] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[45/83] Compiling Logging Logger+Attributes.swift
[46/83] Compiling Logging Logger.swift
[47/83] Compiling Logging Logger+With.swift
unable to find node: pound
unable to find node: pound
[48/83] Emitting module InternalCollectionsUtilities
[49/83] Emitting module RealModule
[51/90] Compiling Instrumentation NoOpInstrument.swift
[52/90] Compiling Logging MetadataProvider.swift
[54/91] Emitting module _NIODataStructures
[55/107] Compiling Atomics UnsafeAtomic.swift
[56/107] Compiling Atomics UnsafeAtomicLazyReference.swift
[57/107] Compiling AppwriteEnums IdTokenProvider.swift
[58/107] Compiling AppwriteEnums ImageFormat.swift
[59/107] Compiling AppwriteEnums ExecutionTrigger.swift
[60/107] Compiling AppwriteEnums Flag.swift
[61/109] Compiling AppwriteEnums ImageGravity.swift
[62/109] Compiling Atomics AtomicValue.swift
[63/109] Compiling Instrumentation MultiplexInstrument.swift
[64/109] Emitting module NIOConcurrencyHelpers
[65/110] Compiling Instrumentation Locks.swift
[66/110] Emitting module Instrumentation
[68/132] Compiling Instrumentation Instrument.swift
[69/132] Compiling Instrumentation InstrumentationSystem.swift
[71/136] Compiling Algorithms MinMax.swift
[72/136] Compiling Algorithms RandomSample.swift
[73/136] Compiling Algorithms EitherSequence.swift
[74/136] Compiling Algorithms FirstNonNil.swift
[75/136] Compiling Algorithms Joined.swift
[76/136] Compiling Algorithms Keyed.swift
[77/136] Compiling Algorithms Grouped.swift
[78/136] Compiling Algorithms Indexed.swift
[79/136] Compiling Algorithms Intersperse.swift
[80/136] Compiling Algorithms Compacted.swift
[81/136] Compiling Algorithms Cycle.swift
[82/136] Compiling Algorithms Combinations.swift
[83/136] Compiling Algorithms FlattenCollection.swift
[85/137] Compiling Algorithms Partition.swift
[86/137] Compiling Algorithms Permutations.swift
[87/137] Compiling Algorithms Product.swift
[89/137] Compiling Algorithms AdjacentPairs.swift
[95/139] Compiling Algorithms Chain.swift
[96/139] Compiling Algorithms Chunked.swift
[99/175] Emitting module JSONCodable
[100/175] Compiling JSONCodable Codable+JSON.swift
[101/176] Compiling ContainersPreview OutputSpan+Extras.swift
[102/176] Compiling ContainersPreview TemporaryAllocation.swift
[103/176] Compiling ContainersPreview BidirectionalContainer.swift
[104/176] Compiling ContainersPreview Container+Filter.swift
[105/176] Emitting module ContainersPreview
[106/183] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[107/183] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[109/188] Compiling ContainersPreview Ref.swift
[110/188] Compiling ContainersPreview Shared.swift
[111/188] Compiling ContainersPreview SpanIterator.swift
[112/188] Compiling ContainersPreview UniqueBox.swift
[113/188] Compiling ContainersPreview Container+SpanwiseZip.swift
[114/188] Compiling ContainersPreview Container.swift
[115/188] Compiling ContainersPreview ContainerIterator.swift
[116/188] Compiling ContainersPreview DynamicContainer.swift
[117/188] Compiling ContainersPreview MutableContainer.swift
[118/188] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[119/188] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[120/188] Compiling ContainersPreview BorrowingSequence.swift
[125/188] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[126/188] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[128/188] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[129/188] Compiling ContainersPreview BorrowingSequence+Algorithms.swift
[130/188] Compiling ContainersPreview PermutableContainer.swift
[131/191] Compiling Algorithms Unique.swift
[132/191] Compiling Algorithms Windows.swift
[133/191] Compiling ContainersPreview Drain.swift
[134/191] Compiling ContainersPreview Producer+Collect.swift
[135/191] Compiling ContainersPreview Producer+Filter.swift
[137/191] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[138/191] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[142/191] Compiling ContainersPreview RandomAccessContainer.swift
[143/191] Compiling ContainersPreview RangeExpression2.swift
[144/191] Compiling ContainersPreview RangeReplaceableContainer.swift
[145/191] Compiling Algorithms Trim.swift
[146/191] Compiling ContainersPreview Producer+Map.swift
[147/191] Compiling ContainersPreview Producer+Reduce.swift
[148/191] Compiling ContainersPreview Producer.swift
[149/191] Compiling ContainersPreview InputSpan.swift
[150/191] Compiling ContainersPreview MutableRef.swift
[157/192] Emitting module AppwriteEnums
[159/193] Compiling Tracing TracingTime.swift
[164/194] Compiling Tracing NoOpTracer.swift
[165/194] Compiling Tracing InstrumentationSystem+Tracing.swift
[166/194] Compiling Tracing WithTracer.swift
[167/218] Compiling Tracing TracerProtocol.swift
[168/235] Compiling DequeModule RigidDeque+Equatable.swift
[169/235] Compiling DequeModule RigidDeque+Experimental.swift
[170/235] Compiling DequeModule RigidDeque+Hashable.swift
[171/235] Compiling DequeModule RigidDeque+Initializers.swift
[172/235] Compiling DequeModule RigidDeque+Insertions.swift
[173/235] Compiling DequeModule RigidDeque+Prepend.swift
[174/235] Compiling Tracing Tracer.swift
[175/235] Compiling Tracing TracerProtocol+Legacy.swift
[176/240] Emitting module Tracing
[177/240] Compiling DequeModule UniqueDeque+Hashable.swift
[178/240] Compiling DequeModule UniqueDeque+Initializers.swift
[179/240] Compiling DequeModule UniqueDeque+Insertions.swift
[180/240] Compiling DequeModule UniqueDeque+Prepend.swift
[181/240] Compiling DequeModule UniqueDeque+Removals.swift
[182/240] Compiling DequeModule UniqueDeque+Container.swift
[183/240] Compiling DequeModule UniqueDeque+Deprecated.swift
[184/240] Compiling DequeModule UniqueDeque+Descriptions.swift
[185/240] Compiling DequeModule UniqueDeque+Equatable.swift
[186/240] Compiling DequeModule UniqueDeque+Experimental.swift
[187/275] Compiling AppwriteModels Phone.swift
[188/276] Compiling AppwriteModels PhoneList.swift
[189/276] Compiling AppwriteModels Preferences.swift
[190/310] Compiling AppwriteModels AppInstallationList.swift
[191/310] Compiling AppwriteModels AppKey.swift
[192/310] Compiling AppwriteModels AppKeyList.swift
[193/310] Compiling AppwriteModels AppScope.swift
[194/310] Compiling AppwriteModels AppScopeList.swift
[195/310] Compiling AppwriteModels AppSecret.swift
[196/310] Compiling AppwriteModels AlgoBcrypt.swift
[197/310] Compiling AppwriteModels AlgoMd5.swift
[198/310] Compiling AppwriteModels AlgoPhpass.swift
[199/310] Compiling AppwriteModels AlgoScrypt.swift
[200/310] Compiling AppwriteModels AlgoScryptModified.swift
[201/310] Compiling AppwriteModels AlgoSha.swift
[202/310] Compiling Tracing SpanProtocol.swift
[203/310] Compiling AppwriteModels Oauth2ConsentToken.swift
[204/310] Compiling AppwriteModels Oauth2ConsentTokenList.swift
[205/310] Compiling AppwriteModels Oauth2DeviceAuthorization.swift
[209/311] Compiling AppwriteModels Oauth2Project.swift
[210/311] Compiling AppwriteModels Oauth2ProjectList.swift
[211/311] Compiling AppwriteModels Oauth2Reject.swift
[212/311] Compiling AppwriteModels Account.swift
[213/311] Compiling AppwriteModels AlgoArgon2.swift
[218/311] Compiling AppwriteModels Oauth2Grant.swift
[219/311] Compiling AppwriteModels Oauth2Organization.swift
[220/311] Compiling AppwriteModels Oauth2OrganizationList.swift
[221/311] Compiling AppwriteModels Oauth2PAR.swift
[228/311] Compiling AppwriteModels App.swift
[229/311] Compiling AppwriteModels AppInstallation.swift
[230/311] Compiling AppwriteModels Oauth2Token.swift
[234/311] Emitting module DequeModule
[235/311] Emitting module AppwriteModels
[236/320] Compiling AppwriteModels Country.swift
[237/320] Compiling AppwriteModels CountryList.swift
[238/320] Compiling AppwriteModels Currency.swift
[239/320] Compiling AppwriteModels CurrencyList.swift
[240/320] Compiling AppwriteModels Document.swift
[242/321] Compiling AppwriteModels Membership.swift
[243/321] Compiling AppwriteModels MembershipList.swift
[244/321] Compiling AppwriteModels MfaChallenge.swift
[245/321] Compiling AppwriteModels MfaFactors.swift
[246/321] Compiling AppwriteModels MfaRecoveryCodes.swift
[247/321] Compiling AppwriteModels MfaType.swift
[248/321] Compiling AppwriteModels Oauth2Approve.swift
[249/321] Compiling AppwriteModels Oauth2Authorize.swift
[250/321] Compiling AppwriteModels Oauth2Consent.swift
[251/321] Compiling AppwriteModels Oauth2ConsentList.swift
[252/321] Compiling AppwriteModels FileList.swift
[253/321] Compiling AppwriteModels Headers.swift
[254/321] Compiling AppwriteModels Identity.swift
[255/321] Compiling AppwriteModels IdentityList.swift
[256/321] Compiling AppwriteModels Jwt.swift
[257/321] Compiling AppwriteModels Language.swift
[258/321] Compiling AppwriteModels LanguageList.swift
[259/321] Compiling AppwriteModels Locale.swift
[260/321] Compiling AppwriteModels LocaleCode.swift
[261/321] Compiling AppwriteModels LocaleCodeList.swift
[282/321] Emitting module Atomics
[287/322] Compiling AppwriteModels Presence.swift
[288/322] Compiling AppwriteModels PresenceList.swift
[289/322] Compiling AppwriteModels Row.swift
[290/322] Compiling AppwriteModels RowList.swift
[291/322] Compiling AppwriteModels Session.swift
[292/322] Compiling AppwriteModels ContinentList.swift
[298/322] Compiling AppwriteModels DocumentList.swift
[299/322] Compiling AppwriteModels Execution.swift
[300/322] Compiling AppwriteModels ExecutionList.swift
[301/322] Compiling AppwriteModels File.swift
[308/322] Compiling AppwriteModels AppSecretList.swift
[309/322] Compiling AppwriteModels AppSecretPlaintext.swift
[310/322] Compiling AppwriteModels AppsList.swift
[311/322] Compiling AppwriteModels Continent.swift
[313/380] Compiling AppwriteModels SessionList.swift
[314/380] Compiling AppwriteModels Subscriber.swift
[315/380] Compiling AppwriteModels Target.swift
[316/380] Compiling AppwriteModels Team.swift
[317/380] Compiling AppwriteModels TeamList.swift
[318/380] Compiling AppwriteModels Token.swift
[319/380] Compiling AppwriteModels Transaction.swift
[320/380] Compiling AppwriteModels TransactionList.swift
[321/380] Compiling AppwriteModels User.swift
[323/387] Emitting module Algorithms
[325/388] Compiling NIOCore IPProtocol.swift
[326/388] Compiling NIOCore IntegerBitPacking.swift
[327/388] Compiling NIOCore IntegerTypes.swift
[328/388] Compiling NIOCore Interfaces.swift
[329/388] Compiling NIOCore Linux.swift
[330/388] Compiling NIOCore MarkedCircularBuffer.swift
[331/388] Compiling NIOCore MulticastChannel.swift
[332/388] Compiling NIOCore NIOAny.swift
[333/388] Compiling NIOCore NIOCloseOnErrorHandler.swift
[334/396] Compiling NIOCore EventLoopFuture+Deprecated.swift
[335/396] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[336/396] Compiling NIOCore EventLoopFuture.swift
[337/396] Compiling NIOCore FileDescriptor.swift
[338/396] Compiling NIOCore FileHandle.swift
[339/396] Compiling NIOCore FileRegion.swift
[340/396] Compiling NIOCore GlobalSingletons.swift
[341/396] Compiling NIOCore IO.swift
[342/396] Compiling NIOCore IOData.swift
[343/396] Compiling NIOCore AddressedEnvelope.swift
[344/396] Compiling NIOCore AsyncAwaitSupport.swift
[345/396] Compiling NIOCore AsyncChannel.swift
[346/396] Compiling NIOCore AsyncChannelHandler.swift
[347/396] Compiling NIOCore AsyncChannelInboundStream.swift
[348/396] Compiling NIOCore AsyncChannelOutboundWriter.swift
[349/396] Compiling NIOCore NIOAsyncSequenceProducer.swift
[350/396] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[351/396] Compiling NIOCore NIOAsyncWriter.swift
[352/396] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[353/396] Compiling NIOCore BSDSocketAPI.swift
[354/396] Compiling NIOCore ByteBuffer-aux.swift
[355/396] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[356/396] Compiling NIOCore ByteBuffer-conversions.swift
[357/396] Compiling NIOCore ByteBuffer-core.swift
[358/396] Compiling NIOCore ByteBuffer-hex.swift
[359/396] Compiling NIOCore ByteBuffer-int.swift
[360/396] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[361/396] Compiling NIOCore CircularBuffer.swift
[362/396] Compiling NIOCore Codec.swift
[363/396] Compiling NIOCore ConvenienceOptionSupport.swift
[364/396] Compiling NIOCore DeadChannel.swift
[365/396] Compiling NIOCore DispatchQueue+WithFuture.swift
[366/396] Compiling NIOCore EventLoop+Deprecated.swift
[367/396] Compiling NIOCore EventLoop+SerialExecutor.swift
[368/396] Compiling NIOCore EventLoop.swift
[369/396] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[370/396] Compiling NIOCore NIOCoreSendableMetatype.swift
[371/396] Compiling NIOCore NIODecodedAsyncSequence.swift
[372/396] Compiling NIOCore NIOLoopBound.swift
[373/396] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[374/396] Compiling NIOCore NIOScheduledCallback.swift
[375/396] Compiling NIOCore NIOSendable.swift
[376/396] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[377/396] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[378/396] Compiling NIOCore RecvByteBufferAllocator.swift
[379/396] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[380/396] Compiling NIOCore SocketAddresses.swift
[381/396] Compiling NIOCore SocketOptionProvider.swift
[382/396] Compiling NIOCore SystemCallHelpers.swift
[383/396] Compiling NIOCore TimeAmount+Duration.swift
[384/396] Compiling NIOCore TypeAssistedChannelHandler.swift
[385/396] Compiling NIOCore UniversalBootstrapSupport.swift
[386/396] Compiling NIOCore Utilities.swift
[387/396] Compiling NIOCore ByteBuffer-multi-int.swift
[388/396] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[389/396] Compiling NIOCore ByteBuffer-views.swift
[390/396] Compiling NIOCore Channel.swift
[391/396] Compiling NIOCore ChannelHandler.swift
[392/396] Compiling NIOCore ChannelHandlers.swift
[393/396] Compiling NIOCore ChannelInvoker.swift
[394/396] Compiling NIOCore ChannelOption.swift
[395/396] Compiling NIOCore ChannelPipeline.swift
[396/396] Emitting module NIOCore
[398/451] Compiling NIOEmbedded Embedded.swift
[399/451] Compiling NIOEmbedded AsyncTestingChannel.swift
[400/451] Emitting module NIOEmbedded
[401/451] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[403/452] Compiling NIOPosix Selectable.swift
[404/452] Compiling NIOPosix SelectableChannel.swift
[405/452] Compiling NIOPosix SelectableEventLoop.swift
[406/452] Compiling NIOPosix SelectorEpoll.swift
[407/452] Compiling NIOPosix SelectorGeneric.swift
[408/452] Compiling NIOPosix SelectorKqueue.swift
[409/452] Compiling NIOPosix SelectorUring.swift
[410/459] Compiling NIOPosix SelectorWSAPoll.swift
[411/459] Compiling NIOPosix ServerSocket.swift
[412/459] Compiling NIOPosix Socket.swift
[413/459] Compiling NIOPosix SocketChannel.swift
[414/459] Compiling NIOPosix SocketProtocols.swift
[415/459] Compiling NIOPosix StructuredConcurrencyHelpers.swift
[416/459] Compiling NIOPosix System.swift
[417/459] Compiling NIOPosix HappyEyeballs.swift
[418/459] Compiling NIOPosix IO.swift
[419/459] Compiling NIOPosix IntegerBitPacking.swift
[420/459] Compiling NIOPosix IntegerTypes.swift
[421/459] Compiling NIOPosix Linux.swift
[422/459] Compiling NIOPosix LinuxCPUSet.swift
[423/459] Compiling NIOPosix LinuxUring.swift
[424/459] Compiling NIOPosix BSDSocketAPICommon.swift
[425/459] Compiling NIOPosix BSDSocketAPIPosix.swift
[426/459] Compiling NIOPosix BSDSocketAPIWindows.swift
[427/459] Compiling NIOPosix BaseSocket.swift
[428/459] Compiling NIOPosix BaseSocketChannel+AccessibleTransport.swift
[429/459] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[430/459] Compiling NIOPosix BaseSocketChannel.swift
[431/459] Emitting module NIOPosix
[432/459] Compiling NIOPosix PipeChannel.swift
[433/459] Compiling NIOPosix PipePair.swift
[434/459] Compiling NIOPosix Pool.swift
[435/459] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[436/459] Compiling NIOPosix PosixSingletons.swift
[437/459] Compiling NIOPosix RawSocketBootstrap.swift
[438/459] Compiling NIOPosix Resolver.swift
[439/459] Compiling NIOPosix BaseStreamSocketChannel.swift
[440/459] Compiling NIOPosix Bootstrap.swift
[441/459] Compiling NIOPosix ControlMessage.swift
[442/459] Compiling NIOPosix DatagramVectorReadManager.swift
[443/459] Compiling NIOPosix Errors+Any.swift
[444/459] Compiling NIOPosix FileDescriptor.swift
[445/459] Compiling NIOPosix GetaddrinfoResolver.swift
[446/459] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[447/459] Compiling NIOPosix NIOPosixSendableMetatype.swift
[448/459] Compiling NIOPosix NIORandomizedDNSResolver.swift
[449/459] Compiling NIOPosix NIOThreadPool.swift
[450/459] Compiling NIOPosix NonBlockingFileIO.swift
[451/459] Compiling NIOPosix PendingDatagramWritesManager.swift
[452/459] Compiling NIOPosix PendingWritesManager.swift
[453/459] Compiling NIOPosix Thread.swift
[454/459] Compiling NIOPosix ThreadPosix.swift
[455/459] Compiling NIOPosix ThreadWindows.swift
[456/459] Compiling NIOPosix Utilities.swift
[457/459] Compiling NIOPosix VsockAddress.swift
[458/459] Compiling NIOPosix VsockChannelEvents.swift
[459/459] Compiling NIOPosix Windows.swift
[461/462] Emitting module NIO
[462/462] Compiling NIO Exports.swift
[464/498] Compiling NIOSOCKS AuthenticationMethod.swift
[465/498] Compiling NIOSOCKS ClientGreeting.swift
[466/499] Compiling NIOTLS SNIHandler.swift
[467/499] Compiling NIOTLS TLSEvents.swift
[468/499] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[469/499] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[470/499] Emitting module NIOTLS
[471/499] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[472/500] Compiling NIOSOCKS ClientStateMachine.swift
[473/500] Compiling NIOSOCKS SelectedAuthenticationMethod.swift
[474/500] Compiling NIOSOCKS SOCKSResponse.swift
[476/500] Compiling NIOSOCKS ServerStateMachine.swift
[477/500] Emitting module NIOSOCKS
[478/500] Compiling NIOSOCKS SOCKSClientHandler.swift
[479/500] Compiling NIOSOCKS SOCKSServerHandshakeHandler.swift
[480/500] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[481/500] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[482/502] Compiling NIOSOCKS Errors.swift
[483/502] Compiling NIOSOCKS Helpers.swift
[484/502] Compiling NIOSOCKS Messages.swift
[485/502] Compiling NIOSOCKS SOCKSRequest.swift
[486/555] Compiling NIOTransportServices NIOFilterEmptyWritesHandler.swift
[487/555] Compiling NIOTransportServices NIOTSConnectionChannel.swift
[489/555] Compiling NIOTransportServices NIOTSBootstraps.swift
[490/555] Compiling NIOTransportServices NIOTSChannelOptions.swift
[491/555] Compiling NIOTransportServices NIOTSConnectionBootstrap.swift
[492/557] Compiling NIOTransportServices AcceptHandler.swift
[493/557] Compiling NIOTransportServices NIOTSDatagramConnectionBootstrap.swift
[494/557] Compiling NIOTransportServices NIOTSDatagramConnectionChannel.swift
[495/557] Emitting module NIOTransportServices
[496/557] Compiling NIOTransportServices NIOTSListenerChannel.swift
[497/557] Compiling NIOTransportServices StateManagedChannel.swift
[498/557] Compiling NIOTransportServices NIOTSNetworkEvents.swift
[499/557] Compiling NIOTransportServices NIOTSSingletons.swift
[500/557] Compiling NIOTransportServices SocketAddress+NWEndpoint.swift
[502/557] Compiling NIOTransportServices NIOTSErrors.swift
[503/557] Compiling NIOTransportServices NIOTSEventLoop.swift
[505/557] Compiling NIOTransportServices StateManagedListenerChannel.swift
[506/557] Compiling NIOTransportServices StateManagedNWConnectionChannel.swift
[507/557] Compiling NIOTransportServices NIOTSDatagramListenerBootstrap.swift
[508/557] Compiling NIOTransportServices NIOTSDatagramListenerChannel.swift
[510/557] Compiling NIOTransportServices NIOTSEventLoopGroup.swift
[511/557] Compiling NIOTransportServices NIOTSListenerBootstrap.swift
[513/557] Compiling NIOTransportServices TCPOptions+SocketChannelOption.swift
[514/557] Compiling NIOTransportServices UDPOptions+SocketChannelOption.swift
[515/558] Emitting module NIOSSL
[519/562] Emitting module NIOHTTP1
[530/563] Compiling NIOSSL SubjectAlternativeName.swift
[531/563] Compiling NIOSSL NIOSSLSecureBytes.swift
[532/563] Compiling NIOSSL RNG.swift
[533/563] Compiling NIOSSL SafeCompare.swift
[536/563] Compiling NIOSSL SecurityFrameworkCertificateVerification.swift
[537/563] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
[547/590] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
[548/590] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[549/590] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
[550/590] Compiling NIOWebSocket SHA1.swift
[551/590] Compiling NIOHPACK HPACKHeader.swift
[560/590] Compiling NIOSSL Zeroization.swift
[561/590] Compiling NIOSSL TLSConfiguration.swift
[562/590] Compiling NIOSSL UniversalBootstrapSupport.swift
[563/590] Compiling NIOSSL UnsafeKeyAndChainTarget.swift
[565/591] Compiling NIOHPACK IntegerCoding.swift
[566/592] Compiling NIOHPACK StaticHeaderTable.swift
[569/593] Compiling NIOHPACK IndexedHeaderTable.swift
[570/593] Compiling NIOWebSocket WebSocketOpcode.swift
[571/593] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[572/593] Compiling NIOHTTPCompression HTTPDecompressor.swift
[573/593] Compiling NIOHTTPCompression HTTPRequestCompressor.swift
[574/593] Compiling NIOHTTPCompression HTTPResponseCompressor.swift
[575/593] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[578/593] Emitting module NIOHPACK
[579/593] Compiling NIOWebSocket WebSocketErrorCodes.swift
[580/593] Compiling NIOHTTPCompression HTTPDecompression.swift
[581/593] Emitting module NIOHTTPCompression
[582/593] Compiling NIOHTTPCompression HTTPCompression.swift
[583/594] Compiling NIOWebSocket WebSocketFrame.swift
[584/594] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[585/594] Compiling NIOHPACK HuffmanTables.swift
[590/594] Compiling NIOHPACK HuffmanCoding.swift
[592/594] Compiling NIOHPACK HeaderTables.swift
[593/594] Emitting module NIOWebSocket
[597/681] Compiling NIOHTTP2 SendingHeadersState.swift
[598/681] Compiling NIOHTTP2 SendingPushPromiseState.swift
[599/681] Compiling NIOHTTP2 SendingRstStreamState.swift
[600/681] Emitting module MQTTNIO
[601/684] Compiling NIOHTTP2 ConnectionStateMachine.swift
[602/684] Compiling NIOHTTP2 ConnectionStreamsState.swift
[603/684] Compiling NIOHTTP2 MayReceiveFrames.swift
[604/684] Compiling MQTTNIO MQTTSerializer.swift
[605/684] Compiling MQTTNIO MQTTTask.swift
[606/684] Compiling MQTTNIO TSTLSConfiguration.swift
[607/684] Compiling NIOHTTP2 MaySendFrames.swift
[608/684] Compiling NIOHTTP2 SendingDataState.swift
[609/684] Compiling NIOHTTP2 SendingGoawayState.swift
[613/684] Compiling NIOHTTP2 SendingWindowUpdateState.swift
[614/684] Compiling NIOHTTP2 HTTP2SettingsState.swift
[615/684] Compiling NIOHTTP2 HasExtendedConnectSettings.swift
[619/692] Compiling NIOHTTP2 SendAndReceiveGoawayState.swift
[620/692] Compiling NIOHTTP2 StateMachineResult.swift
[621/692] Compiling NIOHTTP2 ContentLengthVerifier.swift
[622/692] Compiling NIOHTTP2 HasFlowControlWindows.swift
[623/692] Compiling NIOHTTP2 HasLocalSettings.swift
[624/692] Compiling NIOHTTP2 HasRemoteSettings.swift
[628/692] Compiling NIOHTTP2 LocallyQuiescingState.swift
[629/692] Compiling NIOHTTP2 QuiescingState.swift
[630/692] Compiling NIOHTTP2 RemotelyQuiescingState.swift
[632/693] Compiling NIOHTTP2 NIOHTTP2ServerConnectionManagementHandler.swift
[633/693] Compiling NIOHTTP2 StreamChannelFlowController.swift
[634/693] Compiling NIOHTTP2 StreamChannelList.swift
[635/693] Compiling NIOHTTP2 StreamMap.swift
[636/693] Compiling NIOHTTP2 StreamStateMachine.swift
[637/693] Compiling NIOHTTP2 Timer.swift
[638/693] Compiling NIOHTTP2 UnsafeTransfer.swift
[639/693] Compiling NIOHTTP2 WatermarkedFlowController.swift
[640/693] Compiling NIOHTTP2 HTTP2StreamMultiplexer.swift
[641/693] Compiling NIOHTTP2 HTTP2ToHTTP1Codec.swift
[642/693] Compiling NIOHTTP2 HTTP2UserEvents.swift
[643/693] Compiling NIOHTTP2 InboundEventBuffer.swift
[644/693] Compiling NIOHTTP2 InboundWindowManager.swift
[645/693] Compiling NIOHTTP2 MultiplexerAbstractChannel.swift
[646/693] Compiling NIOHTTP2 NIOHTTP2FrameDelegate.swift
[647/693] Compiling NIOHTTP2 NIOHTTP2ServerConnectionManagementHandler+StateMachine.swift
[648/693] Emitting module NIOHTTP2
[649/693] Compiling NIOHTTP2 HTTP2FrameParser.swift
[650/693] Compiling NIOHTTP2 HTTP2PingData.swift
[651/693] Compiling NIOHTTP2 HTTP2PipelineHelpers.swift
[652/693] Compiling NIOHTTP2 HTTP2Settings.swift
[653/693] Compiling NIOHTTP2 HTTP2Stream.swift
[654/693] Compiling NIOHTTP2 HTTP2StreamChannel+OutboundStreamMultiplexer.swift
[655/693] Compiling NIOHTTP2 HTTP2StreamChannel.swift
[656/693] Compiling NIOHTTP2 HTTP2StreamDelegate.swift
[657/693] Compiling NIOHTTP2 HTTP2StreamID.swift
[664/693] Compiling NIOHTTP2 ReceivingPushPromiseState.swift
[665/693] Compiling NIOHTTP2 ReceivingRstStreamState.swift
[666/693] Compiling NIOHTTP2 ReceivingWindowUpdateState.swift
[676/693] Compiling NIOHTTP2 DOSHeuristics.swift
[677/693] Compiling NIOHTTP2 Error+Any.swift
[678/693] Compiling NIOHTTP2 ConcurrentStreamBuffer.swift
[679/693] Compiling NIOHTTP2 ControlFrameBuffer.swift
[680/693] Compiling NIOHTTP2 OutboundFlowControlBuffer.swift
[681/693] Compiling NIOHTTP2 OutboundFrameBuffer.swift
[682/693] Compiling NIOHTTP2 GlitchesMonitor.swift
[683/693] Compiling NIOHTTP2 HPACKHeaders+Validation.swift
[684/693] Compiling NIOHTTP2 HTTP2ChannelHandler+InboundStreamMultiplexer.swift
[685/693] Compiling NIOHTTP2 HTTP2ChannelHandler+InlineStreamMultiplexer.swift
[686/693] Compiling NIOHTTP2 HTTP2ChannelHandler.swift
[687/693] Compiling NIOHTTP2 HTTP2CommonInboundStreamMultiplexer.swift
[688/693] Compiling NIOHTTP2 HTTP2ConnectionStateChange.swift
[689/693] Compiling NIOHTTP2 HTTP2Error.swift
[690/693] Compiling NIOHTTP2 HTTP2ErrorCode.swift
[691/693] Compiling NIOHTTP2 HTTP2FlowControlWindow.swift
[692/693] Compiling NIOHTTP2 HTTP2Frame.swift
[693/693] Compiling NIOHTTP2 HTTP2FrameEncoder.swift
[695/758] Compiling AsyncHTTPClient LRUCache.swift
[696/758] Compiling AsyncHTTPClient NIOLoopBound+Execute.swift
[697/758] Compiling AsyncHTTPClient NWErrorHandler.swift
[698/758] Compiling AsyncHTTPClient NWWaitingHandler.swift
[699/758] Compiling AsyncHTTPClient TLSConfiguration.swift
[700/758] Compiling AsyncHTTPClient RedirectState.swift
[701/758] Compiling AsyncHTTPClient RequestBag+StateMachine.swift
[702/758] Compiling AsyncHTTPClient RequestBag+Tracing.swift
[703/758] Compiling AsyncHTTPClient RequestBag.swift
[704/766] Emitting module AsyncHTTPClient
[705/766] Compiling AsyncHTTPClient AnyAsyncSequence.swift
[706/766] Compiling AsyncHTTPClient AnyAsyncSequenceProucerDelete.swift
[707/766] Compiling AsyncHTTPClient AsyncLazySequence.swift
[708/766] Compiling AsyncHTTPClient HTTPClient+execute.swift
[709/766] Compiling AsyncHTTPClient HTTPClient+shutdown.swift
[710/766] Compiling AsyncHTTPClient HTTPClient+tracing.swift
[711/766] Compiling AsyncHTTPClient HTTPClientRequest+Prepared.swift
[712/766] Compiling AsyncHTTPClient HTTPClientRequest+auth.swift
[713/766] Compiling AsyncHTTPClient HTTPClientRequest.swift
[714/766] Compiling AsyncHTTPClient HTTPClientResponse.swift
[715/766] Compiling AsyncHTTPClient SingleIteratorPrecondition.swift
[716/766] Compiling AsyncHTTPClient Transaction+StateMachine.swift
[717/766] Compiling AsyncHTTPClient Transaction.swift
[718/766] Compiling AsyncHTTPClient Base64.swift
[719/766] Compiling AsyncHTTPClient BasicAuth.swift
[720/766] Compiling AsyncHTTPClient BestEffortHashableTLSConfiguration.swift
[721/766] Compiling AsyncHTTPClient Configuration+BrowserLike.swift
[722/766] Compiling AsyncHTTPClient ConnectionPool.swift
[723/766] Compiling AsyncHTTPClient RequestOptions.swift
[724/766] Compiling AsyncHTTPClient HTTPConnectionPool+Backoff.swift
[725/766] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP1Connections.swift
[726/766] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP1StateMachine.swift
[727/766] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP2Connections.swift
[728/766] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP2StateMachine.swift
[729/766] Compiling AsyncHTTPClient HTTPConnectionPool+RequestQueue.swift
[730/766] Compiling AsyncHTTPClient HTTPConnectionPool+StateMachine.swift
[731/766] Compiling AsyncHTTPClient ConnectionTarget.swift
[732/766] Compiling AsyncHTTPClient RequestValidation.swift
[733/766] Compiling AsyncHTTPClient SSLContextCache.swift
[734/766] Compiling AsyncHTTPClient Scheme.swift
[735/766] Compiling AsyncHTTPClient Singleton.swift
[736/766] Compiling AsyncHTTPClient StringConvertibleInstances.swift
[737/766] Compiling AsyncHTTPClient StructuredConcurrencyHelpers.swift
[738/766] Compiling AsyncHTTPClient TracingSupport.swift
[739/766] Compiling AsyncHTTPClient Utils.swift
[740/766] Compiling AsyncHTTPClient DeconstructedURL.swift
[741/766] Compiling AsyncHTTPClient FileDownloadDelegate.swift
[742/766] Compiling AsyncHTTPClient FoundationExtensions.swift
[743/766] Compiling AsyncHTTPClient HTTPClient+HTTPCookie.swift
[744/766] Compiling AsyncHTTPClient HTTPClient+Proxy.swift
[745/766] Compiling AsyncHTTPClient HTTPClient+StructuredConcurrency.swift
[746/766] Compiling AsyncHTTPClient HTTPClient.swift
[747/766] Compiling AsyncHTTPClient HTTPClientConfiguration+SwiftConfiguration.swift
[748/766] Compiling AsyncHTTPClient HTTPHandler.swift
[749/766] Compiling AsyncHTTPClient HTTPConnectionEvent.swift
[750/766] Compiling AsyncHTTPClient HTTPConnectionPool+Factory.swift
[751/766] Compiling AsyncHTTPClient HTTPConnectionPool+Manager.swift
[752/766] Compiling AsyncHTTPClient HTTPConnectionPool.swift
[753/766] Compiling AsyncHTTPClient HTTPExecutableRequest.swift
[754/766] Compiling AsyncHTTPClient HTTPRequestStateMachine+Demand.swift
[755/766] Compiling AsyncHTTPClient HTTPRequestStateMachine.swift
[756/766] Compiling AsyncHTTPClient RequestBodyLength.swift
[757/766] Compiling AsyncHTTPClient RequestFramingMetadata.swift
[758/766] Compiling AsyncHTTPClient HTTP1ProxyConnectHandler.swift
[759/766] Compiling AsyncHTTPClient SOCKSEventsHandler.swift
[760/766] Compiling AsyncHTTPClient TLSEventsHandler.swift
[761/766] Compiling AsyncHTTPClient HTTP1ClientChannelHandler.swift
[762/766] Compiling AsyncHTTPClient HTTP1Connection.swift
[763/766] Compiling AsyncHTTPClient HTTP1ConnectionStateMachine.swift
[764/766] Compiling AsyncHTTPClient HTTP2ClientRequestHandler.swift
[765/766] Compiling AsyncHTTPClient HTTP2Connection.swift
[766/766] Compiling AsyncHTTPClient HTTP2IdleHandler.swift
[768/817] Compiling Appwrite Functions.swift
[769/817] Compiling Appwrite Graphql.swift
[770/817] Compiling Appwrite Locale.swift
[771/817] Compiling Appwrite Messaging.swift
[772/817] Compiling Appwrite Oauth2.swift
[773/817] Compiling Appwrite Organization.swift
[774/817] Compiling Appwrite Presences.swift
[775/824] Compiling Appwrite ID.swift
[776/824] Compiling Appwrite AppwriteError.swift
[777/824] Compiling Appwrite InputFile.swift
[778/824] Compiling Appwrite RealtimeModels.swift
[779/824] Compiling Appwrite UploadProgress.swift
[780/824] Compiling Appwrite View+OAuth.swift
[781/824] Compiling Appwrite WebAuthComponent.swift
[782/824] Emitting module Appwrite
[783/824] Compiling Appwrite CwlSysCtl.swift
[784/824] Compiling Appwrite MacOSDeviceInfo.swift
[785/824] Compiling Appwrite WKInterfaceDevice+ModelName.swift
[786/824] Compiling Appwrite WatchOSDeviceInfo.swift
[787/824] Compiling Appwrite Cookie+Codable.swift
[788/824] Compiling Appwrite HTTPClientRequest+Cookies.swift
[789/824] Compiling Appwrite String+MimeTypes.swift
[790/824] Compiling Appwrite Channel.swift
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:885:5: error: missing return in static method expected to return 'String'
883 |             return "windows"
884 |         #endif
885 |     }
    |     `- error: missing return in static method expected to return 'String'
886 |
887 |     private static func getDevice() -> String {
[791/824] Compiling Appwrite Client.swift
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:885:5: error: missing return in static method expected to return 'String'
883 |             return "windows"
884 |         #endif
885 |     }
    |     `- error: missing return in static method expected to return 'String'
886 |
887 |     private static func getDevice() -> String {
[792/824] Compiling Appwrite LinuxDeviceInfo.swift
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:885:5: error: missing return in static method expected to return 'String'
883 |             return "windows"
884 |         #endif
885 |     }
    |     `- error: missing return in static method expected to return 'String'
886 |
887 |     private static func getDevice() -> String {
[793/824] Compiling Appwrite OSDeviceInfo.swift
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:885:5: error: missing return in static method expected to return 'String'
883 |             return "windows"
884 |         #endif
885 |     }
    |     `- error: missing return in static method expected to return 'String'
886 |
887 |     private static func getDevice() -> String {
[794/824] Compiling Appwrite WindowsDeviceInfo.swift
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:885:5: error: missing return in static method expected to return 'String'
883 |             return "windows"
884 |         #endif
885 |     }
    |     `- error: missing return in static method expected to return 'String'
886 |
887 |     private static func getDevice() -> String {
[795/824] Compiling Appwrite IOSDeviceInfo.swift
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:885:5: error: missing return in static method expected to return 'String'
883 |             return "windows"
884 |         #endif
885 |     }
    |     `- error: missing return in static method expected to return 'String'
886 |
887 |     private static func getDevice() -> String {
[796/824] Compiling Appwrite UIDevice+ModelName.swift
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:885:5: error: missing return in static method expected to return 'String'
883 |             return "windows"
884 |         #endif
885 |     }
    |     `- error: missing return in static method expected to return 'String'
886 |
887 |     private static func getDevice() -> String {
[797/824] Compiling Appwrite StreamingDelegate.swift
/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: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 |
[798/824] Compiling Appwrite Topic.swift
/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: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 |
[799/824] Compiling Appwrite HTTPHandler.swift
/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: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 |
[800/824] Compiling Appwrite MessageHandler.swift
/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: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 |
[801/824] Compiling Appwrite WebSocketClient.swift
/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: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 |
[802/824] Compiling Appwrite WebSocketClientDelegate.swift
/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: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 |
[803/824] Compiling Appwrite WebSocketClientError.swift
/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: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 |
[804/824] 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",
[805/824] 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",
[806/824] 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",
[807/824] 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",
[808/824] 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",
[809/824] 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",
[810/824] 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",
[811/824] Compiling Appwrite Operator.swift
/host/spi-builder-workspace/Sources/Appwrite/PackageInfo/OSPackageInfo.swift:13:5: error: missing return in static method expected to return 'PackageInfo'
11 |             return PackageInfo.getWindowsPackage()
12 |         #endif
13 |     }
   |     `- error: missing return in static method expected to return 'PackageInfo'
14 | }
15 |
[812/824] Compiling Appwrite PackageInfo+Apple.swift
/host/spi-builder-workspace/Sources/Appwrite/PackageInfo/OSPackageInfo.swift:13:5: error: missing return in static method expected to return 'PackageInfo'
11 |             return PackageInfo.getWindowsPackage()
12 |         #endif
13 |     }
   |     `- error: missing return in static method expected to return 'PackageInfo'
14 | }
15 |
[813/824] Compiling Appwrite PackageInfo+Linux.swift
/host/spi-builder-workspace/Sources/Appwrite/PackageInfo/OSPackageInfo.swift:13:5: error: missing return in static method expected to return 'PackageInfo'
11 |             return PackageInfo.getWindowsPackage()
12 |         #endif
13 |     }
   |     `- error: missing return in static method expected to return 'PackageInfo'
14 | }
15 |
[814/824] Compiling Appwrite OSPackageInfo.swift
/host/spi-builder-workspace/Sources/Appwrite/PackageInfo/OSPackageInfo.swift:13:5: error: missing return in static method expected to return 'PackageInfo'
11 |             return PackageInfo.getWindowsPackage()
12 |         #endif
13 |     }
   |     `- error: missing return in static method expected to return 'PackageInfo'
14 | }
15 |
[815/824] Compiling Appwrite PackageInfo.swift
/host/spi-builder-workspace/Sources/Appwrite/PackageInfo/OSPackageInfo.swift:13:5: error: missing return in static method expected to return 'PackageInfo'
11 |             return PackageInfo.getWindowsPackage()
12 |         #endif
13 |     }
   |     `- error: missing return in static method expected to return 'PackageInfo'
14 | }
15 |
[816/824] Compiling Appwrite PackageInfo+Windows.swift
/host/spi-builder-workspace/Sources/Appwrite/PackageInfo/OSPackageInfo.swift:13:5: error: missing return in static method expected to return 'PackageInfo'
11 |             return PackageInfo.getWindowsPackage()
12 |         #endif
13 |     }
   |     `- error: missing return in static method expected to return 'PackageInfo'
14 | }
15 |
[817/824] Compiling Appwrite Permission.swift
/host/spi-builder-workspace/Sources/Appwrite/PackageInfo/OSPackageInfo.swift:13:5: error: missing return in static method expected to return 'PackageInfo'
11 |             return PackageInfo.getWindowsPackage()
12 |         #endif
13 |     }
   |     `- error: missing return in static method expected to return 'PackageInfo'
14 | }
15 |
[818/824] Compiling Appwrite Push.swift
/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 |         )
[819/824] Compiling Appwrite Realtime.swift
/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 |         )
[820/824] Compiling Appwrite Service.swift
/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 |         )
[821/824] Compiling Appwrite Storage.swift
/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 |         )
[822/824] Compiling Appwrite TablesDB.swift
/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 |         )
[823/824] Compiling Appwrite Teams.swift
/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 |         )
[824/824] Compiling Appwrite VectorsDB.swift
/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 |         )
BUILD FAILURE 6.1 android