The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build SwiftDisc, reference main (10b4fe), with Swift 6.2 for Wasm on 11 Dec 2025 03:15:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/M1tsumi/SwiftDisc.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/M1tsumi/SwiftDisc
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 10b4fed Merge pull request #1 from M1tsumi/test-role-connections
Cloned https://github.com/M1tsumi/SwiftDisc.git
Revision (git rev-parse @):
10b4fed3275c97b34d9854ead347c21e1c79ea09
SUCCESS checkout https://github.com/M1tsumi/SwiftDisc.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/M1tsumi/SwiftDisc.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/57] Emitting module SwiftDisc
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:18:23: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
   |                       `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |     private let session: URLSession
20 |
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
19 |     private let session: URLSession
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 |     init(url: URL) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
[4/64] Compiling SwiftDisc PipeOpusSource.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 |     let s = Array(key[16..<32])
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
    |         `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
    |         `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
    |         `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
    |         `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
    |         `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 |     var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
    |         `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
    |         `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
    |         `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
    |         `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 |     // Add s
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:18:23: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
   |                       `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |     private let session: URLSession
20 |
[5/64] Compiling SwiftDisc Secretbox.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 |     let s = Array(key[16..<32])
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
    |         `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
    |         `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
    |         `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
    |         `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
    |         `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 |     var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
    |         `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
    |         `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
    |         `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
    |         `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 |     // Add s
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:18:23: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
   |                       `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |     private let session: URLSession
20 |
[6/64] Compiling SwiftDisc VoiceClient.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 |     let s = Array(key[16..<32])
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
    |         `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
    |         `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
    |         `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
    |         `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
    |         `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 |     var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
    |         `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
    |         `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
    |         `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
    |         `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 |     // Add s
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:18:23: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
   |                       `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |     private let session: URLSession
20 |
[7/64] Compiling SwiftDisc VoiceGateway.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 |     let s = Array(key[16..<32])
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
    |         `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
    |         `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
    |         `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
    |         `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
    |         `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 |     var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
    |         `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
    |         `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
    |         `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
    |         `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 |     // Add s
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:18:23: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
   |                       `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |     private let session: URLSession
20 |
[8/64] Compiling SwiftDisc VoiceModels.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 |     let s = Array(key[16..<32])
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
    |         `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
    |         `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
    |         `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
    |         `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
    |         `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 |     var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
    |         `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
    |         `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
    |         `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
    |         `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 |     // Add s
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:18:23: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
   |                       `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |     private let session: URLSession
20 |
[9/64] Compiling SwiftDisc VoiceReceiver.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 |     let s = Array(key[16..<32])
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
    |         `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
    |         `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
    |         `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
    |         `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
    |         `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 |     var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
    |         `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
    |         `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
    |         `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
    |         `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 |     // Add s
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:18:23: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
   |                       `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |     private let session: URLSession
20 |
[10/64] Compiling SwiftDisc VoiceSender.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
234 |     let s = Array(key[16..<32])
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
    |         `- warning: variable 'r0' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
235 |
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
    |         `- warning: variable 'r1' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
236 |     var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
    |         `- warning: variable 'r2' was never mutated; consider changing to 'let' constant
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
237 |     var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
    |         `- warning: variable 'r3' was never mutated; consider changing to 'let' constant
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
241 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
238 |     var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
239 |     var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
240 |     var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
    |         `- warning: variable 'r4' was never mutated; consider changing to 'let' constant
241 |
242 |     var h0: UInt32 = 0, h1: UInt32 = 0, h2: UInt32 = 0, h3: UInt32 = 0, h4: UInt32 = 0
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
301 |
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
    |         `- warning: variable 'f0' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
302 |     // Serialize h
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
    |         `- warning: variable 'f1' was never mutated; consider changing to 'let' constant
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
303 |     var f0 = (h0 | (h1 << 26)) & 0xffffffff
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
    |         `- warning: variable 'f2' was never mutated; consider changing to 'let' constant
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
307 |
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
304 |     var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
305 |     var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
306 |     var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
    |         `- warning: variable 'f3' was never mutated; consider changing to 'let' constant
