Build Information
Failed to build SwiftDisc, reference v0.12.0 (b7ff58), with Swift 5.10 for Linux on 11 Dec 2025 03:15:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/M1tsumi/SwiftDisc.git
Reference: v0.12.0
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
* tag v0.12.0 -> FETCH_HEAD
HEAD is now at b7ff588 Add role connections, typed permissions, and documentation updates
Cloned https://github.com/M1tsumi/SwiftDisc.git
Revision (git rev-parse @):
b7ff588e1120171b6777d1a10d118845bda2ed10
SUCCESS checkout https://github.com/M1tsumi/SwiftDisc.git at v0.12.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/M1tsumi/SwiftDisc.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:29cd06ed395b3a820a5601000e78fbe5268c851b388429ada04eeea41d67dbe0
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
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/56] Emitting module SwiftDisc
/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
public let op: Int = 8
^
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
public let op: Int = 8
^
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: note: make the property mutable instead
public let op: Int = 8
~~~ ^
var
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:52:133: error: cannot find type 'PermissionBitset' in scope
public static func effectivePermissionsWithCache(cache: Cache, userId: UserID, guildId: GuildID, channelId: ChannelID) async -> PermissionBitset? {
^~~~~~~~~~~~~~~~
/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
public let type: Int = 1
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 1
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: note: make the property mutable instead
public let type: Int = 1
~~~ ^
var
/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
public let type: Int = 2
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 2
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: note: make the property mutable instead
public let type: Int = 2
~~~ ^
var
/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
public let type: Int = 3
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 3
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: note: make the property mutable instead
public let type: Int = 3
~~~ ^
var
/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
public let type: Int = 4
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 4
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: note: make the property mutable instead
public let type: Int = 4
~~~ ^
var
[4/63] Compiling SwiftDisc Cache.swift
[5/63] Compiling SwiftDisc DiscordConfiguration.swift
[6/63] Compiling SwiftDisc DiscordError.swift
[7/63] Compiling SwiftDisc DiscordUtils.swift
[8/63] Compiling SwiftDisc EventDispatcher.swift
[9/63] Compiling SwiftDisc JSONValue.swift
[10/63] Compiling SwiftDisc AdvancedMessagePayloads.swift
[11/63] Compiling SwiftDisc ApplicationRoleConnection.swift
[12/63] Compiling SwiftDisc Attachment.swift
[13/63] Compiling SwiftDisc AuditLog.swift
[14/63] Compiling SwiftDisc AutoModeration.swift
[15/63] Compiling SwiftDisc Channel.swift
[16/63] Compiling SwiftDisc Embed.swift
[17/63] Compiling SwiftDisc Emoji.swift
[18/63] Compiling SwiftDisc Files.swift
[19/63] Compiling SwiftDisc Guild.swift
[20/63] Compiling SwiftDisc Template.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:21:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
config.waitsForConnectivity = true
~~~~~~~^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:94:54: error: value of type 'URLSession' has no member 'data'
let (data, resp) = try await session.data(for: req)
~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:219:54: error: value of type 'URLSession' has no member 'data'
let (data, resp) = try await session.data(for: req)
~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:279:54: error: value of type 'URLSession' has no member 'data'
let (data, resp) = try await session.data(for: req)
~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
~~~~^~~~~
_
[21/63] Compiling SwiftDisc Thread.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:21:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
config.waitsForConnectivity = true
~~~~~~~^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:94:54: error: value of type 'URLSession' has no member 'data'
let (data, resp) = try await session.data(for: req)
~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:219:54: error: value of type 'URLSession' has no member 'data'
let (data, resp) = try await session.data(for: req)
~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:279:54: error: value of type 'URLSession' has no member 'data'
let (data, resp) = try await session.data(for: req)
~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
~~~~^~~~~
_
[22/63] Compiling SwiftDisc User.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:21:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
config.waitsForConnectivity = true
~~~~~~~^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:94:54: error: value of type 'URLSession' has no member 'data'
let (data, resp) = try await session.data(for: req)
~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:219:54: error: value of type 'URLSession' has no member 'data'
let (data, resp) = try await session.data(for: req)
~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:279:54: error: value of type 'URLSession' has no member 'data'
let (data, resp) = try await session.data(for: req)
~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
~~~~^~~~~
_
[23/63] Compiling SwiftDisc Webhook.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:21:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
config.waitsForConnectivity = true
~~~~~~~^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:94:54: error: value of type 'URLSession' has no member 'data'
let (data, resp) = try await session.data(for: req)
~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:219:54: error: value of type 'URLSession' has no member 'data'
let (data, resp) = try await session.data(for: req)
~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:279:54: error: value of type 'URLSession' has no member 'data'
let (data, resp) = try await session.data(for: req)
~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
~~~~^~~~~
_
[24/63] Compiling SwiftDisc HTTPClient.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:21:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
config.waitsForConnectivity = true
~~~~~~~^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:94:54: error: value of type 'URLSession' has no member 'data'
let (data, resp) = try await session.data(for: req)
~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:219:54: error: value of type 'URLSession' has no member 'data'
let (data, resp) = try await session.data(for: req)
~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:279:54: error: value of type 'URLSession' has no member 'data'
let (data, resp) = try await session.data(for: req)
~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
~~~~^~~~~
_
[25/63] Compiling SwiftDisc RateLimiter.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:21:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
config.waitsForConnectivity = true
~~~~~~~^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:94:54: error: value of type 'URLSession' has no member 'data'
let (data, resp) = try await session.data(for: req)
~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:219:54: error: value of type 'URLSession' has no member 'data'
let (data, resp) = try await session.data(for: req)
~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:279:54: error: value of type 'URLSession' has no member 'data'
let (data, resp) = try await session.data(for: req)
~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
~~~~^~~~~
_
[26/63] Compiling SwiftDisc AudioSource.swift
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:21:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
config.waitsForConnectivity = true
~~~~~~~^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:94:54: error: value of type 'URLSession' has no member 'data'
let (data, resp) = try await session.data(for: req)
~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:219:54: error: value of type 'URLSession' has no member 'data'
let (data, resp) = try await session.data(for: req)
~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/HTTPClient.swift:279:54: error: value of type 'URLSession' has no member 'data'
let (data, resp) = try await session.data(for: req)
~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/SwiftDisc/REST/RateLimiter.swift:26:109: warning: immutable value 'limit' was never used; consider replacing with '_' or removing it
if let state = buckets[routeKey], let resetAt = state.resetAt, let remaining = state.remaining, let limit = state.limit {
~~~~^~~~~
_
[27/63] Compiling SwiftDisc DiscordClient.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
public let op: Int = 8
^
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
public let op: Int = 8
^
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: note: make the property mutable instead
public let op: Int = 8
~~~ ^
var
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
config.waitsForConnectivity = true
~~~~~~~^~~~~~~~~~~~~~~~~~~~
[28/63] Compiling SwiftDisc GatewayClient.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
public let op: Int = 8
^
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
public let op: Int = 8
^
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: note: make the property mutable instead
public let op: Int = 8
~~~ ^
var
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
config.waitsForConnectivity = true
~~~~~~~^~~~~~~~~~~~~~~~~~~~
[29/63] Compiling SwiftDisc GatewayModels.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
public let op: Int = 8
^
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
public let op: Int = 8
^
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: note: make the property mutable instead
public let op: Int = 8
~~~ ^
var
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
config.waitsForConnectivity = true
~~~~~~~^~~~~~~~~~~~~~~~~~~~
[30/63] Compiling SwiftDisc Intents.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
public let op: Int = 8
^
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
public let op: Int = 8
^
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: note: make the property mutable instead
public let op: Int = 8
~~~ ^
var
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
config.waitsForConnectivity = true
~~~~~~~^~~~~~~~~~~~~~~~~~~~
[31/63] Compiling SwiftDisc WebSocket.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
public let op: Int = 8
^
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
public let op: Int = 8
^
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: note: make the property mutable instead
public let op: Int = 8
~~~ ^
var
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
config.waitsForConnectivity = true
~~~~~~~^~~~~~~~~~~~~~~~~~~~
[32/63] Compiling SwiftDisc ActivityBuilder.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
public let op: Int = 8
^
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
public let op: Int = 8
^
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: note: make the property mutable instead
public let op: Int = 8
~~~ ^
var
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
config.waitsForConnectivity = true
~~~~~~~^~~~~~~~~~~~~~~~~~~~
[33/63] Compiling SwiftDisc AutocompleteRouter.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
public let op: Int = 8
^
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
public let op: Int = 8
^
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: note: make the property mutable instead
public let op: Int = 8
~~~ ^
var
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
config.waitsForConnectivity = true
~~~~~~~^~~~~~~~~~~~~~~~~~~~
[34/63] Compiling SwiftDisc CommandRouter.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
public let op: Int = 8
^
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'op' case to silence this warning
public let op: Int = 8
^
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/GatewayModels.swift:207:16: note: make the property mutable instead
public let op: Int = 8
~~~ ^
var
/host/spi-builder-workspace/Sources/SwiftDisc/Gateway/WebSocket.swift:24:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
config.waitsForConnectivity = true
~~~~~~~^~~~~~~~~~~~~~~~~~~~
[35/63] Compiling SwiftDisc PipeOpusSource.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
var f0 = (h0 | (h1 << 26)) & 0xffffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
~~~ ^
let
[36/63] Compiling SwiftDisc Secretbox.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
var f0 = (h0 | (h1 << 26)) & 0xffffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
~~~ ^
let
[37/63] Compiling SwiftDisc VoiceClient.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
var f0 = (h0 | (h1 << 26)) & 0xffffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
~~~ ^
let
[38/63] Compiling SwiftDisc VoiceGateway.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
var f0 = (h0 | (h1 << 26)) & 0xffffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
~~~ ^
let
[39/63] Compiling SwiftDisc VoiceModels.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
var f0 = (h0 | (h1 << 26)) & 0xffffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
~~~ ^
let
[40/63] Compiling SwiftDisc VoiceReceiver.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
var f0 = (h0 | (h1 << 26)) & 0xffffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
~~~ ^
let
[41/63] Compiling SwiftDisc VoiceSender.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:236:9: warning: variable 'r0' was never mutated; consider changing to 'let' constant
var r0 = UInt32(loadLE(r[0..<4])) & 0x3ffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:237:9: warning: variable 'r1' was never mutated; consider changing to 'let' constant
var r1 = (UInt32(loadLE(r[3..<7])) >> 2) & 0x3ffff03
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:238:9: warning: variable 'r2' was never mutated; consider changing to 'let' constant
var r2 = (UInt32(loadLE(r[6..<10])) >> 4) & 0x3ffc0ff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:239:9: warning: variable 'r3' was never mutated; consider changing to 'let' constant
var r3 = (UInt32(loadLE(r[9..<13])) >> 6) & 0x3f03fff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:240:9: warning: variable 'r4' was never mutated; consider changing to 'let' constant
var r4 = (UInt32(loadLE(r[12..<16])) >> 8) & 0x00fffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:303:9: warning: variable 'f0' was never mutated; consider changing to 'let' constant
var f0 = (h0 | (h1 << 26)) & 0xffffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:304:9: warning: variable 'f1' was never mutated; consider changing to 'let' constant
var f1 = ((h1 >> 6) | (h2 << 20)) & 0xffffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:305:9: warning: variable 'f2' was never mutated; consider changing to 'let' constant
var f2 = ((h2 >> 12) | (h3 << 14)) & 0xffffffff
~~~ ^
let
/host/spi-builder-workspace/Sources/SwiftDisc/Voice/Secretbox.swift:306:9: warning: variable 'f3' was never mutated; consider changing to 'let' constant
var f3 = ((h3 >> 18) | (h4 << 8)) & 0xffffffff
~~~ ^
let
[42/63] Compiling SwiftDisc GuildBan.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
public let type: Int = 1
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 1
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: note: make the property mutable instead
public let type: Int = 1
~~~ ^
var
/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
public let type: Int = 2
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 2
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: note: make the property mutable instead
public let type: Int = 2
~~~ ^
var
/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
public let type: Int = 3
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 3
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: note: make the property mutable instead
public let type: Int = 3
~~~ ^
var
/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
public let type: Int = 4
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 4
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: note: make the property mutable instead
public let type: Int = 4
~~~ ^
var
[43/63] Compiling SwiftDisc GuildMember.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
public let type: Int = 1
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 1
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: note: make the property mutable instead
public let type: Int = 1
~~~ ^
var
/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
public let type: Int = 2
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 2
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: note: make the property mutable instead
public let type: Int = 2
~~~ ^
var
/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
public let type: Int = 3
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 3
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: note: make the property mutable instead
public let type: Int = 3
~~~ ^
var
/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
public let type: Int = 4
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 4
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: note: make the property mutable instead
public let type: Int = 4
~~~ ^
var
[44/63] Compiling SwiftDisc GuildWidgetSettings.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
public let type: Int = 1
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 1
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: note: make the property mutable instead
public let type: Int = 1
~~~ ^
var
/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
public let type: Int = 2
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 2
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: note: make the property mutable instead
public let type: Int = 2
~~~ ^
var
/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
public let type: Int = 3
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 3
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: note: make the property mutable instead
public let type: Int = 3
~~~ ^
var
/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
public let type: Int = 4
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 4
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: note: make the property mutable instead
public let type: Int = 4
~~~ ^
var
[45/63] Compiling SwiftDisc Interaction.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
public let type: Int = 1
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 1
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: note: make the property mutable instead
public let type: Int = 1
~~~ ^
var
/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
public let type: Int = 2
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 2
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: note: make the property mutable instead
public let type: Int = 2
~~~ ^
var
/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
public let type: Int = 3
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 3
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: note: make the property mutable instead
public let type: Int = 3
~~~ ^
var
/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
public let type: Int = 4
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 4
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: note: make the property mutable instead
public let type: Int = 4
~~~ ^
var
[46/63] Compiling SwiftDisc Invite.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
public let type: Int = 1
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 1
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: note: make the property mutable instead
public let type: Int = 1
~~~ ^
var
/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
public let type: Int = 2
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 2
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: note: make the property mutable instead
public let type: Int = 2
~~~ ^
var
/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
public let type: Int = 3
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 3
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: note: make the property mutable instead
public let type: Int = 3
~~~ ^
var
/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
public let type: Int = 4
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 4
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: note: make the property mutable instead
public let type: Int = 4
~~~ ^
var
[47/63] Compiling SwiftDisc Message.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
public let type: Int = 1
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 1
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: note: make the property mutable instead
public let type: Int = 1
~~~ ^
var
/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
public let type: Int = 2
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 2
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: note: make the property mutable instead
public let type: Int = 2
~~~ ^
var
/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
public let type: Int = 3
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 3
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: note: make the property mutable instead
public let type: Int = 3
~~~ ^
var
/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
public let type: Int = 4
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 4
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: note: make the property mutable instead
public let type: Int = 4
~~~ ^
var
[48/63] Compiling SwiftDisc MessageComponents.swift
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
public let type: Int = 1
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 1
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:46:20: note: make the property mutable instead
public let type: Int = 1
~~~ ^
var
/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
public let type: Int = 2
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 2
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:52:20: note: make the property mutable instead
public let type: Int = 2
~~~ ^
var
/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
public let type: Int = 3
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 3
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:75:20: note: make the property mutable instead
public let type: Int = 3
~~~ ^
var
/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
public let type: Int = 4
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
public let type: Int = 4
^
/host/spi-builder-workspace/Sources/SwiftDisc/Models/MessageComponents.swift:94:20: note: make the property mutable instead
public let type: Int = 4
~~~ ^
var
[49/63] Compiling SwiftDisc PartialGuild.swift
[50/63] Compiling SwiftDisc Role.swift
[51/63] Compiling SwiftDisc ScheduledEvent.swift
[52/63] Compiling SwiftDisc ScheduledEventUser.swift
[53/63] Compiling SwiftDisc Snowflake.swift
[54/63] Compiling SwiftDisc StageInstance.swift
[55/63] Compiling SwiftDisc Sticker.swift
[56/63] Compiling SwiftDisc ComponentsBuilder.swift
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:52:133: error: cannot find type 'PermissionBitset' in scope
public static func effectivePermissionsWithCache(cache: Cache, userId: UserID, guildId: GuildID, channelId: ChannelID) async -> PermissionBitset? {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:64:13: error: cannot find 'PermissionBitset' in scope
PermissionBitset(rawValue: UInt64(role.permissions ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:63:32: error: value of type 'Guild' has no member 'roles'
let guildRoles = guild.roles?.compactMap { role in
~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:68:21: error: cannot find 'PermissionBitset' in scope
var allow = PermissionBitset(rawValue: 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:76:127: error: cannot find 'PermissionBitset' in scope
let rolePerms = memberRoleIds.compactMap { roleId in guildRoles.first { $0.id == roleId }?.permissionsBitset }.reduce(PermissionBitset(), { $0.union($1) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:76:147: error: cannot infer type of closure parameter '$1' without a type annotation
let rolePerms = memberRoleIds.compactMap { roleId in guildRoles.first { $0.id == roleId }?.permissionsBitset }.reduce(PermissionBitset(), { $0.union($1) })
^
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:83:24: error: cannot find 'PermissionBitset' in scope
let deny = PermissionBitset(rawValue: UInt64(everyoneOW.deny ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:84:23: error: cannot find 'PermissionBitset' in scope
let add = PermissionBitset(rawValue: UInt64(everyoneOW.allow ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:90:38: error: cannot find 'PermissionBitset' in scope
let roleDeny = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.deny ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:90:69: error: cannot find 'PermissionBitset' in scope
let roleDeny = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.deny ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:91:37: error: cannot find 'PermissionBitset' in scope
let roleAdd = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.allow ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:91:68: error: cannot find 'PermissionBitset' in scope
let roleAdd = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.allow ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:96:24: error: cannot find 'PermissionBitset' in scope
let deny = PermissionBitset(rawValue: UInt64(memberOW.deny ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:97:23: error: cannot find 'PermissionBitset' in scope
let add = PermissionBitset(rawValue: UInt64(memberOW.allow ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
[57/63] Compiling SwiftDisc Extensions.swift
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:52:133: error: cannot find type 'PermissionBitset' in scope
public static func effectivePermissionsWithCache(cache: Cache, userId: UserID, guildId: GuildID, channelId: ChannelID) async -> PermissionBitset? {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:64:13: error: cannot find 'PermissionBitset' in scope
PermissionBitset(rawValue: UInt64(role.permissions ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:63:32: error: value of type 'Guild' has no member 'roles'
let guildRoles = guild.roles?.compactMap { role in
~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:68:21: error: cannot find 'PermissionBitset' in scope
var allow = PermissionBitset(rawValue: 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:76:127: error: cannot find 'PermissionBitset' in scope
let rolePerms = memberRoleIds.compactMap { roleId in guildRoles.first { $0.id == roleId }?.permissionsBitset }.reduce(PermissionBitset(), { $0.union($1) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:76:147: error: cannot infer type of closure parameter '$1' without a type annotation
let rolePerms = memberRoleIds.compactMap { roleId in guildRoles.first { $0.id == roleId }?.permissionsBitset }.reduce(PermissionBitset(), { $0.union($1) })
^
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:83:24: error: cannot find 'PermissionBitset' in scope
let deny = PermissionBitset(rawValue: UInt64(everyoneOW.deny ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:84:23: error: cannot find 'PermissionBitset' in scope
let add = PermissionBitset(rawValue: UInt64(everyoneOW.allow ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:90:38: error: cannot find 'PermissionBitset' in scope
let roleDeny = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.deny ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:90:69: error: cannot find 'PermissionBitset' in scope
let roleDeny = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.deny ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:91:37: error: cannot find 'PermissionBitset' in scope
let roleAdd = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.allow ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:91:68: error: cannot find 'PermissionBitset' in scope
let roleAdd = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.allow ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:96:24: error: cannot find 'PermissionBitset' in scope
let deny = PermissionBitset(rawValue: UInt64(memberOW.deny ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:97:23: error: cannot find 'PermissionBitset' in scope
let add = PermissionBitset(rawValue: UInt64(memberOW.allow ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
[58/63] Compiling SwiftDisc Permissions.swift
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:52:133: error: cannot find type 'PermissionBitset' in scope
public static func effectivePermissionsWithCache(cache: Cache, userId: UserID, guildId: GuildID, channelId: ChannelID) async -> PermissionBitset? {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:64:13: error: cannot find 'PermissionBitset' in scope
PermissionBitset(rawValue: UInt64(role.permissions ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:63:32: error: value of type 'Guild' has no member 'roles'
let guildRoles = guild.roles?.compactMap { role in
~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:68:21: error: cannot find 'PermissionBitset' in scope
var allow = PermissionBitset(rawValue: 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:76:127: error: cannot find 'PermissionBitset' in scope
let rolePerms = memberRoleIds.compactMap { roleId in guildRoles.first { $0.id == roleId }?.permissionsBitset }.reduce(PermissionBitset(), { $0.union($1) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:76:147: error: cannot infer type of closure parameter '$1' without a type annotation
let rolePerms = memberRoleIds.compactMap { roleId in guildRoles.first { $0.id == roleId }?.permissionsBitset }.reduce(PermissionBitset(), { $0.union($1) })
^
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:83:24: error: cannot find 'PermissionBitset' in scope
let deny = PermissionBitset(rawValue: UInt64(everyoneOW.deny ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:84:23: error: cannot find 'PermissionBitset' in scope
let add = PermissionBitset(rawValue: UInt64(everyoneOW.allow ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:90:38: error: cannot find 'PermissionBitset' in scope
let roleDeny = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.deny ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:90:69: error: cannot find 'PermissionBitset' in scope
let roleDeny = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.deny ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:91:37: error: cannot find 'PermissionBitset' in scope
let roleAdd = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.allow ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:91:68: error: cannot find 'PermissionBitset' in scope
let roleAdd = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.allow ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:96:24: error: cannot find 'PermissionBitset' in scope
let deny = PermissionBitset(rawValue: UInt64(memberOW.deny ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:97:23: error: cannot find 'PermissionBitset' in scope
let add = PermissionBitset(rawValue: UInt64(memberOW.allow ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
[59/63] Compiling SwiftDisc ShardManager.swift
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:52:133: error: cannot find type 'PermissionBitset' in scope
public static func effectivePermissionsWithCache(cache: Cache, userId: UserID, guildId: GuildID, channelId: ChannelID) async -> PermissionBitset? {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:64:13: error: cannot find 'PermissionBitset' in scope
PermissionBitset(rawValue: UInt64(role.permissions ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:63:32: error: value of type 'Guild' has no member 'roles'
let guildRoles = guild.roles?.compactMap { role in
~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:68:21: error: cannot find 'PermissionBitset' in scope
var allow = PermissionBitset(rawValue: 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:76:127: error: cannot find 'PermissionBitset' in scope
let rolePerms = memberRoleIds.compactMap { roleId in guildRoles.first { $0.id == roleId }?.permissionsBitset }.reduce(PermissionBitset(), { $0.union($1) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:76:147: error: cannot infer type of closure parameter '$1' without a type annotation
let rolePerms = memberRoleIds.compactMap { roleId in guildRoles.first { $0.id == roleId }?.permissionsBitset }.reduce(PermissionBitset(), { $0.union($1) })
^
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:83:24: error: cannot find 'PermissionBitset' in scope
let deny = PermissionBitset(rawValue: UInt64(everyoneOW.deny ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:84:23: error: cannot find 'PermissionBitset' in scope
let add = PermissionBitset(rawValue: UInt64(everyoneOW.allow ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:90:38: error: cannot find 'PermissionBitset' in scope
let roleDeny = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.deny ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:90:69: error: cannot find 'PermissionBitset' in scope
let roleDeny = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.deny ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:91:37: error: cannot find 'PermissionBitset' in scope
let roleAdd = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.allow ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:91:68: error: cannot find 'PermissionBitset' in scope
let roleAdd = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.allow ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:96:24: error: cannot find 'PermissionBitset' in scope
let deny = PermissionBitset(rawValue: UInt64(memberOW.deny ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:97:23: error: cannot find 'PermissionBitset' in scope
let add = PermissionBitset(rawValue: UInt64(memberOW.allow ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
[60/63] Compiling SwiftDisc ShardingGatewayManager.swift
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:52:133: error: cannot find type 'PermissionBitset' in scope
public static func effectivePermissionsWithCache(cache: Cache, userId: UserID, guildId: GuildID, channelId: ChannelID) async -> PermissionBitset? {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:64:13: error: cannot find 'PermissionBitset' in scope
PermissionBitset(rawValue: UInt64(role.permissions ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:63:32: error: value of type 'Guild' has no member 'roles'
let guildRoles = guild.roles?.compactMap { role in
~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:68:21: error: cannot find 'PermissionBitset' in scope
var allow = PermissionBitset(rawValue: 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:76:127: error: cannot find 'PermissionBitset' in scope
let rolePerms = memberRoleIds.compactMap { roleId in guildRoles.first { $0.id == roleId }?.permissionsBitset }.reduce(PermissionBitset(), { $0.union($1) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:76:147: error: cannot infer type of closure parameter '$1' without a type annotation
let rolePerms = memberRoleIds.compactMap { roleId in guildRoles.first { $0.id == roleId }?.permissionsBitset }.reduce(PermissionBitset(), { $0.union($1) })
^
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:83:24: error: cannot find 'PermissionBitset' in scope
let deny = PermissionBitset(rawValue: UInt64(everyoneOW.deny ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:84:23: error: cannot find 'PermissionBitset' in scope
let add = PermissionBitset(rawValue: UInt64(everyoneOW.allow ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:90:38: error: cannot find 'PermissionBitset' in scope
let roleDeny = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.deny ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:90:69: error: cannot find 'PermissionBitset' in scope
let roleDeny = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.deny ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:91:37: error: cannot find 'PermissionBitset' in scope
let roleAdd = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.allow ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:91:68: error: cannot find 'PermissionBitset' in scope
let roleAdd = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.allow ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:96:24: error: cannot find 'PermissionBitset' in scope
let deny = PermissionBitset(rawValue: UInt64(memberOW.deny ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:97:23: error: cannot find 'PermissionBitset' in scope
let add = PermissionBitset(rawValue: UInt64(memberOW.allow ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
[61/63] Compiling SwiftDisc SlashCommandBuilder.swift
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:52:133: error: cannot find type 'PermissionBitset' in scope
public static func effectivePermissionsWithCache(cache: Cache, userId: UserID, guildId: GuildID, channelId: ChannelID) async -> PermissionBitset? {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:64:13: error: cannot find 'PermissionBitset' in scope
PermissionBitset(rawValue: UInt64(role.permissions ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:63:32: error: value of type 'Guild' has no member 'roles'
let guildRoles = guild.roles?.compactMap { role in
~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:68:21: error: cannot find 'PermissionBitset' in scope
var allow = PermissionBitset(rawValue: 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:76:127: error: cannot find 'PermissionBitset' in scope
let rolePerms = memberRoleIds.compactMap { roleId in guildRoles.first { $0.id == roleId }?.permissionsBitset }.reduce(PermissionBitset(), { $0.union($1) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:76:147: error: cannot infer type of closure parameter '$1' without a type annotation
let rolePerms = memberRoleIds.compactMap { roleId in guildRoles.first { $0.id == roleId }?.permissionsBitset }.reduce(PermissionBitset(), { $0.union($1) })
^
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:83:24: error: cannot find 'PermissionBitset' in scope
let deny = PermissionBitset(rawValue: UInt64(everyoneOW.deny ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:84:23: error: cannot find 'PermissionBitset' in scope
let add = PermissionBitset(rawValue: UInt64(everyoneOW.allow ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:90:38: error: cannot find 'PermissionBitset' in scope
let roleDeny = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.deny ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:90:69: error: cannot find 'PermissionBitset' in scope
let roleDeny = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.deny ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:91:37: error: cannot find 'PermissionBitset' in scope
let roleAdd = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.allow ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:91:68: error: cannot find 'PermissionBitset' in scope
let roleAdd = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.allow ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:96:24: error: cannot find 'PermissionBitset' in scope
let deny = PermissionBitset(rawValue: UInt64(memberOW.deny ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:97:23: error: cannot find 'PermissionBitset' in scope
let add = PermissionBitset(rawValue: UInt64(memberOW.allow ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
[62/63] Compiling SwiftDisc SlashCommandRouter.swift
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:52:133: error: cannot find type 'PermissionBitset' in scope
public static func effectivePermissionsWithCache(cache: Cache, userId: UserID, guildId: GuildID, channelId: ChannelID) async -> PermissionBitset? {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:64:13: error: cannot find 'PermissionBitset' in scope
PermissionBitset(rawValue: UInt64(role.permissions ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:63:32: error: value of type 'Guild' has no member 'roles'
let guildRoles = guild.roles?.compactMap { role in
~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:68:21: error: cannot find 'PermissionBitset' in scope
var allow = PermissionBitset(rawValue: 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:76:127: error: cannot find 'PermissionBitset' in scope
let rolePerms = memberRoleIds.compactMap { roleId in guildRoles.first { $0.id == roleId }?.permissionsBitset }.reduce(PermissionBitset(), { $0.union($1) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:76:147: error: cannot infer type of closure parameter '$1' without a type annotation
let rolePerms = memberRoleIds.compactMap { roleId in guildRoles.first { $0.id == roleId }?.permissionsBitset }.reduce(PermissionBitset(), { $0.union($1) })
^
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:83:24: error: cannot find 'PermissionBitset' in scope
let deny = PermissionBitset(rawValue: UInt64(everyoneOW.deny ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:84:23: error: cannot find 'PermissionBitset' in scope
let add = PermissionBitset(rawValue: UInt64(everyoneOW.allow ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:90:38: error: cannot find 'PermissionBitset' in scope
let roleDeny = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.deny ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:90:69: error: cannot find 'PermissionBitset' in scope
let roleDeny = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.deny ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:91:37: error: cannot find 'PermissionBitset' in scope
let roleAdd = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.allow ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:91:68: error: cannot find 'PermissionBitset' in scope
let roleAdd = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.allow ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:96:24: error: cannot find 'PermissionBitset' in scope
let deny = PermissionBitset(rawValue: UInt64(memberOW.deny ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:97:23: error: cannot find 'PermissionBitset' in scope
let add = PermissionBitset(rawValue: UInt64(memberOW.allow ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
[63/63] Compiling SwiftDisc Utilities.swift
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:52:133: error: cannot find type 'PermissionBitset' in scope
public static func effectivePermissionsWithCache(cache: Cache, userId: UserID, guildId: GuildID, channelId: ChannelID) async -> PermissionBitset? {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:64:13: error: cannot find 'PermissionBitset' in scope
PermissionBitset(rawValue: UInt64(role.permissions ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:63:32: error: value of type 'Guild' has no member 'roles'
let guildRoles = guild.roles?.compactMap { role in
~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:68:21: error: cannot find 'PermissionBitset' in scope
var allow = PermissionBitset(rawValue: 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:76:127: error: cannot find 'PermissionBitset' in scope
let rolePerms = memberRoleIds.compactMap { roleId in guildRoles.first { $0.id == roleId }?.permissionsBitset }.reduce(PermissionBitset(), { $0.union($1) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:76:147: error: cannot infer type of closure parameter '$1' without a type annotation
let rolePerms = memberRoleIds.compactMap { roleId in guildRoles.first { $0.id == roleId }?.permissionsBitset }.reduce(PermissionBitset(), { $0.union($1) })
^
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:83:24: error: cannot find 'PermissionBitset' in scope
let deny = PermissionBitset(rawValue: UInt64(everyoneOW.deny ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:84:23: error: cannot find 'PermissionBitset' in scope
let add = PermissionBitset(rawValue: UInt64(everyoneOW.allow ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:90:38: error: cannot find 'PermissionBitset' in scope
let roleDeny = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.deny ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:90:69: error: cannot find 'PermissionBitset' in scope
let roleDeny = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.deny ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:91:37: error: cannot find 'PermissionBitset' in scope
let roleAdd = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.allow ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:91:68: error: cannot find 'PermissionBitset' in scope
let roleAdd = roleOW.reduce(PermissionBitset(), { $0.union(PermissionBitset(rawValue: UInt64($1.allow ?? "0") ?? 0)) })
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:96:24: error: cannot find 'PermissionBitset' in scope
let deny = PermissionBitset(rawValue: UInt64(memberOW.deny ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftDisc/HighLevel/Permissions.swift:97:23: error: cannot find 'PermissionBitset' in scope
let add = PermissionBitset(rawValue: UInt64(memberOW.allow ?? "0") ?? 0)
^~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux