The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Appwrite, reference main (0e6bd9), with Swift 6.1 for Android on 27 Nov 2026 23:54:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/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

1388 |     private static var apnsToken: String?
1389 |     private static var apnsPushes: [ObjectIdentifier: WeakPush] = [:]
     |                        |- warning: static property 'apnsPushes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'apnsPushes' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'apnsPushes' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1390 |     private static var apnsLinked: [String: Set<String>] = [:]
1391 |     private static var apnsProxyInstalled = false
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1390:24: warning: static property 'apnsLinked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1388 |     private static var apnsToken: String?
1389 |     private static var apnsPushes: [ObjectIdentifier: WeakPush] = [:]
1390 |     private static var apnsLinked: [String: Set<String>] = [:]
     |                        |- warning: static property 'apnsLinked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'apnsLinked' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'apnsLinked' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1391 |     private static var apnsProxyInstalled = false
1392 |     private static var apnsRegistrationRequested = false
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1391:24: warning: static property 'apnsProxyInstalled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1389 |     private static var apnsPushes: [ObjectIdentifier: WeakPush] = [:]
1390 |     private static var apnsLinked: [String: Set<String>] = [:]
1391 |     private static var apnsProxyInstalled = false
     |                        |- warning: static property 'apnsProxyInstalled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'apnsProxyInstalled' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'apnsProxyInstalled' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1392 |     private static var apnsRegistrationRequested = false
1393 |     static var apnsDeliveries = Deliveries(defaults: Shared.defaults)
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1392:24: warning: static property 'apnsRegistrationRequested' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1390 |     private static var apnsLinked: [String: Set<String>] = [:]
1391 |     private static var apnsProxyInstalled = false
1392 |     private static var apnsRegistrationRequested = false
     |                        |- warning: static property 'apnsRegistrationRequested' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'apnsRegistrationRequested' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'apnsRegistrationRequested' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1393 |     static var apnsDeliveries = Deliveries(defaults: Shared.defaults)
1394 |     static var apnsLinkedTopics = LinkedTopics(defaults: Shared.defaults)
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1393:16: warning: static property 'apnsDeliveries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1391 |     private static var apnsProxyInstalled = false
1392 |     private static var apnsRegistrationRequested = false
1393 |     static var apnsDeliveries = Deliveries(defaults: Shared.defaults)
     |                |- warning: static property 'apnsDeliveries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'apnsDeliveries' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'apnsDeliveries' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1394 |     static var apnsLinkedTopics = LinkedTopics(defaults: Shared.defaults)
1395 |     private static var apnsReconciled: Set<String> = []
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1394:16: warning: static property 'apnsLinkedTopics' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1392 |     private static var apnsRegistrationRequested = false
1393 |     static var apnsDeliveries = Deliveries(defaults: Shared.defaults)
1394 |     static var apnsLinkedTopics = LinkedTopics(defaults: Shared.defaults)
     |                |- warning: static property 'apnsLinkedTopics' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'apnsLinkedTopics' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'apnsLinkedTopics' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1395 |     private static var apnsReconciled: Set<String> = []
1396 |     /// How long a launch has to subscribe again before the topics it doesn't claim are unlinked.
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1395:24: warning: static property 'apnsReconciled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1393 |     static var apnsDeliveries = Deliveries(defaults: Shared.defaults)
1394 |     static var apnsLinkedTopics = LinkedTopics(defaults: Shared.defaults)
1395 |     private static var apnsReconciled: Set<String> = []
     |                        |- warning: static property 'apnsReconciled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'apnsReconciled' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'apnsReconciled' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1396 |     /// How long a launch has to subscribe again before the topics it doesn't claim are unlinked.
1397 |     static var reconcileDelay: TimeInterval = 30
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1397:16: warning: static property 'reconcileDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1395 |     private static var apnsReconciled: Set<String> = []
1396 |     /// How long a launch has to subscribe again before the topics it doesn't claim are unlinked.
1397 |     static var reconcileDelay: TimeInterval = 30
     |                |- warning: static property 'reconcileDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'reconcileDelay' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'reconcileDelay' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1398 |
1399 |     private final class WeakPush {
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1436:24: warning: static property 'appGroupWarned' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1434 |     }
1435 |
1436 |     private static var appGroupWarned = false
     |                        |- warning: static property 'appGroupWarned' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'appGroupWarned' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'appGroupWarned' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1437 |
1438 |     /// Without the App Group the Notification Service Extension can't fetch, and the placeholder stays.
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:770:17: warning: capture of 'self' with non-sendable type 'Push?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 271 | ///     // sub.update(background: true, title: "Messages")
 272 | ///     sub.unsubscribe()
 273 | open class Push: Service {
     |            `- note: class 'Push' does not conform to the 'Sendable' protocol
 274 |     // Fixed keep-alive (PINGREQ interval) in seconds — not exposed as an option.
 275 |     private static let keepAliveSeconds: UInt16 = 60
     :
 768 |                 // Already disconnected (e.g. the broker dropped the connection); nothing to send.
 769 |             } catch {
 770 |                 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
 771 |             }
 772 |             do {
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:976:38: warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 974 |             port: port,
 975 |             identifier: id,
 976 |             eventLoopGroupProvider: .createNew,
     |                                      `- warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 977 |             configuration: configuration
 978 |         )
/host/spi-builder-workspace/Sources/Appwrite/Services/PushServiceExtension.swift:20:20: warning: static property 'inServiceExtension' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |         static let liveWindow: TimeInterval = 10
 19 |         static let pendingLifetime: TimeInterval = 30
 20 |         static var inServiceExtension = false
    |                    |- warning: static property 'inServiceExtension' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'inServiceExtension' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'inServiceExtension' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |         private static let prefix = "appwrite.push.shared"
/host/spi-builder-workspace/Sources/Appwrite/Services/PushServiceExtension.swift:57:20: warning: static property 'defaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 55 |         }
 56 |
 57 |         static var defaults: UserDefaults = appGroup.flatMap { UserDefaults(suiteName: $0) } ?? .standard
    |                    |- warning: static property 'defaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'defaults' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'defaults' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 58 |
 59 |         // MARK: Session
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1569:13: warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
1567 |         }
1568 |         for push in pushes where !push.backgroundTopics().isEmpty {
1569 |             Task { await register(push, token: hex, topics: push.backgroundTopics()) }
     |             |- warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
     |             |- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument risks causing races in between local and caller code
     |             `- note: access can happen concurrently
1570 |         }
1571 |     }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1769: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
1767 |         let pushes = apnsLocked { apnsPushes.values.compactMap { $0.push } }
1768 |         if message.wake {
1769 |             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
1770 |                 var woke = false
1771 |                 for push in pushes {
     :
1774 |                     }
1775 |                 }
1776 |                 completion?(woke)
     |                 `- note: closure captures 'completion' which is accessible to code in the current task
1777 |             }
1778 |             return true
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1534: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
1532 |         }
1533 |         let scheduler = WeakPush(push)
1534 |         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
1535 |             try? await Task.sleep(nanoseconds: UInt64(reconcileDelay * 1_000_000_000))
1536 |             await reconcile(userId: userId, targetId: targetId, fallback: scheduler.push)
     |                                                                           `- note: closure captures 'scheduler' which is accessible to code in the current task
1537 |         }
1538 |     }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1463: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
1461 |         }
1462 |         if let token {
1463 |             Task { await register(push, token: token, topics: topics) }
     |                  |                `- note: closure captures 'push' which is accessible to code in the current task
     |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
1464 |         }
1465 |     }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1130: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
1128 |     private func inBackground(_ operation: @escaping () async throws -> Void) {
1129 |         let generation = sync.sync { closeGeneration }
1130 |         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
1131 |             do {
1132 |                 try await operation()
     |                           `- note: closure captures non-Sendable 'operation'
1133 |             } catch {
1134 |                 guard let self, !self.sync.sync(execute: { self.closing || self.closeGeneration != generation }) else { return }
     |                           `- note: closure captures non-Sendable 'self'
1135 |                 self.surface(Push.describe(error))
1136 |             }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1476: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
1474 |         let targetId = Push.targetId(for: userId)
1475 |         let linked = apnsLocked { apnsLinked[targetId] ?? [] }
1476 |         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
1477 |             for topic in topics where linked.contains(topic) {
1478 |                 await unlink(push, targetId: targetId, topic: topic)
     |                              `- note: closure captures 'push' which is accessible to code in the current task
1479 |             }
1480 |             // The target is shared by every Push of the user, so check again just before deleting it.
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:819: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
 817 |             self.connectedKey = key
 818 |             let epoch = self.connectionEpoch
 819 |             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
 820 |                 do {
 821 |                     let client = try await self.open()
     |                                            `- note: closure captures 'self' which is accessible to code in the current task
 822 |                     let current = self.sync.sync { () -> Bool in
 823 |                         guard self.connectionEpoch == epoch else { return false }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1050: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
1048 |         }
1049 |         guard let client else { return }
1050 |         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
1051 |             await reconnectLoop(client)
     |                   `- note: closure captures 'self' which is accessible to code in the current task
1052 |             sync.sync { self.reconnecting = false }
1053 |         }
/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:352: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
350 |         }
351 |         if needsSocket {
352 |             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
353 |                 do {
354 |                     try await self?.createSocket()
    |                               `- note: closure captures 'self' which is accessible to code in the current task
355 |                 } catch {
356 |                     Realtime.logDiagnostic("Failed to open realtime socket for presence: \(error)")
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:617: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
615 |         Realtime.logDiagnostic("Realtime disconnected. Re-connecting in \(timeout / 1000) seconds.")
616 |
617 |         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
618 |             try? await Task.sleep(nanoseconds: UInt64(timeout * 1_000_000))
619 |
620 |             guard let self = self else { return }
    |                              `- note: closure captures 'self' which is accessible to code in the current task
621 |             self.reconnectAttempts += 1
622 |
[1302/1312] Compiling Appwrite Push.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:305:24: warning: static property 'received' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 303 |
 304 |     private static let receivedLock = NSLock()
 305 |     private static var received: [String: Date] = [:]
     |                        |- warning: static property 'received' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'received' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'received' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 306 |
 307 |     // Set by close() so the close listener does not try to reconnect a deliberate teardown.
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1388:24: warning: static property 'apnsToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1386 |
1387 |     private static let apnsLock = NSLock()
1388 |     private static var apnsToken: String?
     |                        |- warning: static property 'apnsToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'apnsToken' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'apnsToken' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1389 |     private static var apnsPushes: [ObjectIdentifier: WeakPush] = [:]
1390 |     private static var apnsLinked: [String: Set<String>] = [:]
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1389:24: warning: static property 'apnsPushes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1387 |     private static let apnsLock = NSLock()
1388 |     private static var apnsToken: String?
1389 |     private static var apnsPushes: [ObjectIdentifier: WeakPush] = [:]
     |                        |- warning: static property 'apnsPushes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'apnsPushes' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'apnsPushes' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1390 |     private static var apnsLinked: [String: Set<String>] = [:]
1391 |     private static var apnsProxyInstalled = false
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1390:24: warning: static property 'apnsLinked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1388 |     private static var apnsToken: String?
1389 |     private static var apnsPushes: [ObjectIdentifier: WeakPush] = [:]
1390 |     private static var apnsLinked: [String: Set<String>] = [:]
     |                        |- warning: static property 'apnsLinked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'apnsLinked' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'apnsLinked' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1391 |     private static var apnsProxyInstalled = false
1392 |     private static var apnsRegistrationRequested = false
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1391:24: warning: static property 'apnsProxyInstalled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1389 |     private static var apnsPushes: [ObjectIdentifier: WeakPush] = [:]
1390 |     private static var apnsLinked: [String: Set<String>] = [:]
1391 |     private static var apnsProxyInstalled = false
     |                        |- warning: static property 'apnsProxyInstalled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'apnsProxyInstalled' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'apnsProxyInstalled' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1392 |     private static var apnsRegistrationRequested = false
1393 |     static var apnsDeliveries = Deliveries(defaults: Shared.defaults)
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1392:24: warning: static property 'apnsRegistrationRequested' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1390 |     private static var apnsLinked: [String: Set<String>] = [:]
1391 |     private static var apnsProxyInstalled = false
1392 |     private static var apnsRegistrationRequested = false
     |                        |- warning: static property 'apnsRegistrationRequested' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'apnsRegistrationRequested' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'apnsRegistrationRequested' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1393 |     static var apnsDeliveries = Deliveries(defaults: Shared.defaults)
1394 |     static var apnsLinkedTopics = LinkedTopics(defaults: Shared.defaults)
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1393:16: warning: static property 'apnsDeliveries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1391 |     private static var apnsProxyInstalled = false
1392 |     private static var apnsRegistrationRequested = false
1393 |     static var apnsDeliveries = Deliveries(defaults: Shared.defaults)
     |                |- warning: static property 'apnsDeliveries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'apnsDeliveries' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'apnsDeliveries' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1394 |     static var apnsLinkedTopics = LinkedTopics(defaults: Shared.defaults)
1395 |     private static var apnsReconciled: Set<String> = []
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1394:16: warning: static property 'apnsLinkedTopics' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1392 |     private static var apnsRegistrationRequested = false
1393 |     static var apnsDeliveries = Deliveries(defaults: Shared.defaults)
1394 |     static var apnsLinkedTopics = LinkedTopics(defaults: Shared.defaults)
     |                |- warning: static property 'apnsLinkedTopics' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'apnsLinkedTopics' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'apnsLinkedTopics' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1395 |     private static var apnsReconciled: Set<String> = []
1396 |     /// How long a launch has to subscribe again before the topics it doesn't claim are unlinked.
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1395:24: warning: static property 'apnsReconciled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1393 |     static var apnsDeliveries = Deliveries(defaults: Shared.defaults)
1394 |     static var apnsLinkedTopics = LinkedTopics(defaults: Shared.defaults)
1395 |     private static var apnsReconciled: Set<String> = []
     |                        |- warning: static property 'apnsReconciled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'apnsReconciled' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'apnsReconciled' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1396 |     /// How long a launch has to subscribe again before the topics it doesn't claim are unlinked.
1397 |     static var reconcileDelay: TimeInterval = 30
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1397:16: warning: static property 'reconcileDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1395 |     private static var apnsReconciled: Set<String> = []
1396 |     /// How long a launch has to subscribe again before the topics it doesn't claim are unlinked.
1397 |     static var reconcileDelay: TimeInterval = 30
     |                |- warning: static property 'reconcileDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'reconcileDelay' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'reconcileDelay' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1398 |
1399 |     private final class WeakPush {
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1436:24: warning: static property 'appGroupWarned' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1434 |     }
1435 |
1436 |     private static var appGroupWarned = false
     |                        |- warning: static property 'appGroupWarned' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'appGroupWarned' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'appGroupWarned' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1437 |
1438 |     /// Without the App Group the Notification Service Extension can't fetch, and the placeholder stays.
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:770:17: warning: capture of 'self' with non-sendable type 'Push?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 271 | ///     // sub.update(background: true, title: "Messages")
 272 | ///     sub.unsubscribe()
 273 | open class Push: Service {
     |            `- note: class 'Push' does not conform to the 'Sendable' protocol
 274 |     // Fixed keep-alive (PINGREQ interval) in seconds — not exposed as an option.
 275 |     private static let keepAliveSeconds: UInt16 = 60
     :
 768 |                 // Already disconnected (e.g. the broker dropped the connection); nothing to send.
 769 |             } catch {
 770 |                 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
 771 |             }
 772 |             do {
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:976:38: warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 974 |             port: port,
 975 |             identifier: id,
 976 |             eventLoopGroupProvider: .createNew,
     |                                      `- warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 977 |             configuration: configuration
 978 |         )
/host/spi-builder-workspace/Sources/Appwrite/Services/PushServiceExtension.swift:20:20: warning: static property 'inServiceExtension' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |         static let liveWindow: TimeInterval = 10
 19 |         static let pendingLifetime: TimeInterval = 30
 20 |         static var inServiceExtension = false
    |                    |- warning: static property 'inServiceExtension' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'inServiceExtension' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'inServiceExtension' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |         private static let prefix = "appwrite.push.shared"
/host/spi-builder-workspace/Sources/Appwrite/Services/PushServiceExtension.swift:57:20: warning: static property 'defaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 55 |         }
 56 |
 57 |         static var defaults: UserDefaults = appGroup.flatMap { UserDefaults(suiteName: $0) } ?? .standard
    |                    |- warning: static property 'defaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'defaults' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'defaults' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 58 |
 59 |         // MARK: Session
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1569:13: warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
1567 |         }
1568 |         for push in pushes where !push.backgroundTopics().isEmpty {
1569 |             Task { await register(push, token: hex, topics: push.backgroundTopics()) }
     |             |- warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
     |             |- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument risks causing races in between local and caller code
     |             `- note: access can happen concurrently
1570 |         }
1571 |     }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1769: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
1767 |         let pushes = apnsLocked { apnsPushes.values.compactMap { $0.push } }
1768 |         if message.wake {
1769 |             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
1770 |                 var woke = false
1771 |                 for push in pushes {
     :
1774 |                     }
1775 |                 }
1776 |                 completion?(woke)
     |                 `- note: closure captures 'completion' which is accessible to code in the current task
1777 |             }
1778 |             return true
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1534: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
1532 |         }
1533 |         let scheduler = WeakPush(push)
1534 |         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
1535 |             try? await Task.sleep(nanoseconds: UInt64(reconcileDelay * 1_000_000_000))
1536 |             await reconcile(userId: userId, targetId: targetId, fallback: scheduler.push)
     |                                                                           `- note: closure captures 'scheduler' which is accessible to code in the current task