307 |
308 |     // Add s
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:18:23: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
   |                       `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |     private let session: URLSession
20 |
[11/64] Compiling SwiftDisc GuildBan.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 44 |
 45 |     public struct ActionRow: Codable, Hashable {
 46 |         public let type: Int = 1
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 47 |         public let components: [MessageComponent]
 48 |         public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 50 |
 51 |     public struct Button: Codable, Hashable {
 52 |         public let type: Int = 2
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 53 |         public let style: Int
 54 |         public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 73 |             public let `default`: Bool?
 74 |         }
 75 |         public let type: Int = 3
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 76 |         public let custom_id: String
 77 |         public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 92 |     public struct TextInput: Codable, Hashable {
 93 |         public enum Style: Int, Codable { case short = 1, paragraph = 2 }
 94 |         public let type: Int = 4
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 95 |         public let custom_id: String
 96 |         public let style: Style
[12/64] Compiling SwiftDisc GuildMember.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 44 |
 45 |     public struct ActionRow: Codable, Hashable {
 46 |         public let type: Int = 1
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 47 |         public let components: [MessageComponent]
 48 |         public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 50 |
 51 |     public struct Button: Codable, Hashable {
 52 |         public let type: Int = 2
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 53 |         public let style: Int
 54 |         public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 73 |             public let `default`: Bool?
 74 |         }
 75 |         public let type: Int = 3
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 76 |         public let custom_id: String
 77 |         public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 92 |     public struct TextInput: Codable, Hashable {
 93 |         public enum Style: Int, Codable { case short = 1, paragraph = 2 }
 94 |         public let type: Int = 4
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 95 |         public let custom_id: String
 96 |         public let style: Style
[13/64] Compiling SwiftDisc GuildWidgetSettings.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 44 |
 45 |     public struct ActionRow: Codable, Hashable {
 46 |         public let type: Int = 1
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 47 |         public let components: [MessageComponent]
 48 |         public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 50 |
 51 |     public struct Button: Codable, Hashable {
 52 |         public let type: Int = 2
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 53 |         public let style: Int
 54 |         public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 73 |             public let `default`: Bool?
 74 |         }
 75 |         public let type: Int = 3
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 76 |         public let custom_id: String
 77 |         public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 92 |     public struct TextInput: Codable, Hashable {
 93 |         public enum Style: Int, Codable { case short = 1, paragraph = 2 }
 94 |         public let type: Int = 4
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 95 |         public let custom_id: String
 96 |         public let style: Style
[14/64] Compiling SwiftDisc Interaction.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 44 |
 45 |     public struct ActionRow: Codable, Hashable {
 46 |         public let type: Int = 1
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 47 |         public let components: [MessageComponent]
 48 |         public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 50 |
 51 |     public struct Button: Codable, Hashable {
 52 |         public let type: Int = 2
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 53 |         public let style: Int
 54 |         public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 73 |             public let `default`: Bool?
 74 |         }
 75 |         public let type: Int = 3
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 76 |         public let custom_id: String
 77 |         public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 92 |     public struct TextInput: Codable, Hashable {
 93 |         public enum Style: Int, Codable { case short = 1, paragraph = 2 }
 94 |         public let type: Int = 4
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 95 |         public let custom_id: String
 96 |         public let style: Style
[15/64] Compiling SwiftDisc Invite.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 44 |
 45 |     public struct ActionRow: Codable, Hashable {
 46 |         public let type: Int = 1
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 47 |         public let components: [MessageComponent]
 48 |         public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 50 |
 51 |     public struct Button: Codable, Hashable {
 52 |         public let type: Int = 2
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 53 |         public let style: Int
 54 |         public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 73 |             public let `default`: Bool?
 74 |         }
 75 |         public let type: Int = 3
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 76 |         public let custom_id: String
 77 |         public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 92 |     public struct TextInput: Codable, Hashable {
 93 |         public enum Style: Int, Codable { case short = 1, paragraph = 2 }
 94 |         public let type: Int = 4
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 95 |         public let custom_id: String
 96 |         public let style: Style
[16/64] Compiling SwiftDisc Message.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 44 |
 45 |     public struct ActionRow: Codable, Hashable {
 46 |         public let type: Int = 1
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 47 |         public let components: [MessageComponent]
 48 |         public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 50 |
 51 |     public struct Button: Codable, Hashable {
 52 |         public let type: Int = 2
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 53 |         public let style: Int
 54 |         public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 73 |             public let `default`: Bool?
 74 |         }
 75 |         public let type: Int = 3
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 76 |         public let custom_id: String
 77 |         public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 92 |     public struct TextInput: Codable, Hashable {
 93 |         public enum Style: Int, Codable { case short = 1, paragraph = 2 }
 94 |         public let type: Int = 4
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 95 |         public let custom_id: String
 96 |         public let style: Style
[17/64] Compiling SwiftDisc MessageComponents.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 44 |
 45 |     public struct ActionRow: Codable, Hashable {
 46 |         public let type: Int = 1
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 47 |         public let components: [MessageComponent]
 48 |         public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 50 |
 51 |     public struct Button: Codable, Hashable {
 52 |         public let type: Int = 2
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 53 |         public let style: Int
 54 |         public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 73 |             public let `default`: Bool?
 74 |         }
 75 |         public let type: Int = 3
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 76 |         public let custom_id: String
 77 |         public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 92 |     public struct TextInput: Codable, Hashable {
 93 |         public enum Style: Int, Codable { case short = 1, paragraph = 2 }
 94 |         public let type: Int = 4
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 95 |         public let custom_id: String
 96 |         public let style: Style
[18/64] Compiling SwiftDisc PartialGuild.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 44 |
 45 |     public struct ActionRow: Codable, Hashable {
 46 |         public let type: Int = 1
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 47 |         public let components: [MessageComponent]
 48 |         public init(components: [MessageComponent]) { self.components = components }
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 50 |
 51 |     public struct Button: Codable, Hashable {
 52 |         public let type: Int = 2
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 53 |         public let style: Int
 54 |         public let label: String?
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 73 |             public let `default`: Bool?
 74 |         }
 75 |         public let type: Int = 3
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 76 |         public let custom_id: String
 77 |         public let options: [Option]
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 92 |     public struct TextInput: Codable, Hashable {
 93 |         public enum Style: Int, Codable { case short = 1, paragraph = 2 }
 94 |         public let type: Int = 4
    |                    |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                    |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
    |                    `- note: make the property mutable instead
 95 |         public let custom_id: String
 96 |         public let style: Style
