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

Successful build of SwiftDisc, reference main (10b4fe), with Swift 6.1 for macOS (Xcode) using Xcode 16.3 on 11 Dec 2025 03:15:34 UTC.

Swift 6 data race errors: 63

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftDisc -destination platform=macOS,arch=arm64 OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures

Build Log

                try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
                                        ^
/Users/admin/builder/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
                try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
                          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:353:41: 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
                try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
                                        ^
/Users/admin/builder/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
                    await handle.client.setPresence(status: presence.status, activities: presence.activities, afk: presence.afk, since: presence.since)
                          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:366:41: 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
                    await handle.client.setPresence(status: presence.status, activities: presence.activities, afk: presence.afk, since: presence.since)
                                        ^
/Users/admin/builder/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
            let client = GatewayClient(token: token, configuration: httpConfiguration)
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:206:26: note: sending 'self'-isolated 'self.httpConfiguration' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
            let client = GatewayClient(token: token, configuration: httpConfiguration)
                         ^
/Users/admin/builder/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
                        group.addTask { try await self.connectShardWithRetry(handle: handle, totalShards: totalShards) }
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:220:86: note: closure captures 'handle' which is accessible to 'self'-isolated code
                        group.addTask { try await self.connectShardWithRetry(handle: handle, totalShards: totalShards) }
                                                                                     ^