1537 |         }
1538 |     }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1463: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
1461 |         }
1462 |         if let token {
1463 |             Task { await register(push, token: token, topics: topics) }
     |                  |                `- note: closure captures 'push' which is accessible to code in the current task
     |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
1464 |         }
1465 |     }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1130: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
1128 |     private func inBackground(_ operation: @escaping () async throws -> Void) {
1129 |         let generation = sync.sync { closeGeneration }
1130 |         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
1131 |             do {
1132 |                 try await operation()
     |                           `- note: closure captures non-Sendable 'operation'
1133 |             } catch {
1134 |                 guard let self, !self.sync.sync(execute: { self.closing || self.closeGeneration != generation }) else { return }
     |                           `- note: closure captures non-Sendable 'self'
1135 |                 self.surface(Push.describe(error))
1136 |             }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1476: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
1474 |         let targetId = Push.targetId(for: userId)
1475 |         let linked = apnsLocked { apnsLinked[targetId] ?? [] }
1476 |         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
1477 |             for topic in topics where linked.contains(topic) {
1478 |                 await unlink(push, targetId: targetId, topic: topic)
     |                              `- note: closure captures 'push' which is accessible to code in the current task
1479 |             }
1480 |             // The target is shared by every Push of the user, so check again just before deleting it.
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:819: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
 817 |             self.connectedKey = key
 818 |             let epoch = self.connectionEpoch
 819 |             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
 820 |                 do {
 821 |                     let client = try await self.open()
     |                                            `- note: closure captures 'self' which is accessible to code in the current task
 822 |                     let current = self.sync.sync { () -> Bool in
 823 |                         guard self.connectionEpoch == epoch else { return false }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1050: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
1048 |         }
1049 |         guard let client else { return }
1050 |         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
1051 |             await reconnectLoop(client)
     |                   `- note: closure captures 'self' which is accessible to code in the current task
1052 |             sync.sync { self.reconnecting = false }
1053 |         }
/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:352: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
350 |         }
351 |         if needsSocket {
352 |             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
353 |                 do {
354 |                     try await self?.createSocket()
    |                               `- note: closure captures 'self' which is accessible to code in the current task
355 |                 } catch {
356 |                     Realtime.logDiagnostic("Failed to open realtime socket for presence: \(error)")
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:617: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
615 |         Realtime.logDiagnostic("Realtime disconnected. Re-connecting in \(timeout / 1000) seconds.")
616 |
617 |         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
618 |             try? await Task.sleep(nanoseconds: UInt64(timeout * 1_000_000))
619 |
620 |             guard let self = self else { return }
    |                              `- note: closure captures 'self' which is accessible to code in the current task
621 |             self.reconnectAttempts += 1
622 |
[1303/1312] Compiling Appwrite PushServiceExtension.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:305:24: warning: static property 'received' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 303 |
 304 |     private static let receivedLock = NSLock()
 305 |     private static var received: [String: Date] = [:]
     |                        |- warning: static property 'received' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'received' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'received' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 306 |
 307 |     // Set by close() so the close listener does not try to reconnect a deliberate teardown.
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1388:24: warning: static property 'apnsToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1386 |
1387 |     private static let apnsLock = NSLock()
1388 |     private static var apnsToken: String?
     |                        |- warning: static property 'apnsToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'apnsToken' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'apnsToken' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1389 |     private static var apnsPushes: [ObjectIdentifier: WeakPush] = [:]
1390 |     private static var apnsLinked: [String: Set<String>] = [:]
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1389:24: warning: static property 'apnsPushes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1387 |     private static let apnsLock = NSLock()
1388 |     private static var apnsToken: String?
1389 |     private static var apnsPushes: [ObjectIdentifier: WeakPush] = [:]
     |                        |- warning: static property 'apnsPushes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'apnsPushes' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'apnsPushes' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1390 |     private static var apnsLinked: [String: Set<String>] = [:]
1391 |     private static var apnsProxyInstalled = false
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1390:24: warning: static property 'apnsLinked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1388 |     private static var apnsToken: String?
1389 |     private static var apnsPushes: [ObjectIdentifier: WeakPush] = [:]
1390 |     private static var apnsLinked: [String: Set<String>] = [:]
     |                        |- warning: static property 'apnsLinked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'apnsLinked' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'apnsLinked' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1391 |     private static var apnsProxyInstalled = false
1392 |     private static var apnsRegistrationRequested = false
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1391:24: warning: static property 'apnsProxyInstalled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1389 |     private static var apnsPushes: [ObjectIdentifier: WeakPush] = [:]
1390 |     private static var apnsLinked: [String: Set<String>] = [:]
1391 |     private static var apnsProxyInstalled = false
     |                        |- warning: static property 'apnsProxyInstalled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'apnsProxyInstalled' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'apnsProxyInstalled' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1392 |     private static var apnsRegistrationRequested = false
1393 |     static var apnsDeliveries = Deliveries(defaults: Shared.defaults)
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1392:24: warning: static property 'apnsRegistrationRequested' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1390 |     private static var apnsLinked: [String: Set<String>] = [:]
1391 |     private static var apnsProxyInstalled = false
1392 |     private static var apnsRegistrationRequested = false
     |                        |- warning: static property 'apnsRegistrationRequested' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'apnsRegistrationRequested' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'apnsRegistrationRequested' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1393 |     static var apnsDeliveries = Deliveries(defaults: Shared.defaults)
1394 |     static var apnsLinkedTopics = LinkedTopics(defaults: Shared.defaults)
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1393:16: warning: static property 'apnsDeliveries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1391 |     private static var apnsProxyInstalled = false
1392 |     private static var apnsRegistrationRequested = false
1393 |     static var apnsDeliveries = Deliveries(defaults: Shared.defaults)
     |                |- warning: static property 'apnsDeliveries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'apnsDeliveries' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'apnsDeliveries' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1394 |     static var apnsLinkedTopics = LinkedTopics(defaults: Shared.defaults)
1395 |     private static var apnsReconciled: Set<String> = []
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1394:16: warning: static property 'apnsLinkedTopics' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1392 |     private static var apnsRegistrationRequested = false
1393 |     static var apnsDeliveries = Deliveries(defaults: Shared.defaults)
1394 |     static var apnsLinkedTopics = LinkedTopics(defaults: Shared.defaults)
     |                |- warning: static property 'apnsLinkedTopics' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'apnsLinkedTopics' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'apnsLinkedTopics' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1395 |     private static var apnsReconciled: Set<String> = []
1396 |     /// How long a launch has to subscribe again before the topics it doesn't claim are unlinked.
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1395:24: warning: static property 'apnsReconciled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1393 |     static var apnsDeliveries = Deliveries(defaults: Shared.defaults)
1394 |     static var apnsLinkedTopics = LinkedTopics(defaults: Shared.defaults)
1395 |     private static var apnsReconciled: Set<String> = []
     |                        |- warning: static property 'apnsReconciled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'apnsReconciled' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'apnsReconciled' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1396 |     /// How long a launch has to subscribe again before the topics it doesn't claim are unlinked.
1397 |     static var reconcileDelay: TimeInterval = 30
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1397:16: warning: static property 'reconcileDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1395 |     private static var apnsReconciled: Set<String> = []
1396 |     /// How long a launch has to subscribe again before the topics it doesn't claim are unlinked.
1397 |     static var reconcileDelay: TimeInterval = 30
     |                |- warning: static property 'reconcileDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'reconcileDelay' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'reconcileDelay' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1398 |
1399 |     private final class WeakPush {
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1436:24: warning: static property 'appGroupWarned' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1434 |     }
1435 |
1436 |     private static var appGroupWarned = false
     |                        |- warning: static property 'appGroupWarned' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'appGroupWarned' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'appGroupWarned' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1437 |
1438 |     /// Without the App Group the Notification Service Extension can't fetch, and the placeholder stays.
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:770:17: warning: capture of 'self' with non-sendable type 'Push?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 271 | ///     // sub.update(background: true, title: "Messages")
 272 | ///     sub.unsubscribe()
 273 | open class Push: Service {
     |            `- note: class 'Push' does not conform to the 'Sendable' protocol
 274 |     // Fixed keep-alive (PINGREQ interval) in seconds — not exposed as an option.
 275 |     private static let keepAliveSeconds: UInt16 = 60
     :
 768 |                 // Already disconnected (e.g. the broker dropped the connection); nothing to send.
 769 |             } catch {
 770 |                 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
 771 |             }
 772 |             do {
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:976:38: warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 974 |             port: port,
 975 |             identifier: id,
 976 |             eventLoopGroupProvider: .createNew,
     |                                      `- warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 977 |             configuration: configuration
 978 |         )
/host/spi-builder-workspace/Sources/Appwrite/Services/PushServiceExtension.swift:20:20: warning: static property 'inServiceExtension' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |         static let liveWindow: TimeInterval = 10
 19 |         static let pendingLifetime: TimeInterval = 30
 20 |         static var inServiceExtension = false
    |                    |- warning: static property 'inServiceExtension' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'inServiceExtension' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'inServiceExtension' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |         private static let prefix = "appwrite.push.shared"
/host/spi-builder-workspace/Sources/Appwrite/Services/PushServiceExtension.swift:57:20: warning: static property 'defaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 55 |         }
 56 |
 57 |         static var defaults: UserDefaults = appGroup.flatMap { UserDefaults(suiteName: $0) } ?? .standard
    |                    |- warning: static property 'defaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'defaults' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'defaults' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 58 |
 59 |         // MARK: Session
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1569:13: warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
1567 |         }
1568 |         for push in pushes where !push.backgroundTopics().isEmpty {
1569 |             Task { await register(push, token: hex, topics: push.backgroundTopics()) }
     |             |- warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
     |             |- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument risks causing races in between local and caller code
     |             `- note: access can happen concurrently
1570 |         }
1571 |     }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1769: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
1767 |         let pushes = apnsLocked { apnsPushes.values.compactMap { $0.push } }
1768 |         if message.wake {
1769 |             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
1770 |                 var woke = false
1771 |                 for push in pushes {
     :
1774 |                     }
1775 |                 }
1776 |                 completion?(woke)
     |                 `- note: closure captures 'completion' which is accessible to code in the current task
1777 |             }
1778 |             return true
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1534: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
1532 |         }
1533 |         let scheduler = WeakPush(push)
1534 |         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
1535 |             try? await Task.sleep(nanoseconds: UInt64(reconcileDelay * 1_000_000_000))
1536 |             await reconcile(userId: userId, targetId: targetId, fallback: scheduler.push)
     |                                                                           `- note: closure captures 'scheduler' which is accessible to code in the current task
1537 |         }
1538 |     }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1463: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
1461 |         }
1462 |         if let token {
1463 |             Task { await register(push, token: token, topics: topics) }
     |                  |                `- note: closure captures 'push' which is accessible to code in the current task
     |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