[19/64] Compiling SwiftDisc DiscordClient.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 |     public let op: Int = 8
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
    |                `- note: make the property mutable instead
208 |     public let d: Payload
209 |     public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:18:23: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
   |                       `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |     private let session: URLSession
20 |
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
19 |     private let session: URLSession
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 |     init(url: URL) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:22:46: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
20 |
21 |     init(url: URL) {
22 |         let config = URLSessionConfiguration.default
   |                                              `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
23 |         #if !os(Windows)
24 |         config.waitsForConnectivity = true
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:26:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
24 |         config.waitsForConnectivity = true
25 |         #endif
26 |         config.requestCachePolicy = .reloadIgnoringLocalCacheData
   |                                      `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
27 |         config.timeoutIntervalForRequest = 30
28 |         config.timeoutIntervalForResource = 60
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:30:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 |         config.timeoutIntervalForResource = 60
29 |         config.httpMaximumConnectionsPerHost = 8
30 |         self.session = URLSession(configuration: config)
   |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 |         self.task = session.webSocketTask(with: url)
32 |         self.task.resume()
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:31:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
29 |         config.httpMaximumConnectionsPerHost = 8
30 |         self.session = URLSession(configuration: config)
31 |         self.task = session.webSocketTask(with: url)
   |                             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
32 |         self.task.resume()
33 |     }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:38:34: error: cannot infer contextual base in reference to member 'string'
36 |         switch message {
37 |         case .string(let text):
38 |             try await task.send(.string(text))
   |                                  `- error: cannot infer contextual base in reference to member 'string'
39 |         case .data(let data):
40 |             try await task.send(.data(data))
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:40:34: error: cannot infer contextual base in reference to member 'data'
38 |             try await task.send(.string(text))
39 |         case .data(let data):
40 |             try await task.send(.data(data))
   |                                  `- error: cannot infer contextual base in reference to member 'data'
41 |         }
42 |     }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:57:28: error: cannot infer contextual base in reference to member 'normalClosure'
55 |
56 |     func close() async {
57 |         task.cancel(with: .normalClosure, reason: nil)
   |                            `- error: cannot infer contextual base in reference to member 'normalClosure'
58 |     }
59 | }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:57:51: error: 'nil' requires a contextual type
55 |
56 |     func close() async {
57 |         task.cancel(with: .normalClosure, reason: nil)
   |                                                   `- error: 'nil' requires a contextual type
58 |     }
59 | }
[20/64] Compiling SwiftDisc GatewayClient.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 |     public let op: Int = 8
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
    |                `- note: make the property mutable instead
208 |     public let d: Payload
209 |     public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:18:23: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
   |                       `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |     private let session: URLSession