/Users/admin/builder/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
                    if ev.shardId == shardId { continuation.yield(ev) }
                                               ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:259:61: note: 'ev' used after being passed as a 'sending' parameter; Later uses could race
                    if ev.shardId == shardId { continuation.yield(ev) }
                                               ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:259:61: note: access can happen concurrently
                    if ev.shardId == shardId { continuation.yield(ev) }
                                               ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/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
                    if set.contains(ev.shardId) { continuation.yield(ev) }
                                                  ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:275:64: note: 'ev' used after being passed as a 'sending' parameter; Later uses could race
                    if set.contains(ev.shardId) { continuation.yield(ev) }
                                                  ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:275:64: note: access can happen concurrently
                    if set.contains(ev.shardId) { continuation.yield(ev) }
                                                  ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/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
                group.addTask {
                              ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:293:27: note: closure captures 'h' which is accessible to 'self'-isolated code
                    await h.client.setAllowReconnect(false)
                          ^
/Users/admin/builder/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
                    Task {
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:356:45: note: closure captures 'handle' which is accessible to code in the current task
                        let latency = await handle.client.heartbeatLatency()
                                            ^
/Users/admin/builder/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
        eventContinuation.yield(ev)
        ~~~~~~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:474:27: note: 'self'-isolated 'ev' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
        eventContinuation.yield(ev)
                          ^
/Users/admin/builder/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
                        await self.emitEvent(ShardedEvent(shardId: shardId, event: event, receivedAt: Date(), shardLatency: latency))
                              ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:360:36: 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
                        await self.emitEvent(ShardedEvent(shardId: shardId, event: event, receivedAt: Date(), shardLatency: latency))
                                   ^
/Users/admin/builder/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
                for h in shardHandles { group.addTask { await h.status() } }
                                                      ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:422:63: note: closure captures 'h' which is accessible to 'self'-isolated code
                for h in shardHandles { group.addTask { await h.status() } }
                                                              ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Extensions.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:258:17: warning: non-sendable result type 'ShardedEvent?' cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
                for await ev in self.events {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:3:15: note: consider making struct 'ShardedEvent' conform to the 'Sendable' protocol
public struct ShardedEvent {
              ^
                           : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:274:17: warning: non-sendable result type 'ShardedEvent?' cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
                for await ev in self.events {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:3:15: note: consider making struct 'ShardedEvent' conform to the 'Sendable' protocol
public struct ShardedEvent {
              ^
                           : Sendable
/Users/admin/builder/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
                group.addTask {
                              ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardManager.swift:21:107: note: closure captures 'intents' which is accessible to code in the current task
                    try await client.loginAndConnectSharded(index: idx, total: self.totalShards, intents: intents)
                                                                                                          ^
/Users/admin/builder/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
        let status = await handle.status()
                           ~~~~~~~^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:145:35: note: sending 'self'-isolated 'handle' to nonisolated instance method 'status()' risks causing data races between nonisolated and 'self'-isolated uses
        let status = await handle.status()
                                  ^
/Users/admin/builder/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
        let latency = await handle.heartbeatLatency()
                            ~~~~~~~^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:146:36: note: sending 'self'-isolated 'handle' to nonisolated instance method 'heartbeatLatency()' risks causing data races between nonisolated and 'self'-isolated uses
        let latency = await handle.heartbeatLatency()
                                   ^
/Users/admin/builder/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
                group.addTask {
                              ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:165:36: note: closure captures 'h' which is accessible to 'self'-isolated code
                    let st = await h.status()
                                   ^
/Users/admin/builder/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
        let info: Info = try await http.get(path: "/gateway/bot")
                                   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:337:41: note: sending 'self'-isolated 'http' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
        let info: Info = try await http.get(path: "/gateway/bot")
                                        ^
/Users/admin/builder/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
                try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
                          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:353:41: 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
                try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
                                        ^
/Users/admin/builder/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
                try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
                          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:353:41: 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
                try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
                                        ^
/Users/admin/builder/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
                    await handle.client.setPresence(status: presence.status, activities: presence.activities, afk: presence.afk, since: presence.since)
                          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:366:41: 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
                    await handle.client.setPresence(status: presence.status, activities: presence.activities, afk: presence.afk, since: presence.since)
                                        ^
/Users/admin/builder/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
            let client = GatewayClient(token: token, configuration: httpConfiguration)
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:206:26: note: sending 'self'-isolated 'self.httpConfiguration' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
            let client = GatewayClient(token: token, configuration: httpConfiguration)
                         ^
/Users/admin/builder/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
                        group.addTask { try await self.connectShardWithRetry(handle: handle, totalShards: totalShards) }
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:220:86: note: closure captures 'handle' which is accessible to 'self'-isolated code
                        group.addTask { try await self.connectShardWithRetry(handle: handle, totalShards: totalShards) }
                                                                                     ^
/Users/admin/builder/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
                    if ev.shardId == shardId { continuation.yield(ev) }
                                               ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:259:61: note: 'ev' used after being passed as a 'sending' parameter; Later uses could race
                    if ev.shardId == shardId { continuation.yield(ev) }
                                               ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:259:61: note: access can happen concurrently
                    if ev.shardId == shardId { continuation.yield(ev) }
                                               ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/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
                    if set.contains(ev.shardId) { continuation.yield(ev) }
                                                  ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:275:64: note: 'ev' used after being passed as a 'sending' parameter; Later uses could race
                    if set.contains(ev.shardId) { continuation.yield(ev) }
                                                  ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:275:64: note: access can happen concurrently
                    if set.contains(ev.shardId) { continuation.yield(ev) }
                                                  ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/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
                group.addTask {
                              ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:293:27: note: closure captures 'h' which is accessible to 'self'-isolated code
                    await h.client.setAllowReconnect(false)
                          ^
/Users/admin/builder/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
                    Task {
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:356:45: note: closure captures 'handle' which is accessible to code in the current task
                        let latency = await handle.client.heartbeatLatency()
                                            ^
/Users/admin/builder/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
        eventContinuation.yield(ev)
        ~~~~~~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:474:27: note: 'self'-isolated 'ev' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
        eventContinuation.yield(ev)
                          ^
/Users/admin/builder/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
                        await self.emitEvent(ShardedEvent(shardId: shardId, event: event, receivedAt: Date(), shardLatency: latency))
                              ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:360:36: 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
                        await self.emitEvent(ShardedEvent(shardId: shardId, event: event, receivedAt: Date(), shardLatency: latency))
                                   ^
/Users/admin/builder/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
                for h in shardHandles { group.addTask { await h.status() } }
                                                      ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:422:63: note: closure captures 'h' which is accessible to 'self'-isolated code
                for h in shardHandles { group.addTask { await h.status() } }
                                                              ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:258:17: warning: non-sendable result type 'ShardedEvent?' cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
                for await ev in self.events {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:3:15: note: consider making struct 'ShardedEvent' conform to the 'Sendable' protocol
public struct ShardedEvent {
              ^
                           : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:274:17: warning: non-sendable result type 'ShardedEvent?' cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
                for await ev in self.events {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:3:15: note: consider making struct 'ShardedEvent' conform to the 'Sendable' protocol
public struct ShardedEvent {
              ^
                           : Sendable
/Users/admin/builder/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
                group.addTask {
                              ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardManager.swift:21:107: note: closure captures 'intents' which is accessible to code in the current task
                    try await client.loginAndConnectSharded(index: idx, total: self.totalShards, intents: intents)
                                                                                                          ^
/Users/admin/builder/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
        let status = await handle.status()
                           ~~~~~~~^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:145:35: note: sending 'self'-isolated 'handle' to nonisolated instance method 'status()' risks causing data races between nonisolated and 'self'-isolated uses
        let status = await handle.status()
                                  ^
/Users/admin/builder/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
        let latency = await handle.heartbeatLatency()
                            ~~~~~~~^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:146:36: note: sending 'self'-isolated 'handle' to nonisolated instance method 'heartbeatLatency()' risks causing data races between nonisolated and 'self'-isolated uses
        let latency = await handle.heartbeatLatency()
                                   ^
/Users/admin/builder/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
                group.addTask {
                              ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:165:36: note: closure captures 'h' which is accessible to 'self'-isolated code
                    let st = await h.status()
                                   ^
/Users/admin/builder/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
        let info: Info = try await http.get(path: "/gateway/bot")
                                   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:337:41: note: sending 'self'-isolated 'http' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
        let info: Info = try await http.get(path: "/gateway/bot")
                                        ^
/Users/admin/builder/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
                try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
                          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:353:41: 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
                try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
                                        ^
/Users/admin/builder/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
                try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
                          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:353:41: 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
                try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
                                        ^
/Users/admin/builder/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
                    await handle.client.setPresence(status: presence.status, activities: presence.activities, afk: presence.afk, since: presence.since)
                          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:366:41: 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
                    await handle.client.setPresence(status: presence.status, activities: presence.activities, afk: presence.afk, since: presence.since)
                                        ^
/Users/admin/builder/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
            let client = GatewayClient(token: token, configuration: httpConfiguration)
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:206:26: note: sending 'self'-isolated 'self.httpConfiguration' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
            let client = GatewayClient(token: token, configuration: httpConfiguration)
                         ^
/Users/admin/builder/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
                        group.addTask { try await self.connectShardWithRetry(handle: handle, totalShards: totalShards) }
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:220:86: note: closure captures 'handle' which is accessible to 'self'-isolated code
                        group.addTask { try await self.connectShardWithRetry(handle: handle, totalShards: totalShards) }
                                                                                     ^
/Users/admin/builder/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
                    if ev.shardId == shardId { continuation.yield(ev) }
                                               ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:259:61: note: 'ev' used after being passed as a 'sending' parameter; Later uses could race
                    if ev.shardId == shardId { continuation.yield(ev) }
                                               ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:259:61: note: access can happen concurrently
                    if ev.shardId == shardId { continuation.yield(ev) }
                                               ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/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
                    if set.contains(ev.shardId) { continuation.yield(ev) }
                                                  ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:275:64: note: 'ev' used after being passed as a 'sending' parameter; Later uses could race
                    if set.contains(ev.shardId) { continuation.yield(ev) }
                                                  ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:275:64: note: access can happen concurrently
                    if set.contains(ev.shardId) { continuation.yield(ev) }
                                                  ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/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
                group.addTask {
                              ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:293:27: note: closure captures 'h' which is accessible to 'self'-isolated code
                    await h.client.setAllowReconnect(false)
                          ^
/Users/admin/builder/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
                    Task {
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:356:45: note: closure captures 'handle' which is accessible to code in the current task
                        let latency = await handle.client.heartbeatLatency()
                                            ^
/Users/admin/builder/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
        eventContinuation.yield(ev)
        ~~~~~~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:474:27: note: 'self'-isolated 'ev' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
        eventContinuation.yield(ev)
                          ^
/Users/admin/builder/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
                        await self.emitEvent(ShardedEvent(shardId: shardId, event: event, receivedAt: Date(), shardLatency: latency))
                              ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:360:36: 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
                        await self.emitEvent(ShardedEvent(shardId: shardId, event: event, receivedAt: Date(), shardLatency: latency))
                                   ^
/Users/admin/builder/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
                for h in shardHandles { group.addTask { await h.status() } }
                                                      ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:422:63: note: closure captures 'h' which is accessible to 'self'-isolated code
                for h in shardHandles { group.addTask { await h.status() } }
                                                              ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardManager.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:258:17: warning: non-sendable result type 'ShardedEvent?' cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
                for await ev in self.events {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:3:15: note: consider making struct 'ShardedEvent' conform to the 'Sendable' protocol
public struct ShardedEvent {
              ^
                           : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:274:17: warning: non-sendable result type 'ShardedEvent?' cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
                for await ev in self.events {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:3:15: note: consider making struct 'ShardedEvent' conform to the 'Sendable' protocol
public struct ShardedEvent {
              ^
                           : Sendable
/Users/admin/builder/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
                group.addTask {
                              ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardManager.swift:21:107: note: closure captures 'intents' which is accessible to code in the current task
                    try await client.loginAndConnectSharded(index: idx, total: self.totalShards, intents: intents)
                                                                                                          ^
/Users/admin/builder/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
        let status = await handle.status()
                           ~~~~~~~^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:145:35: note: sending 'self'-isolated 'handle' to nonisolated instance method 'status()' risks causing data races between nonisolated and 'self'-isolated uses
        let status = await handle.status()
                                  ^
/Users/admin/builder/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
        let latency = await handle.heartbeatLatency()
                            ~~~~~~~^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:146:36: note: sending 'self'-isolated 'handle' to nonisolated instance method 'heartbeatLatency()' risks causing data races between nonisolated and 'self'-isolated uses
        let latency = await handle.heartbeatLatency()
                                   ^
/Users/admin/builder/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
                group.addTask {
                              ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:165:36: note: closure captures 'h' which is accessible to 'self'-isolated code
                    let st = await h.status()
                                   ^
/Users/admin/builder/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
        let info: Info = try await http.get(path: "/gateway/bot")
                                   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:337:41: note: sending 'self'-isolated 'http' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
        let info: Info = try await http.get(path: "/gateway/bot")
                                        ^
/Users/admin/builder/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
                try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
                          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:353:41: 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
                try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
                                        ^
/Users/admin/builder/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
                try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
                          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:353:41: 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
                try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
                                        ^
/Users/admin/builder/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
                    await handle.client.setPresence(status: presence.status, activities: presence.activities, afk: presence.afk, since: presence.since)
                          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:366:41: 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
                    await handle.client.setPresence(status: presence.status, activities: presence.activities, afk: presence.afk, since: presence.since)
                                        ^
/Users/admin/builder/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
            let client = GatewayClient(token: token, configuration: httpConfiguration)
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:206:26: note: sending 'self'-isolated 'self.httpConfiguration' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
            let client = GatewayClient(token: token, configuration: httpConfiguration)
                         ^
/Users/admin/builder/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
                        group.addTask { try await self.connectShardWithRetry(handle: handle, totalShards: totalShards) }
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:220:86: note: closure captures 'handle' which is accessible to 'self'-isolated code
                        group.addTask { try await self.connectShardWithRetry(handle: handle, totalShards: totalShards) }
                                                                                     ^
/Users/admin/builder/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
                    if ev.shardId == shardId { continuation.yield(ev) }
                                               ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:259:61: note: 'ev' used after being passed as a 'sending' parameter; Later uses could race
                    if ev.shardId == shardId { continuation.yield(ev) }
                                               ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:259:61: note: access can happen concurrently
                    if ev.shardId == shardId { continuation.yield(ev) }
                                               ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/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
                    if set.contains(ev.shardId) { continuation.yield(ev) }
                                                  ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:275:64: note: 'ev' used after being passed as a 'sending' parameter; Later uses could race
                    if set.contains(ev.shardId) { continuation.yield(ev) }
                                                  ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:275:64: note: access can happen concurrently
                    if set.contains(ev.shardId) { continuation.yield(ev) }
                                                  ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/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
                group.addTask {
                              ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:293:27: note: closure captures 'h' which is accessible to 'self'-isolated code
                    await h.client.setAllowReconnect(false)
                          ^
/Users/admin/builder/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
                    Task {
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:356:45: note: closure captures 'handle' which is accessible to code in the current task
                        let latency = await handle.client.heartbeatLatency()
                                            ^
/Users/admin/builder/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
        eventContinuation.yield(ev)
        ~~~~~~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:474:27: note: 'self'-isolated 'ev' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
        eventContinuation.yield(ev)
                          ^
/Users/admin/builder/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
                        await self.emitEvent(ShardedEvent(shardId: shardId, event: event, receivedAt: Date(), shardLatency: latency))
                              ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:360:36: 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
                        await self.emitEvent(ShardedEvent(shardId: shardId, event: event, receivedAt: Date(), shardLatency: latency))
                                   ^
/Users/admin/builder/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
                for h in shardHandles { group.addTask { await h.status() } }
                                                      ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:422:63: note: closure captures 'h' which is accessible to 'self'-isolated code
                for h in shardHandles { group.addTask { await h.status() } }
                                                              ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:258:17: warning: non-sendable result type 'ShardedEvent?' cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
                for await ev in self.events {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:3:15: note: consider making struct 'ShardedEvent' conform to the 'Sendable' protocol
public struct ShardedEvent {
              ^
                           : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:274:17: warning: non-sendable result type 'ShardedEvent?' cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
                for await ev in self.events {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:3:15: note: consider making struct 'ShardedEvent' conform to the 'Sendable' protocol
public struct ShardedEvent {
              ^
                           : Sendable
/Users/admin/builder/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
                group.addTask {
                              ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardManager.swift:21:107: note: closure captures 'intents' which is accessible to code in the current task
                    try await client.loginAndConnectSharded(index: idx, total: self.totalShards, intents: intents)
                                                                                                          ^
/Users/admin/builder/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
        let status = await handle.status()
                           ~~~~~~~^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:145:35: note: sending 'self'-isolated 'handle' to nonisolated instance method 'status()' risks causing data races between nonisolated and 'self'-isolated uses
        let status = await handle.status()
                                  ^
/Users/admin/builder/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
        let latency = await handle.heartbeatLatency()
                            ~~~~~~~^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:146:36: note: sending 'self'-isolated 'handle' to nonisolated instance method 'heartbeatLatency()' risks causing data races between nonisolated and 'self'-isolated uses
        let latency = await handle.heartbeatLatency()
                                   ^
/Users/admin/builder/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
                group.addTask {
                              ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:165:36: note: closure captures 'h' which is accessible to 'self'-isolated code
                    let st = await h.status()
                                   ^
/Users/admin/builder/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
        let info: Info = try await http.get(path: "/gateway/bot")
                                   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:337:41: note: sending 'self'-isolated 'http' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
        let info: Info = try await http.get(path: "/gateway/bot")
                                        ^
/Users/admin/builder/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
                try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
                          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:353:41: 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
                try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
                                        ^
/Users/admin/builder/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
                try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
                          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:353:41: 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
                try await handle.client.connect(intents: intents, shard: (shardId, totalShards)) { [weak self] event in
                                        ^
/Users/admin/builder/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
                    await handle.client.setPresence(status: presence.status, activities: presence.activities, afk: presence.afk, since: presence.since)
                          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:366:41: 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
                    await handle.client.setPresence(status: presence.status, activities: presence.activities, afk: presence.afk, since: presence.since)
                                        ^
/Users/admin/builder/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
            let client = GatewayClient(token: token, configuration: httpConfiguration)
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:206:26: note: sending 'self'-isolated 'self.httpConfiguration' to actor-isolated callee risks causing data races between actor-isolated and 'self'-isolated uses
            let client = GatewayClient(token: token, configuration: httpConfiguration)
                         ^
/Users/admin/builder/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
                        group.addTask { try await self.connectShardWithRetry(handle: handle, totalShards: totalShards) }
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:220:86: note: closure captures 'handle' which is accessible to 'self'-isolated code
                        group.addTask { try await self.connectShardWithRetry(handle: handle, totalShards: totalShards) }
                                                                                     ^
/Users/admin/builder/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
                    if ev.shardId == shardId { continuation.yield(ev) }
                                               ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:259:61: note: 'ev' used after being passed as a 'sending' parameter; Later uses could race
                    if ev.shardId == shardId { continuation.yield(ev) }
                                               ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:259:61: note: access can happen concurrently
                    if ev.shardId == shardId { continuation.yield(ev) }
                                               ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/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
                    if set.contains(ev.shardId) { continuation.yield(ev) }
                                                  ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:275:64: note: 'ev' used after being passed as a 'sending' parameter; Later uses could race
                    if set.contains(ev.shardId) { continuation.yield(ev) }
                                                  ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:275:64: note: access can happen concurrently
                    if set.contains(ev.shardId) { continuation.yield(ev) }
                                                  ~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/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
                group.addTask {
                              ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:293:27: note: closure captures 'h' which is accessible to 'self'-isolated code
                    await h.client.setAllowReconnect(false)
                          ^
/Users/admin/builder/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
                    Task {
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:356:45: note: closure captures 'handle' which is accessible to code in the current task
                        let latency = await handle.client.heartbeatLatency()
                                            ^
/Users/admin/builder/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
        eventContinuation.yield(ev)
        ~~~~~~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:474:27: note: 'self'-isolated 'ev' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
        eventContinuation.yield(ev)
                          ^
/Users/admin/builder/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
                        await self.emitEvent(ShardedEvent(shardId: shardId, event: event, receivedAt: Date(), shardLatency: latency))
                              ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:360:36: 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
                        await self.emitEvent(ShardedEvent(shardId: shardId, event: event, receivedAt: Date(), shardLatency: latency))
                                   ^
/Users/admin/builder/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
                for h in shardHandles { group.addTask { await h.status() } }
                                                      ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ShardingGatewayManager.swift:422:63: note: closure captures 'h' which is accessible to 'self'-isolated code
                for h in shardHandles { group.addTask { await h.status() } }
                                                              ^
SwiftCompile normal arm64 Compiling\ DiscordClient.swift,\ GatewayClient.swift,\ GatewayModels.swift,\ Intents.swift,\ WebSocket.swift,\ ActivityBuilder.swift,\ AutocompleteRouter.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ActivityBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/AutocompleteRouter.swift (in target 'SwiftDisc' from project 'SwiftDisc')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:50:24: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
        self.gateway = GatewayClient(token: token, configuration: configuration)
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:50:24: note: sending task-isolated 'configuration' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
        self.gateway = GatewayClient(token: token, configuration: configuration)
                       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:57:36: warning: sending 'guildId' risks causing data races; this is an error in the Swift 6 language mode
                    await gateway?.updateVoiceState(guildId: guildId, channelId: channelId, selfMute: selfMute, selfDeaf: selfDeaf)
                          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:57:36: note: sending task-isolated 'guildId' to actor-isolated instance method 'updateVoiceState(guildId:channelId:selfMute:selfDeaf:)' risks causing data races between actor-isolated and task-isolated uses
                    await gateway?.updateVoiceState(guildId: guildId, channelId: channelId, selfMute: selfMute, selfDeaf: selfDeaf)
                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:57:36: warning: sending 'channelId' risks causing data races; this is an error in the Swift 6 language mode
                    await gateway?.updateVoiceState(guildId: guildId, channelId: channelId, selfMute: selfMute, selfDeaf: selfDeaf)
                          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:57:36: note: sending task-isolated 'channelId' to actor-isolated instance method 'updateVoiceState(guildId:channelId:selfMute:selfDeaf:)' risks causing data races between actor-isolated and task-isolated uses
                    await gateway?.updateVoiceState(guildId: guildId, channelId: channelId, selfMute: selfMute, selfDeaf: selfDeaf)
                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:67:22: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
                Task {
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:68:27: note: closure captures non-Sendable 'cb'
                    await cb(frame)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:68:30: note: closure captures non-Sendable 'frame'
                    await cb(frame)
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:400:27: warning: sending 'intents' risks causing data races; this is an error in the Swift 6 language mode
        try await gateway.connect(intents: intents, shard: nil, eventSink: { [weak self] event in
                  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:400:27: note: sending task-isolated 'intents' to actor-isolated instance method 'connect(intents:shard:eventSink:)' risks causing data races between actor-isolated and task-isolated uses
        try await gateway.connect(intents: intents, shard: nil, eventSink: { [weak self] event in
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:400:27: warning: sending value of non-Sendable type '(DiscordEvent) -> Void' risks causing data races; this is an error in the Swift 6 language mode
        try await gateway.connect(intents: intents, shard: nil, eventSink: { [weak self] event in
                  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:400:27: note: sending task-isolated value of non-Sendable type '(DiscordEvent) -> Void' to actor-isolated instance method 'connect(intents:shard:eventSink:)' risks causing races in between task-isolated and actor-isolated uses
        try await gateway.connect(intents: intents, shard: nil, eventSink: { [weak self] event in
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:402:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
            Task { await self.dispatcher.process(event: event, client: self) }
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:402:26: note: closure captures non-Sendable 'self'
            Task { await self.dispatcher.process(event: event, client: self) }
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:402:57: note: closure captures non-Sendable 'event'
            Task { await self.dispatcher.process(event: event, client: self) }
                                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:402:42: warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
            Task { await self.dispatcher.process(event: event, client: self) }
                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:402:42: note: sending task-isolated 'event' to actor-isolated instance method 'process(event:client:)' risks causing data races between actor-isolated and task-isolated uses
            Task { await self.dispatcher.process(event: event, client: self) }
                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:402:42: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
            Task { await self.dispatcher.process(event: event, client: self) }
                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:402:42: note: sending task-isolated 'self' to actor-isolated instance method 'process(event:client:)' risks causing data races between actor-isolated and task-isolated uses
            Task { await self.dispatcher.process(event: event, client: self) }
                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:408:27: warning: sending 'intents' risks causing data races; this is an error in the Swift 6 language mode
        try await gateway.connect(intents: intents, shard: (index, total), eventSink: { [weak self] event in
                  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:408:27: note: sending task-isolated 'intents' to actor-isolated instance method 'connect(intents:shard:eventSink:)' risks causing data races between actor-isolated and task-isolated uses
        try await gateway.connect(intents: intents, shard: (index, total), eventSink: { [weak self] event in
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:408:27: warning: sending value of non-Sendable type '(DiscordEvent) -> Void' risks causing data races; this is an error in the Swift 6 language mode
        try await gateway.connect(intents: intents, shard: (index, total), eventSink: { [weak self] event in
                  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:408:27: note: sending task-isolated value of non-Sendable type '(DiscordEvent) -> Void' to actor-isolated instance method 'connect(intents:shard:eventSink:)' risks causing races in between task-isolated and actor-isolated uses
        try await gateway.connect(intents: intents, shard: (index, total), eventSink: { [weak self] event in
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:410:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
            Task { await self.dispatcher.process(event: event, client: self) }
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:410:26: note: closure captures non-Sendable 'self'
            Task { await self.dispatcher.process(event: event, client: self) }
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:410:57: note: closure captures non-Sendable 'event'
            Task { await self.dispatcher.process(event: event, client: self) }
                                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:410:42: warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
            Task { await self.dispatcher.process(event: event, client: self) }
                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:410:42: note: sending task-isolated 'event' to actor-isolated instance method 'process(event:client:)' risks causing data races between actor-isolated and task-isolated uses
            Task { await self.dispatcher.process(event: event, client: self) }
                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:410:42: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
            Task { await self.dispatcher.process(event: event, client: self) }
                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:410:42: note: sending task-isolated 'self' to actor-isolated instance method 'process(event:client:)' risks causing data races between actor-isolated and task-isolated uses
            Task { await self.dispatcher.process(event: event, client: self) }
                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:437:23: warning: sending 'activities' risks causing data races; this is an error in the Swift 6 language mode
        await gateway.setPresence(status: status, activities: activities, afk: afk, since: since)
              ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:437:23: note: sending task-isolated 'activities' to actor-isolated instance method 'setPresence(status:activities:afk:since:)' risks causing data races between actor-isolated and task-isolated uses
        await gateway.setPresence(status: status, activities: activities, afk: afk, since: since)
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:491:28: warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
        eventContinuation?.yield(event)
        ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:491:28: note: task-isolated 'event' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
        eventContinuation?.yield(event)
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:37:27: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
        try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:37:27: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'send' risks causing races in between 'self'-isolated and nonisolated uses
        try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:60:32: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
            try? await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:60:32: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'send' risks causing races in between 'self'-isolated and nonisolated uses
            try? await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                               ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:85:62: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
        guard case let .string(helloText) = try await socket.receive() else {
                                                      ~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:85:62: note: sending 'self'-isolated 'socket' to nonisolated instance method 'receive()' risks causing data races between nonisolated and 'self'-isolated uses
        guard case let .string(helloText) = try await socket.receive() else {
                                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:104:30: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:104:30: note: sending 'self'-isolated 'socket' to nonisolated instance method 'send' risks causing data races between nonisolated and 'self'-isolated uses
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:111:30: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:111:30: note: sending 'self'-isolated 'socket' to nonisolated instance method 'send' risks causing data races between nonisolated and 'self'-isolated uses
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:115:23: 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
        Task.detached { [weak self] in
                      ^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:116:45: note: closure captures 'eventSink' which is accessible to 'self'-isolated code
            await self?.readLoop(eventSink: eventSink)
                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:382:23: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
        await socket?.close()
              ~~~~~~~~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:382:23: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'close()' risks causing races in between 'self'-isolated and nonisolated uses
        await socket?.close()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:131:44: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
                let msg = try await socket.receive()
                                    ~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:131:44: note: sending 'self'-isolated 'socket' to nonisolated instance method 'receive()' risks causing data races between nonisolated and 'self'-isolated uses
                let msg = try await socket.receive()
                                           ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:116:25: warning: sending 'eventSink' risks causing data races; this is an error in the Swift 6 language mode
            await self?.readLoop(eventSink: eventSink)
                  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:116:25: note: sending task-isolated 'eventSink' to actor-isolated instance method 'readLoop(eventSink:)' risks causing data races between actor-isolated and task-isolated uses
            await self?.readLoop(eventSink: eventSink)
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:367:35: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
                try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                          ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:367:35: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'send' risks causing races in between 'self'-isolated and nonisolated uses
                try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:406:23: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
        await socket?.close()
              ~~~~~~~~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:406:23: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'close()' risks causing races in between 'self'-isolated and nonisolated uses
        await socket?.close()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:419:31: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
            try? await socket.send(.string(String(decoding: data, as: UTF8.self)))
                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:419:31: note: sending 'self'-isolated 'socket' to nonisolated instance method 'send' risks causing data races between nonisolated and 'self'-isolated uses
            try? await socket.send(.string(String(decoding: data, as: UTF8.self)))
                              ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:37:27: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
        try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:37:27: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'send' risks causing races in between 'self'-isolated and nonisolated uses
        try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:60:32: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
            try? await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:60:32: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'send' risks causing races in between 'self'-isolated and nonisolated uses
            try? await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                               ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:85:62: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
        guard case let .string(helloText) = try await socket.receive() else {
                                                      ~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:85:62: note: sending 'self'-isolated 'socket' to nonisolated instance method 'receive()' risks causing data races between nonisolated and 'self'-isolated uses
        guard case let .string(helloText) = try await socket.receive() else {
                                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:104:30: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:104:30: note: sending 'self'-isolated 'socket' to nonisolated instance method 'send' risks causing data races between nonisolated and 'self'-isolated uses
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:111:30: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:111:30: note: sending 'self'-isolated 'socket' to nonisolated instance method 'send' risks causing data races between nonisolated and 'self'-isolated uses
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:115:23: 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
        Task.detached { [weak self] in
                      ^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:116:45: note: closure captures 'eventSink' which is accessible to 'self'-isolated code
            await self?.readLoop(eventSink: eventSink)
                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:382:23: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
        await socket?.close()
              ~~~~~~~~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:382:23: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'close()' risks causing races in between 'self'-isolated and nonisolated uses
        await socket?.close()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:131:44: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
                let msg = try await socket.receive()
                                    ~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:131:44: note: sending 'self'-isolated 'socket' to nonisolated instance method 'receive()' risks causing data races between nonisolated and 'self'-isolated uses
                let msg = try await socket.receive()
                                           ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:116:25: warning: sending 'eventSink' risks causing data races; this is an error in the Swift 6 language mode
            await self?.readLoop(eventSink: eventSink)
                  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:116:25: note: sending task-isolated 'eventSink' to actor-isolated instance method 'readLoop(eventSink:)' risks causing data races between actor-isolated and task-isolated uses
            await self?.readLoop(eventSink: eventSink)
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:367:35: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
                try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                          ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:367:35: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'send' risks causing races in between 'self'-isolated and nonisolated uses
                try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:406:23: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
        await socket?.close()
              ~~~~~~~~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:406:23: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'close()' risks causing races in between 'self'-isolated and nonisolated uses
        await socket?.close()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:419:31: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
            try? await socket.send(.string(String(decoding: data, as: UTF8.self)))
                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:419:31: note: sending 'self'-isolated 'socket' to nonisolated instance method 'send' risks causing data races between nonisolated and 'self'-isolated uses
            try? await socket.send(.string(String(decoding: data, as: UTF8.self)))
                              ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/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
    public let op: Int = 8
               ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
    public let op: Int = 8
               ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: note: make the property mutable instead
    public let op: Int = 8
           ~~~ ^
           var
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:37:27: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
        try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:37:27: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'send' risks causing races in between 'self'-isolated and nonisolated uses
        try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:60:32: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
            try? await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:60:32: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'send' risks causing races in between 'self'-isolated and nonisolated uses
            try? await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                               ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:85:62: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
        guard case let .string(helloText) = try await socket.receive() else {
                                                      ~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:85:62: note: sending 'self'-isolated 'socket' to nonisolated instance method 'receive()' risks causing data races between nonisolated and 'self'-isolated uses
        guard case let .string(helloText) = try await socket.receive() else {
                                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:104:30: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:104:30: note: sending 'self'-isolated 'socket' to nonisolated instance method 'send' risks causing data races between nonisolated and 'self'-isolated uses
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:111:30: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:111:30: note: sending 'self'-isolated 'socket' to nonisolated instance method 'send' risks causing data races between nonisolated and 'self'-isolated uses
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:115:23: 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
        Task.detached { [weak self] in
                      ^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:116:45: note: closure captures 'eventSink' which is accessible to 'self'-isolated code
            await self?.readLoop(eventSink: eventSink)
                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:382:23: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
        await socket?.close()
              ~~~~~~~~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:382:23: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'close()' risks causing races in between 'self'-isolated and nonisolated uses
        await socket?.close()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:131:44: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
                let msg = try await socket.receive()
                                    ~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:131:44: note: sending 'self'-isolated 'socket' to nonisolated instance method 'receive()' risks causing data races between nonisolated and 'self'-isolated uses
                let msg = try await socket.receive()
                                           ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:116:25: warning: sending 'eventSink' risks causing data races; this is an error in the Swift 6 language mode
            await self?.readLoop(eventSink: eventSink)
                  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:116:25: note: sending task-isolated 'eventSink' to actor-isolated instance method 'readLoop(eventSink:)' risks causing data races between actor-isolated and task-isolated uses
            await self?.readLoop(eventSink: eventSink)
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:367:35: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
                try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                          ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:367:35: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'send' risks causing races in between 'self'-isolated and nonisolated uses
                try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:406:23: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
        await socket?.close()
              ~~~~~~~~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:406:23: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'close()' risks causing races in between 'self'-isolated and nonisolated uses
        await socket?.close()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:419:31: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
            try? await socket.send(.string(String(decoding: data, as: UTF8.self)))
                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:419:31: note: sending 'self'-isolated 'socket' to nonisolated instance method 'send' risks causing data races between nonisolated and 'self'-isolated uses
            try? await socket.send(.string(String(decoding: data, as: UTF8.self)))
                              ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:7:23: warning: static property 'guilds' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
    public static let guilds = GatewayIntents(rawValue: 1 << 0)
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:3:15: note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
public struct GatewayIntents: OptionSet, Codable, Hashable {
              ^
                                                          , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:7:23: note: add '@MainActor' to make static property 'guilds' part of global actor 'MainActor'
    public static let guilds = GatewayIntents(rawValue: 1 << 0)
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:7:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static let guilds = GatewayIntents(rawValue: 1 << 0)
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:8:23: warning: static property 'guildMembers' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
    public static let guildMembers = GatewayIntents(rawValue: 1 << 1)
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:3:15: note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
public struct GatewayIntents: OptionSet, Codable, Hashable {
              ^
                                                          , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:8:23: note: add '@MainActor' to make static property 'guildMembers' part of global actor 'MainActor'
    public static let guildMembers = GatewayIntents(rawValue: 1 << 1)
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:8:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static let guildMembers = GatewayIntents(rawValue: 1 << 1)
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:9:23: warning: static property 'guildModeration' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
    public static let guildModeration = GatewayIntents(rawValue: 1 << 2)
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:3:15: note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
public struct GatewayIntents: OptionSet, Codable, Hashable {
              ^
                                                          , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:9:23: note: add '@MainActor' to make static property 'guildModeration' part of global actor 'MainActor'
    public static let guildModeration = GatewayIntents(rawValue: 1 << 2)
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:9:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static let guildModeration = GatewayIntents(rawValue: 1 << 2)
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:10:23: warning: static property 'guildEmojisAndStickers' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
    public static let guildEmojisAndStickers = GatewayIntents(rawValue: 1 << 3)
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:3:15: note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
public struct GatewayIntents: OptionSet, Codable, Hashable {
              ^
                                                          , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:10:23: note: add '@MainActor' to make static property 'guildEmojisAndStickers' part of global actor 'MainActor'
    public static let guildEmojisAndStickers = GatewayIntents(rawValue: 1 << 3)
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:10:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static let guildEmojisAndStickers = GatewayIntents(rawValue: 1 << 3)
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:11:23: warning: static property 'guildIntegrations' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
    public static let guildIntegrations = GatewayIntents(rawValue: 1 << 4)
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:3:15: note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
public struct GatewayIntents: OptionSet, Codable, Hashable {
              ^
                                                          , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:11:23: note: add '@MainActor' to make static property 'guildIntegrations' part of global actor 'MainActor'
    public static let guildIntegrations = GatewayIntents(rawValue: 1 << 4)
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:11:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static let guildIntegrations = GatewayIntents(rawValue: 1 << 4)
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:12:23: warning: static property 'guildWebhooks' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
    public static let guildWebhooks = GatewayIntents(rawValue: 1 << 5)
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:3:15: note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
public struct GatewayIntents: OptionSet, Codable, Hashable {
              ^
                                                          , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:12:23: note: add '@MainActor' to make static property 'guildWebhooks' part of global actor 'MainActor'
    public static let guildWebhooks = GatewayIntents(rawValue: 1 << 5)
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:12:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static let guildWebhooks = GatewayIntents(rawValue: 1 << 5)
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:13:23: warning: static property 'guildInvites' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
    public static let guildInvites = GatewayIntents(rawValue: 1 << 6)
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:3:15: note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
public struct GatewayIntents: OptionSet, Codable, Hashable {
              ^
                                                          , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:13:23: note: add '@MainActor' to make static property 'guildInvites' part of global actor 'MainActor'
    public static let guildInvites = GatewayIntents(rawValue: 1 << 6)
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:13:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static let guildInvites = GatewayIntents(rawValue: 1 << 6)
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:14:23: warning: static property 'guildVoiceStates' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
    public static let guildVoiceStates = GatewayIntents(rawValue: 1 << 7)
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:3:15: note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
public struct GatewayIntents: OptionSet, Codable, Hashable {
              ^
                                                          , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:14:23: note: add '@MainActor' to make static property 'guildVoiceStates' part of global actor 'MainActor'
    public static let guildVoiceStates = GatewayIntents(rawValue: 1 << 7)
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:14:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static let guildVoiceStates = GatewayIntents(rawValue: 1 << 7)
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:15:23: warning: static property 'guildPresences' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
    public static let guildPresences = GatewayIntents(rawValue: 1 << 8)
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:3:15: note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
public struct GatewayIntents: OptionSet, Codable, Hashable {
              ^
                                                          , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:15:23: note: add '@MainActor' to make static property 'guildPresences' part of global actor 'MainActor'
    public static let guildPresences = GatewayIntents(rawValue: 1 << 8)
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:15:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static let guildPresences = GatewayIntents(rawValue: 1 << 8)
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:16:23: warning: static property 'guildMessages' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
    public static let guildMessages = GatewayIntents(rawValue: 1 << 9)
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:3:15: note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
public struct GatewayIntents: OptionSet, Codable, Hashable {
              ^
                                                          , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:16:23: note: add '@MainActor' to make static property 'guildMessages' part of global actor 'MainActor'
    public static let guildMessages = GatewayIntents(rawValue: 1 << 9)
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:16:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static let guildMessages = GatewayIntents(rawValue: 1 << 9)
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:17:23: warning: static property 'guildMessageReactions' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
    public static let guildMessageReactions = GatewayIntents(rawValue: 1 << 10)
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:3:15: note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
public struct GatewayIntents: OptionSet, Codable, Hashable {
              ^
                                                          , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:17:23: note: add '@MainActor' to make static property 'guildMessageReactions' part of global actor 'MainActor'
    public static let guildMessageReactions = GatewayIntents(rawValue: 1 << 10)
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:17:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static let guildMessageReactions = GatewayIntents(rawValue: 1 << 10)
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:18:23: warning: static property 'guildMessageTyping' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
    public static let guildMessageTyping = GatewayIntents(rawValue: 1 << 11)
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:3:15: note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
public struct GatewayIntents: OptionSet, Codable, Hashable {
              ^
                                                          , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:18:23: note: add '@MainActor' to make static property 'guildMessageTyping' part of global actor 'MainActor'
    public static let guildMessageTyping = GatewayIntents(rawValue: 1 << 11)
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:18:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static let guildMessageTyping = GatewayIntents(rawValue: 1 << 11)
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:19:23: warning: static property 'directMessages' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
    public static let directMessages = GatewayIntents(rawValue: 1 << 12)
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:3:15: note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
public struct GatewayIntents: OptionSet, Codable, Hashable {
              ^
                                                          , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:19:23: note: add '@MainActor' to make static property 'directMessages' part of global actor 'MainActor'
    public static let directMessages = GatewayIntents(rawValue: 1 << 12)
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:19:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static let directMessages = GatewayIntents(rawValue: 1 << 12)
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:20:23: warning: static property 'directMessageReactions' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
    public static let directMessageReactions = GatewayIntents(rawValue: 1 << 13)
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:3:15: note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
public struct GatewayIntents: OptionSet, Codable, Hashable {
              ^
                                                          , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:20:23: note: add '@MainActor' to make static property 'directMessageReactions' part of global actor 'MainActor'
    public static let directMessageReactions = GatewayIntents(rawValue: 1 << 13)
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:20:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static let directMessageReactions = GatewayIntents(rawValue: 1 << 13)
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:21:23: warning: static property 'directMessageTyping' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
    public static let directMessageTyping = GatewayIntents(rawValue: 1 << 14)
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:3:15: note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
public struct GatewayIntents: OptionSet, Codable, Hashable {
              ^
                                                          , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:21:23: note: add '@MainActor' to make static property 'directMessageTyping' part of global actor 'MainActor'
    public static let directMessageTyping = GatewayIntents(rawValue: 1 << 14)
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:21:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static let directMessageTyping = GatewayIntents(rawValue: 1 << 14)
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:22:23: warning: static property 'messageContent' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
    public static let messageContent = GatewayIntents(rawValue: 1 << 15)
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:3:15: note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
public struct GatewayIntents: OptionSet, Codable, Hashable {
              ^
                                                          , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:22:23: note: add '@MainActor' to make static property 'messageContent' part of global actor 'MainActor'
    public static let messageContent = GatewayIntents(rawValue: 1 << 15)
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:22:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static let messageContent = GatewayIntents(rawValue: 1 << 15)
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:23:23: warning: static property 'guildScheduledEvents' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
    public static let guildScheduledEvents = GatewayIntents(rawValue: 1 << 16)
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:3:15: note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
public struct GatewayIntents: OptionSet, Codable, Hashable {
              ^
                                                          , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:23:23: note: add '@MainActor' to make static property 'guildScheduledEvents' part of global actor 'MainActor'
    public static let guildScheduledEvents = GatewayIntents(rawValue: 1 << 16)
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:23:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static let guildScheduledEvents = GatewayIntents(rawValue: 1 << 16)
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:24:23: warning: static property 'autoModerationConfiguration' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
    public static let autoModerationConfiguration = GatewayIntents(rawValue: 1 << 20)
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:3:15: note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
public struct GatewayIntents: OptionSet, Codable, Hashable {
              ^
                                                          , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:24:23: note: add '@MainActor' to make static property 'autoModerationConfiguration' part of global actor 'MainActor'
    public static let autoModerationConfiguration = GatewayIntents(rawValue: 1 << 20)
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:24:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static let autoModerationConfiguration = GatewayIntents(rawValue: 1 << 20)
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:25:23: warning: static property 'autoModerationExecution' is not concurrency-safe because non-'Sendable' type 'GatewayIntents' may have shared mutable state; this is an error in the Swift 6 language mode
    public static let autoModerationExecution = GatewayIntents(rawValue: 1 << 21)
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:3:15: note: consider making struct 'GatewayIntents' conform to the 'Sendable' protocol
public struct GatewayIntents: OptionSet, Codable, Hashable {
              ^
                                                          , Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:25:23: note: add '@MainActor' to make static property 'autoModerationExecution' part of global actor 'MainActor'
    public static let autoModerationExecution = GatewayIntents(rawValue: 1 << 21)
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/Intents.swift:25:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static let autoModerationExecution = GatewayIntents(rawValue: 1 << 21)
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:37:27: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
        try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:37:27: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'send' risks causing races in between 'self'-isolated and nonisolated uses
        try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:60:32: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
            try? await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:60:32: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'send' risks causing races in between 'self'-isolated and nonisolated uses
            try? await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                               ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:85:62: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
        guard case let .string(helloText) = try await socket.receive() else {
                                                      ~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:85:62: note: sending 'self'-isolated 'socket' to nonisolated instance method 'receive()' risks causing data races between nonisolated and 'self'-isolated uses
        guard case let .string(helloText) = try await socket.receive() else {
                                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:104:30: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:104:30: note: sending 'self'-isolated 'socket' to nonisolated instance method 'send' risks causing data races between nonisolated and 'self'-isolated uses
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:111:30: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:111:30: note: sending 'self'-isolated 'socket' to nonisolated instance method 'send' risks causing data races between nonisolated and 'self'-isolated uses
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:115:23: 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
        Task.detached { [weak self] in
                      ^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:116:45: note: closure captures 'eventSink' which is accessible to 'self'-isolated code
            await self?.readLoop(eventSink: eventSink)
                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:382:23: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
        await socket?.close()
              ~~~~~~~~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:382:23: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'close()' risks causing races in between 'self'-isolated and nonisolated uses
        await socket?.close()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:131:44: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
                let msg = try await socket.receive()
                                    ~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:131:44: note: sending 'self'-isolated 'socket' to nonisolated instance method 'receive()' risks causing data races between nonisolated and 'self'-isolated uses
                let msg = try await socket.receive()
                                           ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:116:25: warning: sending 'eventSink' risks causing data races; this is an error in the Swift 6 language mode
            await self?.readLoop(eventSink: eventSink)
                  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:116:25: note: sending task-isolated 'eventSink' to actor-isolated instance method 'readLoop(eventSink:)' risks causing data races between actor-isolated and task-isolated uses
            await self?.readLoop(eventSink: eventSink)
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:367:35: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
                try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                          ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:367:35: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'send' risks causing races in between 'self'-isolated and nonisolated uses
                try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:406:23: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
        await socket?.close()
              ~~~~~~~~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:406:23: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'close()' risks causing races in between 'self'-isolated and nonisolated uses
        await socket?.close()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:419:31: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
            try? await socket.send(.string(String(decoding: data, as: UTF8.self)))
                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:419:31: note: sending 'self'-isolated 'socket' to nonisolated instance method 'send' risks causing data races between nonisolated and 'self'-isolated uses
            try? await socket.send(.string(String(decoding: data, as: UTF8.self)))
                              ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:37:27: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
        try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:37:27: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'send' risks causing races in between 'self'-isolated and nonisolated uses
        try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:60:32: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
            try? await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:60:32: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'send' risks causing races in between 'self'-isolated and nonisolated uses
            try? await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                               ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:85:62: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
        guard case let .string(helloText) = try await socket.receive() else {
                                                      ~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:85:62: note: sending 'self'-isolated 'socket' to nonisolated instance method 'receive()' risks causing data races between nonisolated and 'self'-isolated uses
        guard case let .string(helloText) = try await socket.receive() else {
                                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:104:30: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:104:30: note: sending 'self'-isolated 'socket' to nonisolated instance method 'send' risks causing data races between nonisolated and 'self'-isolated uses
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:111:30: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:111:30: note: sending 'self'-isolated 'socket' to nonisolated instance method 'send' risks causing data races between nonisolated and 'self'-isolated uses
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:115:23: 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
        Task.detached { [weak self] in
                      ^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:116:45: note: closure captures 'eventSink' which is accessible to 'self'-isolated code
            await self?.readLoop(eventSink: eventSink)
                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:382:23: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
        await socket?.close()
              ~~~~~~~~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:382:23: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'close()' risks causing races in between 'self'-isolated and nonisolated uses
        await socket?.close()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:131:44: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
                let msg = try await socket.receive()
                                    ~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:131:44: note: sending 'self'-isolated 'socket' to nonisolated instance method 'receive()' risks causing data races between nonisolated and 'self'-isolated uses
                let msg = try await socket.receive()
                                           ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:116:25: warning: sending 'eventSink' risks causing data races; this is an error in the Swift 6 language mode
            await self?.readLoop(eventSink: eventSink)
                  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:116:25: note: sending task-isolated 'eventSink' to actor-isolated instance method 'readLoop(eventSink:)' risks causing data races between actor-isolated and task-isolated uses
            await self?.readLoop(eventSink: eventSink)
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:367:35: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
                try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                          ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:367:35: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'send' risks causing races in between 'self'-isolated and nonisolated uses
                try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:406:23: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
        await socket?.close()
              ~~~~~~~~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:406:23: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'close()' risks causing races in between 'self'-isolated and nonisolated uses
        await socket?.close()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:419:31: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
            try? await socket.send(.string(String(decoding: data, as: UTF8.self)))
                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:419:31: note: sending 'self'-isolated 'socket' to nonisolated instance method 'send' risks causing data races between nonisolated and 'self'-isolated uses
            try? await socket.send(.string(String(decoding: data, as: UTF8.self)))
                              ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/ActivityBuilder.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:37:27: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
        try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:37:27: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'send' risks causing races in between 'self'-isolated and nonisolated uses
        try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:60:32: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
            try? await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:60:32: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'send' risks causing races in between 'self'-isolated and nonisolated uses
            try? await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                               ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:85:62: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
        guard case let .string(helloText) = try await socket.receive() else {
                                                      ~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:85:62: note: sending 'self'-isolated 'socket' to nonisolated instance method 'receive()' risks causing data races between nonisolated and 'self'-isolated uses
        guard case let .string(helloText) = try await socket.receive() else {
                                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:104:30: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:104:30: note: sending 'self'-isolated 'socket' to nonisolated instance method 'send' risks causing data races between nonisolated and 'self'-isolated uses
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:111:30: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:111:30: note: sending 'self'-isolated 'socket' to nonisolated instance method 'send' risks causing data races between nonisolated and 'self'-isolated uses
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:115:23: 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
        Task.detached { [weak self] in
                      ^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:116:45: note: closure captures 'eventSink' which is accessible to 'self'-isolated code
            await self?.readLoop(eventSink: eventSink)
                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:382:23: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
        await socket?.close()
              ~~~~~~~~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:382:23: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'close()' risks causing races in between 'self'-isolated and nonisolated uses
        await socket?.close()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:131:44: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
                let msg = try await socket.receive()
                                    ~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:131:44: note: sending 'self'-isolated 'socket' to nonisolated instance method 'receive()' risks causing data races between nonisolated and 'self'-isolated uses
                let msg = try await socket.receive()
                                           ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:116:25: warning: sending 'eventSink' risks causing data races; this is an error in the Swift 6 language mode
            await self?.readLoop(eventSink: eventSink)
                  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:116:25: note: sending task-isolated 'eventSink' to actor-isolated instance method 'readLoop(eventSink:)' risks causing data races between actor-isolated and task-isolated uses
            await self?.readLoop(eventSink: eventSink)
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:367:35: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
                try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                          ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:367:35: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'send' risks causing races in between 'self'-isolated and nonisolated uses
                try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:406:23: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
        await socket?.close()
              ~~~~~~~~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:406:23: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'close()' risks causing races in between 'self'-isolated and nonisolated uses
        await socket?.close()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:419:31: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
            try? await socket.send(.string(String(decoding: data, as: UTF8.self)))
                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:419:31: note: sending 'self'-isolated 'socket' to nonisolated instance method 'send' risks causing data races between nonisolated and 'self'-isolated uses
            try? await socket.send(.string(String(decoding: data, as: UTF8.self)))
                              ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/HighLevel/AutocompleteRouter.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:37:27: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
        try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:37:27: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'send' risks causing races in between 'self'-isolated and nonisolated uses
        try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:60:32: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
            try? await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:60:32: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'send' risks causing races in between 'self'-isolated and nonisolated uses
            try? await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                               ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:85:62: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
        guard case let .string(helloText) = try await socket.receive() else {
                                                      ~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:85:62: note: sending 'self'-isolated 'socket' to nonisolated instance method 'receive()' risks causing data races between nonisolated and 'self'-isolated uses
        guard case let .string(helloText) = try await socket.receive() else {
                                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:104:30: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:104:30: note: sending 'self'-isolated 'socket' to nonisolated instance method 'send' risks causing data races between nonisolated and 'self'-isolated uses
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:111:30: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:111:30: note: sending 'self'-isolated 'socket' to nonisolated instance method 'send' risks causing data races between nonisolated and 'self'-isolated uses
            try await socket.send(.string(String(decoding: data, as: UTF8.self)))
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:115:23: 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
        Task.detached { [weak self] in
                      ^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:116:45: note: closure captures 'eventSink' which is accessible to 'self'-isolated code
            await self?.readLoop(eventSink: eventSink)
                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:382:23: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
        await socket?.close()
              ~~~~~~~~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:382:23: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'close()' risks causing races in between 'self'-isolated and nonisolated uses
        await socket?.close()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:131:44: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
                let msg = try await socket.receive()
                                    ~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:131:44: note: sending 'self'-isolated 'socket' to nonisolated instance method 'receive()' risks causing data races between nonisolated and 'self'-isolated uses
                let msg = try await socket.receive()
                                           ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:116:25: warning: sending 'eventSink' risks causing data races; this is an error in the Swift 6 language mode
            await self?.readLoop(eventSink: eventSink)
                  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:116:25: note: sending task-isolated 'eventSink' to actor-isolated instance method 'readLoop(eventSink:)' risks causing data races between actor-isolated and task-isolated uses
            await self?.readLoop(eventSink: eventSink)
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:367:35: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
                try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                          ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:367:35: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'send' risks causing races in between 'self'-isolated and nonisolated uses
                try await socket?.send(.string(String(decoding: data, as: UTF8.self)))
                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:406:23: warning: sending value of non-Sendable type 'any WebSocketClient' risks causing data races; this is an error in the Swift 6 language mode
        await socket?.close()
              ~~~~~~~~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:406:23: note: sending 'self'-isolated value of non-Sendable type 'any WebSocketClient' to nonisolated instance method 'close()' risks causing races in between 'self'-isolated and nonisolated uses
        await socket?.close()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:419:31: warning: sending 'socket' risks causing data races; this is an error in the Swift 6 language mode
            try? await socket.send(.string(String(decoding: data, as: UTF8.self)))
                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayClient.swift:419:31: note: sending 'self'-isolated 'socket' to nonisolated instance method 'send' risks causing data races between nonisolated and 'self'-isolated uses
            try? await socket.send(.string(String(decoding: data, as: UTF8.self)))
                              ^
SwiftCompile normal arm64 Compiling\ AuditLog.swift,\ AutoModeration.swift,\ Channel.swift,\ Embed.swift,\ Emoji.swift,\ Files.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/AuditLog.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/AutoModeration.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/Channel.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/Embed.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/Emoji.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/Files.swift (in target 'SwiftDisc' from project 'SwiftDisc')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/AuditLog.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/AutoModeration.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/Channel.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/Embed.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/Emoji.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/Files.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ User.swift,\ Webhook.swift,\ HTTPClient.swift,\ RateLimiter.swift,\ AudioSource.swift,\ PipeOpusSource.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/User.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/Webhook.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Voice/AudioSource.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Voice/PipeOpusSource.swift (in target 'SwiftDisc' from project 'SwiftDisc')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/User.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/Webhook.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
        if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
                                                                                                        ~~~~^~~~~
                                                                                                        _
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Voice/AudioSource.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Voice/PipeOpusSource.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ ScheduledEventUser.swift,\ Snowflake.swift,\ StageInstance.swift,\ Sticker.swift,\ Template.swift,\ Thread.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/ScheduledEventUser.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/Snowflake.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/StageInstance.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/Sticker.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/Template.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/Thread.swift (in target 'SwiftDisc' from project 'SwiftDisc')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/ScheduledEventUser.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/Snowflake.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/StageInstance.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/Sticker.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/Template.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/Models/Thread.swift (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftDriverJobDiscovery normal arm64 Emitting module for SwiftDisc (in target 'SwiftDisc' from project 'SwiftDisc')
SwiftDriver\ Compilation\ Requirements SwiftDisc normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SwiftDisc -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -target arm64-apple-macos11.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.4-24E241-8287b8f5db97e746a1562fbca0c9d29b.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal arm64 Compiling ScheduledEventUser.swift, Snowflake.swift, StageInstance.swift, Sticker.swift, Template.swift, Thread.swift (in target 'SwiftDisc' from project 'SwiftDisc')
SwiftDriverJobDiscovery normal arm64 Compiling User.swift, Webhook.swift, HTTPClient.swift, RateLimiter.swift, AudioSource.swift, PipeOpusSource.swift (in target 'SwiftDisc' from project 'SwiftDisc')
SwiftDriverJobDiscovery normal arm64 Compiling Message.swift, MessageComponents.swift, PartialGuild.swift, PermissionBitset.swift, Role.swift, ScheduledEvent.swift (in target 'SwiftDisc' from project 'SwiftDisc')
SwiftDriverJobDiscovery normal arm64 Compiling AuditLog.swift, AutoModeration.swift, Channel.swift, Embed.swift, Emoji.swift, Files.swift (in target 'SwiftDisc' from project 'SwiftDisc')
SwiftDriverJobDiscovery normal arm64 Compiling Guild.swift, GuildBan.swift, GuildMember.swift, GuildWidgetSettings.swift, Interaction.swift, Invite.swift (in target 'SwiftDisc' from project 'SwiftDisc')
SwiftDriverJobDiscovery normal arm64 Compiling SlashCommandBuilder.swift, SlashCommandRouter.swift, Utilities.swift, Cache.swift, DiscordConfiguration.swift, DiscordError.swift (in target 'SwiftDisc' from project 'SwiftDisc')
SwiftDriverJobDiscovery normal arm64 Compiling DiscordUtils.swift, EventDispatcher.swift, JSONValue.swift, AdvancedMessagePayloads.swift, ApplicationRoleConnection.swift, Attachment.swift (in target 'SwiftDisc' from project 'SwiftDisc')
SwiftDriverJobDiscovery normal arm64 Compiling CommandRouter.swift, ComponentsBuilder.swift, Extensions.swift, Permissions.swift, ShardManager.swift, ShardingGatewayManager.swift (in target 'SwiftDisc' from project 'SwiftDisc')
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/SwiftDisc-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc-Swift.h (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/SwiftDisc-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftDisc.swiftmodule/arm64-apple-macos.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc.swiftmodule (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftDisc.swiftmodule/arm64-apple-macos.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftDisc.swiftmodule/arm64-apple-macos.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc.abi.json (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftDisc.swiftmodule/arm64-apple-macos.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftDisc.swiftmodule/arm64-apple-macos.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc.swiftdoc (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftDisc.swiftmodule/arm64-apple-macos.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftDisc.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc.swiftsourceinfo (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftDisc.swiftmodule/Project/arm64-apple-macos.swiftsourceinfo
SwiftDriverJobDiscovery normal arm64 Compiling Secretbox.swift, VoiceClient.swift, VoiceGateway.swift, VoiceModels.swift, VoiceReceiver.swift, VoiceSender.swift (in target 'SwiftDisc' from project 'SwiftDisc')
SwiftDriverJobDiscovery normal arm64 Compiling DiscordClient.swift, GatewayClient.swift, GatewayModels.swift, Intents.swift, WebSocket.swift, ActivityBuilder.swift, AutocompleteRouter.swift (in target 'SwiftDisc' from project 'SwiftDisc')
SwiftDriver\ Compilation SwiftDisc normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-Swift-Compilation -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SwiftDisc -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -target arm64-apple-macos11.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx15.4-24E241-8287b8f5db97e746a1562fbca0c9d29b.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftDisc.o normal (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-macos11.0 -r -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -O0 -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -L/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftDisc.o
ExtractAppIntentsMetadata (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --toolchain-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --module-name SwiftDisc --sdk-root /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk --xcode-version 16E140 --platform-family macOS --deployment-target 11.0 --bundle-identifier spi-builder-workspace.SwiftDisc --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftDisc.appintents --target-triple arm64-apple-macos11.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftDisc.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/SwiftDisc.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/SwiftDisc.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftDisc.build/Debug/SwiftDisc.build/Objects-normal/arm64/SwiftDisc.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --validate-assistant-intents --no-app-shortcuts-localization
2025-12-10 19:15:33.921 appintentsmetadataprocessor[749:4416] Starting appintentsmetadataprocessor export
2025-12-10 19:15:33.961 appintentsmetadataprocessor[749:4416] Extracted no relevant App Intents symbols, skipping writing output
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftDisc.o (in target 'SwiftDisc' from project 'SwiftDisc')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftDisc.o
** BUILD SUCCEEDED **
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:02604fa2759bce79ebde8ba431092c5b216675c3, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:02604fa2759bce79ebde8ba431092c5b216675c3, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:02604fa2759bce79ebde8ba431092c5b216675c3, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:02604fa2759bce79ebde8ba431092c5b216675c3, name:My Mac }
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftDisc",
  "name" : "SwiftDisc",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftDisc",
      "targets" : [
        "SwiftDisc"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftDiscTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDiscTests",
      "path" : "Tests/SwiftDiscTests",
      "sources" : [
        "ShardingTests.swift",
        "SlashCommandRouterTests.swift",
        "SwiftDiscTests.swift"
      ],
      "target_dependencies" : [
        "SwiftDisc"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftDisc",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDisc",
      "path" : "Sources/SwiftDisc",
      "product_memberships" : [
        "SwiftDisc"
      ],
      "sources" : [
        "DiscordClient.swift",
        "Gateway/GatewayClient.swift",
        "Gateway/GatewayModels.swift",
        "Gateway/Intents.swift",
        "Gateway/WebSocket.swift",
        "HighLevel/ActivityBuilder.swift",
        "HighLevel/AutocompleteRouter.swift",
        "HighLevel/CommandRouter.swift",
        "HighLevel/ComponentsBuilder.swift",
        "HighLevel/Extensions.swift",
        "HighLevel/Permissions.swift",
        "HighLevel/ShardManager.swift",
        "HighLevel/ShardingGatewayManager.swift",
        "HighLevel/SlashCommandBuilder.swift",
        "HighLevel/SlashCommandRouter.swift",
        "HighLevel/Utilities.swift",
        "Internal/Cache.swift",
        "Internal/DiscordConfiguration.swift",
        "Internal/DiscordError.swift",
        "Internal/DiscordUtils.swift",
        "Internal/EventDispatcher.swift",
        "Internal/JSONValue.swift",
        "Models/AdvancedMessagePayloads.swift",
        "Models/ApplicationRoleConnection.swift",
        "Models/Attachment.swift",
        "Models/AuditLog.swift",
        "Models/AutoModeration.swift",
        "Models/Channel.swift",
        "Models/Embed.swift",
        "Models/Emoji.swift",
        "Models/Files.swift",
        "Models/Guild.swift",
        "Models/GuildBan.swift",
        "Models/GuildMember.swift",
        "Models/GuildWidgetSettings.swift",
        "Models/Interaction.swift",
        "Models/Invite.swift",
        "Models/Message.swift",
        "Models/MessageComponents.swift",
        "Models/PartialGuild.swift",
        "Models/PermissionBitset.swift",
        "Models/Role.swift",
        "Models/ScheduledEvent.swift",
        "Models/ScheduledEventUser.swift",
        "Models/Snowflake.swift",
        "Models/StageInstance.swift",
        "Models/Sticker.swift",
        "Models/Template.swift",
        "Models/Thread.swift",
        "Models/User.swift",
        "Models/Webhook.swift",
        "REST/HTTPClient.swift",
        "REST/RateLimiter.swift",
        "Voice/AudioSource.swift",
        "Voice/PipeOpusSource.swift",
        "Voice/Secretbox.swift",
        "Voice/VoiceClient.swift",
        "Voice/VoiceGateway.swift",
        "Voice/VoiceModels.swift",
        "Voice/VoiceReceiver.swift",
        "Voice/VoiceSender.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.