1464 |         }
1465 |     }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1130: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
1128 |     private func inBackground(_ operation: @escaping () async throws -> Void) {
1129 |         let generation = sync.sync { closeGeneration }
1130 |         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
1131 |             do {
1132 |                 try await operation()
     |                           `- note: closure captures non-Sendable 'operation'
1133 |             } catch {
1134 |                 guard let self, !self.sync.sync(execute: { self.closing || self.closeGeneration != generation }) else { return }
     |                           `- note: closure captures non-Sendable 'self'
1135 |                 self.surface(Push.describe(error))
1136 |             }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1476: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
1474 |         let targetId = Push.targetId(for: userId)
1475 |         let linked = apnsLocked { apnsLinked[targetId] ?? [] }
1476 |         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
1477 |             for topic in topics where linked.contains(topic) {
1478 |                 await unlink(push, targetId: targetId, topic: topic)
     |                              `- note: closure captures 'push' which is accessible to code in the current task
1479 |             }
1480 |             // The target is shared by every Push of the user, so check again just before deleting it.
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:819: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
 817 |             self.connectedKey = key
 818 |             let epoch = self.connectionEpoch
 819 |             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
 820 |                 do {
 821 |                     let client = try await self.open()
     |                                            `- note: closure captures 'self' which is accessible to code in the current task
 822 |                     let current = self.sync.sync { () -> Bool in
 823 |                         guard self.connectionEpoch == epoch else { return false }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1050: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
1048 |         }
1049 |         guard let client else { return }
1050 |         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
1051 |             await reconnectLoop(client)
     |                   `- note: closure captures 'self' which is accessible to code in the current task
1052 |             sync.sync { self.reconnecting = false }
1053 |         }
/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:352: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
350 |         }
351 |         if needsSocket {
352 |             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
353 |                 do {
354 |                     try await self?.createSocket()
    |                               `- note: closure captures 'self' which is accessible to code in the current task
355 |                 } catch {
356 |                     Realtime.logDiagnostic("Failed to open realtime socket for presence: \(error)")
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:617: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
615 |         Realtime.logDiagnostic("Realtime disconnected. Re-connecting in \(timeout / 1000) seconds.")
616 |
617 |         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
618 |             try? await Task.sleep(nanoseconds: UInt64(timeout * 1_000_000))
619 |
620 |             guard let self = self else { return }
    |                              `- note: closure captures 'self' which is accessible to code in the current task
621 |             self.reconnectAttempts += 1
622 |
[1304/1312] Compiling Appwrite Realtime.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:305:24: warning: static property 'received' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 303 |
 304 |     private static let receivedLock = NSLock()
 305 |     private static var received: [String: Date] = [:]
     |                        |- warning: static property 'received' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'received' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'received' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 306 |
 307 |     // Set by close() so the close listener does not try to reconnect a deliberate teardown.
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1388:24: warning: static property 'apnsToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1386 |
1387 |     private static let apnsLock = NSLock()
1388 |     private static var apnsToken: String?
     |                        |- warning: static property 'apnsToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'apnsToken' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'apnsToken' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1389 |     private static var apnsPushes: [ObjectIdentifier: WeakPush] = [:]
1390 |     private static var apnsLinked: [String: Set<String>] = [:]
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1389:24: warning: static property 'apnsPushes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1387 |     private static let apnsLock = NSLock()
1388 |     private static var apnsToken: String?
1389 |     private static var apnsPushes: [ObjectIdentifier: WeakPush] = [:]
     |                        |- warning: static property 'apnsPushes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'apnsPushes' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'apnsPushes' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1390 |     private static var apnsLinked: [String: Set<String>] = [:]
1391 |     private static var apnsProxyInstalled = false
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1390:24: warning: static property 'apnsLinked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1388 |     private static var apnsToken: String?
1389 |     private static var apnsPushes: [ObjectIdentifier: WeakPush] = [:]
1390 |     private static var apnsLinked: [String: Set<String>] = [:]
     |                        |- warning: static property 'apnsLinked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'apnsLinked' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'apnsLinked' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1391 |     private static var apnsProxyInstalled = false
1392 |     private static var apnsRegistrationRequested = false
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1391:24: warning: static property 'apnsProxyInstalled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1389 |     private static var apnsPushes: [ObjectIdentifier: WeakPush] = [:]
1390 |     private static var apnsLinked: [String: Set<String>] = [:]
1391 |     private static var apnsProxyInstalled = false
     |                        |- warning: static property 'apnsProxyInstalled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'apnsProxyInstalled' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'apnsProxyInstalled' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1392 |     private static var apnsRegistrationRequested = false
1393 |     static var apnsDeliveries = Deliveries(defaults: Shared.defaults)
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1392:24: warning: static property 'apnsRegistrationRequested' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1390 |     private static var apnsLinked: [String: Set<String>] = [:]
1391 |     private static var apnsProxyInstalled = false
1392 |     private static var apnsRegistrationRequested = false
     |                        |- warning: static property 'apnsRegistrationRequested' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'apnsRegistrationRequested' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'apnsRegistrationRequested' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1393 |     static var apnsDeliveries = Deliveries(defaults: Shared.defaults)
1394 |     static var apnsLinkedTopics = LinkedTopics(defaults: Shared.defaults)
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1393:16: warning: static property 'apnsDeliveries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1391 |     private static var apnsProxyInstalled = false
1392 |     private static var apnsRegistrationRequested = false
1393 |     static var apnsDeliveries = Deliveries(defaults: Shared.defaults)
     |                |- warning: static property 'apnsDeliveries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'apnsDeliveries' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'apnsDeliveries' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1394 |     static var apnsLinkedTopics = LinkedTopics(defaults: Shared.defaults)
1395 |     private static var apnsReconciled: Set<String> = []
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1394:16: warning: static property 'apnsLinkedTopics' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1392 |     private static var apnsRegistrationRequested = false
1393 |     static var apnsDeliveries = Deliveries(defaults: Shared.defaults)
1394 |     static var apnsLinkedTopics = LinkedTopics(defaults: Shared.defaults)
     |                |- warning: static property 'apnsLinkedTopics' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'apnsLinkedTopics' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'apnsLinkedTopics' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1395 |     private static var apnsReconciled: Set<String> = []
1396 |     /// How long a launch has to subscribe again before the topics it doesn't claim are unlinked.
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1395:24: warning: static property 'apnsReconciled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1393 |     static var apnsDeliveries = Deliveries(defaults: Shared.defaults)
1394 |     static var apnsLinkedTopics = LinkedTopics(defaults: Shared.defaults)
1395 |     private static var apnsReconciled: Set<String> = []
     |                        |- warning: static property 'apnsReconciled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'apnsReconciled' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'apnsReconciled' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1396 |     /// How long a launch has to subscribe again before the topics it doesn't claim are unlinked.
1397 |     static var reconcileDelay: TimeInterval = 30
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1397:16: warning: static property 'reconcileDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1395 |     private static var apnsReconciled: Set<String> = []
1396 |     /// How long a launch has to subscribe again before the topics it doesn't claim are unlinked.
1397 |     static var reconcileDelay: TimeInterval = 30
     |                |- warning: static property 'reconcileDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'reconcileDelay' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'reconcileDelay' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1398 |
1399 |     private final class WeakPush {
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1436:24: warning: static property 'appGroupWarned' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1434 |     }
1435 |
1436 |     private static var appGroupWarned = false
     |                        |- warning: static property 'appGroupWarned' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'appGroupWarned' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'appGroupWarned' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1437 |
1438 |     /// Without the App Group the Notification Service Extension can't fetch, and the placeholder stays.
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:770:17: warning: capture of 'self' with non-sendable type 'Push?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 271 | ///     // sub.update(background: true, title: "Messages")
 272 | ///     sub.unsubscribe()
 273 | open class Push: Service {
     |            `- note: class 'Push' does not conform to the 'Sendable' protocol
 274 |     // Fixed keep-alive (PINGREQ interval) in seconds — not exposed as an option.
 275 |     private static let keepAliveSeconds: UInt16 = 60
     :
 768 |                 // Already disconnected (e.g. the broker dropped the connection); nothing to send.
 769 |             } catch {
 770 |                 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
 771 |             }
 772 |             do {
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:976:38: warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 974 |             port: port,
 975 |             identifier: id,
 976 |             eventLoopGroupProvider: .createNew,
     |                                      `- warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 977 |             configuration: configuration
 978 |         )
/host/spi-builder-workspace/Sources/Appwrite/Services/PushServiceExtension.swift:20:20: warning: static property 'inServiceExtension' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |         static let liveWindow: TimeInterval = 10
 19 |         static let pendingLifetime: TimeInterval = 30
 20 |         static var inServiceExtension = false
    |                    |- warning: static property 'inServiceExtension' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'inServiceExtension' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'inServiceExtension' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |         private static let prefix = "appwrite.push.shared"
/host/spi-builder-workspace/Sources/Appwrite/Services/PushServiceExtension.swift:57:20: warning: static property 'defaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 55 |         }
 56 |
 57 |         static var defaults: UserDefaults = appGroup.flatMap { UserDefaults(suiteName: $0) } ?? .standard
    |                    |- warning: static property 'defaults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'defaults' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'defaults' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 58 |
 59 |         // MARK: Session
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1569:13: warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
1567 |         }
1568 |         for push in pushes where !push.backgroundTopics().isEmpty {
1569 |             Task { await register(push, token: hex, topics: push.backgroundTopics()) }
     |             |- warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
     |             |- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument risks causing races in between local and caller code
     |             `- note: access can happen concurrently
1570 |         }
1571 |     }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1769: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
1767 |         let pushes = apnsLocked { apnsPushes.values.compactMap { $0.push } }
1768 |         if message.wake {
1769 |             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
1770 |                 var woke = false
1771 |                 for push in pushes {
     :
1774 |                     }
1775 |                 }
1776 |                 completion?(woke)
     |                 `- note: closure captures 'completion' which is accessible to code in the current task
1777 |             }
1778 |             return true
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1534: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
1532 |         }
1533 |         let scheduler = WeakPush(push)
1534 |         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
1535 |             try? await Task.sleep(nanoseconds: UInt64(reconcileDelay * 1_000_000_000))
1536 |             await reconcile(userId: userId, targetId: targetId, fallback: scheduler.push)
     |                                                                           `- note: closure captures 'scheduler' which is accessible to code in the current task
1537 |         }
1538 |     }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1463: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
1461 |         }
1462 |         if let token {
1463 |             Task { await register(push, token: token, topics: topics) }
     |                  |                `- note: closure captures 'push' which is accessible to code in the current task
     |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
1464 |         }
1465 |     }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1130: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
1128 |     private func inBackground(_ operation: @escaping () async throws -> Void) {
1129 |         let generation = sync.sync { closeGeneration }
1130 |         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
1131 |             do {
1132 |                 try await operation()
     |                           `- note: closure captures non-Sendable 'operation'
1133 |             } catch {
1134 |                 guard let self, !self.sync.sync(execute: { self.closing || self.closeGeneration != generation }) else { return }
     |                           `- note: closure captures non-Sendable 'self'
1135 |                 self.surface(Push.describe(error))
1136 |             }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1476: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
1474 |         let targetId = Push.targetId(for: userId)
1475 |         let linked = apnsLocked { apnsLinked[targetId] ?? [] }
1476 |         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
1477 |             for topic in topics where linked.contains(topic) {
1478 |                 await unlink(push, targetId: targetId, topic: topic)
     |                              `- note: closure captures 'push' which is accessible to code in the current task
1479 |             }
1480 |             // The target is shared by every Push of the user, so check again just before deleting it.
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:819: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
 817 |             self.connectedKey = key
 818 |             let epoch = self.connectionEpoch
 819 |             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
 820 |                 do {
 821 |                     let client = try await self.open()
     |                                            `- note: closure captures 'self' which is accessible to code in the current task
 822 |                     let current = self.sync.sync { () -> Bool in
 823 |                         guard self.connectionEpoch == epoch else { return false }
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:1050: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
1048 |         }
1049 |         guard let client else { return }
1050 |         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
1051 |             await reconnectLoop(client)
     |                   `- note: closure captures 'self' which is accessible to code in the current task
1052 |             sync.sync { self.reconnecting = false }
1053 |         }
/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:352: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
350 |         }
351 |         if needsSocket {
352 |             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
353 |                 do {
354 |                     try await self?.createSocket()
    |                               `- note: closure captures 'self' which is accessible to code in the current task
355 |                 } catch {
356 |                     Realtime.logDiagnostic("Failed to open realtime socket for presence: \(error)")
/host/spi-builder-workspace/Sources/Appwrite/Services/Realtime.swift:617: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
615 |         Realtime.logDiagnostic("Realtime disconnected. Re-connecting in \(timeout / 1000) seconds.")
616 |
617 |         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
618 |             try? await Task.sleep(nanoseconds: UInt64(timeout * 1_000_000))
619 |
620 |             guard let self = self else { return }
    |                              `- note: closure captures 'self' which is accessible to code in the current task
621 |             self.reconnectAttempts += 1
622 |
[1305/1312] Compiling Appwrite OSPackageInfo.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2600:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2598 |         ]
2599 |
2600 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2601 |             "X-Appwrite-Project": client.config["project"] ?? "",
2602 |             "accept": "text/html",
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:3162:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3160 |         ]
3161 |
3162 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3163 |             "X-Appwrite-Project": client.config["project"] ?? "",
3164 |             "accept": "text/html",
/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 |
[1306/1312] Compiling Appwrite PackageInfo.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2600:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2598 |         ]
2599 |
2600 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2601 |             "X-Appwrite-Project": client.config["project"] ?? "",
2602 |             "accept": "text/html",
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:3162:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3160 |         ]
3161 |
3162 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3163 |             "X-Appwrite-Project": client.config["project"] ?? "",
3164 |             "accept": "text/html",
/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 |
[1307/1312] Compiling Appwrite PackageInfo+Windows.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2600:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2598 |         ]
2599 |
2600 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2601 |             "X-Appwrite-Project": client.config["project"] ?? "",
2602 |             "accept": "text/html",
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:3162:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3160 |         ]
3161 |
3162 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3163 |             "X-Appwrite-Project": client.config["project"] ?? "",
3164 |             "accept": "text/html",
/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 |
[1308/1312] Compiling Appwrite Permission.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2600:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2598 |         ]
2599 |
2600 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2601 |             "X-Appwrite-Project": client.config["project"] ?? "",
2602 |             "accept": "text/html",
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:3162:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3160 |         ]
3161 |
3162 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3163 |             "X-Appwrite-Project": client.config["project"] ?? "",
3164 |             "accept": "text/html",
/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 |
[1309/1312] Compiling Appwrite Query.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2600:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2598 |         ]
2599 |
2600 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2601 |             "X-Appwrite-Project": client.config["project"] ?? "",
2602 |             "accept": "text/html",
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:3162:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3160 |         ]
3161 |
3162 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3163 |             "X-Appwrite-Project": client.config["project"] ?? "",
3164 |             "accept": "text/html",
/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 |
[1310/1312] Compiling Appwrite Builder.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2600:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2598 |         ]
2599 |
2600 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2601 |             "X-Appwrite-Project": client.config["project"] ?? "",
2602 |             "accept": "text/html",
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:3162:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3160 |         ]
3161 |
3162 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3163 |             "X-Appwrite-Project": client.config["project"] ?? "",
3164 |             "accept": "text/html",
/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 |
[1311/1312] Compiling Appwrite Role.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2600:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2598 |         ]
2599 |
2600 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2601 |             "X-Appwrite-Project": client.config["project"] ?? "",
2602 |             "accept": "text/html",
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:3162:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3160 |         ]
3161 |
3162 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3163 |             "X-Appwrite-Project": client.config["project"] ?? "",
3164 |             "accept": "text/html",
/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 |
[1312/1312] Compiling Appwrite Account.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2600:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2598 |         ]
2599 |
2600 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2601 |             "X-Appwrite-Project": client.config["project"] ?? "",
2602 |             "accept": "text/html",
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:3162:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3160 |         ]
3161 |
3162 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3163 |             "X-Appwrite-Project": client.config["project"] ?? "",
3164 |             "accept": "text/html",
/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-53886769-1":/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:5cf1456779a665981f9ad13a30804aebb2f7c91d39fdeb839d6b183af0b13326
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: [
warning: 'spi-builder-workspace': dependency 'swift-distributed-tracing' is not used by any target
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/59] Compiling RealModule RealFunctions.swift
[3/60] Emitting module _NIOBase64
[4/60] Compiling RealModule RelaxedArithmetic.swift
[5/60] Compiling RealModule Real.swift
[6/60] Compiling RealModule Float80+Real.swift
[7/60] Compiling _NIODataStructures PriorityQueue.swift
[8/60] Emitting module Logging
unable to find node: pound
unable to find node: pound
[9/61] Compiling ServiceContextModule ServiceContextKey.swift
[10/61] Compiling ServiceContextModule ServiceContext.swift
[11/61] Compiling RealModule Float16+Real.swift
[12/61] Compiling NIOConcurrencyHelpers lock.swift
[13/61] Emitting module ServiceContextModule
[14/62] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[15/62] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[16/62] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[17/64] Compiling _NIOBase64 Base64.swift
[19/65] Emitting module RealModule
[20/65] Emitting module InternalCollectionsUtilities
[22/65] Compiling Logging MetadataProvider.swift
[23/65] Compiling _NIODataStructures Heap.swift
[24/65] Compiling _NIODataStructures _TinyArray.swift
[25/65] Compiling InternalCollectionsUtilities _SortedCollection.swift
[26/65] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[27/65] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[28/65] Compiling InternalCollectionsUtilities UInt+reversed.swift
[29/65] Compiling Logging Logger+Attributes.swift
[30/65] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[31/65] Compiling NIOConcurrencyHelpers atomics.swift
[32/65] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[33/65] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[34/65] Compiling InternalCollectionsUtilities Span+Extras.swift
[37/65] Compiling Logging LoggingSystem.swift
[38/65] Compiling NIOConcurrencyHelpers NIOLock.swift
[39/79] Compiling Atomics AtomicReference.swift
[40/79] Compiling Atomics AtomicStorage.swift
[41/83] Compiling JSONCodable Codable+JSON.swift
[42/83] Emitting module JSONCodable
[43/87] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[44/88] Emitting module NIOConcurrencyHelpers
[45/91] Compiling Atomics AtomicInteger.swift
[46/91] Compiling Atomics AtomicOptionalWrappable.swift
[52/92] Emitting module _NIODataStructures
[54/93] Compiling Atomics UnsafeAtomic.swift
[55/93] Compiling Atomics UnsafeAtomicLazyReference.swift
[57/93] Compiling Instrumentation NoOpInstrument.swift
[59/93] Compiling Atomics AtomicValue.swift
[61/93] Compiling Atomics AtomicMemoryOrderings.swift
[62/93] Compiling Atomics DoubleWord.swift
[65/95] Compiling Atomics ManagedAtomic.swift
[66/95] Compiling Atomics ManagedAtomicLazyReference.swift
[67/95] Compiling Instrumentation MultiplexInstrument.swift
[68/95] Compiling Instrumentation Instrument.swift
[69/95] Emitting module Instrumentation
[70/115] Compiling AppwriteEnums BrowserPermission.swift
[71/115] Compiling AppwriteEnums BrowserTheme.swift
[72/115] Compiling AppwriteEnums CreditCard.swift
[73/115] Compiling Instrumentation InstrumentationSystem.swift
[74/115] Compiling Instrumentation Locks.swift
[75/116] Compiling Logging Logger+With.swift
unable to find node: pound
unable to find node: pound
[76/116] Compiling Logging Logger.swift
[77/117] Compiling AppwriteEnums VideoCodecId.swift
[78/117] Compiling AppwriteEnums VideoOutput.swift
[86/144] Compiling Algorithms Reductions.swift
[87/144] Compiling Algorithms Rotate.swift
[88/144] Compiling Algorithms EitherSequence.swift
[89/144] Compiling Algorithms FirstNonNil.swift
[90/144] Compiling Algorithms Partition.swift
[91/145] Compiling Algorithms MinMax.swift
[92/145] Compiling Algorithms Compacted.swift
[93/145] Compiling Algorithms Cycle.swift
[94/151] Compiling Algorithms Intersperse.swift
[95/151] Compiling Algorithms Joined.swift
[96/151] Compiling Algorithms Keyed.swift
[97/152] Compiling Tracing InstrumentationSystem+Tracing.swift
[98/153] Compiling Algorithms Permutations.swift
[99/153] Compiling Algorithms Product.swift
[100/153] Compiling Algorithms AdjacentPairs.swift
[101/153] Compiling Algorithms Chain.swift
[102/153] Compiling Algorithms Chunked.swift
[113/154] Compiling Tracing TracerProtocol.swift
[115/154] Compiling Tracing NoOpTracer.swift
[116/154] Compiling Tracing WithTracer.swift
[117/154] Emitting module AppwriteEnums
[118/155] Compiling Tracing TracingTime.swift
[119/155] Emitting module Tracing
[121/191] Compiling Tracing Tracer.swift
[122/191] Compiling Tracing TracerProtocol+Legacy.swift
[123/191] Compiling ContainersPreview DynamicContainer.swift
[124/191] Compiling ContainersPreview MutableContainer.swift
[125/191] Compiling ContainersPreview PermutableContainer.swift
[126/194] Compiling ContainersPreview Container+SpanwiseZip.swift
[127/194] Compiling ContainersPreview Container.swift
[128/194] Compiling ContainersPreview ContainerIterator.swift
[131/198] Compiling Algorithms Unique.swift
[132/198] Compiling Algorithms Windows.swift
[133/198] Compiling ContainersPreview Producer.swift
[134/198] Compiling ContainersPreview InputSpan.swift
[135/198] Compiling ContainersPreview MutableRef.swift
[136/198] Compiling ContainersPreview Drain+Map.swift
[137/198] Compiling ContainersPreview Drain+Reduce.swift
[138/198] Compiling ContainersPreview Drain.swift
[139/198] Compiling ContainersPreview Producer+Collect.swift
[140/198] Compiling ContainersPreview Producer+Filter.swift
[141/198] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[142/198] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[143/198] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[144/198] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[145/198] Compiling ContainersPreview BorrowingSequence+Algorithms.swift
[146/198] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[147/198] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[148/198] Compiling ContainersPreview BorrowingSequence.swift
[149/198] Compiling ContainersPreview BidirectionalContainer.swift
[150/198] Compiling ContainersPreview Container+Filter.swift
[151/198] Compiling ContainersPreview OutputSpan+Extras.swift
[152/198] Compiling ContainersPreview TemporaryAllocation.swift
[153/198] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[154/198] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[155/198] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[157/198] Compiling ContainersPreview RandomAccessContainer.swift
[158/198] Compiling ContainersPreview RangeExpression2.swift
[159/198] Compiling ContainersPreview RangeReplaceableContainer.swift
[160/198] Compiling Algorithms Trim.swift
[161/198] Emitting module ContainersPreview
[162/198] Compiling ContainersPreview Ref.swift
[163/198] Compiling ContainersPreview Shared.swift
[164/198] Compiling ContainersPreview SpanIterator.swift
[165/198] Compiling ContainersPreview UniqueBox.swift
[169/263] Compiling Tracing SpanProtocol.swift
[170/270] Compiling AppwriteModels AlgoScrypt.swift
[171/270] Compiling AppwriteModels AlgoScryptModified.swift
[172/270] Compiling AppwriteModels AlgoSha.swift
[173/278] Compiling AppwriteModels AppInstallationList.swift
[174/278] Compiling AppwriteModels AppKey.swift
[175/278] Compiling AppwriteModels AppKeyList.swift
[176/281] Compiling AppwriteModels Language.swift
[177/281] Compiling AppwriteModels LanguageList.swift
[178/281] Compiling AppwriteModels Locale.swift
[181/281] Emitting module Atomics
[183/323] Compiling DequeModule Deque.swift
[184/323] Compiling DequeModule Deque+Codable.swift
[185/323] Compiling DequeModule Deque+Collection.swift
[186/323] Compiling DequeModule UniqueDeque+Hashable.swift
[187/323] Compiling DequeModule UniqueDeque+Initializers.swift
[188/323] Compiling DequeModule UniqueDeque+Insertions.swift
[189/323] Compiling DequeModule UniqueDeque+Prepend.swift
[190/323] Compiling DequeModule UniqueDeque+Removals.swift
[191/328] Compiling DequeModule UniqueDeque+Container.swift
[192/328] Compiling DequeModule UniqueDeque+Deprecated.swift
[193/328] Compiling DequeModule UniqueDeque+Descriptions.swift
[194/328] Compiling DequeModule UniqueDeque+Equatable.swift
[195/328] Compiling DequeModule UniqueDeque+Experimental.swift
[196/328] Compiling DequeModule RigidDeque+Removals.swift
[197/328] Compiling DequeModule RigidDeque+Replacements.swift
[198/328] Compiling DequeModule RigidDeque+Testing.swift
[199/328] Compiling DequeModule RigidDeque.swift
[200/328] Compiling DequeModule UniqueDeque+Append.swift
[201/328] Compiling DequeModule UniqueDeque+Consumption.swift
[202/328] Compiling DequeModule RigidDeque+Equatable.swift
[203/328] Compiling DequeModule RigidDeque+Experimental.swift
[204/328] Compiling DequeModule RigidDeque+Hashable.swift
[205/328] Compiling DequeModule RigidDeque+Initializers.swift
[206/328] Compiling DequeModule RigidDeque+Insertions.swift
[207/328] Compiling DequeModule RigidDeque+Prepend.swift
[208/328] Compiling DequeModule _DequeBuffer.swift
[209/328] Compiling DequeModule _DequeBufferHeader.swift
[210/328] Compiling DequeModule RigidDeque+Append.swift
[211/328] Compiling DequeModule RigidDeque+Consumption.swift
[212/328] Compiling DequeModule RigidDeque+Container.swift
[213/328] Compiling DequeModule RigidDeque+Descriptions.swift
[214/328] Compiling DequeModule Deque+CustomReflectable.swift
[215/328] Compiling DequeModule Deque+Descriptions.swift
[216/328] Compiling DequeModule Deque+Equatable.swift
[217/328] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[224/328] Compiling DequeModule Deque+Extras.swift
[225/328] Compiling DequeModule Deque+Hashable.swift
[226/328] Compiling DequeModule Deque+Testing.swift
[227/328] Compiling DequeModule Deque._Storage.swift
[228/328] Compiling DequeModule Deque._UnsafeHandle.swift
[238/328] Emitting module Algorithms
[271/340] Compiling DequeModule UniqueDeque+Replacements.swift
[272/340] Compiling DequeModule UniqueDeque.swift
[273/340] Compiling DequeModule _DequeSlot.swift
[274/340] Compiling DequeModule _UnsafeDequeHandle.swift
[275/340] Compiling DequeModule _UnsafeDequeSegments.swift
[276/340] Compiling AppwriteModels Oauth2PAR.swift
[277/340] Compiling AppwriteModels CurrencyList.swift
[278/340] Compiling AppwriteModels Device.swift
[279/340] Compiling AppwriteModels Document.swift
[280/340] Compiling AppwriteModels DocumentList.swift
[281/340] Compiling AppwriteModels Execution.swift
[282/340] Compiling AppwriteModels ExecutionList.swift
[283/340] Compiling AppwriteModels File.swift
[284/340] Compiling AppwriteModels FileList.swift
[285/340] Compiling AppwriteModels Headers.swift
[286/340] Compiling AppwriteModels Identity.swift
[287/340] Compiling AppwriteModels IdentityList.swift
[288/340] Compiling AppwriteModels Jwt.swift
[294/340] Compiling AppwriteModels PresenceList.swift
[295/340] Compiling AppwriteModels Row.swift
[296/340] Compiling AppwriteModels RowList.swift
[297/340] Compiling AppwriteModels Session.swift
[298/340] Compiling AppwriteModels SessionList.swift
[299/340] Compiling AppwriteModels Subscriber.swift
[300/340] Compiling AppwriteModels Target.swift
[301/340] Compiling AppwriteModels Team.swift
[302/340] Compiling AppwriteModels TeamList.swift
[303/340] Compiling AppwriteModels Token.swift
[304/340] Compiling AppwriteModels TokenSecret.swift
[305/340] Compiling AppwriteModels Oauth2Project.swift
[306/340] Compiling AppwriteModels Oauth2ProjectList.swift
[307/340] Compiling AppwriteModels Oauth2Reject.swift
[308/340] Compiling AppwriteModels Oauth2Token.swift
[309/340] Compiling AppwriteModels Passkey.swift
[310/340] Compiling AppwriteModels PasskeyChallenge.swift
[311/340] Compiling AppwriteModels PasskeyList.swift
[312/340] Compiling AppwriteModels Phone.swift
[313/340] Compiling AppwriteModels PhoneList.swift
[314/340] Compiling AppwriteModels Preferences.swift
[315/340] Compiling AppwriteModels Presence.swift
[328/340] Emitting module AppwriteModels
[329/340] Emitting module DequeModule
[331/341] Compiling AppwriteModels Transaction.swift
/host/spi-builder-workspace/Sources/AppwriteModels/VideoCaption.swift:171:13: warning: keyword 'default' does not need to be escaped in argument list
169 |             name: map["name"] as! String,
170 |             language: map["language"] as! String,
171 |             `default`: map["default"] as! Bool,
    |             `- warning: keyword 'default' does not need to be escaped in argument list
172 |             embedded: map["embedded"] as! Bool,
173 |             targetDuration: map["targetDuration"] as! Double,
[332/341] Compiling AppwriteModels TransactionList.swift
/host/spi-builder-workspace/Sources/AppwriteModels/VideoCaption.swift:171:13: warning: keyword 'default' does not need to be escaped in argument list
169 |             name: map["name"] as! String,
170 |             language: map["language"] as! String,
171 |             `default`: map["default"] as! Bool,
    |             `- warning: keyword 'default' does not need to be escaped in argument list