20 |
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
19 |     private let session: URLSession
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 |     init(url: URL) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:22:46: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
20 |
21 |     init(url: URL) {
22 |         let config = URLSessionConfiguration.default
   |                                              `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
23 |         #if !os(Windows)
24 |         config.waitsForConnectivity = true
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:26:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
24 |         config.waitsForConnectivity = true
25 |         #endif
26 |         config.requestCachePolicy = .reloadIgnoringLocalCacheData
   |                                      `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
27 |         config.timeoutIntervalForRequest = 30
28 |         config.timeoutIntervalForResource = 60
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:30:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 |         config.timeoutIntervalForResource = 60
29 |         config.httpMaximumConnectionsPerHost = 8
30 |         self.session = URLSession(configuration: config)
   |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 |         self.task = session.webSocketTask(with: url)
32 |         self.task.resume()
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:31:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
29 |         config.httpMaximumConnectionsPerHost = 8
30 |         self.session = URLSession(configuration: config)
31 |         self.task = session.webSocketTask(with: url)
   |                             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
32 |         self.task.resume()
33 |     }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:38:34: error: cannot infer contextual base in reference to member 'string'
36 |         switch message {
37 |         case .string(let text):
38 |             try await task.send(.string(text))
   |                                  `- error: cannot infer contextual base in reference to member 'string'
39 |         case .data(let data):
40 |             try await task.send(.data(data))
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:40:34: error: cannot infer contextual base in reference to member 'data'
38 |             try await task.send(.string(text))
39 |         case .data(let data):
40 |             try await task.send(.data(data))
   |                                  `- error: cannot infer contextual base in reference to member 'data'
41 |         }
42 |     }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:57:28: error: cannot infer contextual base in reference to member 'normalClosure'
55 |
56 |     func close() async {
57 |         task.cancel(with: .normalClosure, reason: nil)
   |                            `- error: cannot infer contextual base in reference to member 'normalClosure'
58 |     }
59 | }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:57:51: error: 'nil' requires a contextual type
55 |
56 |     func close() async {
57 |         task.cancel(with: .normalClosure, reason: nil)
   |                                                   `- error: 'nil' requires a contextual type
58 |     }
59 | }
[21/64] Compiling SwiftDisc GatewayModels.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 |     public let op: Int = 8
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
    |                `- note: make the property mutable instead
208 |     public let d: Payload
209 |     public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:18:23: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
   |                       `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |     private let session: URLSession
20 |
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
19 |     private let session: URLSession
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 |     init(url: URL) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:22:46: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
20 |
21 |     init(url: URL) {
22 |         let config = URLSessionConfiguration.default
   |                                              `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
23 |         #if !os(Windows)
24 |         config.waitsForConnectivity = true
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:26:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
24 |         config.waitsForConnectivity = true
25 |         #endif
26 |         config.requestCachePolicy = .reloadIgnoringLocalCacheData
   |                                      `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
27 |         config.timeoutIntervalForRequest = 30
28 |         config.timeoutIntervalForResource = 60
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:30:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 |         config.timeoutIntervalForResource = 60
29 |         config.httpMaximumConnectionsPerHost = 8
30 |         self.session = URLSession(configuration: config)
   |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 |         self.task = session.webSocketTask(with: url)
32 |         self.task.resume()
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:31:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
29 |         config.httpMaximumConnectionsPerHost = 8
30 |         self.session = URLSession(configuration: config)
31 |         self.task = session.webSocketTask(with: url)
   |                             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
32 |         self.task.resume()
33 |     }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:38:34: error: cannot infer contextual base in reference to member 'string'
36 |         switch message {
37 |         case .string(let text):
38 |             try await task.send(.string(text))
   |                                  `- error: cannot infer contextual base in reference to member 'string'
39 |         case .data(let data):
40 |             try await task.send(.data(data))
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:40:34: error: cannot infer contextual base in reference to member 'data'
38 |             try await task.send(.string(text))
39 |         case .data(let data):
40 |             try await task.send(.data(data))
   |                                  `- error: cannot infer contextual base in reference to member 'data'
41 |         }
42 |     }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:57:28: error: cannot infer contextual base in reference to member 'normalClosure'
55 |
56 |     func close() async {
57 |         task.cancel(with: .normalClosure, reason: nil)
   |                            `- error: cannot infer contextual base in reference to member 'normalClosure'
58 |     }
59 | }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:57:51: error: 'nil' requires a contextual type
55 |
56 |     func close() async {
57 |         task.cancel(with: .normalClosure, reason: nil)
   |                                                   `- error: 'nil' requires a contextual type
58 |     }
59 | }
[22/64] Compiling SwiftDisc Intents.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 |     public let op: Int = 8
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
    |                `- note: make the property mutable instead
208 |     public let d: Payload
209 |     public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:18:23: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
   |                       `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |     private let session: URLSession
