The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftDisc, reference main (10b4fe), with Swift 6.1 for Android on 11 Dec 2025 03:14:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

293 |                     await h.client.setAllowReconnect(false)
    |                           `- note: closure captures 'h' which is accessible to 'self'-isolated code
294 |                     await h.client.close()
295 |                 }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:355:26: warning: passing closure as a 'sending' parameter risks causing 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 |                 try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
354 |                     guard let self else { return }
355 |                     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
356 |                         let latency = await handle.client.heartbeatLatency()
    |                                             `- note: closure captures 'handle' which is accessible to code in the current task
357 |                         if case let .guildCreate(guild) = event {
358 |                             await self.recordGuild(shardId: shardId, guildId: guild.id.rawValue)
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:474:27: warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
472 |
473 |     private func emitEvent(_ ev: ShardedEvent) async {
474 |         eventContinuation.yield(ev)
    |                           |- warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
    |                           `- note: 'self'-isolated 'ev' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
475 |     }
476 | }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:360:36: warning: sending value of non-Sendable type 'ShardedEvent' risks causing data races; this is an error in the Swift 6 language mode
358 |                             await self.recordGuild(shardId: shardId, guildId: guild.id.rawValue)
359 |                         }
360 |                         await self.emitEvent(ShardedEvent(shardId: shardId, event: event, receivedAt: Date(), shardLatency: latency))
    |                                    |- warning: sending value of non-Sendable type 'ShardedEvent' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: sending task-isolated value of non-Sendable type 'ShardedEvent' to actor-isolated instance method 'emitEvent' risks causing races in between task-isolated and actor-isolated uses
361 |                     }
362 |                 }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:422:55: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
420 |         while Date() < deadline {
421 |             let statuses = await withTaskGroup(of: String.self, returning: [String].self) { group in
422 |                 for h in shardHandles { group.addTask { await h.status() } }
    |                                                       |       `- note: closure captures 'h' which is accessible to 'self'-isolated code
    |                                                       `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
423 |                 var arr: [String] = []
424 |                 for await s in group { arr.append(s) }
[53/64] Compiling SwiftDisc ShardManager.swift
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardManager.swift:20:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
18 |         try await withThrowingTaskGroup(of: Void.self) { group in
19 |             for (idx, client) in clients.enumerated() {
20 |                 group.addTask {
   |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
21 |                     try await client.loginAndConnectSharded(index: idx, total: self.totalShards, intents: intents)
   |                                                                                                           `- note: closure captures 'intents' which is accessible to code in the current task
22 |                     for await _ in client.events { /* keep alive per shard */ }
23 |                 }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:145:35: warning: sending 'handle' risks causing data races; this is an error in the Swift 6 language mode
143 |     public func shardHealth(id: Int) async -> ShardStatusSnapshot? {
144 |         guard let handle = await shard(id: id) else { return nil }
145 |         let status = await handle.status()
    |                                   |- warning: sending 'handle' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending 'self'-isolated 'handle' to nonisolated instance method 'status()' risks causing data races between nonisolated and 'self'-isolated uses
146 |         let latency = await handle.heartbeatLatency()
147 |         let ms = latency.map { Int($0 * 1000) }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:146:36: warning: sending 'handle' risks causing data races; this is an error in the Swift 6 language mode
144 |         guard let handle = await shard(id: id) else { return nil }
145 |         let status = await handle.status()
146 |         let latency = await handle.heartbeatLatency()
    |                                    |- warning: sending 'handle' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: sending 'self'-isolated 'handle' to nonisolated instance method 'heartbeatLatency()' risks causing data races between nonisolated and 'self'-isolated uses
147 |         let ms = latency.map { Int($0 * 1000) }
148 |         let sess = await handle.client.currentSessionId()
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:164:31: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 |         let snapshots = await withTaskGroup(of: (String, TimeInterval?).self, returning: [(String, TimeInterval?)].self) { group in
163 |             for h in shardHandles {
164 |                 group.addTask {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 |                     let st = await h.status()
    |                                    `- note: closure captures 'h' which is accessible to 'self'-isolated code
166 |                     let l = await h.heartbeatLatency()
167 |                     return (st, l)
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:337:41: warning: sending 'http' risks causing data races; this is an error in the Swift 6 language mode
335 |         let http = HTTPClient(token: token, configuration: httpConfiguration)
336 |         struct Info: Decodable { let url: String; let shards: Int; let session_start_limit: GatewayBotInfo.SessionStartLimit }
337 |         let info: Info = try await http.get(path: "/gateway/bot")
    |                                         |- warning: sending 'http' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated 'http' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
338 |         let converted = GatewayBotInfo(url: info.url, shards: info.shards, session_start_limit: .init(total: info.session_start_limit.total, remaining: info.session_start_limit.remaining, reset_after: info.session_start_limit.reset_after, max_concurrency: info.session_start_limit.max_concurrency))
339 |         cachedGatewayBot = .init(info: converted, fetchedAt: Date())
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:353:41: warning: sending 'intents' risks causing data races; this is an error in the Swift 6 language mode
351 |             do {
352 |                 log(.info, "Shard \(shardId) connecting (attempt \(attempt))")
353 |                 try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
    |                                         |- warning: sending 'intents' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated 'intents' to actor-isolated instance method 'connect(intents:shard:eventSink:)' risks causing data races between actor-isolated and 'self'-isolated uses
354 |                     guard let self else { return }
355 |                     Task {
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:353:41: warning: sending value of non-Sendable type '(DiscordEvent) -> Void' risks causing data races; this is an error in the Swift 6 language mode
351 |             do {
352 |                 log(.info, "Shard \(shardId) connecting (attempt \(attempt))")
353 |                 try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
    |                                         |- warning: sending value of non-Sendable type '(DiscordEvent) -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated value of non-Sendable type '(DiscordEvent) -> Void' to actor-isolated instance method 'connect(intents:shard:eventSink:)' risks causing races in between 'self'-isolated and actor-isolated uses
354 |                     guard let self else { return }
355 |                     Task {
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:366:41: warning: sending 'presence.activities' risks causing data races; this is an error in the Swift 6 language mode
364 |                 // Apply per-shard presence if configured
365 |                 if let presence = await presenceForShard(shardId, total: totalShards) {
366 |                     await handle.client.setPresence(status: presence.status, activities: presence.activities, afk: presence.afk, since: presence.since)
    |                                         |- warning: sending 'presence.activities' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated 'presence.activities' to actor-isolated instance method 'setPresence(status:activities:afk:since:)' risks causing data races between actor-isolated and 'self'-isolated uses
367 |                     log(.debug, "Applied presence to shard \(shardId)")
368 |                 }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:206:26: warning: sending 'self.httpConfiguration' risks causing data races; this is an error in the Swift 6 language mode
204 |         // Build shard clients
205 |         shardHandles = (0..<totalShards).map { idx in
206 |             let client = GatewayClient(token: token, configuration: httpConfiguration)
    |                          |- warning: sending 'self.httpConfiguration' risks causing data races; this is an error in the Swift 6 language mode
    |                          `- note: sending 'self'-isolated 'self.httpConfiguration' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
207 |             return ShardHandle(id: idx, client: client)
208 |         }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:220:39: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
218 |                 try await withThrowingTaskGroup(of: Void.self) { group in
219 |                     for handle in batch {
220 |                         group.addTask { try await self.connectShardWithRetry(handle: handle, totalShards: totalShards) }
    |                                       |                                              `- note: closure captures 'handle' which is accessible to 'self'-isolated code
    |                                       `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
221 |                     }
222 |                     try await group.waitForAll()
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:259:61: warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
257 |             Task {
258 |                 for await ev in self.events {
259 |                     if ev.shardId == shardId { continuation.yield(ev) }
    |                                                             |- warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
    |                                                             `- note: 'self'-isolated 'ev' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
260 |                 }
261 |                 continuation.finish()
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:275:64: warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
273 |             Task {
274 |                 for await ev in self.events {
275 |                     if set.contains(ev.shardId) { continuation.yield(ev) }
    |                                                                |- warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                `- note: 'self'-isolated 'ev' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
276 |                 }
277 |                 continuation.finish()
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:292:31: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
290 |         await withTaskGroup(of: Void.self) { group in
291 |             for h in shardHandles {
292 |                 group.addTask {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
293 |                     await h.client.setAllowReconnect(false)
    |                           `- note: closure captures 'h' which is accessible to 'self'-isolated code
294 |                     await h.client.close()
295 |                 }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:355:26: warning: passing closure as a 'sending' parameter risks causing 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 |                 try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
354 |                     guard let self else { return }
355 |                     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
356 |                         let latency = await handle.client.heartbeatLatency()
    |                                             `- note: closure captures 'handle' which is accessible to code in the current task
357 |                         if case let .guildCreate(guild) = event {
358 |                             await self.recordGuild(shardId: shardId, guildId: guild.id.rawValue)
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:474:27: warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
472 |
473 |     private func emitEvent(_ ev: ShardedEvent) async {
474 |         eventContinuation.yield(ev)
    |                           |- warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
    |                           `- note: 'self'-isolated 'ev' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
475 |     }
476 | }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:360:36: warning: sending value of non-Sendable type 'ShardedEvent' risks causing data races; this is an error in the Swift 6 language mode
358 |                             await self.recordGuild(shardId: shardId, guildId: guild.id.rawValue)
359 |                         }
360 |                         await self.emitEvent(ShardedEvent(shardId: shardId, event: event, receivedAt: Date(), shardLatency: latency))
    |                                    |- warning: sending value of non-Sendable type 'ShardedEvent' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: sending task-isolated value of non-Sendable type 'ShardedEvent' to actor-isolated instance method 'emitEvent' risks causing races in between task-isolated and actor-isolated uses
361 |                     }
362 |                 }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:422:55: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
420 |         while Date() < deadline {
421 |             let statuses = await withTaskGroup(of: String.self, returning: [String].self) { group in
422 |                 for h in shardHandles { group.addTask { await h.status() } }
    |                                                       |       `- note: closure captures 'h' which is accessible to 'self'-isolated code
    |                                                       `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
423 |                 var arr: [String] = []
424 |                 for await s in group { arr.append(s) }
[54/64] Compiling SwiftDisc ShardingGatewayManager.swift
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardManager.swift:20:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
18 |         try await withThrowingTaskGroup(of: Void.self) { group in
19 |             for (idx, client) in clients.enumerated() {
20 |                 group.addTask {
   |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
21 |                     try await client.loginAndConnectSharded(index: idx, total: self.totalShards, intents: intents)
   |                                                                                                           `- note: closure captures 'intents' which is accessible to code in the current task
22 |                     for await _ in client.events { /* keep alive per shard */ }
23 |                 }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:145:35: warning: sending 'handle' risks causing data races; this is an error in the Swift 6 language mode
143 |     public func shardHealth(id: Int) async -> ShardStatusSnapshot? {
144 |         guard let handle = await shard(id: id) else { return nil }
145 |         let status = await handle.status()
    |                                   |- warning: sending 'handle' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending 'self'-isolated 'handle' to nonisolated instance method 'status()' risks causing data races between nonisolated and 'self'-isolated uses
146 |         let latency = await handle.heartbeatLatency()
147 |         let ms = latency.map { Int($0 * 1000) }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:146:36: warning: sending 'handle' risks causing data races; this is an error in the Swift 6 language mode
144 |         guard let handle = await shard(id: id) else { return nil }
145 |         let status = await handle.status()
146 |         let latency = await handle.heartbeatLatency()
    |                                    |- warning: sending 'handle' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: sending 'self'-isolated 'handle' to nonisolated instance method 'heartbeatLatency()' risks causing data races between nonisolated and 'self'-isolated uses
147 |         let ms = latency.map { Int($0 * 1000) }
148 |         let sess = await handle.client.currentSessionId()
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:164:31: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 |         let snapshots = await withTaskGroup(of: (String, TimeInterval?).self, returning: [(String, TimeInterval?)].self) { group in
163 |             for h in shardHandles {
164 |                 group.addTask {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 |                     let st = await h.status()
    |                                    `- note: closure captures 'h' which is accessible to 'self'-isolated code
166 |                     let l = await h.heartbeatLatency()
167 |                     return (st, l)
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:337:41: warning: sending 'http' risks causing data races; this is an error in the Swift 6 language mode
335 |         let http = HTTPClient(token: token, configuration: httpConfiguration)
336 |         struct Info: Decodable { let url: String; let shards: Int; let session_start_limit: GatewayBotInfo.SessionStartLimit }
337 |         let info: Info = try await http.get(path: "/gateway/bot")
    |                                         |- warning: sending 'http' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated 'http' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
338 |         let converted = GatewayBotInfo(url: info.url, shards: info.shards, session_start_limit: .init(total: info.session_start_limit.total, remaining: info.session_start_limit.remaining, reset_after: info.session_start_limit.reset_after, max_concurrency: info.session_start_limit.max_concurrency))
339 |         cachedGatewayBot = .init(info: converted, fetchedAt: Date())
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:353:41: warning: sending 'intents' risks causing data races; this is an error in the Swift 6 language mode
351 |             do {
352 |                 log(.info, "Shard \(shardId) connecting (attempt \(attempt))")
353 |                 try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
    |                                         |- warning: sending 'intents' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated 'intents' to actor-isolated instance method 'connect(intents:shard:eventSink:)' risks causing data races between actor-isolated and 'self'-isolated uses
354 |                     guard let self else { return }
355 |                     Task {
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:353:41: warning: sending value of non-Sendable type '(DiscordEvent) -> Void' risks causing data races; this is an error in the Swift 6 language mode
351 |             do {
352 |                 log(.info, "Shard \(shardId) connecting (attempt \(attempt))")
353 |                 try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
    |                                         |- warning: sending value of non-Sendable type '(DiscordEvent) -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated value of non-Sendable type '(DiscordEvent) -> Void' to actor-isolated instance method 'connect(intents:shard:eventSink:)' risks causing races in between 'self'-isolated and actor-isolated uses
354 |                     guard let self else { return }
355 |                     Task {
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:366:41: warning: sending 'presence.activities' risks causing data races; this is an error in the Swift 6 language mode
364 |                 // Apply per-shard presence if configured
365 |                 if let presence = await presenceForShard(shardId, total: totalShards) {
366 |                     await handle.client.setPresence(status: presence.status, activities: presence.activities, afk: presence.afk, since: presence.since)
    |                                         |- warning: sending 'presence.activities' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated 'presence.activities' to actor-isolated instance method 'setPresence(status:activities:afk:since:)' risks causing data races between actor-isolated and 'self'-isolated uses
367 |                     log(.debug, "Applied presence to shard \(shardId)")
368 |                 }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:206:26: warning: sending 'self.httpConfiguration' risks causing data races; this is an error in the Swift 6 language mode
204 |         // Build shard clients
205 |         shardHandles = (0..<totalShards).map { idx in
206 |             let client = GatewayClient(token: token, configuration: httpConfiguration)
    |                          |- warning: sending 'self.httpConfiguration' risks causing data races; this is an error in the Swift 6 language mode
    |                          `- note: sending 'self'-isolated 'self.httpConfiguration' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
207 |             return ShardHandle(id: idx, client: client)
208 |         }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:220:39: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
218 |                 try await withThrowingTaskGroup(of: Void.self) { group in
219 |                     for handle in batch {
220 |                         group.addTask { try await self.connectShardWithRetry(handle: handle, totalShards: totalShards) }
    |                                       |                                              `- note: closure captures 'handle' which is accessible to 'self'-isolated code
    |                                       `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
221 |                     }
222 |                     try await group.waitForAll()
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:259:61: warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
257 |             Task {
258 |                 for await ev in self.events {
259 |                     if ev.shardId == shardId { continuation.yield(ev) }
    |                                                             |- warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
    |                                                             `- note: 'self'-isolated 'ev' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
260 |                 }
261 |                 continuation.finish()
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:275:64: warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
273 |             Task {
274 |                 for await ev in self.events {
275 |                     if set.contains(ev.shardId) { continuation.yield(ev) }
    |                                                                |- warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                `- note: 'self'-isolated 'ev' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
276 |                 }
277 |                 continuation.finish()
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:292:31: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
290 |         await withTaskGroup(of: Void.self) { group in
291 |             for h in shardHandles {
292 |                 group.addTask {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
293 |                     await h.client.setAllowReconnect(false)
    |                           `- note: closure captures 'h' which is accessible to 'self'-isolated code
294 |                     await h.client.close()
295 |                 }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:355:26: warning: passing closure as a 'sending' parameter risks causing 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 |                 try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
354 |                     guard let self else { return }
355 |                     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
356 |                         let latency = await handle.client.heartbeatLatency()
    |                                             `- note: closure captures 'handle' which is accessible to code in the current task
357 |                         if case let .guildCreate(guild) = event {
358 |                             await self.recordGuild(shardId: shardId, guildId: guild.id.rawValue)
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:474:27: warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
472 |
473 |     private func emitEvent(_ ev: ShardedEvent) async {
474 |         eventContinuation.yield(ev)
    |                           |- warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
    |                           `- note: 'self'-isolated 'ev' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
475 |     }
476 | }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:360:36: warning: sending value of non-Sendable type 'ShardedEvent' risks causing data races; this is an error in the Swift 6 language mode
358 |                             await self.recordGuild(shardId: shardId, guildId: guild.id.rawValue)
359 |                         }
360 |                         await self.emitEvent(ShardedEvent(shardId: shardId, event: event, receivedAt: Date(), shardLatency: latency))
    |                                    |- warning: sending value of non-Sendable type 'ShardedEvent' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: sending task-isolated value of non-Sendable type 'ShardedEvent' to actor-isolated instance method 'emitEvent' risks causing races in between task-isolated and actor-isolated uses
361 |                     }
362 |                 }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:422:55: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
420 |         while Date() < deadline {
421 |             let statuses = await withTaskGroup(of: String.self, returning: [String].self) { group in
422 |                 for h in shardHandles { group.addTask { await h.status() } }
    |                                                       |       `- note: closure captures 'h' which is accessible to 'self'-isolated code
    |                                                       `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
423 |                 var arr: [String] = []
424 |                 for await s in group { arr.append(s) }
[55/64] Compiling SwiftDisc SlashCommandBuilder.swift
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardManager.swift:20:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
18 |         try await withThrowingTaskGroup(of: Void.self) { group in
19 |             for (idx, client) in clients.enumerated() {
20 |                 group.addTask {
   |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
21 |                     try await client.loginAndConnectSharded(index: idx, total: self.totalShards, intents: intents)
   |                                                                                                           `- note: closure captures 'intents' which is accessible to code in the current task
22 |                     for await _ in client.events { /* keep alive per shard */ }
23 |                 }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:145:35: warning: sending 'handle' risks causing data races; this is an error in the Swift 6 language mode
143 |     public func shardHealth(id: Int) async -> ShardStatusSnapshot? {
144 |         guard let handle = await shard(id: id) else { return nil }
145 |         let status = await handle.status()
    |                                   |- warning: sending 'handle' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending 'self'-isolated 'handle' to nonisolated instance method 'status()' risks causing data races between nonisolated and 'self'-isolated uses
146 |         let latency = await handle.heartbeatLatency()
147 |         let ms = latency.map { Int($0 * 1000) }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:146:36: warning: sending 'handle' risks causing data races; this is an error in the Swift 6 language mode
144 |         guard let handle = await shard(id: id) else { return nil }
145 |         let status = await handle.status()
146 |         let latency = await handle.heartbeatLatency()
    |                                    |- warning: sending 'handle' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: sending 'self'-isolated 'handle' to nonisolated instance method 'heartbeatLatency()' risks causing data races between nonisolated and 'self'-isolated uses
147 |         let ms = latency.map { Int($0 * 1000) }
148 |         let sess = await handle.client.currentSessionId()
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:164:31: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 |         let snapshots = await withTaskGroup(of: (String, TimeInterval?).self, returning: [(String, TimeInterval?)].self) { group in
163 |             for h in shardHandles {
164 |                 group.addTask {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 |                     let st = await h.status()
    |                                    `- note: closure captures 'h' which is accessible to 'self'-isolated code
166 |                     let l = await h.heartbeatLatency()
167 |                     return (st, l)
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:337:41: warning: sending 'http' risks causing data races; this is an error in the Swift 6 language mode
335 |         let http = HTTPClient(token: token, configuration: httpConfiguration)
336 |         struct Info: Decodable { let url: String; let shards: Int; let session_start_limit: GatewayBotInfo.SessionStartLimit }
337 |         let info: Info = try await http.get(path: "/gateway/bot")
    |                                         |- warning: sending 'http' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated 'http' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
338 |         let converted = GatewayBotInfo(url: info.url, shards: info.shards, session_start_limit: .init(total: info.session_start_limit.total, remaining: info.session_start_limit.remaining, reset_after: info.session_start_limit.reset_after, max_concurrency: info.session_start_limit.max_concurrency))
339 |         cachedGatewayBot = .init(info: converted, fetchedAt: Date())
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:353:41: warning: sending 'intents' risks causing data races; this is an error in the Swift 6 language mode
351 |             do {
352 |                 log(.info, "Shard \(shardId) connecting (attempt \(attempt))")
353 |                 try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
    |                                         |- warning: sending 'intents' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated 'intents' to actor-isolated instance method 'connect(intents:shard:eventSink:)' risks causing data races between actor-isolated and 'self'-isolated uses
354 |                     guard let self else { return }
355 |                     Task {
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:353:41: warning: sending value of non-Sendable type '(DiscordEvent) -> Void' risks causing data races; this is an error in the Swift 6 language mode
351 |             do {
352 |                 log(.info, "Shard \(shardId) connecting (attempt \(attempt))")
353 |                 try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
    |                                         |- warning: sending value of non-Sendable type '(DiscordEvent) -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated value of non-Sendable type '(DiscordEvent) -> Void' to actor-isolated instance method 'connect(intents:shard:eventSink:)' risks causing races in between 'self'-isolated and actor-isolated uses
354 |                     guard let self else { return }
355 |                     Task {
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:366:41: warning: sending 'presence.activities' risks causing data races; this is an error in the Swift 6 language mode
364 |                 // Apply per-shard presence if configured
365 |                 if let presence = await presenceForShard(shardId, total: totalShards) {
366 |                     await handle.client.setPresence(status: presence.status, activities: presence.activities, afk: presence.afk, since: presence.since)
    |                                         |- warning: sending 'presence.activities' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated 'presence.activities' to actor-isolated instance method 'setPresence(status:activities:afk:since:)' risks causing data races between actor-isolated and 'self'-isolated uses
367 |                     log(.debug, "Applied presence to shard \(shardId)")
368 |                 }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:206:26: warning: sending 'self.httpConfiguration' risks causing data races; this is an error in the Swift 6 language mode
204 |         // Build shard clients
205 |         shardHandles = (0..<totalShards).map { idx in
206 |             let client = GatewayClient(token: token, configuration: httpConfiguration)
    |                          |- warning: sending 'self.httpConfiguration' risks causing data races; this is an error in the Swift 6 language mode
    |                          `- note: sending 'self'-isolated 'self.httpConfiguration' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
207 |             return ShardHandle(id: idx, client: client)
208 |         }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:220:39: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
218 |                 try await withThrowingTaskGroup(of: Void.self) { group in
219 |                     for handle in batch {
220 |                         group.addTask { try await self.connectShardWithRetry(handle: handle, totalShards: totalShards) }
    |                                       |                                              `- note: closure captures 'handle' which is accessible to 'self'-isolated code
    |                                       `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
221 |                     }
222 |                     try await group.waitForAll()
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:259:61: warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
257 |             Task {
258 |                 for await ev in self.events {
259 |                     if ev.shardId == shardId { continuation.yield(ev) }
    |                                                             |- warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
    |                                                             `- note: 'self'-isolated 'ev' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
260 |                 }
261 |                 continuation.finish()
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:275:64: warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
273 |             Task {
274 |                 for await ev in self.events {
275 |                     if set.contains(ev.shardId) { continuation.yield(ev) }
    |                                                                |- warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                `- note: 'self'-isolated 'ev' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
276 |                 }
277 |                 continuation.finish()
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:292:31: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
290 |         await withTaskGroup(of: Void.self) { group in
291 |             for h in shardHandles {
292 |                 group.addTask {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
293 |                     await h.client.setAllowReconnect(false)
    |                           `- note: closure captures 'h' which is accessible to 'self'-isolated code
294 |                     await h.client.close()
295 |                 }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:355:26: warning: passing closure as a 'sending' parameter risks causing 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 |                 try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
354 |                     guard let self else { return }
355 |                     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
356 |                         let latency = await handle.client.heartbeatLatency()
    |                                             `- note: closure captures 'handle' which is accessible to code in the current task
357 |                         if case let .guildCreate(guild) = event {
358 |                             await self.recordGuild(shardId: shardId, guildId: guild.id.rawValue)
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:474:27: warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
472 |
473 |     private func emitEvent(_ ev: ShardedEvent) async {
474 |         eventContinuation.yield(ev)
    |                           |- warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
    |                           `- note: 'self'-isolated 'ev' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
475 |     }
476 | }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:360:36: warning: sending value of non-Sendable type 'ShardedEvent' risks causing data races; this is an error in the Swift 6 language mode
358 |                             await self.recordGuild(shardId: shardId, guildId: guild.id.rawValue)
359 |                         }
360 |                         await self.emitEvent(ShardedEvent(shardId: shardId, event: event, receivedAt: Date(), shardLatency: latency))
    |                                    |- warning: sending value of non-Sendable type 'ShardedEvent' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: sending task-isolated value of non-Sendable type 'ShardedEvent' to actor-isolated instance method 'emitEvent' risks causing races in between task-isolated and actor-isolated uses
361 |                     }
362 |                 }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:422:55: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
420 |         while Date() < deadline {
421 |             let statuses = await withTaskGroup(of: String.self, returning: [String].self) { group in
422 |                 for h in shardHandles { group.addTask { await h.status() } }
    |                                                       |       `- note: closure captures 'h' which is accessible to 'self'-isolated code
    |                                                       `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
423 |                 var arr: [String] = []
424 |                 for await s in group { arr.append(s) }
[56/64] Compiling SwiftDisc SlashCommandRouter.swift
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardManager.swift:20:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
18 |         try await withThrowingTaskGroup(of: Void.self) { group in
19 |             for (idx, client) in clients.enumerated() {
20 |                 group.addTask {
   |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
21 |                     try await client.loginAndConnectSharded(index: idx, total: self.totalShards, intents: intents)
   |                                                                                                           `- note: closure captures 'intents' which is accessible to code in the current task
22 |                     for await _ in client.events { /* keep alive per shard */ }
23 |                 }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:145:35: warning: sending 'handle' risks causing data races; this is an error in the Swift 6 language mode
143 |     public func shardHealth(id: Int) async -> ShardStatusSnapshot? {
144 |         guard let handle = await shard(id: id) else { return nil }
145 |         let status = await handle.status()
    |                                   |- warning: sending 'handle' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending 'self'-isolated 'handle' to nonisolated instance method 'status()' risks causing data races between nonisolated and 'self'-isolated uses
146 |         let latency = await handle.heartbeatLatency()
147 |         let ms = latency.map { Int($0 * 1000) }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:146:36: warning: sending 'handle' risks causing data races; this is an error in the Swift 6 language mode
144 |         guard let handle = await shard(id: id) else { return nil }
145 |         let status = await handle.status()
146 |         let latency = await handle.heartbeatLatency()
    |                                    |- warning: sending 'handle' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: sending 'self'-isolated 'handle' to nonisolated instance method 'heartbeatLatency()' risks causing data races between nonisolated and 'self'-isolated uses
147 |         let ms = latency.map { Int($0 * 1000) }
148 |         let sess = await handle.client.currentSessionId()
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:164:31: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 |         let snapshots = await withTaskGroup(of: (String, TimeInterval?).self, returning: [(String, TimeInterval?)].self) { group in
163 |             for h in shardHandles {
164 |                 group.addTask {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 |                     let st = await h.status()
    |                                    `- note: closure captures 'h' which is accessible to 'self'-isolated code
166 |                     let l = await h.heartbeatLatency()
167 |                     return (st, l)
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:337:41: warning: sending 'http' risks causing data races; this is an error in the Swift 6 language mode
335 |         let http = HTTPClient(token: token, configuration: httpConfiguration)
336 |         struct Info: Decodable { let url: String; let shards: Int; let session_start_limit: GatewayBotInfo.SessionStartLimit }
337 |         let info: Info = try await http.get(path: "/gateway/bot")
    |                                         |- warning: sending 'http' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated 'http' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
338 |         let converted = GatewayBotInfo(url: info.url, shards: info.shards, session_start_limit: .init(total: info.session_start_limit.total, remaining: info.session_start_limit.remaining, reset_after: info.session_start_limit.reset_after, max_concurrency: info.session_start_limit.max_concurrency))
339 |         cachedGatewayBot = .init(info: converted, fetchedAt: Date())
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:353:41: warning: sending 'intents' risks causing data races; this is an error in the Swift 6 language mode
351 |             do {
352 |                 log(.info, "Shard \(shardId) connecting (attempt \(attempt))")
353 |                 try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
    |                                         |- warning: sending 'intents' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated 'intents' to actor-isolated instance method 'connect(intents:shard:eventSink:)' risks causing data races between actor-isolated and 'self'-isolated uses
354 |                     guard let self else { return }
355 |                     Task {
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:353:41: warning: sending value of non-Sendable type '(DiscordEvent) -> Void' risks causing data races; this is an error in the Swift 6 language mode
351 |             do {
352 |                 log(.info, "Shard \(shardId) connecting (attempt \(attempt))")
353 |                 try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
    |                                         |- warning: sending value of non-Sendable type '(DiscordEvent) -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated value of non-Sendable type '(DiscordEvent) -> Void' to actor-isolated instance method 'connect(intents:shard:eventSink:)' risks causing races in between 'self'-isolated and actor-isolated uses
354 |                     guard let self else { return }
355 |                     Task {
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:366:41: warning: sending 'presence.activities' risks causing data races; this is an error in the Swift 6 language mode
364 |                 // Apply per-shard presence if configured
365 |                 if let presence = await presenceForShard(shardId, total: totalShards) {
366 |                     await handle.client.setPresence(status: presence.status, activities: presence.activities, afk: presence.afk, since: presence.since)
    |                                         |- warning: sending 'presence.activities' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated 'presence.activities' to actor-isolated instance method 'setPresence(status:activities:afk:since:)' risks causing data races between actor-isolated and 'self'-isolated uses
367 |                     log(.debug, "Applied presence to shard \(shardId)")
368 |                 }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:206:26: warning: sending 'self.httpConfiguration' risks causing data races; this is an error in the Swift 6 language mode
204 |         // Build shard clients
205 |         shardHandles = (0..<totalShards).map { idx in
206 |             let client = GatewayClient(token: token, configuration: httpConfiguration)
    |                          |- warning: sending 'self.httpConfiguration' risks causing data races; this is an error in the Swift 6 language mode
    |                          `- note: sending 'self'-isolated 'self.httpConfiguration' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
207 |             return ShardHandle(id: idx, client: client)
208 |         }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:220:39: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
218 |                 try await withThrowingTaskGroup(of: Void.self) { group in
219 |                     for handle in batch {
220 |                         group.addTask { try await self.connectShardWithRetry(handle: handle, totalShards: totalShards) }
    |                                       |                                              `- note: closure captures 'handle' which is accessible to 'self'-isolated code
    |                                       `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
221 |                     }
222 |                     try await group.waitForAll()
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:259:61: warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
257 |             Task {
258 |                 for await ev in self.events {
259 |                     if ev.shardId == shardId { continuation.yield(ev) }
    |                                                             |- warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
    |                                                             `- note: 'self'-isolated 'ev' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
260 |                 }
261 |                 continuation.finish()
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:275:64: warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
273 |             Task {
274 |                 for await ev in self.events {
275 |                     if set.contains(ev.shardId) { continuation.yield(ev) }
    |                                                                |- warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                `- note: 'self'-isolated 'ev' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
276 |                 }
277 |                 continuation.finish()
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:292:31: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
290 |         await withTaskGroup(of: Void.self) { group in
291 |             for h in shardHandles {
292 |                 group.addTask {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
293 |                     await h.client.setAllowReconnect(false)
    |                           `- note: closure captures 'h' which is accessible to 'self'-isolated code
294 |                     await h.client.close()
295 |                 }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:355:26: warning: passing closure as a 'sending' parameter risks causing 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 |                 try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
354 |                     guard let self else { return }
355 |                     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
356 |                         let latency = await handle.client.heartbeatLatency()
    |                                             `- note: closure captures 'handle' which is accessible to code in the current task
357 |                         if case let .guildCreate(guild) = event {
358 |                             await self.recordGuild(shardId: shardId, guildId: guild.id.rawValue)
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:474:27: warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
472 |
473 |     private func emitEvent(_ ev: ShardedEvent) async {
474 |         eventContinuation.yield(ev)
    |                           |- warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
    |                           `- note: 'self'-isolated 'ev' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
475 |     }
476 | }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:360:36: warning: sending value of non-Sendable type 'ShardedEvent' risks causing data races; this is an error in the Swift 6 language mode
358 |                             await self.recordGuild(shardId: shardId, guildId: guild.id.rawValue)
359 |                         }
360 |                         await self.emitEvent(ShardedEvent(shardId: shardId, event: event, receivedAt: Date(), shardLatency: latency))
    |                                    |- warning: sending value of non-Sendable type 'ShardedEvent' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: sending task-isolated value of non-Sendable type 'ShardedEvent' to actor-isolated instance method 'emitEvent' risks causing races in between task-isolated and actor-isolated uses
361 |                     }
362 |                 }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:422:55: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
420 |         while Date() < deadline {
421 |             let statuses = await withTaskGroup(of: String.self, returning: [String].self) { group in
422 |                 for h in shardHandles { group.addTask { await h.status() } }
    |                                                       |       `- note: closure captures 'h' which is accessible to 'self'-isolated code
    |                                                       `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
423 |                 var arr: [String] = []
424 |                 for await s in group { arr.append(s) }
[57/64] Compiling SwiftDisc Utilities.swift
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardManager.swift:20:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
18 |         try await withThrowingTaskGroup(of: Void.self) { group in
19 |             for (idx, client) in clients.enumerated() {
20 |                 group.addTask {
   |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
21 |                     try await client.loginAndConnectSharded(index: idx, total: self.totalShards, intents: intents)
   |                                                                                                           `- note: closure captures 'intents' which is accessible to code in the current task
22 |                     for await _ in client.events { /* keep alive per shard */ }
23 |                 }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:145:35: warning: sending 'handle' risks causing data races; this is an error in the Swift 6 language mode
143 |     public func shardHealth(id: Int) async -> ShardStatusSnapshot? {
144 |         guard let handle = await shard(id: id) else { return nil }
145 |         let status = await handle.status()
    |                                   |- warning: sending 'handle' risks causing data races; this is an error in the Swift 6 language mode
    |                                   `- note: sending 'self'-isolated 'handle' to nonisolated instance method 'status()' risks causing data races between nonisolated and 'self'-isolated uses
146 |         let latency = await handle.heartbeatLatency()
147 |         let ms = latency.map { Int($0 * 1000) }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:146:36: warning: sending 'handle' risks causing data races; this is an error in the Swift 6 language mode
144 |         guard let handle = await shard(id: id) else { return nil }
145 |         let status = await handle.status()
146 |         let latency = await handle.heartbeatLatency()
    |                                    |- warning: sending 'handle' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: sending 'self'-isolated 'handle' to nonisolated instance method 'heartbeatLatency()' risks causing data races between nonisolated and 'self'-isolated uses
147 |         let ms = latency.map { Int($0 * 1000) }
148 |         let sess = await handle.client.currentSessionId()
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:164:31: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 |         let snapshots = await withTaskGroup(of: (String, TimeInterval?).self, returning: [(String, TimeInterval?)].self) { group in
163 |             for h in shardHandles {
164 |                 group.addTask {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 |                     let st = await h.status()
    |                                    `- note: closure captures 'h' which is accessible to 'self'-isolated code
166 |                     let l = await h.heartbeatLatency()
167 |                     return (st, l)
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:337:41: warning: sending 'http' risks causing data races; this is an error in the Swift 6 language mode
335 |         let http = HTTPClient(token: token, configuration: httpConfiguration)
336 |         struct Info: Decodable { let url: String; let shards: Int; let session_start_limit: GatewayBotInfo.SessionStartLimit }
337 |         let info: Info = try await http.get(path: "/gateway/bot")
    |                                         |- warning: sending 'http' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated 'http' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
338 |         let converted = GatewayBotInfo(url: info.url, shards: info.shards, session_start_limit: .init(total: info.session_start_limit.total, remaining: info.session_start_limit.remaining, reset_after: info.session_start_limit.reset_after, max_concurrency: info.session_start_limit.max_concurrency))
339 |         cachedGatewayBot = .init(info: converted, fetchedAt: Date())
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:353:41: warning: sending 'intents' risks causing data races; this is an error in the Swift 6 language mode
351 |             do {
352 |                 log(.info, "Shard \(shardId) connecting (attempt \(attempt))")
353 |                 try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
    |                                         |- warning: sending 'intents' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated 'intents' to actor-isolated instance method 'connect(intents:shard:eventSink:)' risks causing data races between actor-isolated and 'self'-isolated uses
354 |                     guard let self else { return }
355 |                     Task {
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:353:41: warning: sending value of non-Sendable type '(DiscordEvent) -> Void' risks causing data races; this is an error in the Swift 6 language mode
351 |             do {
352 |                 log(.info, "Shard \(shardId) connecting (attempt \(attempt))")
353 |                 try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
    |                                         |- warning: sending value of non-Sendable type '(DiscordEvent) -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated value of non-Sendable type '(DiscordEvent) -> Void' to actor-isolated instance method 'connect(intents:shard:eventSink:)' risks causing races in between 'self'-isolated and actor-isolated uses
354 |                     guard let self else { return }
355 |                     Task {
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:366:41: warning: sending 'presence.activities' risks causing data races; this is an error in the Swift 6 language mode
364 |                 // Apply per-shard presence if configured
365 |                 if let presence = await presenceForShard(shardId, total: totalShards) {
366 |                     await handle.client.setPresence(status: presence.status, activities: presence.activities, afk: presence.afk, since: presence.since)
    |                                         |- warning: sending 'presence.activities' risks causing data races; this is an error in the Swift 6 language mode
    |                                         `- note: sending 'self'-isolated 'presence.activities' to actor-isolated instance method 'setPresence(status:activities:afk:since:)' risks causing data races between actor-isolated and 'self'-isolated uses
367 |                     log(.debug, "Applied presence to shard \(shardId)")
368 |                 }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:206:26: warning: sending 'self.httpConfiguration' risks causing data races; this is an error in the Swift 6 language mode
204 |         // Build shard clients
205 |         shardHandles = (0..<totalShards).map { idx in
206 |             let client = GatewayClient(token: token, configuration: httpConfiguration)
    |                          |- warning: sending 'self.httpConfiguration' risks causing data races; this is an error in the Swift 6 language mode
    |                          `- note: sending 'self'-isolated 'self.httpConfiguration' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
207 |             return ShardHandle(id: idx, client: client)
208 |         }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:220:39: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
218 |                 try await withThrowingTaskGroup(of: Void.self) { group in
219 |                     for handle in batch {
220 |                         group.addTask { try await self.connectShardWithRetry(handle: handle, totalShards: totalShards) }
    |                                       |                                              `- note: closure captures 'handle' which is accessible to 'self'-isolated code
    |                                       `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
221 |                     }
222 |                     try await group.waitForAll()
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:259:61: warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
257 |             Task {
258 |                 for await ev in self.events {
259 |                     if ev.shardId == shardId { continuation.yield(ev) }
    |                                                             |- warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
    |                                                             `- note: 'self'-isolated 'ev' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
260 |                 }
261 |                 continuation.finish()
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:275:64: warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
273 |             Task {
274 |                 for await ev in self.events {
275 |                     if set.contains(ev.shardId) { continuation.yield(ev) }
    |                                                                |- warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                `- note: 'self'-isolated 'ev' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
276 |                 }
277 |                 continuation.finish()
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:292:31: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
290 |         await withTaskGroup(of: Void.self) { group in
291 |             for h in shardHandles {
292 |                 group.addTask {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
293 |                     await h.client.setAllowReconnect(false)
    |                           `- note: closure captures 'h' which is accessible to 'self'-isolated code
294 |                     await h.client.close()
295 |                 }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:355:26: warning: passing closure as a 'sending' parameter risks causing 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 |                 try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
354 |                     guard let self else { return }
355 |                     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
356 |                         let latency = await handle.client.heartbeatLatency()
    |                                             `- note: closure captures 'handle' which is accessible to code in the current task
357 |                         if case let .guildCreate(guild) = event {
358 |                             await self.recordGuild(shardId: shardId, guildId: guild.id.rawValue)
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:474:27: warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
472 |
473 |     private func emitEvent(_ ev: ShardedEvent) async {
474 |         eventContinuation.yield(ev)
    |                           |- warning: sending 'ev' risks causing data races; this is an error in the Swift 6 language mode
    |                           `- note: 'self'-isolated 'ev' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
475 |     }
476 | }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:360:36: warning: sending value of non-Sendable type 'ShardedEvent' risks causing data races; this is an error in the Swift 6 language mode
358 |                             await self.recordGuild(shardId: shardId, guildId: guild.id.rawValue)
359 |                         }
360 |                         await self.emitEvent(ShardedEvent(shardId: shardId, event: event, receivedAt: Date(), shardLatency: latency))
    |                                    |- warning: sending value of non-Sendable type 'ShardedEvent' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: sending task-isolated value of non-Sendable type 'ShardedEvent' to actor-isolated instance method 'emitEvent' risks causing races in between task-isolated and actor-isolated uses
361 |                     }
362 |                 }
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:422:55: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
420 |         while Date() < deadline {
421 |             let statuses = await withTaskGroup(of: String.self, returning: [String].self) { group in
422 |                 for h in shardHandles { group.addTask { await h.status() } }
    |                                                       |       `- note: closure captures 'h' which is accessible to 'self'-isolated code
    |                                                       `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
423 |                 var arr: [String] = []
424 |                 for await s in group { arr.append(s) }
[58/64] Compiling SwiftDisc PipeOpusSource.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 |     let s = Array(key[16..<32])
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
    |         `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
    |         `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
    |         `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
    |         `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
    |         `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 |     var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
    |         `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
    |         `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
    |         `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
    |         `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 |     // Add s
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/VoiceGateway.swift:74: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
72 |     private func startHeartbeat(intervalMs: Int) {
73 |         hbTask?.cancel()
74 |         hbTask = Task.detached { [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
75 |             guard let self else { return }
   |                       `- note: closure captures 'self' which is accessible to code in the current task
76 |             let intervalNs = UInt64(intervalMs) * 1_000_000
77 |             while !Task.isCancelled {
[59/64] Compiling SwiftDisc Secretbox.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 |     let s = Array(key[16..<32])
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
    |         `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
    |         `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
    |         `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
    |         `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
    |         `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 |     var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
    |         `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
    |         `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
    |         `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
    |         `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 |     // Add s
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/VoiceGateway.swift:74: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
72 |     private func startHeartbeat(intervalMs: Int) {
73 |         hbTask?.cancel()
74 |         hbTask = Task.detached { [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
75 |             guard let self else { return }
   |                       `- note: closure captures 'self' which is accessible to code in the current task
76 |             let intervalNs = UInt64(intervalMs) * 1_000_000
77 |             while !Task.isCancelled {
[60/64] Compiling SwiftDisc VoiceClient.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 |     let s = Array(key[16..<32])
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
    |         `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
    |         `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
    |         `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
    |         `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
    |         `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 |     var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
    |         `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
    |         `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
    |         `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
    |         `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 |     // Add s
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/VoiceGateway.swift:74: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
72 |     private func startHeartbeat(intervalMs: Int) {
73 |         hbTask?.cancel()
74 |         hbTask = Task.detached { [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
75 |             guard let self else { return }
   |                       `- note: closure captures 'self' which is accessible to code in the current task
76 |             let intervalNs = UInt64(intervalMs) * 1_000_000
77 |             while !Task.isCancelled {
[61/64] Compiling SwiftDisc VoiceGateway.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 |     let s = Array(key[16..<32])
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
    |         `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
    |         `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
    |         `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
    |         `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
    |         `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 |     var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
    |         `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
    |         `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
    |         `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
    |         `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 |     // Add s
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/VoiceGateway.swift:74: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
72 |     private func startHeartbeat(intervalMs: Int) {
73 |         hbTask?.cancel()
74 |         hbTask = Task.detached { [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
75 |             guard let self else { return }
   |                       `- note: closure captures 'self' which is accessible to code in the current task
76 |             let intervalNs = UInt64(intervalMs) * 1_000_000
77 |             while !Task.isCancelled {
[62/64] Compiling SwiftDisc VoiceModels.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 |     let s = Array(key[16..<32])
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
    |         `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
    |         `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
    |         `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
    |         `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
    |         `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 |     var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
    |         `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
    |         `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
    |         `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
    |         `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 |     // Add s
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/VoiceGateway.swift:74: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
72 |     private func startHeartbeat(intervalMs: Int) {
73 |         hbTask?.cancel()
74 |         hbTask = Task.detached { [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
75 |             guard let self else { return }
   |                       `- note: closure captures 'self' which is accessible to code in the current task
76 |             let intervalNs = UInt64(intervalMs) * 1_000_000
77 |             while !Task.isCancelled {
[63/64] Compiling SwiftDisc VoiceReceiver.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 |     let s = Array(key[16..<32])
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
    |         `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
    |         `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
    |         `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
    |         `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
    |         `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 |     var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
    |         `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
    |         `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
    |         `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
    |         `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 |     // Add s
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/VoiceGateway.swift:74: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
72 |     private func startHeartbeat(intervalMs: Int) {
73 |         hbTask?.cancel()
74 |         hbTask = Task.detached { [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
75 |             guard let self else { return }
   |                       `- note: closure captures 'self' which is accessible to code in the current task
76 |             let intervalNs = UInt64(intervalMs) * 1_000_000
77 |             while !Task.isCancelled {
[64/64] Compiling SwiftDisc VoiceSender.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 |     let s = Array(key[16..<32])
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
    |         `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
    |         `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
    |         `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
    |         `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
    |         `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 |     var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
    |         `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
    |         `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
    |         `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
    |         `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 |     // Add s
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/VoiceGateway.swift:74: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
72 |     private func startHeartbeat(intervalMs: Int) {
73 |         hbTask?.cancel()
74 |         hbTask = Task.detached { [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
75 |             guard let self else { return }
   |                       `- note: closure captures 'self' which is accessible to code in the current task
76 |             let intervalNs = UInt64(intervalMs) * 1_000_000
77 |             while !Task.isCancelled {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:91d018f1076d6a900d71818287e1b2618039c67008f0564a121787f87e1ae735
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/56] Compiling SwiftDisc Cache.swift
[3/56] Compiling SwiftDisc DiscordConfiguration.swift
[4/56] Compiling SwiftDisc DiscordError.swift
[5/56] Compiling SwiftDisc DiscordUtils.swift
[6/56] Compiling SwiftDisc EventDispatcher.swift
[7/56] Compiling SwiftDisc JSONValue.swift
[8/56] Compiling SwiftDisc AdvancedMessagePayloads.swift
[9/56] Compiling SwiftDisc ApplicationRoleConnection.swift
[10/63] Compiling SwiftDisc GuildBan.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 44 |
 45 |     public struct ActionRow: Codable, Hashable {
 46 |         public let type: Int = 1
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 47 |         public let components: [MessageComponent]
 48 |         public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 50 |
 51 |     public struct Button: Codable, Hashable {
 52 |         public let type: Int = 2
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 53 |         public let style: Int
 54 |         public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 73 |             public let `default`: Bool?
 74 |         }
 75 |         public let type: Int = 3
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 76 |         public let custom_id: String
 77 |         public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 92 |     public struct TextInput: Codable, Hashable {
 93 |         public enum Style: Int, Codable { case short = 1, paragraph = 2 }
 94 |         public let type: Int = 4
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 95 |         public let custom_id: String
 96 |         public let style: Style
[11/63] Compiling SwiftDisc GuildMember.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 44 |
 45 |     public struct ActionRow: Codable, Hashable {
 46 |         public let type: Int = 1
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 47 |         public let components: [MessageComponent]
 48 |         public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 50 |
 51 |     public struct Button: Codable, Hashable {
 52 |         public let type: Int = 2
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 53 |         public let style: Int
 54 |         public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 73 |             public let `default`: Bool?
 74 |         }
 75 |         public let type: Int = 3
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 76 |         public let custom_id: String
 77 |         public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 92 |     public struct TextInput: Codable, Hashable {
 93 |         public enum Style: Int, Codable { case short = 1, paragraph = 2 }
 94 |         public let type: Int = 4
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 95 |         public let custom_id: String
 96 |         public let style: Style
[12/63] Compiling SwiftDisc GuildWidgetSettings.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 44 |
 45 |     public struct ActionRow: Codable, Hashable {
 46 |         public let type: Int = 1
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 47 |         public let components: [MessageComponent]
 48 |         public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 50 |
 51 |     public struct Button: Codable, Hashable {
 52 |         public let type: Int = 2
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 53 |         public let style: Int
 54 |         public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 73 |             public let `default`: Bool?
 74 |         }
 75 |         public let type: Int = 3
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 76 |         public let custom_id: String
 77 |         public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 92 |     public struct TextInput: Codable, Hashable {
 93 |         public enum Style: Int, Codable { case short = 1, paragraph = 2 }
 94 |         public let type: Int = 4
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 95 |         public let custom_id: String
 96 |         public let style: Style
[13/63] Compiling SwiftDisc Interaction.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 44 |
 45 |     public struct ActionRow: Codable, Hashable {
 46 |         public let type: Int = 1
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 47 |         public let components: [MessageComponent]
 48 |         public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 50 |
 51 |     public struct Button: Codable, Hashable {
 52 |         public let type: Int = 2
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 53 |         public let style: Int
 54 |         public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 73 |             public let `default`: Bool?
 74 |         }
 75 |         public let type: Int = 3
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 76 |         public let custom_id: String
 77 |         public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 92 |     public struct TextInput: Codable, Hashable {
 93 |         public enum Style: Int, Codable { case short = 1, paragraph = 2 }
 94 |         public let type: Int = 4
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 95 |         public let custom_id: String
 96 |         public let style: Style
[14/63] Compiling SwiftDisc Invite.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 44 |
 45 |     public struct ActionRow: Codable, Hashable {
 46 |         public let type: Int = 1
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 47 |         public let components: [MessageComponent]
 48 |         public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 50 |
 51 |     public struct Button: Codable, Hashable {
 52 |         public let type: Int = 2
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 53 |         public let style: Int
 54 |         public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 73 |             public let `default`: Bool?
 74 |         }
 75 |         public let type: Int = 3
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 76 |         public let custom_id: String
 77 |         public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 92 |     public struct TextInput: Codable, Hashable {
 93 |         public enum Style: Int, Codable { case short = 1, paragraph = 2 }
 94 |         public let type: Int = 4
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 95 |         public let custom_id: String
 96 |         public let style: Style
[15/63] Compiling SwiftDisc Message.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 44 |
 45 |     public struct ActionRow: Codable, Hashable {
 46 |         public let type: Int = 1
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 47 |         public let components: [MessageComponent]
 48 |         public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 50 |
 51 |     public struct Button: Codable, Hashable {
 52 |         public let type: Int = 2
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 53 |         public let style: Int
 54 |         public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 73 |             public let `default`: Bool?
 74 |         }
 75 |         public let type: Int = 3
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 76 |         public let custom_id: String
 77 |         public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 92 |     public struct TextInput: Codable, Hashable {
 93 |         public enum Style: Int, Codable { case short = 1, paragraph = 2 }
 94 |         public let type: Int = 4
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 95 |         public let custom_id: String
 96 |         public let style: Style
[16/63] Compiling SwiftDisc MessageComponents.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 44 |
 45 |     public struct ActionRow: Codable, Hashable {
 46 |         public let type: Int = 1
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 47 |         public let components: [MessageComponent]
 48 |         public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 50 |
 51 |     public struct Button: Codable, Hashable {
 52 |         public let type: Int = 2
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 53 |         public let style: Int
 54 |         public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 73 |             public let `default`: Bool?
 74 |         }
 75 |         public let type: Int = 3
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 76 |         public let custom_id: String
 77 |         public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 92 |     public struct TextInput: Codable, Hashable {
 93 |         public enum Style: Int, Codable { case short = 1, paragraph = 2 }
 94 |         public let type: Int = 4
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 95 |         public let custom_id: String
 96 |         public let style: Style
[17/63] Compiling SwiftDisc PartialGuild.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 44 |
 45 |     public struct ActionRow: Codable, Hashable {
 46 |         public let type: Int = 1
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 47 |         public let components: [MessageComponent]
 48 |         public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 50 |
 51 |     public struct Button: Codable, Hashable {
 52 |         public let type: Int = 2
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 53 |         public let style: Int
 54 |         public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 73 |             public let `default`: Bool?
 74 |         }
 75 |         public let type: Int = 3
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 76 |         public let custom_id: String
 77 |         public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 92 |     public struct TextInput: Codable, Hashable {
 93 |         public enum Style: Int, Codable { case short = 1, paragraph = 2 }
 94 |         public let type: Int = 4
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 95 |         public let custom_id: String
 96 |         public let style: Style
[18/63] Compiling SwiftDisc PermissionBitset.swift
[19/63] Compiling SwiftDisc Role.swift
[20/63] Compiling SwiftDisc ScheduledEvent.swift
[21/63] Compiling SwiftDisc ScheduledEventUser.swift
[22/63] Compiling SwiftDisc Snowflake.swift
[23/63] Compiling SwiftDisc StageInstance.swift
[24/63] Compiling SwiftDisc Sticker.swift
[25/63] Compiling SwiftDisc Template.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:21:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 19 |         let config = URLSessionConfiguration.default
 20 |         #if !os(Windows)
 21 |         config.waitsForConnectivity = true
    |                `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 22 |         #endif
 23 |         config.requestCachePolicy = .reloadIgnoringLocalCacheData
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
24 |
25 |         // Per-route bucket control
26 |         if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
   |                                                                                                             `- warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
27 |             if remaining <= 0 {
28 |                 let now = Date()
[26/63] Compiling SwiftDisc Thread.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:21:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 19 |         let config = URLSessionConfiguration.default
 20 |         #if !os(Windows)
 21 |         config.waitsForConnectivity = true
    |                `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 22 |         #endif
 23 |         config.requestCachePolicy = .reloadIgnoringLocalCacheData
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
24 |
25 |         // Per-route bucket control
26 |         if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
   |                                                                                                             `- warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
27 |             if remaining <= 0 {
28 |                 let now = Date()
[27/63] Compiling SwiftDisc User.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:21:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 19 |         let config = URLSessionConfiguration.default
 20 |         #if !os(Windows)
 21 |         config.waitsForConnectivity = true
    |                `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 22 |         #endif
 23 |         config.requestCachePolicy = .reloadIgnoringLocalCacheData
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
24 |
25 |         // Per-route bucket control
26 |         if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
   |                                                                                                             `- warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
27 |             if remaining <= 0 {
28 |                 let now = Date()
[28/63] Compiling SwiftDisc Webhook.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:21:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 19 |         let config = URLSessionConfiguration.default
 20 |         #if !os(Windows)
 21 |         config.waitsForConnectivity = true
    |                `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 22 |         #endif
 23 |         config.requestCachePolicy = .reloadIgnoringLocalCacheData
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
24 |
25 |         // Per-route bucket control
26 |         if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
   |                                                                                                             `- warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
27 |             if remaining <= 0 {
28 |                 let now = Date()
[29/63] Compiling SwiftDisc HTTPClient.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:21:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 19 |         let config = URLSessionConfiguration.default
 20 |         #if !os(Windows)
 21 |         config.waitsForConnectivity = true
    |                `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 22 |         #endif
 23 |         config.requestCachePolicy = .reloadIgnoringLocalCacheData
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
24 |
25 |         // Per-route bucket control
26 |         if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
   |                                                                                                             `- warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
27 |             if remaining <= 0 {
28 |                 let now = Date()
[30/63] Compiling SwiftDisc RateLimiter.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:21:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 19 |         let config = URLSessionConfiguration.default
 20 |         #if !os(Windows)
 21 |         config.waitsForConnectivity = true
    |                `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 22 |         #endif
 23 |         config.requestCachePolicy = .reloadIgnoringLocalCacheData
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
24 |
25 |         // Per-route bucket control
26 |         if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
   |                                                                                                             `- warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
27 |             if remaining <= 0 {
28 |                 let now = Date()
[31/63] Compiling SwiftDisc AudioSource.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:21:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 19 |         let config = URLSessionConfiguration.default
 20 |         #if !os(Windows)
 21 |         config.waitsForConnectivity = true
    |                `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 22 |         #endif
 23 |         config.requestCachePolicy = .reloadIgnoringLocalCacheData
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
24 |
25 |         // Per-route bucket control
26 |         if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
   |                                                                                                             `- warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
27 |             if remaining <= 0 {
28 |                 let now = Date()
[32/63] Compiling SwiftDisc DiscordClient.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 |     public let op: Int = 8
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
    |                `- note: make the property mutable instead
208 |     public let d: Payload
209 |     public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 |         let config = URLSessionConfiguration.default
23 |         #if !os(Windows)
24 |         config.waitsForConnectivity = true
   |                `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 |         #endif
26 |         config.requestCachePolicy = .reloadIgnoringLocalCacheData
[33/63] Compiling SwiftDisc GatewayClient.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 |     public let op: Int = 8
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
    |                `- note: make the property mutable instead
208 |     public let d: Payload
209 |     public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 |         let config = URLSessionConfiguration.default
23 |         #if !os(Windows)
24 |         config.waitsForConnectivity = true
   |                `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 |         #endif
26 |         config.requestCachePolicy = .reloadIgnoringLocalCacheData
[34/63] Compiling SwiftDisc GatewayModels.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 |     public let op: Int = 8
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
    |                `- note: make the property mutable instead
208 |     public let d: Payload
209 |     public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 |         let config = URLSessionConfiguration.default
23 |         #if !os(Windows)
24 |         config.waitsForConnectivity = true
   |                `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 |         #endif
26 |         config.requestCachePolicy = .reloadIgnoringLocalCacheData
[35/63] Compiling SwiftDisc Intents.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 |     public let op: Int = 8
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
    |                `- note: make the property mutable instead
208 |     public let d: Payload
209 |     public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 |         let config = URLSessionConfiguration.default
23 |         #if !os(Windows)
24 |         config.waitsForConnectivity = true
   |                `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 |         #endif
26 |         config.requestCachePolicy = .reloadIgnoringLocalCacheData
[36/63] Compiling SwiftDisc WebSocket.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 |     public let op: Int = 8
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
    |                `- note: make the property mutable instead
208 |     public let d: Payload
209 |     public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 |         let config = URLSessionConfiguration.default
23 |         #if !os(Windows)
24 |         config.waitsForConnectivity = true
   |                `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 |         #endif
26 |         config.requestCachePolicy = .reloadIgnoringLocalCacheData
[37/63] Compiling SwiftDisc ActivityBuilder.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 |     public let op: Int = 8
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
    |                `- note: make the property mutable instead
208 |     public let d: Payload
209 |     public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 |         let config = URLSessionConfiguration.default
23 |         #if !os(Windows)
24 |         config.waitsForConnectivity = true
   |                `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 |         #endif
26 |         config.requestCachePolicy = .reloadIgnoringLocalCacheData
[38/63] Compiling SwiftDisc AutocompleteRouter.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 |     public let op: Int = 8
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
    |                `- note: make the property mutable instead
208 |     public let d: Payload
209 |     public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 |         let config = URLSessionConfiguration.default
23 |         #if !os(Windows)
24 |         config.waitsForConnectivity = true
   |                `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 |         #endif
26 |         config.requestCachePolicy = .reloadIgnoringLocalCacheData
[39/63] Compiling SwiftDisc CommandRouter.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 |     public let op: Int = 8
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
    |                `- note: make the property mutable instead
208 |     public let d: Payload
209 |     public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 |         let config = URLSessionConfiguration.default
23 |         #if !os(Windows)
24 |         config.waitsForConnectivity = true
   |                `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 |         #endif
26 |         config.requestCachePolicy = .reloadIgnoringLocalCacheData
[40/63] Emitting module SwiftDisc
[41/63] Compiling SwiftDisc Attachment.swift
[42/63] Compiling SwiftDisc AuditLog.swift
[43/63] Compiling SwiftDisc AutoModeration.swift
[44/63] Compiling SwiftDisc Channel.swift
[45/63] Compiling SwiftDisc Embed.swift
[46/63] Compiling SwiftDisc Emoji.swift
[47/63] Compiling SwiftDisc Files.swift
[48/63] Compiling SwiftDisc Guild.swift
[49/63] Compiling SwiftDisc ComponentsBuilder.swift
[50/63] Compiling SwiftDisc Extensions.swift
[51/63] Compiling SwiftDisc Permissions.swift
[52/63] Compiling SwiftDisc ShardManager.swift
[53/63] Compiling SwiftDisc ShardingGatewayManager.swift
[54/63] Compiling SwiftDisc SlashCommandBuilder.swift
[55/63] Compiling SwiftDisc SlashCommandRouter.swift
[56/63] Compiling SwiftDisc Utilities.swift
[57/63] Compiling SwiftDisc PipeOpusSource.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 |     let s = Array(key[16..<32])
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
    |         `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
    |         `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
    |         `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
    |         `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
    |         `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 |     var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
    |         `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
    |         `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
    |         `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
    |         `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 |     // Add s
[58/63] Compiling SwiftDisc Secretbox.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 |     let s = Array(key[16..<32])
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
    |         `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
    |         `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
    |         `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
    |         `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
    |         `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 |     var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
    |         `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
    |         `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
    |         `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
    |         `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 |     // Add s
[59/63] Compiling SwiftDisc VoiceClient.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 |     let s = Array(key[16..<32])
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
    |         `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
    |         `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
    |         `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
    |         `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
    |         `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 |     var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
    |         `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
    |         `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
    |         `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
    |         `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 |     // Add s
[60/63] Compiling SwiftDisc VoiceGateway.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 |     let s = Array(key[16..<32])
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
    |         `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
    |         `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
    |         `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
    |         `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
    |         `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 |     var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
    |         `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
    |         `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
    |         `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
    |         `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 |     // Add s
[61/63] Compiling SwiftDisc VoiceModels.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 |     let s = Array(key[16..<32])
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
    |         `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
    |         `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
    |         `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
    |         `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
    |         `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 |     var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
    |         `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
    |         `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
    |         `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
    |         `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 |     // Add s
[62/63] Compiling SwiftDisc VoiceReceiver.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 |     let s = Array(key[16..<32])
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
    |         `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
    |         `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
    |         `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
    |         `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
    |         `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 |     var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
    |         `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
    |         `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
    |         `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
    |         `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 |     // Add s
[63/63] Compiling SwiftDisc VoiceSender.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 |     let s = Array(key[16..<32])
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
    |         `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
    |         `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
    |         `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
    |         `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
    |         `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 |     var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
    |         `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
    |         `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
    |         `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
    |         `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 |     // Add s
BUILD FAILURE 6.1 android