172 |             embedded: map["embedded"] as! Bool,
173 |             targetDuration: map["targetDuration"] as! Double,
[333/341] Compiling AppwriteModels User.swift
/host/spi-builder-workspace/Sources/AppwriteModels/VideoCaption.swift:171:13: warning: keyword 'default' does not need to be escaped in argument list
169 |             name: map["name"] as! String,
170 |             language: map["language"] as! String,
171 |             `default`: map["default"] as! Bool,
    |             `- warning: keyword 'default' does not need to be escaped in argument list
172 |             embedded: map["embedded"] as! Bool,
173 |             targetDuration: map["targetDuration"] as! Double,
[334/341] Compiling AppwriteModels Video.swift
/host/spi-builder-workspace/Sources/AppwriteModels/VideoCaption.swift:171:13: warning: keyword 'default' does not need to be escaped in argument list
169 |             name: map["name"] as! String,
170 |             language: map["language"] as! String,
171 |             `default`: map["default"] as! Bool,
    |             `- warning: keyword 'default' does not need to be escaped in argument list
172 |             embedded: map["embedded"] as! Bool,
173 |             targetDuration: map["targetDuration"] as! Double,
[335/341] Compiling AppwriteModels VideoCaption.swift
/host/spi-builder-workspace/Sources/AppwriteModels/VideoCaption.swift:171:13: warning: keyword 'default' does not need to be escaped in argument list
169 |             name: map["name"] as! String,
170 |             language: map["language"] as! String,
171 |             `default`: map["default"] as! Bool,
    |             `- warning: keyword 'default' does not need to be escaped in argument list
172 |             embedded: map["embedded"] as! Bool,
173 |             targetDuration: map["targetDuration"] as! Double,
[336/341] Compiling AppwriteModels VideoCaptionList.swift
/host/spi-builder-workspace/Sources/AppwriteModels/VideoCaption.swift:171:13: warning: keyword 'default' does not need to be escaped in argument list
169 |             name: map["name"] as! String,
170 |             language: map["language"] as! String,
171 |             `default`: map["default"] as! Bool,
    |             `- warning: keyword 'default' does not need to be escaped in argument list
172 |             embedded: map["embedded"] as! Bool,
173 |             targetDuration: map["targetDuration"] as! Double,
[337/341] Compiling AppwriteModels VideoCodec.swift
/host/spi-builder-workspace/Sources/AppwriteModels/VideoCaption.swift:171:13: warning: keyword 'default' does not need to be escaped in argument list
169 |             name: map["name"] as! String,
170 |             language: map["language"] as! String,
171 |             `default`: map["default"] as! Bool,
    |             `- warning: keyword 'default' does not need to be escaped in argument list
172 |             embedded: map["embedded"] as! Bool,
173 |             targetDuration: map["targetDuration"] as! Double,
[338/341] Compiling AppwriteModels VideoCodecList.swift
/host/spi-builder-workspace/Sources/AppwriteModels/VideoCaption.swift:171:13: warning: keyword 'default' does not need to be escaped in argument list
169 |             name: map["name"] as! String,
170 |             language: map["language"] as! String,
171 |             `default`: map["default"] as! Bool,
    |             `- warning: keyword 'default' does not need to be escaped in argument list
172 |             embedded: map["embedded"] as! Bool,
173 |             targetDuration: map["targetDuration"] as! Double,
[339/341] Compiling AppwriteModels VideoList.swift
/host/spi-builder-workspace/Sources/AppwriteModels/VideoCaption.swift:171:13: warning: keyword 'default' does not need to be escaped in argument list
169 |             name: map["name"] as! String,
170 |             language: map["language"] as! String,
171 |             `default`: map["default"] as! Bool,
    |             `- warning: keyword 'default' does not need to be escaped in argument list
172 |             embedded: map["embedded"] as! Bool,
173 |             targetDuration: map["targetDuration"] as! Double,
[340/341] Compiling AppwriteModels VideoRendition.swift
/host/spi-builder-workspace/Sources/AppwriteModels/VideoCaption.swift:171:13: warning: keyword 'default' does not need to be escaped in argument list
169 |             name: map["name"] as! String,
170 |             language: map["language"] as! String,
171 |             `default`: map["default"] as! Bool,
    |             `- warning: keyword 'default' does not need to be escaped in argument list