20 |
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
19 |     private let session: URLSession
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 |     init(url: URL) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:22:46: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
20 |
21 |     init(url: URL) {
22 |         let config = URLSessionConfiguration.default
   |                                              `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
23 |         #if !os(Windows)
24 |         config.waitsForConnectivity = true
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:26:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
24 |         config.waitsForConnectivity = true
25 |         #endif
26 |         config.requestCachePolicy = .reloadIgnoringLocalCacheData
   |                                      `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
27 |         config.timeoutIntervalForRequest = 30
28 |         config.timeoutIntervalForResource = 60
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:30:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 |         config.timeoutIntervalForResource = 60
29 |         config.httpMaximumConnectionsPerHost = 8
30 |         self.session = URLSession(configuration: config)
   |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 |         self.task = session.webSocketTask(with: url)
32 |         self.task.resume()
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:31:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
29 |         config.httpMaximumConnectionsPerHost = 8
30 |         self.session = URLSession(configuration: config)
31 |         self.task = session.webSocketTask(with: url)
   |                             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
32 |         self.task.resume()
33 |     }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:38:34: error: cannot infer contextual base in reference to member 'string'
36 |         switch message {
37 |         case .string(let text):
38 |             try await task.send(.string(text))
   |                                  `- error: cannot infer contextual base in reference to member 'string'
39 |         case .data(let data):
40 |             try await task.send(.data(data))
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:40:34: error: cannot infer contextual base in reference to member 'data'
38 |             try await task.send(.string(text))
39 |         case .data(let data):
40 |             try await task.send(.data(data))
   |                                  `- error: cannot infer contextual base in reference to member 'data'
41 |         }
42 |     }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:57:28: error: cannot infer contextual base in reference to member 'normalClosure'
55 |
56 |     func close() async {
57 |         task.cancel(with: .normalClosure, reason: nil)
   |                            `- error: cannot infer contextual base in reference to member 'normalClosure'
58 |     }
59 | }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:57:51: error: 'nil' requires a contextual type
55 |
56 |     func close() async {
57 |         task.cancel(with: .normalClosure, reason: nil)
   |                                                   `- error: 'nil' requires a contextual type
58 |     }
59 | }
[23/64] Compiling SwiftDisc WebSocket.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 |     public let op: Int = 8
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
    |                `- note: make the property mutable instead
208 |     public let d: Payload
209 |     public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:18:23: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
   |                       `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |     private let session: URLSession
20 |
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
19 |     private let session: URLSession
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 |     init(url: URL) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:22:46: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
20 |
21 |     init(url: URL) {
22 |         let config = URLSessionConfiguration.default
   |                                              `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
23 |         #if !os(Windows)
24 |         config.waitsForConnectivity = true
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:26:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
24 |         config.waitsForConnectivity = true
25 |         #endif
26 |         config.requestCachePolicy = .reloadIgnoringLocalCacheData
   |                                      `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
27 |         config.timeoutIntervalForRequest = 30
28 |         config.timeoutIntervalForResource = 60
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:30:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 |         config.timeoutIntervalForResource = 60
29 |         config.httpMaximumConnectionsPerHost = 8
30 |         self.session = URLSession(configuration: config)
   |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 |         self.task = session.webSocketTask(with: url)
32 |         self.task.resume()
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:31:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
29 |         config.httpMaximumConnectionsPerHost = 8
30 |         self.session = URLSession(configuration: config)
31 |         self.task = session.webSocketTask(with: url)
   |                             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
32 |         self.task.resume()
33 |     }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:38:34: error: cannot infer contextual base in reference to member 'string'
36 |         switch message {
37 |         case .string(let text):
38 |             try await task.send(.string(text))
   |                                  `- error: cannot infer contextual base in reference to member 'string'
39 |         case .data(let data):
40 |             try await task.send(.data(data))
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:40:34: error: cannot infer contextual base in reference to member 'data'
38 |             try await task.send(.string(text))
39 |         case .data(let data):
40 |             try await task.send(.data(data))
   |                                  `- error: cannot infer contextual base in reference to member 'data'
41 |         }
42 |     }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:57:28: error: cannot infer contextual base in reference to member 'normalClosure'
55 |
56 |     func close() async {
57 |         task.cancel(with: .normalClosure, reason: nil)
   |                            `- error: cannot infer contextual base in reference to member 'normalClosure'
58 |     }
59 | }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:57:51: error: 'nil' requires a contextual type
55 |
56 |     func close() async {
57 |         task.cancel(with: .normalClosure, reason: nil)
   |                                                   `- error: 'nil' requires a contextual type
58 |     }
59 | }
[24/64] Compiling SwiftDisc ActivityBuilder.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 |     public let op: Int = 8
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
    |                `- note: make the property mutable instead
208 |     public let d: Payload
209 |     public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:18:23: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
   |                       `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |     private let session: URLSession
20 |
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
19 |     private let session: URLSession
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 |     init(url: URL) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:22:46: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
20 |
21 |     init(url: URL) {
22 |         let config = URLSessionConfiguration.default
   |                                              `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
23 |         #if !os(Windows)
24 |         config.waitsForConnectivity = true
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:26:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
24 |         config.waitsForConnectivity = true
25 |         #endif
26 |         config.requestCachePolicy = .reloadIgnoringLocalCacheData
   |                                      `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
27 |         config.timeoutIntervalForRequest = 30
28 |         config.timeoutIntervalForResource = 60
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:30:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 |         config.timeoutIntervalForResource = 60
29 |         config.httpMaximumConnectionsPerHost = 8
30 |         self.session = URLSession(configuration: config)
   |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 |         self.task = session.webSocketTask(with: url)
32 |         self.task.resume()
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:31:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
29 |         config.httpMaximumConnectionsPerHost = 8
30 |         self.session = URLSession(configuration: config)
31 |         self.task = session.webSocketTask(with: url)
   |                             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
32 |         self.task.resume()
33 |     }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:38:34: error: cannot infer contextual base in reference to member 'string'
36 |         switch message {
37 |         case .string(let text):
38 |             try await task.send(.string(text))
   |                                  `- error: cannot infer contextual base in reference to member 'string'
39 |         case .data(let data):
40 |             try await task.send(.data(data))
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:40:34: error: cannot infer contextual base in reference to member 'data'
38 |             try await task.send(.string(text))
39 |         case .data(let data):
40 |             try await task.send(.data(data))
   |                                  `- error: cannot infer contextual base in reference to member 'data'
41 |         }
42 |     }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:57:28: error: cannot infer contextual base in reference to member 'normalClosure'
55 |
56 |     func close() async {
57 |         task.cancel(with: .normalClosure, reason: nil)
   |                            `- error: cannot infer contextual base in reference to member 'normalClosure'
58 |     }
59 | }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:57:51: error: 'nil' requires a contextual type
55 |
56 |     func close() async {
57 |         task.cancel(with: .normalClosure, reason: nil)
   |                                                   `- error: 'nil' requires a contextual type
58 |     }
59 | }
[25/64] Compiling SwiftDisc AutocompleteRouter.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 |     public let op: Int = 8
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
    |                `- note: make the property mutable instead
208 |     public let d: Payload
209 |     public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:18:23: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
   |                       `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |     private let session: URLSession