172 |             embedded: map["embedded"] as! Bool,
173 |             targetDuration: map["targetDuration"] as! Double,
[341/341] Compiling AppwriteModels VideoRenditionList.swift
/host/spi-builder-workspace/Sources/AppwriteModels/VideoCaption.swift:171:13: warning: keyword 'default' does not need to be escaped in argument list
169 |             name: map["name"] as! String,
170 |             language: map["language"] as! String,
171 |             `default`: map["default"] as! Bool,
    |             `- warning: keyword 'default' does not need to be escaped in argument list
172 |             embedded: map["embedded"] as! Bool,
173 |             targetDuration: map["targetDuration"] as! Double,
[343/406] Compiling NIOCore EventLoopFuture+Deprecated.swift
[344/406] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[345/406] Compiling NIOCore EventLoopFuture.swift
[346/406] Compiling NIOCore FileDescriptor.swift
[347/406] Compiling NIOCore FileHandle.swift
[348/406] Compiling NIOCore FileRegion.swift
[349/406] Compiling NIOCore GlobalSingletons.swift
[350/406] Compiling NIOCore IO.swift
[351/406] Compiling NIOCore IOData.swift
[352/414] Compiling NIOCore IPProtocol.swift
[353/414] Compiling NIOCore IntegerBitPacking.swift
[354/414] Compiling NIOCore IntegerTypes.swift
[355/414] Compiling NIOCore Interfaces.swift
[356/414] Compiling NIOCore Linux.swift
[357/414] Compiling NIOCore MarkedCircularBuffer.swift
[358/414] Compiling NIOCore MulticastChannel.swift
[359/414] Compiling NIOCore NIOAny.swift
[360/414] Compiling NIOCore NIOCloseOnErrorHandler.swift
[361/414] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[362/414] Compiling NIOCore BSDSocketAPI.swift
[363/414] Compiling NIOCore ByteBuffer-aux.swift
[364/414] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[365/414] Compiling NIOCore ByteBuffer-conversions.swift
[366/414] Compiling NIOCore ByteBuffer-core.swift
[367/414] Compiling NIOCore ByteBuffer-hex.swift
[368/414] Compiling NIOCore ByteBuffer-int.swift
[369/414] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[370/414] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[371/414] Compiling NIOCore SocketAddresses.swift
[372/414] Compiling NIOCore SocketOptionProvider.swift
[373/414] Compiling NIOCore SystemCallHelpers.swift
[374/414] Compiling NIOCore TimeAmount+Duration.swift
[375/414] Compiling NIOCore TypeAssistedChannelHandler.swift
[376/414] Compiling NIOCore UniversalBootstrapSupport.swift
[377/414] Compiling NIOCore Utilities.swift
[378/414] Compiling NIOCore NIOCoreSendableMetatype.swift
[379/414] Compiling NIOCore NIODecodedAsyncSequence.swift
[380/414] Compiling NIOCore NIOLoopBound.swift
[381/414] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[382/414] Compiling NIOCore NIOScheduledCallback.swift
[383/414] Compiling NIOCore NIOSendable.swift
[384/414] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[385/414] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[386/414] Compiling NIOCore RecvByteBufferAllocator.swift
[387/414] Compiling NIOCore ByteBuffer-multi-int.swift
[388/414] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[389/414] Compiling NIOCore ByteBuffer-views.swift
[390/414] Compiling NIOCore Channel.swift
[391/414] Compiling NIOCore ChannelHandler.swift
[392/414] Compiling NIOCore ChannelHandlers.swift
[393/414] Compiling NIOCore ChannelInvoker.swift
[394/414] Compiling NIOCore ChannelOption.swift
[395/414] Compiling NIOCore ChannelPipeline.swift
[396/414] Compiling NIOCore CircularBuffer.swift
[397/414] Compiling NIOCore Codec.swift
[398/414] Compiling NIOCore ConvenienceOptionSupport.swift
[399/414] Compiling NIOCore DeadChannel.swift
[400/414] Compiling NIOCore DispatchQueue+WithFuture.swift
[401/414] Compiling NIOCore EventLoop+Deprecated.swift
[402/414] Compiling NIOCore EventLoop+SerialExecutor.swift
[403/414] Compiling NIOCore EventLoop.swift
[404/414] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[405/414] Compiling NIOCore AddressedEnvelope.swift
[406/414] Compiling NIOCore AsyncAwaitSupport.swift
[407/414] Compiling NIOCore AsyncChannel.swift
[408/414] Compiling NIOCore AsyncChannelHandler.swift
[409/414] Compiling NIOCore AsyncChannelInboundStream.swift
[410/414] Compiling NIOCore AsyncChannelOutboundWriter.swift
[411/414] Compiling NIOCore NIOAsyncSequenceProducer.swift
[412/414] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[413/414] Compiling NIOCore NIOAsyncWriter.swift
[414/414] Emitting module NIOCore
[416/469] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[417/469] Emitting module NIOEmbedded
[418/469] Compiling NIOEmbedded Embedded.swift
[419/469] Compiling NIOEmbedded AsyncTestingChannel.swift
[421/470] Compiling NIOPosix HappyEyeballs.swift
[422/470] Compiling NIOPosix IO.swift
[423/470] Compiling NIOPosix IntegerBitPacking.swift
[424/470] Compiling NIOPosix IntegerTypes.swift
[425/470] Compiling NIOPosix Linux.swift
[426/470] Compiling NIOPosix LinuxCPUSet.swift
[427/470] Compiling NIOPosix LinuxUring.swift
[428/477] Compiling NIOPosix SelectorWSAPoll.swift
[429/477] Compiling NIOPosix ServerSocket.swift
[430/477] Compiling NIOPosix Socket.swift
[431/477] Compiling NIOPosix SocketChannel.swift
[432/477] Compiling NIOPosix SocketProtocols.swift
[433/477] Compiling NIOPosix StructuredConcurrencyHelpers.swift
[434/477] Compiling NIOPosix System.swift
[435/477] Compiling NIOPosix BSDSocketAPICommon.swift
[436/477] Compiling NIOPosix BSDSocketAPIPosix.swift
[437/477] Compiling NIOPosix BSDSocketAPIWindows.swift
[438/477] Compiling NIOPosix BaseSocket.swift
[439/477] Compiling NIOPosix BaseSocketChannel+AccessibleTransport.swift
[440/477] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[441/477] Compiling NIOPosix BaseSocketChannel.swift
[442/477] Compiling NIOPosix Selectable.swift
[443/477] Compiling NIOPosix SelectableChannel.swift
[444/477] Compiling NIOPosix SelectableEventLoop.swift
[445/477] Compiling NIOPosix SelectorEpoll.swift
[446/477] Compiling NIOPosix SelectorGeneric.swift
[447/477] Compiling NIOPosix SelectorKqueue.swift
[448/477] Compiling NIOPosix SelectorUring.swift
[449/477] Compiling NIOPosix Thread.swift
[450/477] Compiling NIOPosix ThreadPosix.swift
[451/477] Compiling NIOPosix ThreadWindows.swift
[452/477] Compiling NIOPosix Utilities.swift
[453/477] Compiling NIOPosix VsockAddress.swift
[454/477] Compiling NIOPosix VsockChannelEvents.swift
[455/477] Compiling NIOPosix Windows.swift
[456/477] Emitting module NIOPosix
[457/477] Compiling NIOPosix PipeChannel.swift
[458/477] Compiling NIOPosix PipePair.swift
[459/477] Compiling NIOPosix Pool.swift
[460/477] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[461/477] Compiling NIOPosix PosixSingletons.swift
[462/477] Compiling NIOPosix RawSocketBootstrap.swift
[463/477] Compiling NIOPosix Resolver.swift
[464/477] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[465/477] Compiling NIOPosix NIOPosixSendableMetatype.swift
[466/477] Compiling NIOPosix NIORandomizedDNSResolver.swift
[467/477] Compiling NIOPosix NIOThreadPool.swift
[468/477] Compiling NIOPosix NonBlockingFileIO.swift
[469/477] Compiling NIOPosix PendingDatagramWritesManager.swift
[470/477] Compiling NIOPosix PendingWritesManager.swift
[471/477] Compiling NIOPosix BaseStreamSocketChannel.swift
[472/477] Compiling NIOPosix Bootstrap.swift
[473/477] Compiling NIOPosix ControlMessage.swift
[474/477] Compiling NIOPosix DatagramVectorReadManager.swift
[475/477] Compiling NIOPosix Errors+Any.swift
[476/477] Compiling NIOPosix FileDescriptor.swift
[477/477] Compiling NIOPosix GetaddrinfoResolver.swift
[479/480] Compiling NIO Exports.swift
[480/480] Emitting module NIO
[482/516] Compiling NIOTLS TLSEvents.swift
[483/516] Compiling NIOHTTP1 HTTPServerRequestMethodQueue.swift
[484/516] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[485/518] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[488/519] Compiling NIOSOCKS SOCKSResponse.swift
[489/519] Emitting module NIOTLS
[490/519] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[491/519] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[492/519] Compiling NIOSOCKS SelectedAuthenticationMethod.swift
[493/519] Compiling NIOSOCKS ClientStateMachine.swift
[494/519] Compiling NIOTLS SNIHandler.swift
[496/520] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[497/520] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[498/520] Compiling NIOHTTP1 ByteCollectionUtils.swift
[499/520] Compiling NIOHTTP1 HTTPDecoder.swift
[500/520] Compiling NIOHTTP1 HTTPEncoder.swift
[501/520] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[502/520] Emitting module NIOSOCKS
[503/520] Compiling NIOSOCKS ServerStateMachine.swift
[505/540] Compiling NIOTransportServices NIOTSEventLoopGroup.swift
[506/540] Compiling NIOTransportServices NIOTSListenerBootstrap.swift
[507/540] Compiling NIOTransportServices NIOTSListenerChannel.swift
[508/540] Compiling NIOTransportServices NIOTSNetworkEvents.swift
[509/573] Compiling NIOSSL CustomPrivateKey.swift
[510/573] Compiling NIOSSL FreeBSDCABundle.swift
[511/573] Compiling NIOSSL IdentityVerification.swift
[512/575] Emitting module NIOHTTP1
[513/575] Compiling NIOSSL SSLPKCS12Bundle.swift
[514/575] Compiling NIOSSL NIOSSLServerHandler.swift
[515/575] Compiling NIOSSL ObjectIdentifier.swift
[516/575] Compiling NIOTransportServices TCPOptions+SocketChannelOption.swift
[517/575] Compiling NIOTransportServices UDPOptions+SocketChannelOption.swift
[518/575] Compiling NIOSSL PosixPort.swift
[519/575] Compiling NIOSSL SSLCallbacks.swift
[520/575] Compiling NIOSSL SSLPrivateKey.swift
[521/575] Compiling NIOSSL SSLPublicKey.swift
[522/575] Compiling NIOSSL SecurityFrameworkCertificateVerification.swift
[523/575] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
[524/575] Compiling NIOSSL NIOSSLHandler.swift
[525/575] Compiling NIOSSL AndroidCABundle.swift
[526/575] Compiling NIOSSL ByteBufferBIO.swift
[527/575] Compiling NIOSSL NIOSSLHandler+Configuration.swift
[532/575] Compiling NIOSSL SSLContext.swift
[533/575] Compiling NIOSSL SSLErrors.swift
[534/575] Compiling NIOSSL SSLInit.swift
[535/575] Emitting module NIOTransportServices
[536/575] Compiling NIOSSL LinuxCABundle.swift
[537/575] Compiling NIOSSL NIOSSLClientHandler.swift
[552/608] Emitting module NIOSSL
[553/608] Compiling NIOSSL SSLCertificate.swift
[554/608] Compiling NIOSSL SSLCertificateExtensions.swift
[555/608] Compiling NIOSSL SSLCertificateName.swift
[556/608] Compiling NIOSSL SSLConnection.swift
[559/608] Compiling NIOSSL RNG.swift
[560/608] Compiling NIOSSL SafeCompare.swift
[565/608] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
[566/608] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[567/608] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
[568/608] Compiling NIOWebSocket SHA1.swift
[573/608] Compiling NIOHPACK HPACKHeader.swift
[574/608] Compiling NIOHPACK HeaderTables.swift
[578/608] Compiling NIOHTTPCompression HTTPRequestCompressor.swift
[579/608] Compiling NIOHPACK IntegerCoding.swift
[580/609] Compiling NIOHPACK IndexedHeaderTable.swift
[581/609] Compiling NIOHTTPCompression HTTPDecompression.swift
[582/609] Compiling NIOHTTPCompression HTTPCompression.swift
[583/609] Compiling NIOWebSocket WebSocketOpcode.swift
[584/610] Emitting module NIOHTTPCompression
[585/610] Compiling NIOHTTPCompression HTTPDecompressor.swift
[590/610] Compiling NIOHTTPCompression HTTPResponseCompressor.swift
[593/611] Emitting module NIOHPACK
[594/611] Compiling NIOHPACK HuffmanCoding.swift
[595/611] Compiling NIOHPACK HuffmanTables.swift
[596/611] Compiling NIOHPACK StaticHeaderTable.swift
[597/612] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[598/612] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[599/612] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[603/612] Compiling NIOWebSocket WebSocketErrorCodes.swift
[604/612] Compiling NIOWebSocket WebSocketFrame.swift
[608/612] Emitting module NIOWebSocket
[610/676] Compiling NIOHTTP2 HTTP2UserEvents.swift
[611/676] Compiling NIOHTTP2 InboundEventBuffer.swift
[612/676] Compiling NIOHTTP2 InboundWindowManager.swift
[613/676] Compiling NIOHTTP2 MultiplexerAbstractChannel.swift
[615/677] Compiling NIOHTTP2 MaySendFrames.swift
[616/677] Compiling NIOHTTP2 SendingDataState.swift
[617/677] Compiling NIOHTTP2 SendingGoawayState.swift
[618/677] Compiling NIOHTTP2 SendingHeadersState.swift
[619/677] Compiling NIOHTTP2 SendingPushPromiseState.swift
[620/677] Compiling NIOHTTP2 SendingRstStreamState.swift
[621/677] Compiling NIOHTTP2 SendingWindowUpdateState.swift
[622/677] Compiling NIOHTTP2 HTTP2SettingsState.swift
[623/677] Compiling NIOHTTP2 HasExtendedConnectSettings.swift
[624/707] Compiling MQTTNIO MQTTClient+async.swift
[625/707] Compiling MQTTNIO MQTTClientV5+async.swift
[626/707] Compiling MQTTNIO Sendable.swift
[627/710] Compiling MQTTNIO MQTTConnection.swift
[628/710] Compiling MQTTNIO MQTTCoreTypes.swift
[629/710] Compiling MQTTNIO MQTTCoreTypesV5.swift
[630/710] Compiling MQTTNIO PingreqHandler.swift
[631/710] Compiling MQTTNIO WebSocketHandler.swift
[632/710] Compiling MQTTNIO WebSocketInitialRequest.swift
[633/710] Emitting module MQTTNIO
[634/710] Compiling NIOHTTP2 DOSHeuristics.swift
[635/710] Compiling NIOHTTP2 Error+Any.swift
[636/710] Compiling NIOHTTP2 ConcurrentStreamBuffer.swift
[637/710] Compiling NIOHTTP2 ControlFrameBuffer.swift
[638/710] Compiling NIOHTTP2 OutboundFlowControlBuffer.swift
[639/710] Compiling NIOHTTP2 OutboundFrameBuffer.swift
[640/710] Compiling NIOHTTP2 GlitchesMonitor.swift
[641/710] Compiling NIOHTTP2 HPACKHeaders+Validation.swift
[642/710] Compiling NIOHTTP2 HTTP2ChannelHandler+InboundStreamMultiplexer.swift
[643/710] Compiling NIOHTTP2 HTTP2StreamMultiplexer.swift
[644/710] Compiling NIOHTTP2 HTTP2ToHTTP1Codec.swift
[649/710] Compiling NIOHTTP2 NIOHTTP2FrameDelegate.swift
[650/710] Compiling NIOHTTP2 NIOHTTP2ServerConnectionManagementHandler+StateMachine.swift
[651/710] Compiling MQTTNIO MQTTSerializer.swift
[652/710] Compiling MQTTNIO MQTTTask.swift
[653/710] Compiling MQTTNIO TSTLSConfiguration.swift
[654/710] Emitting module NIOHTTP2
[655/710] Compiling MQTTNIO MQTTMessageDecoder.swift
[656/710] Compiling MQTTNIO MQTTMessageHandler.swift
[657/710] Compiling MQTTNIO MQTTTaskHandler.swift
[658/710] Compiling NIOHTTP2 NIOHTTP2ServerConnectionManagementHandler.swift
[659/710] Compiling NIOHTTP2 StreamChannelFlowController.swift
[660/710] Compiling NIOHTTP2 StreamChannelList.swift
[661/710] Compiling NIOHTTP2 StreamMap.swift
[662/710] Compiling NIOHTTP2 StreamStateMachine.swift
[663/710] Compiling NIOHTTP2 Timer.swift
[664/710] Compiling NIOHTTP2 UnsafeTransfer.swift
[665/710] Compiling NIOHTTP2 WatermarkedFlowController.swift
[672/710] Compiling MQTTNIO MQTTClient.swift
[673/710] Compiling MQTTNIO MQTTClientV5.swift
[674/710] Compiling MQTTNIO MQTTConfiguration.swift
[678/710] Compiling MQTTNIO MQTTPacket.swift
[679/710] Compiling MQTTNIO MQTTProperties.swift
[680/710] Compiling MQTTNIO MQTTReason.swift
[681/710] Compiling MQTTNIO MQTTError.swift
[682/710] Compiling MQTTNIO MQTTInflight.swift
[683/710] Compiling MQTTNIO MQTTListeners.swift
[691/711] Compiling NIOHTTP2 HTTP2StreamChannel.swift
[692/711] Compiling NIOHTTP2 HTTP2StreamDelegate.swift
[693/711] Compiling NIOHTTP2 HTTP2StreamID.swift
[694/711] Compiling NIOHTTP2 HasFlowControlWindows.swift
[695/711] Compiling NIOHTTP2 HasLocalSettings.swift
[696/711] Compiling NIOHTTP2 HasRemoteSettings.swift
[697/711] Compiling NIOHTTP2 LocallyQuiescingState.swift
[698/711] Compiling NIOHTTP2 QuiescingState.swift
[699/711] Compiling NIOHTTP2 RemotelyQuiescingState.swift
[700/711] Compiling NIOHTTP2 SendAndReceiveGoawayState.swift
[701/711] Compiling NIOHTTP2 StateMachineResult.swift
[702/711] Compiling NIOHTTP2 ContentLengthVerifier.swift
[703/711] Compiling NIOHTTP2 HTTP2ChannelHandler+InlineStreamMultiplexer.swift
[704/711] Compiling NIOHTTP2 HTTP2ChannelHandler.swift
[705/711] Compiling NIOHTTP2 HTTP2CommonInboundStreamMultiplexer.swift
[706/711] Compiling NIOHTTP2 HTTP2ConnectionStateChange.swift
[707/711] Compiling NIOHTTP2 HTTP2Error.swift
[708/711] Compiling NIOHTTP2 HTTP2ErrorCode.swift
[709/711] Compiling NIOHTTP2 HTTP2FlowControlWindow.swift
[710/711] Compiling NIOHTTP2 HTTP2Frame.swift
[711/711] Compiling NIOHTTP2 HTTP2FrameEncoder.swift
[713/776] Emitting module AsyncHTTPClient
[714/784] Compiling AsyncHTTPClient AnyAsyncSequence.swift
[715/784] Compiling AsyncHTTPClient AnyAsyncSequenceProucerDelete.swift
[716/784] Compiling AsyncHTTPClient AsyncLazySequence.swift
[717/784] Compiling AsyncHTTPClient HTTPClient+execute.swift
[718/784] Compiling AsyncHTTPClient HTTPClient+shutdown.swift
[719/784] Compiling AsyncHTTPClient HTTPClient+tracing.swift
[720/784] Compiling AsyncHTTPClient HTTPClientRequest+Prepared.swift
[721/784] Compiling AsyncHTTPClient HTTPClientRequest+auth.swift
[722/784] Compiling AsyncHTTPClient HTTPClientRequest.swift
[723/784] Compiling AsyncHTTPClient HTTPClientResponse.swift
[724/784] Compiling AsyncHTTPClient SingleIteratorPrecondition.swift
[725/784] Compiling AsyncHTTPClient Transaction+StateMachine.swift
[726/784] Compiling AsyncHTTPClient Transaction.swift
[727/784] Compiling AsyncHTTPClient Base64.swift
[728/784] Compiling AsyncHTTPClient BasicAuth.swift
[729/784] Compiling AsyncHTTPClient BestEffortHashableTLSConfiguration.swift
[730/784] Compiling AsyncHTTPClient Configuration+BrowserLike.swift
[731/784] Compiling AsyncHTTPClient ConnectionPool.swift
[732/784] Compiling AsyncHTTPClient RequestValidation.swift
[733/784] Compiling AsyncHTTPClient SSLContextCache.swift
[734/784] Compiling AsyncHTTPClient Scheme.swift
[735/784] Compiling AsyncHTTPClient Singleton.swift
[736/784] Compiling AsyncHTTPClient StringConvertibleInstances.swift
[737/784] Compiling AsyncHTTPClient StructuredConcurrencyHelpers.swift
[738/784] Compiling AsyncHTTPClient TracingSupport.swift
[739/784] Compiling AsyncHTTPClient Utils.swift
[740/784] Compiling AsyncHTTPClient LRUCache.swift
[741/784] Compiling AsyncHTTPClient NIOLoopBound+Execute.swift
[742/784] Compiling AsyncHTTPClient NWErrorHandler.swift
[743/784] Compiling AsyncHTTPClient NWWaitingHandler.swift
[744/784] Compiling AsyncHTTPClient TLSConfiguration.swift
[745/784] Compiling AsyncHTTPClient RedirectState.swift
[746/784] Compiling AsyncHTTPClient RequestBag+StateMachine.swift
[747/784] Compiling AsyncHTTPClient RequestBag+Tracing.swift
[748/784] Compiling AsyncHTTPClient RequestBag.swift
[749/784] Compiling AsyncHTTPClient HTTPConnectionEvent.swift
[750/784] Compiling AsyncHTTPClient HTTPConnectionPool+Factory.swift
[751/784] Compiling AsyncHTTPClient HTTPConnectionPool+Manager.swift
[752/784] Compiling AsyncHTTPClient HTTPConnectionPool.swift
[753/784] Compiling AsyncHTTPClient HTTPExecutableRequest.swift
[754/784] Compiling AsyncHTTPClient HTTPRequestStateMachine+Demand.swift
[755/784] Compiling AsyncHTTPClient HTTPRequestStateMachine.swift
[756/784] Compiling AsyncHTTPClient RequestBodyLength.swift
[757/784] Compiling AsyncHTTPClient RequestFramingMetadata.swift
[758/784] Compiling AsyncHTTPClient RequestOptions.swift
[759/784] Compiling AsyncHTTPClient HTTPConnectionPool+Backoff.swift
[760/784] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP1Connections.swift
[761/784] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP1StateMachine.swift
[762/784] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP2Connections.swift
[763/784] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP2StateMachine.swift
[764/784] Compiling AsyncHTTPClient HTTPConnectionPool+RequestQueue.swift
[765/784] Compiling AsyncHTTPClient HTTPConnectionPool+StateMachine.swift
[766/784] Compiling AsyncHTTPClient ConnectionTarget.swift
[767/784] Compiling AsyncHTTPClient HTTP1ProxyConnectHandler.swift
[768/784] Compiling AsyncHTTPClient SOCKSEventsHandler.swift
[769/784] Compiling AsyncHTTPClient TLSEventsHandler.swift
[770/784] Compiling AsyncHTTPClient HTTP1ClientChannelHandler.swift
[771/784] Compiling AsyncHTTPClient HTTP1Connection.swift
[772/784] Compiling AsyncHTTPClient HTTP1ConnectionStateMachine.swift
[773/784] Compiling AsyncHTTPClient HTTP2ClientRequestHandler.swift
[774/784] Compiling AsyncHTTPClient HTTP2Connection.swift
[775/784] Compiling AsyncHTTPClient HTTP2IdleHandler.swift
[776/784] Compiling AsyncHTTPClient DeconstructedURL.swift
[777/784] Compiling AsyncHTTPClient FileDownloadDelegate.swift
[778/784] Compiling AsyncHTTPClient FoundationExtensions.swift
[779/784] Compiling AsyncHTTPClient HTTPClient+HTTPCookie.swift
[780/784] Compiling AsyncHTTPClient HTTPClient+Proxy.swift
[781/784] Compiling AsyncHTTPClient HTTPClient+StructuredConcurrency.swift
[782/784] Compiling AsyncHTTPClient HTTPClient.swift
[783/784] Compiling AsyncHTTPClient HTTPClientConfiguration+SwiftConfiguration.swift
[784/784] Compiling AsyncHTTPClient HTTPHandler.swift
[786/840] Compiling Appwrite MacOSDeviceInfo.swift
[787/840] Compiling Appwrite WKInterfaceDevice+ModelName.swift
[788/840] Compiling Appwrite WatchOSDeviceInfo.swift
[789/840] Compiling Appwrite Cookie+Codable.swift
[790/840] Compiling Appwrite HTTPClientRequest+Cookies.swift
[791/840] Compiling Appwrite String+MimeTypes.swift
[792/840] Compiling Appwrite ID.swift
[793/840] Compiling Appwrite AppwriteError.swift
[794/847] Emitting module Appwrite
[795/847] Compiling Appwrite Service.swift
[796/847] Compiling Appwrite Storage.swift
[797/847] Compiling Appwrite TablesDB.swift
[798/847] Compiling Appwrite Teams.swift
[799/847] Compiling Appwrite VectorsDB.swift
[800/847] Compiling Appwrite Videos.swift
[801/847] Compiling Appwrite StreamingDelegate.swift
[802/847] Compiling Appwrite InputFile.swift
[803/847] Compiling Appwrite RealtimeModels.swift
[804/847] Compiling Appwrite UploadProgress.swift
[805/847] Compiling Appwrite View+OAuth.swift
[806/847] Compiling Appwrite WebAuthComponent.swift
[807/847] Compiling Appwrite Operator.swift
[808/847] Compiling Appwrite PackageInfo+Apple.swift
[809/847] Compiling Appwrite PackageInfo+Linux.swift
[810/847] Compiling Appwrite Analytics.swift
[811/847] Compiling Appwrite Apps.swift
[812/847] Compiling Appwrite Avatars.swift
[813/847] Compiling Appwrite Databases.swift
[814/847] Compiling Appwrite DocumentsDB.swift
[815/847] Compiling Appwrite Functions.swift
[816/847] Compiling Appwrite Graphql.swift
[817/847] Compiling Appwrite Locale.swift
[818/847] Compiling Appwrite Channel.swift
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:982:5: error: missing return in static method expected to return 'String'
 980 |             return "windows"
 981 |         #endif
 982 |     }
     |     `- error: missing return in static method expected to return 'String'
 983 |
 984 |     private static func getDevice() -> String {
[819/847] Compiling Appwrite Client.swift
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:982:5: error: missing return in static method expected to return 'String'
 980 |             return "windows"
 981 |         #endif
 982 |     }
     |     `- error: missing return in static method expected to return 'String'
 983 |
 984 |     private static func getDevice() -> String {
[820/847] Compiling Appwrite LinuxDeviceInfo.swift
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:982:5: error: missing return in static method expected to return 'String'
 980 |             return "windows"
 981 |         #endif
 982 |     }
     |     `- error: missing return in static method expected to return 'String'
 983 |
 984 |     private static func getDevice() -> String {
[821/847] Compiling Appwrite OSDeviceInfo.swift
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:982:5: error: missing return in static method expected to return 'String'
 980 |             return "windows"
 981 |         #endif
 982 |     }
     |     `- error: missing return in static method expected to return 'String'
 983 |
 984 |     private static func getDevice() -> String {
[822/847] Compiling Appwrite WindowsDeviceInfo.swift
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:982:5: error: missing return in static method expected to return 'String'
 980 |             return "windows"
 981 |         #endif
 982 |     }
     |     `- error: missing return in static method expected to return 'String'
 983 |
 984 |     private static func getDevice() -> String {
[823/847] Compiling Appwrite IOSDeviceInfo.swift
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:982:5: error: missing return in static method expected to return 'String'
 980 |             return "windows"
 981 |         #endif
 982 |     }
     |     `- error: missing return in static method expected to return 'String'
 983 |
 984 |     private static func getDevice() -> String {
[824/847] Compiling Appwrite UIDevice+ModelName.swift
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:982:5: error: missing return in static method expected to return 'String'
 980 |             return "windows"
 981 |         #endif
 982 |     }
     |     `- error: missing return in static method expected to return 'String'
 983 |
 984 |     private static func getDevice() -> String {
[825/847] Compiling Appwrite CwlSysCtl.swift
/host/spi-builder-workspace/Sources/Appwrite/Client.swift:982:5: error: missing return in static method expected to return 'String'
 980 |             return "windows"
 981 |         #endif
 982 |     }
     |     `- error: missing return in static method expected to return 'String'
 983 |
 984 |     private static func getDevice() -> String {
[826/847] Compiling Appwrite OSPackageInfo.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2600:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2598 |         ]
2599 |
2600 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2601 |             "X-Appwrite-Project": client.config["project"] ?? "",
2602 |             "accept": "text/html",
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:3162:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3160 |         ]
3161 |
3162 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3163 |             "X-Appwrite-Project": client.config["project"] ?? "",
3164 |             "accept": "text/html",
/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 |
[827/847] Compiling Appwrite PackageInfo.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2600:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2598 |         ]
2599 |
2600 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2601 |             "X-Appwrite-Project": client.config["project"] ?? "",
2602 |             "accept": "text/html",
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:3162:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3160 |         ]
3161 |
3162 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3163 |             "X-Appwrite-Project": client.config["project"] ?? "",
3164 |             "accept": "text/html",
/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 |
[828/847] Compiling Appwrite PackageInfo+Windows.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2600:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2598 |         ]
2599 |
2600 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2601 |             "X-Appwrite-Project": client.config["project"] ?? "",
2602 |             "accept": "text/html",
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:3162:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3160 |         ]
3161 |
3162 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3163 |             "X-Appwrite-Project": client.config["project"] ?? "",
3164 |             "accept": "text/html",
/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 |
[829/847] Compiling Appwrite Permission.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2600:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2598 |         ]
2599 |
2600 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2601 |             "X-Appwrite-Project": client.config["project"] ?? "",
2602 |             "accept": "text/html",
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:3162:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3160 |         ]
3161 |
3162 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3163 |             "X-Appwrite-Project": client.config["project"] ?? "",
3164 |             "accept": "text/html",
/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 |
[830/847] Compiling Appwrite Query.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2600:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2598 |         ]
2599 |
2600 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2601 |             "X-Appwrite-Project": client.config["project"] ?? "",
2602 |             "accept": "text/html",
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:3162:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3160 |         ]
3161 |
3162 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3163 |             "X-Appwrite-Project": client.config["project"] ?? "",
3164 |             "accept": "text/html",
/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 |
[831/847] Compiling Appwrite Builder.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2600:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2598 |         ]
2599 |
2600 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2601 |             "X-Appwrite-Project": client.config["project"] ?? "",
2602 |             "accept": "text/html",
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:3162:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3160 |         ]
3161 |
3162 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3163 |             "X-Appwrite-Project": client.config["project"] ?? "",
3164 |             "accept": "text/html",
/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 |
[832/847] Compiling Appwrite Role.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2600:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2598 |         ]
2599 |
2600 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2601 |             "X-Appwrite-Project": client.config["project"] ?? "",
2602 |             "accept": "text/html",
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:3162:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3160 |         ]
3161 |
3162 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3163 |             "X-Appwrite-Project": client.config["project"] ?? "",
3164 |             "accept": "text/html",
/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 |
[833/847] Compiling Appwrite Account.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:2600:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2598 |         ]
2599 |
2600 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
2601 |             "X-Appwrite-Project": client.config["project"] ?? "",
2602 |             "accept": "text/html",
/host/spi-builder-workspace/Sources/Appwrite/Services/Account.swift:3162:13: warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3160 |         ]
3161 |
3162 |         let apiHeaders: [String: String] = [
     |             `- warning: immutable value 'apiHeaders' was never used; consider replacing with '_' or removing it
3163 |             "X-Appwrite-Project": client.config["project"] ?? "",
3164 |             "accept": "text/html",
/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 |
[834/847] Compiling Appwrite Topic.swift
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:268: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
    :
266 |             .channelOption(socketOptions, value: 1)
267 |             .channelInitializer {
268 |                 self.openChannel(channel: $0, upgraded: upgraded)
    |                 `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
269 |             }
270 |
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:306:56: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
304 |             upgraders: [basicUpgrader],
305 |             completionHandler: { context in
306 |                 context.channel.pipeline.removeHandler(httpHandler, promise: nil)
    |                                                        `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
307 |             }
308 |         )
/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:320:56: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
318 |                     let sslHandler = try! NIOSSLClientHandler(
319 |                         context: sslContext, serverHostname: self.host)
320 |                     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
321 |                 } else {
322 |                     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 |
[835/847] Compiling Appwrite Tracking.swift
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:268: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
    :
266 |             .channelOption(socketOptions, value: 1)
267 |             .channelInitializer {
268 |                 self.openChannel(channel: $0, upgraded: upgraded)
    |                 `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
269 |             }
270 |
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:306:56: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
304 |             upgraders: [basicUpgrader],
305 |             completionHandler: { context in
306 |                 context.channel.pipeline.removeHandler(httpHandler, promise: nil)
    |                                                        `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
307 |             }
308 |         )
/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:320:56: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
318 |                     let sslHandler = try! NIOSSLClientHandler(
319 |                         context: sslContext, serverHostname: self.host)
320 |                     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
321 |                 } else {
322 |                     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 |
[836/847] Compiling Appwrite HTTPHandler.swift
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:268: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
    :
266 |             .channelOption(socketOptions, value: 1)
267 |             .channelInitializer {
268 |                 self.openChannel(channel: $0, upgraded: upgraded)
    |                 `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
269 |             }
270 |
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:306:56: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
304 |             upgraders: [basicUpgrader],
305 |             completionHandler: { context in
306 |                 context.channel.pipeline.removeHandler(httpHandler, promise: nil)
    |                                                        `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
307 |             }
308 |         )
/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:320:56: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
318 |                     let sslHandler = try! NIOSSLClientHandler(
319 |                         context: sslContext, serverHostname: self.host)
320 |                     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
321 |                 } else {
322 |                     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 |
[837/847] Compiling Appwrite MessageHandler.swift
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:268: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
    :
266 |             .channelOption(socketOptions, value: 1)
267 |             .channelInitializer {
268 |                 self.openChannel(channel: $0, upgraded: upgraded)
    |                 `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
269 |             }
270 |
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:306:56: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
304 |             upgraders: [basicUpgrader],
305 |             completionHandler: { context in
306 |                 context.channel.pipeline.removeHandler(httpHandler, promise: nil)
    |                                                        `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
307 |             }
308 |         )
/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:320:56: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
318 |                     let sslHandler = try! NIOSSLClientHandler(
319 |                         context: sslContext, serverHostname: self.host)
320 |                     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
321 |                 } else {
322 |                     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 |
[838/847] Compiling Appwrite WebSocketClient.swift
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:268: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
    :
266 |             .channelOption(socketOptions, value: 1)
267 |             .channelInitializer {
268 |                 self.openChannel(channel: $0, upgraded: upgraded)
    |                 `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
269 |             }
270 |
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:306:56: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
304 |             upgraders: [basicUpgrader],
305 |             completionHandler: { context in
306 |                 context.channel.pipeline.removeHandler(httpHandler, promise: nil)
    |                                                        `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
307 |             }
308 |         )
/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:320:56: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
318 |                     let sslHandler = try! NIOSSLClientHandler(
319 |                         context: sslContext, serverHostname: self.host)
320 |                     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
321 |                 } else {
322 |                     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 |
[839/847] Compiling Appwrite WebSocketClientDelegate.swift
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:268: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
    :
266 |             .channelOption(socketOptions, value: 1)
267 |             .channelInitializer {
268 |                 self.openChannel(channel: $0, upgraded: upgraded)
    |                 `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
269 |             }
270 |
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:306:56: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
304 |             upgraders: [basicUpgrader],
305 |             completionHandler: { context in
306 |                 context.channel.pipeline.removeHandler(httpHandler, promise: nil)
    |                                                        `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
307 |             }
308 |         )
/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:320:56: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
318 |                     let sslHandler = try! NIOSSLClientHandler(
319 |                         context: sslContext, serverHostname: self.host)
320 |                     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
321 |                 } else {
322 |                     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 |
[840/847] Compiling Appwrite WebSocketClientError.swift
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:268: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
    :
266 |             .channelOption(socketOptions, value: 1)
267 |             .channelInitializer {
268 |                 self.openChannel(channel: $0, upgraded: upgraded)
    |                 `- warning: capture of 'self' with non-sendable type 'WebSocketClient' in a '@Sendable' closure
269 |             }
270 |
/host/spi-builder-workspace/Sources/Appwrite/WebSockets/WebSocketClient.swift:306:56: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
304 |             upgraders: [basicUpgrader],
305 |             completionHandler: { context in
306 |                 context.channel.pipeline.removeHandler(httpHandler, promise: nil)
    |                                                        `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
307 |             }
308 |         )
/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:320:56: warning: conformance of 'NIOSSLClientHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
318 |                     let sslHandler = try! NIOSSLClientHandler(
319 |                         context: sslContext, serverHostname: self.host)
320 |                     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
321 |                 } else {
322 |                     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 |
[841/847] Compiling Appwrite Messaging.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:976:38: warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 974 |             port: port,
 975 |             identifier: id,
 976 |             eventLoopGroupProvider: .createNew,
     |                                      `- warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 977 |             configuration: configuration
 978 |         )
[842/847] Compiling Appwrite Oauth2.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:976:38: warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 974 |             port: port,
 975 |             identifier: id,
 976 |             eventLoopGroupProvider: .createNew,
     |                                      `- warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 977 |             configuration: configuration
 978 |         )