20 |
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
19 |     private let session: URLSession
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 |     init(url: URL) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:22:46: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
20 |
21 |     init(url: URL) {
22 |         let config = URLSessionConfiguration.default
   |                                              `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
23 |         #if !os(Windows)
24 |         config.waitsForConnectivity = true
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:26:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
24 |         config.waitsForConnectivity = true
25 |         #endif
26 |         config.requestCachePolicy = .reloadIgnoringLocalCacheData
   |                                      `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
27 |         config.timeoutIntervalForRequest = 30
28 |         config.timeoutIntervalForResource = 60
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:30:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 |         config.timeoutIntervalForResource = 60
29 |         config.httpMaximumConnectionsPerHost = 8
30 |         self.session = URLSession(configuration: config)
   |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 |         self.task = session.webSocketTask(with: url)
32 |         self.task.resume()
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:31:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
29 |         config.httpMaximumConnectionsPerHost = 8
30 |         self.session = URLSession(configuration: config)
31 |         self.task = session.webSocketTask(with: url)
   |                             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
32 |         self.task.resume()
33 |     }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:38:34: error: cannot infer contextual base in reference to member 'string'
36 |         switch message {
37 |         case .string(let text):
38 |             try await task.send(.string(text))
   |                                  `- error: cannot infer contextual base in reference to member 'string'
39 |         case .data(let data):
40 |             try await task.send(.data(data))
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:40:34: error: cannot infer contextual base in reference to member 'data'
38 |             try await task.send(.string(text))
39 |         case .data(let data):
40 |             try await task.send(.data(data))
   |                                  `- error: cannot infer contextual base in reference to member 'data'
41 |         }
42 |     }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:57:28: error: cannot infer contextual base in reference to member 'normalClosure'
55 |
56 |     func close() async {
57 |         task.cancel(with: .normalClosure, reason: nil)
   |                            `- error: cannot infer contextual base in reference to member 'normalClosure'
58 |     }
59 | }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:57:51: error: 'nil' requires a contextual type
55 |
56 |     func close() async {
57 |         task.cancel(with: .normalClosure, reason: nil)
   |                                                   `- error: 'nil' requires a contextual type
58 |     }
59 | }
[26/64] Compiling SwiftDisc CommandRouter.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
205 | // MARK: - Request/Receive Guild Members
206 | public struct RequestGuildMembers: Codable, Hashable {
207 |     public let op: Int = 8
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
    |                `- note: make the property mutable instead
208 |     public let d: Payload
209 |     public struct Payload: Codable, Hashable {
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:18:23: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
   |                       `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |     private let session: URLSession
20 |
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | final class URLSessionWebSocketAdapter: WebSocketClient {
18 |     private let task: URLSessionWebSocketTask
19 |     private let session: URLSession
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |
21 |     init(url: URL) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:22:46: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
20 |
21 |     init(url: URL) {
22 |         let config = URLSessionConfiguration.default
   |                                              `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
23 |         #if !os(Windows)
24 |         config.waitsForConnectivity = true
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:26:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
24 |         config.waitsForConnectivity = true
25 |         #endif
26 |         config.requestCachePolicy = .reloadIgnoringLocalCacheData
   |                                      `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
27 |         config.timeoutIntervalForRequest = 30
28 |         config.timeoutIntervalForResource = 60
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:30:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
28 |         config.timeoutIntervalForResource = 60
29 |         config.httpMaximumConnectionsPerHost = 8
30 |         self.session = URLSession(configuration: config)
   |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
31 |         self.task = session.webSocketTask(with: url)
32 |         self.task.resume()
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:31:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
29 |         config.httpMaximumConnectionsPerHost = 8
30 |         self.session = URLSession(configuration: config)
31 |         self.task = session.webSocketTask(with: url)
   |                             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
32 |         self.task.resume()
33 |     }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:38:34: error: cannot infer contextual base in reference to member 'string'
36 |         switch message {
37 |         case .string(let text):
38 |             try await task.send(.string(text))
   |                                  `- error: cannot infer contextual base in reference to member 'string'
39 |         case .data(let data):
40 |             try await task.send(.data(data))
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:40:34: error: cannot infer contextual base in reference to member 'data'
38 |             try await task.send(.string(text))
39 |         case .data(let data):
40 |             try await task.send(.data(data))
   |                                  `- error: cannot infer contextual base in reference to member 'data'
41 |         }
42 |     }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:57:28: error: cannot infer contextual base in reference to member 'normalClosure'
55 |
56 |     func close() async {
57 |         task.cancel(with: .normalClosure, reason: nil)
   |                            `- error: cannot infer contextual base in reference to member 'normalClosure'
58 |     }
59 | }
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:57:51: error: 'nil' requires a contextual type
55 |
56 |     func close() async {
57 |         task.cancel(with: .normalClosure, reason: nil)
   |                                                   `- error: 'nil' requires a contextual type
58 |     }
59 | }
[27/64] Compiling SwiftDisc Template.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it [#no-usage]
24 |
25 |         // Per-route bucket control
26 |         if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
   |                                                                                                             `- warning: immutable value 'limit' was never used; consider replacing with '_' or removing it [#no-usage]
27 |             if remaining <= 0 {
28 |                 let now = Date()
[28/64] Compiling SwiftDisc Thread.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it [#no-usage]
24 |
25 |         // Per-route bucket control
26 |         if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
   |                                                                                                             `- warning: immutable value 'limit' was never used; consider replacing with '_' or removing it [#no-usage]
27 |             if remaining <= 0 {
28 |                 let now = Date()
[29/64] Compiling SwiftDisc User.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it [#no-usage]
24 |
25 |         // Per-route bucket control
26 |         if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
   |                                                                                                             `- warning: immutable value 'limit' was never used; consider replacing with '_' or removing it [#no-usage]
27 |             if remaining <= 0 {
28 |                 let now = Date()
[30/64] Compiling SwiftDisc Webhook.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it [#no-usage]
24 |
25 |         // Per-route bucket control
26 |         if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
   |                                                                                                             `- warning: immutable value 'limit' was never used; consider replacing with '_' or removing it [#no-usage]
27 |             if remaining <= 0 {
28 |                 let now = Date()
[31/64] Compiling SwiftDisc HTTPClient.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it [#no-usage]
24 |
25 |         // Per-route bucket control
26 |         if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
   |                                                                                                             `- warning: immutable value 'limit' was never used; consider replacing with '_' or removing it [#no-usage]
27 |             if remaining <= 0 {
28 |                 let now = Date()
[32/64] Compiling SwiftDisc RateLimiter.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it [#no-usage]
24 |
25 |         // Per-route bucket control
26 |         if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
   |                                                                                                             `- warning: immutable value 'limit' was never used; consider replacing with '_' or removing it [#no-usage]
27 |             if remaining <= 0 {
28 |                 let now = Date()
[33/64] Compiling SwiftDisc AudioSource.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it [#no-usage]
24 |
25 |         // Per-route bucket control
26 |         if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
   |                                                                                                             `- warning: immutable value 'limit' was never used; consider replacing with '_' or removing it [#no-usage]
27 |             if remaining <= 0 {
28 |                 let now = Date()
[34/64] Compiling SwiftDisc ComponentsBuilder.swift
[35/64] Compiling SwiftDisc Extensions.swift
[36/64] Compiling SwiftDisc Permissions.swift
[37/64] Compiling SwiftDisc ShardManager.swift
[38/64] Compiling SwiftDisc ShardingGatewayManager.swift
[39/64] Compiling SwiftDisc SlashCommandBuilder.swift
[40/64] Compiling SwiftDisc SlashCommandRouter.swift
[41/64] Compiling SwiftDisc Utilities.swift
[42/64] Compiling SwiftDisc Attachment.swift
[43/64] Compiling SwiftDisc AuditLog.swift
[44/64] Compiling SwiftDisc AutoModeration.swift
[45/64] Compiling SwiftDisc Channel.swift
[46/64] Compiling SwiftDisc Embed.swift
[47/64] Compiling SwiftDisc Emoji.swift
[48/64] Compiling SwiftDisc Files.swift
[49/64] Compiling SwiftDisc Guild.swift
[50/64] Compiling SwiftDisc PermissionBitset.swift
[51/64] Compiling SwiftDisc Role.swift
[52/64] Compiling SwiftDisc ScheduledEvent.swift
[53/64] Compiling SwiftDisc ScheduledEventUser.swift
[54/64] Compiling SwiftDisc Snowflake.swift
[55/64] Compiling SwiftDisc StageInstance.swift
[56/64] Compiling SwiftDisc Sticker.swift
[57/64] Compiling SwiftDisc Cache.swift
[58/64] Compiling SwiftDisc DiscordConfiguration.swift
[59/64] Compiling SwiftDisc DiscordError.swift
[60/64] Compiling SwiftDisc DiscordUtils.swift
[61/64] Compiling SwiftDisc EventDispatcher.swift
[62/64] Compiling SwiftDisc JSONValue.swift
[63/64] Compiling SwiftDisc AdvancedMessagePayloads.swift
[64/64] Compiling SwiftDisc ApplicationRoleConnection.swift
BUILD FAILURE 6.2 wasm