[843/847] Compiling Appwrite Organization.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:976:38: warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 974 |             port: port,
 975 |             identifier: id,
 976 |             eventLoopGroupProvider: .createNew,
     |                                      `- warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 977 |             configuration: configuration
 978 |         )
[844/847] Compiling Appwrite Presences.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:976:38: warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 974 |             port: port,
 975 |             identifier: id,
 976 |             eventLoopGroupProvider: .createNew,
     |                                      `- warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 977 |             configuration: configuration
 978 |         )
[845/847] Compiling Appwrite Push.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:976:38: warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 974 |             port: port,
 975 |             identifier: id,
 976 |             eventLoopGroupProvider: .createNew,
     |                                      `- warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 977 |             configuration: configuration
 978 |         )
[846/847] Compiling Appwrite PushServiceExtension.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:976:38: warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 974 |             port: port,
 975 |             identifier: id,
 976 |             eventLoopGroupProvider: .createNew,
     |                                      `- warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 977 |             configuration: configuration
 978 |         )
[847/847] Compiling Appwrite Realtime.swift
/host/spi-builder-workspace/Sources/Appwrite/Services/Push.swift:976:38: warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 974 |             port: port,
 975 |             identifier: id,
 976 |             eventLoopGroupProvider: .createNew,
     |                                      `- warning: 'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
 977 |             configuration: configuration
 978 |         )
BUILD FAILURE 6.1 android